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

Disassembly:
sub esp, 0xe4
cmp cl, 0x39
mov eax, 0x4c7b75
mov dword [esp], eax
mov dword [esp + 4], 0x4d3694
mov dword [esp + 8], 0x4d4b98
mov dword [esp + 0xc], 0x4d6a9c
mov dword [esp + 0x10], 0x4d5450
mov dword [esp + 0x14], 0x4c7ce0
mov dword [esp + 0x18], 0x4d542c
mov dword [esp + 0x1c], str._______:_
mov dword [esp + 0x20], 0x4d5454
mov dword [esp + 0x24], 0x4d3690
mov dword [esp + 0x28], 0x4c8350
mov dword [esp + 0x2c], 0x4d5444
mov dword [esp + 0x30], 0x4c7bec
mov dword [esp + 0x34], 0x4c89cc
mov dword [esp + 0x38], 0x4d5428
mov dword [esp + 0x3c], 0x4d368c
mov dword [esp + 0x40], 0x4d53b4
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x4d67ec
mov dword [esp + 0x4c], 0x4d68b0
mov dword [esp + 0x50], 0x4d543c
mov dword [esp + 0x54], 0x4d5438
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x4d6a8c
mov dword [esp + 0x64], 0x4d6a88
mov dword [esp + 0x68], 0x4c7ce8
mov dword [esp + 0x6c], 0x4d545c
mov dword [esp + 0x70], 0x4d67f0
mov dword [esp + 0x74], 0x4d67dc
mov dword [esp + 0x78], 0x4d67c0
mov dword [esp + 0x7c], 0x4d67b0
mov dword [esp + 0x80], 0x4d67a8
mov dword [esp + 0x84], 0x4d67a0
mov dword [esp + 0x88], 0x4d6798
mov dword [esp + 0x8c], 0x4d67e8
mov dword [esp + 0x90], 0x4d5458
mov dword [esp + 0x94], 0x4d53b8
mov dword [esp + 0x98], 0x4d67e0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x4d68a8
mov dword [esp + 0xc0], 0x4d6878
mov dword [esp + 0xc4], 0x4d685c
mov dword [esp + 0xc8], 0x4d549c
mov dword [esp + 0xcc], str.ZYXWVUTSRQPONMLKJIHGFEDBA
mov dword [esp + 0xd0], 0x4d68a0
mov dword [esp + 0xd4], 0x4d5440
mov dword [esp + 0xd8], 0x4d67b8
mov dword [esp + 0xdc], 0x4d687c
mov dword [esp + 0xe0], 0x4d6884
jae 0x49d22c
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xe4
ret
Function at 0x49ec31
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ef7d0]
jne 0x49ec3b
repz ret
jmp fcn.004a5351

Function at 0x4a7d49
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004a3aff
xor ebx, ebx
cmp dword [0x4f2af8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4a7e1e
push 0x4d82fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x4a7d89
xor eax, eax
jmp 0x4a7ee2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x4a7d82
push eax
call fcn.004a3a9c
mov dword [esp], 0x4d82e0
push edi
mov dword [0x4f2af8], eax
call esi
push eax
call fcn.004a3a9c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f2afc], eax
call esi
push eax
call fcn.004a3a9c
mov dword [0x4f2b00], eax
lea eax, [ebp - 8]
push eax
call fcn.004a71e7
test eax, eax
pop ecx
pop ecx
je 0x4a7dec
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049ec4a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4a7e1e
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.004a3a9c
cmp eax, ebx
pop ecx
mov dword [0x4f2b08], eax
je 0x4a7e1e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a3a9c
pop ecx
mov dword [0x4f2b04], eax
mov eax, dword [0x4f2b04]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4a7e97
cmp dword [0x4f2b08], esi
je 0x4a7e97
push eax
call fcn.004a3b08
pop ecx
call eax
cmp eax, ebx
je 0x4a7e64
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4f2b08]
call fcn.004a3b08
pop ecx
call eax
test eax, eax
je 0x4a7e64
test byte [ebp - 0x18], 1
jne 0x4a7e97
lea eax, [ebp - 0xc]
push eax
call fcn.004a721e
test eax, eax
pop ecx
je 0x4a7e7f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049ec4a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4a7e8e
or dword [ebp + 0x10], 0x200000
jmp 0x4a7ec8
or dword [ebp + 0x10], 0x40000
jmp 0x4a7ec8
mov eax, dword [0x4f2afc]
cmp eax, esi
je 0x4a7ec8
push eax
call fcn.004a3b08
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4a7ec8
mov eax, dword [0x4f2b00]
cmp eax, esi
je 0x4a7ec8
push dword [ebp - 4]
push eax
call fcn.004a3b08
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4f2af8]
call fcn.004a3b08
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ae4cb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004a3aff
xor ebx, ebx
cmp dword [0x4f2c64], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4ae5a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4ae50b
xor eax, eax
jmp 0x4ae664
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4dc6b8
push edi
call esi
cmp eax, ebx
je 0x4ae504
push eax
call fcn.004a3a9c
mov dword [esp], 0x4d82e0
push edi
mov dword [0x4f2c64], eax
call esi
push eax
call fcn.004a3a9c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f2c68], eax
call esi
push eax
call fcn.004a3a9c
mov dword [0x4f2c6c], eax
lea eax, [ebp - 8]
push eax
call fcn.004a71e7
test eax, eax
pop ecx
pop ecx
je 0x4ae56e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049ec4a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4ae5a0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004a3a9c
cmp eax, ebx
pop ecx
mov dword [0x4f2c74], eax
je 0x4ae5a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a3a9c
pop ecx
mov dword [0x4f2c70], eax
mov eax, dword [0x4f2c70]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4ae619
cmp dword [0x4f2c74], esi
je 0x4ae619
push eax
call fcn.004a3b08
pop ecx
call eax
cmp eax, ebx
je 0x4ae5e6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4f2c74]
call fcn.004a3b08
pop ecx
call eax
test eax, eax
je 0x4ae5e6
test byte [ebp - 0x18], 1
jne 0x4ae619
lea eax, [ebp - 0xc]
push eax
call fcn.004a721e
test eax, eax
pop ecx
je 0x4ae601
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0049ec4a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4ae610
or dword [ebp + 0x10], 0x200000
jmp 0x4ae64a
or dword [ebp + 0x10], 0x40000
jmp 0x4ae64a
mov eax, dword [0x4f2c68]
cmp eax, esi
je 0x4ae64a
push eax
call fcn.004a3b08
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4ae64a
mov eax, dword [0x4f2c6c]
cmp eax, esi
je 0x4ae64a
push dword [ebp - 4]
push eax
call fcn.004a3b08
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4f2c64]
call fcn.004a3b08
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x505f88
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00506007
jae 0x505f94
xor ecx, ecx
call fcn.00506007
jae 0x505fbe
xor eax, eax
call fcn.00506007
jae 0x505fcf
mov al, 0x10
call fcn.00506007
adc al, al
jae 0x505fb0
jne 0x505ffc
stosb byte es:[edi], al
jmp 0x505f95
call fcn.00506013
dec ecx
loop 0x505fdb
mov eax, ebp
call fcn.00506011
jmp 0x505ffd
lodsb al, byte [esi]
shr eax, 1
je 0x506023
adc ecx, 2
mov ebp, eax
jmp 0x505ffd
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00506011
cmp eax, 0x7d00
jae 0x505ffb
cmp eax, 0x500
jae 0x505ffc
cmp eax, 0x7f
ja 0x505ffd
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x505f95
pop ebp
ret 8
Function at 0x402a54
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.004045d4
test esi, esi
jne 0x402a8a
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.004046c4
jmp 0x402aa8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402968
mov edi, eax
test esi, esi
je 0x402aa8
cmp dword [ebx], 0
je 0x402aa8
dec esi
jmp 0x402a91
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4036d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a900c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403770
push reloc.GBL.dll_Ordinal_2
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403750
xor eax, eax
push ebp
push 0x403749
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 0x40378c
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 0x403750
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4a900c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a900c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404458
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ac048], 0
je 0x4044b9
cmp word [0x4ac21c], 0xd7b2
jne 0x404481
cmp dword [0x4ac224], 0
jbe 0x404481
mov eax, 0x4ac218
call dword [0x4ac234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a905c
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 0x4044e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a901c], 0
jne 0x4044d5
push 0
push 0x4a907c
push 0x4a905c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f50
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406180
push reloc.GBL.dll_Ordinal_1
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405fd3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406180
push reloc.GBL.dll_Ordinal_2
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405fd3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40619c
push reloc.GBL.dll_Ordinal_1
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40605c
xor eax, eax
push ebp
push 0x406055
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405d98
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40603a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4061bc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40603a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40605c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406176
cmp byte [ebp - 0xd], 0
jne 0x4060a3
cmp byte [ebp - 0x12], 0
je 0x406176
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4060bc
dec ebx
cmp byte [ebx], 0x2e
je 0x4060cb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4060bb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406176
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406108
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406176
cmp byte [ebp - 0xd], 0
je 0x406176
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406176
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408fe0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a84
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408ff9
test al, 0x10
jne 0x408ffd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40beac
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 0x40bee5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046c4
jmp 0x40beee
mov eax, ebx
mov edx, esi
call fcn.00404628
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c5a0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c418
mov eax, dword [0x4aafa0]
cmp byte [eax], 0
je 0x40c60d
mov eax, dword [0x4aad6c]
call fcn.00402e74
call fcn.00402894
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409328
push eax
lea eax, [esp + 0x50]
push eax
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 0x40c654
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c643
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4aad10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ac714]
call fcn.00405d5c
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 0x40d3dc
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 0x40d440
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.0040483c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c9c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d447
lea eax, [ebp - 0xc]
call fcn.004045d4
ret
Function at 0x423dd4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4aca28
cmp dword [edi], 0
jne 0x423e50
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4aca24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a9660
mov ecx, 2
call fcn.00402928
mov edx, 0x423dac
lea eax, [esi + 5]
call fcn.00423dcc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423dcc
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 0x423e25
mov dword [0x4aca24], 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 0x425374
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 0x42537a
ret

Function at 0x427a90
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 0x427ae1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x427ac8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x427ab8
jmp 0x427ae1
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 0x427ac9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f3bc
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 0x43f308
call sub.user32.dll_EnumWindows
ret

Function at 0x43f4e0
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 0x43f55d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043ef2c
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 0x43f505
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043eb84
cmp dword [ebp - 4], 0
je 0x43f547
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404a84
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 0x43f564
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x4428ec
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 [0x4acbb8], 0
je 0x442a3b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4aaf38]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x442a3b
mov eax, dword [0x4acbbc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4acbb8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x442a0a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4acbb8]
call fcn.0041af14
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x442a02
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x442a02
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x442a02
mov eax, dword [ebp - 0x14]
call fcn.0044b454
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x442a02
push ebp
call fcn.004428a8
pop ecx
test al, al
jne 0x442a02
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4429be
mov eax, dword [ebp - 0x14]
call fcn.00449fe8
dec eax
jle 0x442a02
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, 0xffbd
call fcn.00403a64
cmp byte [ebp - 1], 0
je 0x442a02
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x442a02
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4acbbc]
call fcn.00442070
inc edi
dec ebx
jne 0x442951
mov eax, dword [0x4acbbc]
cmp dword [eax + 8], 0
jle 0x442a22
mov eax, dword [0x4acbbc]
call fcn.00442100
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442a3b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00442710
pop ecx
test al, al
jne 0x442a3b
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
Function at 0x446044
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x446090
mov eax, esi
call fcn.0045c158
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x446090
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x446090
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4461cf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4460d0
cmp eax, 0x108
ja 0x4460d0
mov eax, esi
call fcn.0045c158
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4461c6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4461cf
jmp 0x4461c6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4461af
cmp eax, 0x20a
ja 0x4461af
test byte [esi + 0x50], 0x80
jne 0x446102
sub eax, 0x203
je 0x4460ff
sub eax, 3
je 0x4460ff
sub eax, 3
jne 0x446102
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x446116
dec eax
je 0x44612b
dec eax
je 0x446148
dec eax
je 0x44612b
jmp 0x44614f
mov ecx, ebx
mov eax, dword [0x4aaf38]
mov eax, dword [eax]
mov edx, esi
call fcn.0046582c
jmp 0x4461c6
cmp byte [esi + 0x5d], 1
jne 0x446141
mov eax, esi
mov si, 0xffed
call fcn.00403a64
jmp 0x4461cf
or word [esi + 0x54], 1
jmp 0x4461c6
and word [esi + 0x54], 0xfffe
jmp 0x4461c6
mov eax, dword [0x4acb74]
cmp byte [eax + 0x20], 0
je 0x4461c6
mov eax, dword [0x4acb74]
cmp dword [eax + 0x1c], 0
je 0x4461c6
mov eax, dword [ebx]
mov edx, dword [0x4acb74]
cmp eax, dword [edx + 0x1c]
jne 0x4461c6
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045c09c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403a64
jmp 0x4461cf
cmp eax, 0xb00b
jne 0x4461c6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044494c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret