joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ec90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x504]
push 0x49d6a8
push eax
mov edi, ecx
call fcn.00409550
add esp, 0xc
lea ecx, [ebp - 0x304]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x504]
push edx
lea eax, [ebp - 0x304]
push 0x100
push eax
call fcn.004642ca
push 0x49d6a4
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x708]
xor esi, esi
push edx
xor ebx, ebx
mov dword [ebp - 0x708], esi
call fcn.00464510
mov eax, dword [ebp - 0x708]
add esp, 0x18
cmp eax, esi
je 0x45ed6b
push eax
call fcn.0046567d
add esp, 4
test eax, eax
jne 0x45ed5c
jmp 0x45ed30
mov eax, dword [ebp - 0x708]
push eax
lea ecx, [ebp - 0x704]
push 0x200
push ecx
call fcn.004655c4
mov edx, dword [ebp - 0x708]
push edx
inc ebx
call fcn.0046567d
add esp, 0x10
test eax, eax
je 0x45ed30
mov eax, dword [ebp - 0x708]
push eax
call fcn.004643ac
add esp, 4
push 0x497c50
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x708]
push edx
call fcn.00464510
add esp, 0xc
cmp dword [ebp - 0x708], esi
je 0x45ee3c
test ebx, ebx
jle 0x45ee02
mov dword [ebp - 0x714], ebx
lea esp, [esp]
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x710]
push ecx
lea edx, [ebp - 0x718]
push edx
lea eax, [ebp - 0x71c]
push eax
mov eax, dword [ebp - 0x708]
push 0x40
lea ecx, [ebp - 0x104]
push ecx
push 0x40
lea edx, [ebp - 0x84]
push edx
push 0x49d680
push eax
call fcn.004655a4
lea eax, [edi + 0xfc]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.004654c9
add esp, 0x30
test eax, eax
je 0x45edfa
inc esi
dec dword [ebp - 0x714]
jne 0x45eda0
mov edx, dword [ebp - 0x708]
push edx
call fcn.004643ac
add esp, 4
test esi, esi
je 0x45ee3c
xor ecx, ecx
mov eax, esi
mov edx, 0x10
mul edx
seto cl
mov dword [edi + 0xa8], esi
neg ecx
or ecx, eax
push ecx
call fcn.00462b8e
add esp, 4
mov dword [edi + 0xac], eax
push 0x497c50
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x708]
push ecx
call fcn.00464510
add esp, 0xc
cmp dword [ebp - 0x708], 0
je 0x45ef21
test ebx, ebx
jle 0x45ef12
xor esi, esi
mov edi, edi
lea edx, [ebp - 0x70c]
push edx
lea eax, [ebp - 0x710]
push eax
lea ecx, [ebp - 0x718]
push ecx
lea edx, [ebp - 0x71c]
push edx
mov edx, dword [ebp - 0x708]
push 0x40
lea eax, [ebp - 0x104]
push eax
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push 0x49d680
push edx
call fcn.004655a4
lea eax, [edi + 0xfc]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004654c9
add esp, 0x30
test eax, eax
je 0x45ef0b
mov ecx, dword [edi + 0xac]
mov edx, dword [ebp - 0x71c]
mov dword [esi + ecx], edx
mov eax, dword [edi + 0xac]
mov ecx, dword [ebp - 0x718]
mov dword [eax + esi + 4], ecx
mov edx, dword [edi + 0xac]
mov eax, dword [ebp - 0x710]
mov dword [edx + esi + 8], eax
mov ecx, dword [edi + 0xac]
mov edx, dword [ebp - 0x70c]
mov dword [ecx + esi + 0xc], edx
add esi, 0x10
dec ebx
jne 0x45ee70
mov eax, dword [ebp - 0x708]
push eax
call fcn.004643ac
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret 4
Function at 0x462510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], 0
cmp eax, 1
jne 0x462698
test edi, edi
jne 0x462560
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463931
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
test eax, eax
je 0x462575
push eax
call fcn.00464dfa
add esp, 4
mov dword [esi], 0
push 0x10000
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
test eax, eax
jne 0x462646
push str.WAVE
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x4625cc
push 0x49d8f4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x4625cc
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463931
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4625b4
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4625b4
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4625b4
push edi
call fcn.00462b8e
push edi
push ebx
push eax
mov dword [esi + 0x90], eax
call fcn.00462db0
push 0x48
lea ecx, [ebp - 0x4c]
push 0
push ecx
call fcn.004639d0
mov edx, dword [esi + 0x90]
add esp, 0x1c
push 0x10000
lea eax, [ebp - 0x4c]
push eax
push 0
mov dword [ebp - 0x48], 0x204d454d
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.00461cc0
mov edi, eax
test edi, edi
jns 0x462674
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463931
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00461e60
test eax, eax
js 0x4626e7
mov edx, dword [esi + 0xc]
pop edi
mov dword [esi + 0x30], edx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463931
mov esp, ebp
pop ebp
ret 0xc
push 0x11002
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
test eax, eax
je 0x4625b4
push ebx
mov ecx, esi
call fcn.004621c0
mov edi, eax
test edi, edi
jns 0x4626e0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463931
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00461e60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret 0xc

Function at 0x463931
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b1240]
jne 0x46393b
repz ret
jmp fcn.00467a9c
Function at 0x473cfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b1240]
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.0046748f
and dword [ebp - 0x14], 0
cmp dword [0x4c676c], 0
mov dword [ebp - 0x18], eax
jne 0x473daf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x473e57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a2bf4
push ebx
call edi
test eax, eax
je 0x473e57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c676c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c6770], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c6774], eax
call edi
push eax
call esi
mov dword [0x4c677c], eax
test eax, eax
je 0x473daf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c6778], eax
mov eax, dword [0x4c6778]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x473e08
cmp dword [0x4c677c], ecx
je 0x473e08
push eax
call esi
push dword [0x4c677c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x473e08
test ebx, ebx
je 0x473e08
call edi
test eax, eax
je 0x473dff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x473dff
test byte [ebp - 8], 1
jne 0x473e08
or dword [ebp + 0x10], 0x200000
jmp 0x473e3b
mov eax, dword [0x4c6770]
cmp eax, dword [ebp - 0x18]
je 0x473e3b
push eax
call esi
test eax, eax
je 0x473e3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x473e3b
mov eax, dword [0x4c6774]
cmp eax, dword [ebp - 0x18]
je 0x473e3b
push eax
call esi
test eax, eax
je 0x473e3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c676c]
call esi
test eax, eax
je 0x473e57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x473e59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
leave
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x66e9713a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section._RDATA
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x378643e5
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40383c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405704
test esi, esi
jne 0x403873
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004057f4
jmp 0x403894
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.004036d8
mov dword [esp], eax
test esi, esi
je 0x403894
cmp dword [ebx], 0
je 0x403894
dec esi
jmp 0x40387b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x404584
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f9024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40461c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4045fc
xor eax, eax
push ebp
push 0x4045f5
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 0x404638
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 0x4045fc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f9024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f9024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4054b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50d04c], 0
je 0x405511
cmp word [0x50d220], 0xd7b2
jne 0x4054d9
cmp dword [0x50d228], 0
jbe 0x4054d9
mov eax, 0x50d21c
call dword [0x50d238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f9788
push 0xfffffffffffffff5
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 0x405538
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x4f9034], 0
jne 0x40552d
push 0
push 0x4f9780
push 0x4f9788
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x40568c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4f903c], 0
je 0x4056b7
mov edx, esi
mov eax, ebx
call dword [0x4f903c]
mov dword [ebp - 8], eax
jmp 0x4056cf
mov eax, 8
call fcn.0040330c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
mov eax, dword [ebp - 8]
mov dword [eax + 4], esi
mov byte [0x50d04d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, 0x405654
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.KERNEL32.DLL_CreateThread_1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x407a74
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x407ada
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00405974
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004040cc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x407ac4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407ae1
lea eax, [ebp - 0x10]
call fcn.00405704
ret

Function at 0x40b9e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40ba3a
test eax, edx
je 0x40ba3d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40b9fd
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 0x40ba23
add ecx, 4
js 0x40ba13
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40ba20
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 0x40ba49
test edx, edx
jne 0x40b9f0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405be0
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40c7b5
test al, 0x10
je 0x40c7b9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405be0
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40c7d9
test al, 0x10
jne 0x40c7dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c91c
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.00405be0
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x40c93e
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40fbd4
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
test eax, eax
jle 0x40fc0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004057f4
jmp 0x40fc16
mov eax, ebx
mov edx, esi
call fcn.00405758
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fc20
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
test eax, eax
jle 0x40fc41
mov al, byte [esp]
jmp 0x40fc43
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4102d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x410140
mov eax, dword [0x50cae4]
cmp byte [eax], 0
je 0x410354
mov eax, dword [0x50c760]
call fcn.00403c64
call fcn.00403538
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.0040ccc8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x41039c
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x41038a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x50c6dc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x50f7fc]
call fcn.00406e7c
push eax
call sub.user32.dll_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA
add esp, 0x444
ret

Function at 0x410c7c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x410d52
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040579c
lea eax, [ebp - 8]
call fcn.00405c30
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405be0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x410d3c
mov eax, ebx
call fcn.0040330c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x410d35
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 - 8]
call fcn.00405be0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x410d1f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x410d64
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x410d1f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410d3c
mov eax, dword [ebp - 0x10]
call fcn.00403328
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410d59
lea eax, [ebp - 8]
call fcn.00405704
ret

Function at 0x42baa0
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.0042b798
dec esi
jne 0x42bac2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42ccf4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x511dd8
cmp dword [esi], 0
jne 0x42cd9a
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x511dd4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4fa8a8
mov ecx, 2
call fcn.004035d8
mov edx, 0x42cccc
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0042ccec
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0042ccec
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x42cd61
mov eax, dword [ebp - 8]
mov dword [0x511dd4], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42dc50
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.00405be0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42dca8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x50ccfc]
mov dl, 1
mov eax, dword [0x42d75c]
call fcn.004104bc
call fcn.00405050
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042d864
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 0x42f180
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 0x42f186
ret
Function at 0x44c734
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x512078], 0
je 0x44c87d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x50ca30]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44c87d
mov eax, dword [0x51207c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x512078]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44c84c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x512078]
call fcn.00422868
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44c844
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44c844
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44c844
mov eax, dword [ebp - 0x14]
call fcn.00456e98
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c844
push ebp
call fcn.0044c6f0
pop ecx
test al, al
jne 0x44c844
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404990
test al, al
je 0x44c844
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00404990
cmp byte [ebp - 1], 0
je 0x44c844
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44c844
mov edx, dword [ebp - 0x14]
mov eax, dword [0x51207c]
call fcn.0044be7c
inc edi
dec ebx
jne 0x44c799
mov eax, dword [0x51207c]
cmp dword [eax + 8], 0
jle 0x44c864
mov eax, dword [0x51207c]
call fcn.0044bf38
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44c87d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044c558
pop ecx
test al, al
jne 0x44c87d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret