joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452004]
jne 0x40100a
repz ret
jmp fcn.004017ef

Function at 0x405e2a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x452004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004035e9
and dword [ebp - 0x14], 0
cmp dword [0x454c8c], 0
mov dword [ebp - 0x18], eax
jne 0x405edd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405f85
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405f85
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x454c8c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x454c90], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x454c94], eax
call edi
push eax
call esi
mov dword [0x454c9c], eax
test eax, eax
je 0x405edd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x454c98], eax
mov eax, dword [0x454c98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405f36
cmp dword [0x454c9c], ecx
je 0x405f36
push eax
call esi
push dword [0x454c9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405f36
test ebx, ebx
je 0x405f36
call edi
test eax, eax
je 0x405f2d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405f2d
test byte [ebp - 8], 1
jne 0x405f36
or dword [ebp + 0x10], 0x200000
jmp 0x405f69
mov eax, dword [0x454c90]
cmp eax, dword [ebp - 0x18]
je 0x405f69
push eax
call esi
test eax, eax
je 0x405f69
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405f69
mov eax, dword [0x454c94]
cmp eax, dword [ebp - 0x18]
je 0x405f69
push eax
call esi
test eax, eax
je 0x405f69
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x454c8c]
call esi
test eax, eax
je 0x405f85
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405f87
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x402d3b
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406233
xor ebx, ebx
cmp eax, ebx
jne 0x402e1e
test byte [ebp + 0x10], 2
je 0x402d9c
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x402e03
lea eax, [ebp - 0x110]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402dd8
test edi, edi
jne 0x402e03
push dword [ebp + 0x10]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 4]
call fcn.00402d3b
test eax, eax
jne 0x402de1
lea eax, [ebp - 0x110]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402db1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004067b9
test eax, eax
jne 0x402e13
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x402e1e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402e1e
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x403222
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x40324d
mov ecx, dword [0x42f498]
push esi
add eax, ecx
push esi
push eax
mov dword [0x429464], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.0040332a
cmp eax, esi
jl 0x403324
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00405fb8
test eax, eax
je 0x403314
push dword [ebp + 8]
add dword [0x429464], 4
call fcn.0040332a
mov ebx, eax
cmp ebx, esi
jl 0x403322
cmp dword [ebp + 0x10], esi
jne 0x4032f0
cmp dword [ebp + 8], esi
jle 0x403322
mov esi, 0x41d460
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x4032b2
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00405fb8
test eax, eax
je 0x403314
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00405fe7
test eax, eax
je 0x4032ec
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x429464], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4032a1
jmp 0x403322
push 0xfffffffffffffffe
jmp 0x403316
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x4032fb
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403319
push 0xfffffffffffffffd
pop eax
jmp 0x403324
mov ebx, dword [ebp - 4]
add dword [0x429464], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x405994
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x408384
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x408374
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4059e5
xor eax, eax
jmp 0x405a0c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405a0c
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x4059e1
call esi
pop esi
leave
ret 4

Function at 0x405a46
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x42c0c0], 0x44
push eax
xor eax, eax
push 0x42c0c0
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405a85
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405a89
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x405b27
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405f1b
mov edi, eax
cmp edi, 0xffffffff
je 0x405b68
test byte [esp + 0x10], 1
push esi
je 0x405b4a
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x405b50
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x405b59
xor eax, eax
inc eax
jmp 0x405b6a
test byte [esp + 0x10], 4
jne 0x405b68
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405b6f
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405e2d
test bl, 8
mov dword [ebp - 0xc], eax
je 0x405bae
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x42f4c8], eax
jmp 0x405d38
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405bc8
test eax, eax
je 0x405ce6
test bl, 2
je 0x405ce6
mov esi, 0x42b8c0
push edi
push esi
call fcn.004063ad
cmp dword [ebp + 8], 0
je 0x405be7
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405bed
push edi
call fcn.00405d86
cmp byte [edi], 0
jne 0x405bfb
cmp byte [0x42b8c0], 0x5c
jne 0x405c06
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x405cdc
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.00405d6a
cmp byte [eax], 0
je 0x405c4c
cmp byte [ebp - 0x1c], 0
je 0x405c4c
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x405c62
mov al, byte [esi + 1]
test al, al
je 0x405cbb
cmp al, 0x2e
jne 0x405c62
cmp byte [esi + 2], 0
je 0x405cbb
push esi
push ebx
call fcn.004063ad
test byte [ebp - 0x14c], 0x10
je 0x405c87
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405cbb
push dword [ebp + 0xc]
push edi
call fcn.00405b6f
jmp 0x405cbb
push dword [ebp - 4]
push edi
call fcn.00405b27
test eax, eax
jne 0x405cb3
cmp dword [ebp - 4], eax
je 0x405cab
push edi
push 0xfffffffffffffff1
call fcn.004054ce
push 0
push edi
call fcn.00406186
jmp 0x405cbb
inc dword [0x42f4c8]
jmp 0x405cbb
push edi
push 0xfffffffffffffff2
call fcn.004054ce
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405c2a
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405ce6
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405d38
cmp dword [ebp - 0xc], esi
jne 0x405cfa
inc dword [0x42f4c8]
jmp 0x405d38
push edi
call fcn.00406724
test eax, eax
je 0x405d38
push edi
call fcn.00405d3f
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405b27
test eax, eax
jne 0x405d30
cmp dword [ebp - 4], esi
je 0x405cf2
push edi
push 0xfffffffffffffff1
call fcn.004054ce
push esi
push edi
call fcn.00406186
jmp 0x405d38
push edi
push 0xffffffffffffffe5
call fcn.004054ce
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405e2d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42bcc0
push esi
call fcn.004063ad
push esi
call fcn.00405dd8
mov edi, eax
test edi, edi
jne 0x405e4e
xor eax, eax
jmp 0x405ea0
push edi
call fcn.0040668b
test byte [0x42f458], 0x80
je 0x405e67
mov al, byte [edi]
test al, al
je 0x405e4a
cmp al, 0x5c
je 0x405e4a
sub edi, esi
jmp 0x405e7f
call fcn.00406724
test eax, eax
je 0x405e79
test byte [eax], 0x10
je 0x405e4a
push esi
call fcn.00405d86
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405e6b
call fcn.00405d3f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405f1b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f3a
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x405f40
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405f6f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a3ec]
dec edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405fb4
test edi, edi
jne 0x405f7a
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405fae
Function at 0x406016
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x42c648], 0x4c554e
mov edi, 0x400
mov ebp, 0x42c648
je 0x406062
push 1
push 0
push esi
call fcn.00405f40
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406181
cmp eax, edi
jg 0x406181
mov esi, 0x42ca48
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406181
cmp eax, edi
jg 0x406181
push esi
push ebp
push str._s_s_r_n
push 0x42c248
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42f450]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406440
push 4
push 0xc0000000
push esi
call fcn.00405f40
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406181
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40617a
push edi
push esi
push ebp
call fcn.00405fb8
test eax, eax
je 0x40617a
push str._Rename__r_n
push esi
call fcn.00405ea5
test eax, eax
jne 0x406118
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x40614d
add eax, 0xa
push 0x40a3f0
push eax
call fcn.00405ea5
mov ebp, eax
test ebp, ebp
je 0x406149
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x40613a
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x406134
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x40614f
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x42c248
push eax
call fcn.00405efb
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405fe7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406186
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x4061a9
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406016
pop ecx
pop ecx
inc dword [0x42f4d0]
ret 8

Function at 0x406294
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x400
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406233
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x406303
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and byte [esi + 0x3ff], 0
test edi, edi
pop edi
jne 0x406303
cmp dword [ebp + 0xc], 1
je 0x406306
cmp dword [ebp + 0xc], 2
je 0x406306
and byte [esi], 0
pop esi
leave
ret 0x14
Function at 0x40674b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40676f
xor eax, eax
test eax, eax
je 0x406781
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406781
xor ecx, ecx
jmp 0x406784
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406870
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce4c], 0
push esi
jne 0x4068a7
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406881
mov dword [ecx*4 + 0x42ce48], eax
inc ecx
cmp ecx, 0x100
jl 0x40687c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4068d8
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce48]
xor eax, esi
inc ecx
dec edx
jne 0x4068ba
pop edi
not eax
pop esi
ret 0xc
Function at 0x408a1c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, 0x4b6
push edi
mov esi, ecx
call fcn.004071bd
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
inc eax
inc eax
push edi
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.004071da
push 1
inc edi
push edi
mov ecx, esi
call fcn.004071da
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x103
push 0x2b4
lea eax, [ebp - 0x4d0]
push eax
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x4d0]
push edi
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x407823
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.004086eb
mov ecx, esi
mov edi, eax
call fcn.00407b90
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40c95a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
wait
xor eax, 0x349c45c6
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040c592
push eax
push esi

Function at 0x40c9d7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.0040c547
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040c592
push eax
push esi
push dword [ebp + 8]
call fcn.0040c547
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040c582
sub byte [ebx], dh
cld
jb 0x40c98d
popfd
jl 0x40ca07
invalid
invalid

Function at 0x40cb68
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x40cb27
cmp dword [eax + 0xc], ebx
je 0x40cbca
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0040c582
outsd dx, dword [esi]
shl byte [ecx + 0xc5d395b], cl
jne 0x40cb56
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x40cd71
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x40cb6a
mov dword [ebp + 0x10], edi
jmp 0x40cb6f
add eax, esi
invalid
Function at 0x40cc5f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40cc59
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40cc77
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov esp, 0xb5f7c18b
push esp
invalid
invalid
invalid
cmp eax, dword [ebp - 0x44]
ja 0x40ccd5
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40cc3b
mov dword [ebp + 8], esi
xor edi, edi
invalid
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40cd22
dec eax
je 0x40cd19
sub eax, 3
je 0x40cd10
mov dword [ebp - 4], 0x40
jmp 0x40cd3f
mov dword [ebp - 4], 4
jmp 0x40cd25
mov dword [ebp - 4], 0x20
jmp 0x40cd25
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40cd71
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40ccf1
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040c582
out 0x81, al
invalid
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ccb4
Capabilities:
Inspect section memory permissions

Disassembly:
cmp edx, ebx
je 0x40ccbc
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40ccc5

Function at 0x40ccc1
Capabilities:
Inspect section memory permissions

Disassembly:
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40cccf
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40ccb1

Function at 0x40cde2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
invalid
invalid
invalid
cld
invalid

Function at 0x40ce5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
invalid

Function at 0x40e0f9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
std
add eax, dword [eax]
add byte [ebx - 0x6fb43], al
inc dword [ecx]

Function at 0x40e57c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add ch, byte [eax]
add byte [eax], al
inc eax
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x40e5cc
push 0
invalid
test dword [ecx + edi*8], edi
Function at 0x413370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x4199e0], ecx
add edx, 1
cmp edx, 0x100
jb 0x413372
cmp edx, 0x800
jae 0x41345b
mov edi, edi
mov eax, dword [edx*4 + 0x4195e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4199e0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x4199dc], eax
jb 0x413430
mov dword [0x4199b4], 0x413ab0
call fcn.004135a0
test eax, eax
jne 0x413478
mov dword [0x4199b4], 0x4139d0
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx