joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x40d0c4], 0
jne 0x4014af
xor eax, eax
nop
mov ecx, eax
and cl, 1
neg cl
mov edx, eax
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor edx, ecx
mov dword [eax*4 + 0x40d0c0], edx
add eax, 1
cmp eax, 0x100
jl 0x401400
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
not eax
jbe 0x4014de
mov ecx, dword [esp + 0xc]
mov dl, byte [ecx]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x40d0c0]
sub esi, 1
jne 0x4014c2
not eax
pop esi
ret 0xc

Function at 0x401640
Capabilities:
Query or enumerate registry key

Disassembly:
mov ecx, dword [0x43d8f0]
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
push edi
mov edi, dword [esp + 0x124]
lea eax, [esp + 0x10]
push eax
or ecx, 8
push ecx
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40170a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x105
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call esi
test eax, eax
jne 0x4016ce
mov ebp, dword [esp + 0x128]
lea esp, [esp]
test ebp, ebp
mov edx, dword [esp + 0x10]
jne 0x4016fe
push ebp
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00401640
test eax, eax
jne 0x4016ce
mov ecx, dword [esp + 0x10]
push 0x105
lea eax, [esp + 0x18]
push eax
push ebp
push ecx
call esi
test eax, eax
je 0x4016a0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00407360
test eax, eax
je 0x401717
mov ecx, dword [0x43d8f0]
push 0
push ecx
push edi
push ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc
cmp dword [0x43d8f0], 0
jne 0x401705
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401705
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 0xc
Function at 0x4012b0
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41be36
push eax
mov dword fs:[0], esp
sub esp, 0x424
push esi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x4012f1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
add esp, 0x430
ret
lea eax, [esp + 4]
push eax
push 0x41e778
push 4
push esi
push 0x41e768
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
je 0x401325
xor eax, eax
pop esi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
add esp, 0x430
ret
mov eax, dword [esp + 4]
push edi
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov edx, dword [esp + 0x440]
mov eax, dword [esp + 0x43c]
push edx
push eax
push 0x42f2b4
lea ecx, [esp + 0x38]
push str.http:__world_s.runescape.com_game.ws__d__s
push ecx
call fcn.00407915
lea edx, [esp + 0x40]
push edx
push 0x42aff8
call fcn.00407a26
add esp, 0x1c
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], si
push eax
call fcn.00407030
lea ecx, [esp + 0xc]
mov dword [esp + 0x434], esi
push ecx
call fcn.0040709e
lea ecx, [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
lea ecx, [esp + 0x10]
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x14]
mov byte [esp + 0x43c], 1
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [edx + 0xd0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push eax
call esi
mov edi, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0x1c]
push edx
call esi
mov ecx, dword [esp + 0x42c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x430
ret
Function at 0x406760
Capabilities:
Terminate process

Disassembly:
sub esp, 0x400
push str.C:envMusicAc.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4302bc], eax
jne 0x406798
push 0x42b654
push 0x476d40
call fcn.00406bd0
add esp, 8
call fcn.004084bb
push 0
call fcn.004083bc
push esi
push str.LoadCdsFromFile
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.123456
mov esi, eax
push str.C:env1U.cds
call esi
push str.123456
push str.C:envyzm.cds
mov dword [0x4302b8], eax
call esi
mov dword [0x4302b4], eax
mov eax, dword [0x4302b8]
cmp eax, 0xffffffff
pop esi
jne 0x4067f2
push 0x42b608
push 0x476d40
call fcn.00406bd0
add esp, 8
call fcn.004084bb
push 0
call fcn.004083bc
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
push str.e:88_4.bmp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
call fcn.00401b30
lea ecx, [esp + 0xc]
push ecx
push 0x42aff0
call fcn.00407a26
add esp, 0x10
pop edi
add esp, 0x400
ret

Function at 0x406a20
Capabilities:
Create thread

Disassembly:
mov eax, 0x2804
call fcn.00408360
push esi
push edi
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
push 0x418
call fcn.004080ad
mov edi, eax
mov ecx, 0x106
xor eax, eax
mov dword [0x42f2b0], edi
add esp, 4
rep stosd dword es:[edi], eax
call fcn.00406760
push 0x100
push 0x42feb4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x42feb4
call fcn.00408640
push 0x42feb4
push str._suser.ini
push 0x42fab4
mov byte [eax], 0
call fcn.00407915
add esp, 0x14
call fcn.00401080
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 8], 0
push 0x42b6ec
call fcn.00407a26
add esp, 4
lea esi, [esp + 0xc]
call fcn.004084bb
cmp al, 0xa
mov byte [esp + 0xc], al
je 0x406acc
inc esi
call fcn.004084bb
cmp al, 0xa
mov byte [esi], al
jne 0x406ac0
lea eax, [esp + 0xc]
mov byte [esi], 0
push eax
push 0x42b6d8
call fcn.00407a26
lea ecx, [esp + 0x14]
push str.open
push ecx
call fcn.00407f30
add esp, 0x10
test eax, eax
je 0x406b2c
lea edx, [esp + 0x11]
push edx
call fcn.0040834e
push eax
push 0x42b6c0
mov dword [esp + 0x14], eax
call fcn.00407a26
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jle 0x406b2c
lea eax, [esp + 8]
push eax
push 0
push 0x406840
call fcn.004084c0
add esp, 0xc
lea ecx, [esp + 0xc]
push str.close
push ecx
call fcn.00407f30
add esp, 8
test eax, eax
je 0x406b7a
lea edx, [esp + 0x11]
push edx
call fcn.0040834e
push eax
push 0x42b6c0
mov dword [esp + 0x14], eax
call fcn.00407a26
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jle 0x406b7a
lea eax, [esp + 8]
push eax
push 0
push 0x406840
call fcn.004084c0
add esp, 0xc
push 0x3e8
call edi
jmp 0x406aa2
Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4029e4
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.00403f5c
test esi, esi
jne 0x402a1a
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.0040404c
jmp 0x402a38
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004028f8
mov edi, eax
test esi, esi
je 0x402a38
cmp dword [ebx], 0
je 0x402a38
dec esi
jmp 0x402a21
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40309c
Capabilities:
Query or enumerate registry value

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

Function at 0x403de0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x453048], 0
je 0x403e41
cmp word [0x45321c], 0xd7b2
jne 0x403e09
cmp dword [0x453224], 0
jbe 0x403e09
mov eax, 0x453218
call dword [0x453234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45106c
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 0x403e68
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x451030], 0
jne 0x403e5d
push 0
push 0x451064
push 0x45106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ab4
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 0x405b1a
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
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004041cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b04
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b21
lea eax, [ebp - 0x10]
call fcn.00403f5c
ret

Function at 0x40aa3c
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 0x40aa75
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040404c
jmp 0x40aa7e
mov eax, ebx
mov edx, esi
call fcn.00403fb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aa88
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 0x40aaa9
mov al, byte [esp]
jmp 0x40aaab
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b130
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afa8
mov eax, dword [0x452060]
cmp byte [eax], 0
je 0x40b1ac
mov eax, dword [0x451e88]
call fcn.00402acc
call fcn.00402824
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.004082b0
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 0x40b1f4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b1e2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x451e38]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x453664]
call fcn.00404fc8
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 0x40ba48
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 0x40bb1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ff4
lea eax, [ebp - 8]
call fcn.0040446c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040441c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb08
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb01
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.0040441c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40baeb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb30
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40baeb
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 0x40bb08
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb25
lea eax, [ebp - 8]
call fcn.00403f5c
ret

Function at 0x40bf9c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c000
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004041cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407e0c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c007
lea eax, [ebp - 0xc]
call fcn.00403f5c
ret

Function at 0x41a198
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x453884
cmp dword [edi], 0
jne 0x41a214
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x453880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4513ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a170
lea eax, [esi + 5]
call fcn.0041a190
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a190
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 0x41a1e9
mov dword [0x453880], 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 0x41b428
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 0x41b42e
ret
Function at 0x41d870
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41d8c1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d8a8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d898
jmp 0x41d8c1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41d8a9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429ff4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x429f40
call sub.user32.dll_EnumWindows
ret

Function at 0x42a114
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42a191
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00429b74
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42a139
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00429774
cmp dword [ebp - 4], 0
je 0x42a17b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040441c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a198
lea eax, [ebp - 4]
call fcn.00403f5c
ret

Function at 0x42c3f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42c448]
test si, 4
je 0x42c40c
or bl, 1
test si, 8
je 0x42c416
or bl, 4
test si, 1
je 0x42c420
or bl, 8
test si, 2
je 0x42c42a
or bl, 0x10
test si, 0x10
je 0x42c434
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42c443
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42c44c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42c484]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42c465
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42c474
or bl, 4
test esi, 0x20000000
je 0x42c47f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x432b2c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x432b3e
add esp, 0xfffffff0
call fcn.00403530
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419108
mov eax, dword [0x451e40]
mov dword [eax + 4], ebx
mov dword [eax], 0x432ed0
mov eax, dword [0x451e4c]
mov dword [eax + 4], ebx
mov dword [eax], 0x432edc
mov eax, ebx
call fcn.00432ee8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411390]
call fcn.004031f4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x42f304
push eax
push 0
push 0
mov eax, dword [0x451f8c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ab2c]
call fcn.0041bf70
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ab2c]
call fcn.0041bf70
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ab2c]
call fcn.0041bf70
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00433308
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4331e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4331e4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4331e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x432c7b
call fcn.00403588
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret