joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425ed9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x425f18
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425f18
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425f18
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x425f18
cmp dword [ecx + 0x74], 0xe
jbe 0x425f18
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4382f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43831d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43831d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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

Function at 0x4095af
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409607
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x40bff4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4095fa
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x409609
xor eax, eax
pop esi
leave
ret 4
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x7ce36067
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x65890bc6
nop
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401031
Capabilities:
Create process on windows

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403220], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [0x403224], eax
push 0xa
push dword [0x403224]
push 0
push dword [0x403220]
call 0x401031
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov eax, dword [ebp + 0x10]
inc eax
mov dl, byte [eax]
cmp dl, 0x20
jne 0x401044
jmp 0x401046
jmp 0x40103a
inc eax
push eax
push 0x403123
call fcn.00401110
push 0xfa
push 0x403029
push 0xffffffffffffffff
push 0x403123
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar
mov dword [0x403228], 0x44
mov dword [0x403254], 1
mov word [0x403258], 0
push 0x40326c
push 0x403228
push 0
push 0
push 0
push 0x403029
push 0
push 0
push 0x403025
push 0
push str.mima1
call sub.advapi32.dll_CreateProcessWithLogonW
push 0xffffffffffffffff
push dword [0x40326c]
call sub.kernel32.dll_WaitForSingleObject
push dword [0x40326c]
call sub.kernel32.dll_CloseHandle
push dword [0x403270]
call sub.kernel32.dll_CloseHandle
push 0
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebp - 0x44]
leave
ret 0x10

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4c737c75
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2f3e244b
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4027d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40403d], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Salmimo
push str.Limoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402818
xor eax, eax
jmp 0x402833
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0xa3b790
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa3b7cf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa53d42
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a539bf

Function at 0xa5a3f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a5a26b

Function at 0x4ca26a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4c9fca
sub esi, 0x67f5c905
add esi, 0x1ef864d5
add ebx, 0x6a18dc1b
call fcn.004ca2b4
or esi, esi
sub ebx, esi
xor dword [edx], ecx
sub ebx, ebx
inc edx
sub esi, 0xf504500f
cmp edx, eax
jne fcn.004ca26a
add esi, esi
sub ebx, 0xd9a1399f
dec esi
ret
Function at 0x4037e8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405664
test esi, esi
jne 0x40381f
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.00405754
jmp 0x403840
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00403684
mov dword [esp], eax
test esi, esi
je 0x403840
cmp dword [ebx], 0
je 0x403840
dec esi
jmp 0x403827
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40406c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x487008], 0x8088405
inc edx
mov dword [ebx + 0x487008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x404608
Capabilities:
Query or enumerate registry value

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

Function at 0x4054e0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49304c], 0
je 0x405541
cmp word [0x493220], 0xd7b2
jne 0x405509
cmp dword [0x493228], 0
jbe 0x405509
mov eax, 0x49321c
call dword [0x493238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x487780
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 0x405568
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x487030], 0
jne 0x40555d
push 0
push 0x487778
push 0x487780
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x407660
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 0x4076c6
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.004058d4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004041e0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4076b0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4076cd
lea eax, [ebp - 0x10]
call fcn.00405664
ret

Function at 0x40ae94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40aee6
test eax, edx
je 0x40aee9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40aea9
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 0x40aecf
add ecx, 4
js 0x40aebf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40aecc
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 0x40aef5
test edx, edx
jne 0x40ae9c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

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

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

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

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

Function at 0x40e464
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 0x40e49d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405754
jmp 0x40e4a6
mov eax, ebx
mov edx, esi
call fcn.004056b8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e4b0
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 0x40e4d1
mov al, byte [esp]
jmp 0x40e4d3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40eb68
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e9d0
mov eax, dword [0x492b88]
cmp byte [eax], 0
je 0x40ebe4
mov eax, dword [0x492964]
call fcn.00403bf8
call fcn.004034e4
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.0040bbd8
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 0x40ec2c
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x40ec1a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49290c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4957fc]
call fcn.00406a68
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 0x40f50c
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 0x40f5e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004056fc
lea eax, [ebp - 8]
call fcn.00405b90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405b40
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f5cc
mov eax, ebx
call fcn.004032b8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f5c5
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.00405b40
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f5af
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f5f4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f5af
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 0x40f5cc
mov eax, dword [ebp - 0x10]
call fcn.004032d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f5e9
lea eax, [ebp - 8]
call fcn.00405664
ret
Function at 0x422cac
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, 0x497c70
cmp dword [esi], 0
jne 0x422d52
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 [0x497c6c]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4882a4
mov ecx, 2
call fcn.00403584
mov edx, 0x422c84
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00422ca4
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.00422ca4
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 0x422d19
mov eax, dword [ebp - 8]
mov dword [0x497c6c], 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 0x423520
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.00405b40
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x423578
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x492ccc]
mov dl, 1
mov eax, dword [0x42302c]
call fcn.0040ed4c
call fcn.0040509c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00423134
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 0x424a18
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 0x424a1e
ret
Function at 0x43a7f8
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 [0x497f0c], 0
je 0x43a941
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x492b1c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43a941
mov eax, dword [0x497f10]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x497f0c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43a910
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x497f0c]
call fcn.0041bd94
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43a908
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43a908
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43a908
mov eax, dword [ebp - 0x14]
call fcn.00444f5c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43a908
push ebp
call fcn.0043a7b4
pop ecx
test al, al
jne 0x43a908
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404a1c
test al, al
je 0x43a908
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.00404a1c
cmp byte [ebp - 1], 0
je 0x43a908
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43a908
mov edx, dword [ebp - 0x14]
mov eax, dword [0x497f10]
call fcn.00439f40
inc edi
dec ebx
jne 0x43a85d
mov eax, dword [0x497f10]
cmp dword [eax + 8], 0
jle 0x43a928
mov eax, dword [0x497f10]
call fcn.00439ffc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43a941
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043a61c
pop ecx
test al, al
jne 0x43a941
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 0x441ef8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffedc
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00407988
lea edx, [esp + 0x11c]
call fcn.00408574
lea edx, [esp + 0x11c]
mov ecx, esp
mov eax, esi
call fcn.0043cb60
test ebx, ebx
jne 0x441f44
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00441e34
mov ebx, eax
test ebx, ebx
je 0x44202f
cmp esi, ebx
je 0x441f6d
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x10c], eax
jmp 0x441f82
mov eax, dword [esp]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10c], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x110], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x441fba
add eax, 0xffffff5f
sub eax, 2
jb 0x441fd2
dec eax
sub eax, 2
jb 0x441fe6
dec eax
sub eax, 2
jb 0x441fdc
jmp 0x441ff0
add eax, 0xfffffdff
sub eax, 2
jb 0x441fd2
dec eax
sub eax, 2
jb 0x441fe6
dec eax
sub eax, 2
jb 0x441fdc
jmp 0x441ff0
mov byte [esp + 0x114], 0
jmp 0x441ff8
mov byte [esp + 0x114], 2
jmp 0x441ff8
mov byte [esp + 0x114], 1
jmp 0x441ff8
mov byte [esp + 0x114], 0
lea eax, [esp + 8]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 8]
call fcn.00457e04
mov byte [esp + 0x115], al
lea eax, [esp + 0x108]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043e2f0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x442031
xor eax, eax
add esp, 0x124
pop edi
pop esi
pop ebx
ret
Function at 0x44a37c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x492cc0]
cmp byte [eax + 0xc], 0
je 0x44a4e9
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a4e2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x497f1c], 0
jne 0x44a3d0
push 0x44a4f0
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x44a4f8
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f1c], eax
cmp dword [0x488cc4], 0
jne 0x44a4cb
push 0x44a508
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x488cc4], eax
cmp dword [0x488cc4], 0
je 0x44a4cb
push 0x44a514
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f20], eax
push 0x44a524
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f24], eax
push 0x44a538
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f28], eax
push 0x44a550
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f2c], eax
push 0x44a568
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f30], eax
push 0x44a57c
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f34], eax
push 0x44a594
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f38], eax
push 0x44a5ac
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f3c], eax
push 0x44a5c8
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f40], eax
push 0x44a5d4
mov eax, dword [0x488cc4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x497f44], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a4e9
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44ece4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00405664
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44ed33
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004058d4
pop ebx
mov esp, ebp
pop ebp
ret