joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f31c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x66280a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f36b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f38a
mov ecx, edx
add ecx, ebx
jmp 0x41f38a
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f38a
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f3fc
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f3e5
test esi, esi
jbe 0x41f3fc
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f3d7
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f3fc
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f3b4
jmp 0x41f3fc
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f3fc
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x662811
ret
Function at 0x420568
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x663b83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4205a3
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4205bc
lea eax, [ebp - 0x10]
mov edx, dword [0x6815f0]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4205cf
lea eax, [ebp - 0x10]
mov edx, dword [0x6815f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4205db
adc edx, 0
mov edx, dword [edx*4 + 0x6803fc]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420755
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420748
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420748
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4206e6
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4206e6
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4206e6
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4206e6
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420748
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420748
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420748
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420748
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420748
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x42076d
inc ebx
cmp ebx, 0x19
jne 0x420595
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x663b8a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x40d5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b85f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [esp]
lea edx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 8], 0
call dword [sym.imp.ole32.dll_StringFromIID]
mov eax, dword [esp]
lea ecx, [esp + 4]
push eax
call fcn.00461b55
mov eax, dword [esp]
mov dword [esp + 0x24], 1
test eax, eax
je 0x40d638
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push esi
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0046180a
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00461a95
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x40d6e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x204
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push 0x200
push ecx
push edi
call ebx
test eax, eax
je 0x40d7a8
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40d7a8
push esi
lea edx, [esp + 0x14]
push str.CPU:
push edx
call fcn.0040d680
lea eax, [esi + 0x64]
lea ecx, [esp + 0x1c]
push eax
push str.Memory:
push ecx
call fcn.0040d680
lea edx, [esi + 0x96]
lea eax, [esp + 0x28]
push edx
push str.BusSpeed:
push eax
call fcn.0040d680
lea ecx, [esi + 0xaa]
lea edx, [esp + 0x34]
push ecx
push str.Motherboard:
push edx
call fcn.0040d680
lea eax, [esi + 0x10e]
lea ecx, [esp + 0x40]
push eax
push str.System:
push ecx
call fcn.0040d680
lea edx, [esi + 0x172]
lea eax, [esp + 0x4c]
push edx
push str.BIOS:
push eax
call fcn.0040d680
add esp, 0x48
jmp 0x40d6fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
cmp eax, 0x6d
pop ebx
jne 0x40d7c5
call fcn.00401fe0
test al, al
jne 0x40d7c5
call dword [sym.imp.KERNEL32.dll_FreeConsole]
add esp, 0x204
ret
Function at 0x40e170
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push str.Retrieving_Hardware_Information_n
call fcn.00404bf0
push 0x48634c
call fcn.00404bf0
or ecx, 0xffffffff
mov edi, 0x48a3f0
xor eax, eax
mov ebx, dword [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x172]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebx + 0x96]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea ebp, [ebx + 0x64]
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x48a3f0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48a3f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebx + 0x49e]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48a3f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48a3f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea edx, [ebx + 0xaa]
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48a3f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebx + 0x10e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48a3f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebx + 0x1d6]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x48a3f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040d7d0
add esp, 0xc
test al, al
je 0x40e30c
push 0x486304
call fcn.00404bf0
add esp, 4
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esi, dword [esp + 0x18]
push ebp
shr esi, 0x14
call fcn.0044518b
add esp, 4
cmp eax, esi
jae 0x40e319
push esi
push str._d_MB
push ebp
call fcn.0044537b
add esp, 0xc
jmp 0x40e319
push 0x48acb0
call fcn.00404bf0
add esp, 4
push str.
call fcn.00404bf0
push ebx
call fcn.0040d980
push 0x48aca0
call fcn.00404bf0
push ebx
call fcn.0040d9e0
push 0x48ac30
call fcn.00404bf0
push ebx
call fcn.0040df80
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x403184
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4031c0
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x4031e0
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405108
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4034b4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404e98
test esi, esi
jne 0x4034ea
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404f88
jmp 0x403508
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004033b8
mov edi, eax
test esi, esi
je 0x403508
cmp dword [ebx], 0
je 0x403508
dec esi
jmp 0x4034f1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403cac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x528024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403d44
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403d24
xor eax, eax
push ebp
push 0x403d1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403d60
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d24
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x528024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x528024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404c64
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x54c04c], 0
je 0x404cc5
cmp word [0x54c220], 0xd7b2
jne 0x404c8d
cmp dword [0x54c228], 0
jbe 0x404c8d
mov eax, 0x54c21c
call dword [0x54c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x528764
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404cec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x528030], 0
jne 0x404ce1
push 0
push 0x52875c
push 0x528764
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404e1c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x528034], 0
je 0x404e42
mov edx, esi
mov eax, ebx
call dword [0x528034]
jmp 0x404e51
mov eax, 8
call fcn.00402f7c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x54c04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404de4
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4099c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x409a12
test eax, edx
je 0x409a15
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4099d5
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4099fb
add ecx, 4
js 0x4099eb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4099f8
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x409a21
test edx, edx
jne 0x4099c8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40a828
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405328
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a841
test al, 0x10
je 0x40a845
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40a84c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405328
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a865
test al, 0x10
jne 0x40a869
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40aa10
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405328
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40aa24
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405328
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40aa46
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40e118
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40e151
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404f88
jmp 0x40e15a
mov eax, ebx
mov edx, esi
call fcn.00404eec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e164
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40e186
movzx eax, byte [esp]
jmp 0x40e188
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40e818
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e690
mov eax, dword [0x54bd08]
cmp byte [eax], 0
je 0x40e894
mov eax, dword [0x54b8e8]
call fcn.00403624
call fcn.004030d8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040af98
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40e8dc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e8ca
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x54b850]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x54e7f8]
call fcn.00406830
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40f1b8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40f28e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404f30
lea eax, [ebp - 4]
call fcn.00405380
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405328
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f278
mov eax, ebx
call fcn.00402f7c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f271
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405328
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f25b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f2a0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f25b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f278
mov eax, dword [ebp - 0x10]
call fcn.00402f98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f295
lea eax, [ebp - 4]
call fcn.00404e98
ret

Function at 0x423ca0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004239dc
dec esi
jne 0x423cc2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424e34
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5509f0
cmp dword [edi], 0
jne 0x424eb0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5509ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x528ca8
mov ecx, 2
call fcn.004032b8
mov edx, 0x424e0c
lea eax, [esi + 5]
call fcn.00424e2c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424e2c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x424e85
mov dword [0x5509ec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x427a14
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0042742c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405328
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x427a73
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x54bb4c]
mov dl, 1
mov eax, dword [0x4272b8]
call fcn.0040ea08
call fcn.004047ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x427a7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405328
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x427ad4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x54bf64]
mov dl, 1
mov eax, dword [0x4272b8]
call fcn.0040ea08
call fcn.004047ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042745c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x428f0c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x428f12
ret
Function at 0x43e390
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x43e564
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.0045d138
mov eax, dword [esi]
cmp byte [eax + 0x258], 0
je 0x43e549
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
sub eax, dword [edx + 0x268]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2c0]
jb 0x43e3f6
mov eax, dword [esi]
add eax, 0x264
call fcn.00404e98
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
cmp al, 8
je 0x43e4d0
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [0x54bf1c]
movzx eax, al
bt dword [edx], eax
jae 0x43e48d
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.0045e29c
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x43e514
mov eax, dword [esi]
push dword [eax + 0x264]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.00405080
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00405080
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x264
mov edx, 3
call fcn.0040522c
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x43e514
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.00405080
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x264
call fcn.00405164
jmp 0x43e514
mov eax, dword [esi]
mov ebx, dword [eax + 0x264]
test ebx, ebx
je 0x43e4bd
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x264
mov ecx, 1
mov edx, ebx
call fcn.004053d0
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.00405158
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.0040f320
cmp al, 2
je 0x43e4ac
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x43e501
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x264
mov ecx, 1
xchg edx, eax
call fcn.004053d0
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x43e525
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43e532
push ebp
call fcn.0043e2a8
pop ecx
jmp 0x43e549
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [esi]
mov si, 0xffeb
call fcn.004040b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e56b
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404ebc
ret