joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008473
Capabilities:
Create process on windows

Disassembly:
push ecx
push ecx
mov eax, dword [0x100db58]
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
xor edx, edx
add eax, 0xfffffff8
xor ebp, ebp
inc ecx
cmp eax, 0x10
push edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
ja case.0x100849e.13
movzx eax, byte [eax + 0x1008533]
jmp dword [eax*4 + 0x1008523]
mov ebp, ecx
jmp case.0x100849e.8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x14], 0xffffffff
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x41d
jne 0x10084c7
xor ebp, ebp
push edx
jmp 0x10084c8
push ecx
push ebx
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebp
mov ebp, 0xf1
push ebp
push ebx
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push 0
push dword [esp + 0x14]
push ebp
push 0x41e
push dword [esi + 4]
call edi
push eax
call ebx
push 0
push dword [esp + 0x18]
push ebp
push 0x41f
push dword [esi + 4]
call edi
push eax
call ebx
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 8
jmp fcn.010080c2

Function at 0x1009426
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x47c
push esi
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x70]
push eax
push 0x1002858
push 0x80000001
mov dword [ebp + 0x6c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1009533
push edi
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp + 0x64]
push eax
push 0
mov edi, 0x1002838
push edi
push dword [ebp + 0x70]
mov dword [ebp + 0x68], 0x200
mov dword [ebp + 0x64], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009529
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
cmp esi, 0x10
pop ecx
mov dword [ebp + 0x6c], eax
jb 0x1009529
cmp esi, 0x48
ja 0x1009529
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
lea eax, [ebp - 8]
push eax
push 0x6c
push 0x2d
mov dword [ebp - 8], 0x6c
call esi
mov ecx, dword [ebp + 0x7c]
lea eax, [ecx + 0x2b]
push ecx
mov dword [ebp - 4], eax
mov dword [ebp], eax
lea eax, [ebp - 0x408]
push 0x1002444
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x408]
push eax
push 1
push 0
push edi
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 2
lea eax, [ebp - 8]
push eax
push 0x6c
push 0x2e
call esi
push 0
push 0x2e
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, dword [ebp + 0x6c]
pop esi
add ebp, 0x74
leave
ret 4
Function at 0x100953e
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push edi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x10028b0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10095eb
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
mov esi, 0x10028a0
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10095e1
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
cmp dword [ebp + 8], edi
pop ecx
je 0x10095a7
test al, 1
jne 0x10095e1
or eax, 1
jmp 0x10095ae
test al, 1
je 0x10095e1
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x30]
push 0x1002444
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x30]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x30]
push eax
push 1
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
leave
ret 4

Function at 0x10097c3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
sub eax, 0
je 0x10097de
dec eax
je 0x10097de
dec eax
jne 0x1009853
mov dword [ebp + 8], 0x1002970
jmp 0x10097e5
mov dword [ebp + 8], 0x100296c
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0xf003f
push edi
push 0
push 0x1002920
push 0x80000001
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x100984b
lea eax, [ebp + 0xc]
push eax
push edi
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x100984b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 1
push 0
push 0x1002904
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
call ebx
push dword [ebp - 4]
call ebx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1009b6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 0xc]
push eax
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1009bb6
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x18]
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
ret 0x18
Function at 0x1009bba
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push eax
xor esi, esi
lea eax, [ebp + 8]
push eax
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1009c1c
cmp dword [ebp + 0x14], esi
je 0x1009bf6
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
jmp 0x1009bfd
push 2
push 0x1001c68
push 1
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, esi
jne 0x1009c13
xor esi, esi
inc esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0x10
Function at 0x100ad45
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x1002af8
call fcn.0100aff4
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x100ad82
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100ad82
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100ad9a
cmp eax, 0x20b
je 0x100ad87
mov dword [ebp - 0x1c], ebx
jmp 0x100adae
cmp dword [ecx + 0x84], 0xe
jbe 0x100ad82
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100ada8
cmp dword [ecx + 0x74], 0xe
jbe 0x100ad82
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1016830], 0xffffffff
or dword [0x1016834], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1016828]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1016824]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x101682c], eax
call fcn.0100afee
cmp dword [0x100db30], ebx
jne 0x100ae09
push fcn.0100afee
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100afdc
push 0x10012dc
push 0x10012d8
call sub.msvcrt.dll__initterm
mov eax, dword [0x1016820]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x101681c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x10012d4
push 0x10012c8
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x100ae9f
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x100ae73
cmp al, 0x22
jne 0x100ae65
cmp byte [esi], 0x22
jne 0x100ae7c
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x100ae86
cmp al, 0x20
jbe 0x100ae78
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
jmp 0x100c1cb
cmp byte [esi], 0x20
jbe 0x100ae7c
inc esi
mov dword [ebp - 0x34], esi
jmp 0x100ae9f
not eax
not al
jg 0x100c1ba
add ah, 0xd2
cld
jmp 0x1036bab
cmp ecx, 0x380b997c
cmp eax, 0xffffffa9
xchg ecx, eax
sub edx, 2
xchg ecx, eax
not eax
nop
mov eax, ecx
nop
lea eax, [ebx - 0x28]
lea ecx, [eax + edi]
not ah
not eax
mov eax, 0x94bc32a
xchg ecx, eax
lea ecx, [edi - 0x39]
nop
nop
jmp 0x100c166
cld
dec cl
dec al
mov cl, 0x9d
mov cl, 0x55
lea eax, [ecx]
and ch, 0xde
sub eax, 0x76
jmp 0x100c175
add eax, ebp
cld
sub word [edx + 0x10369fe], 0xc571
jmp 0x100c1a3
mov edx, 0x4e9a
lea ecx, [edx - 0x6979f978]
adc eax, 0xffffffe0
sbb ah, dh
cmc
dec ah
xchg ch, ah
nop
xor al, bl
mov ecx, 0xdf43fff0
inc eax
mov ecx, 0x96492fd4
mov cl, 0xac
nop
dec eax
sbb eax, esi
adc al, 9
jmp 0x100c1ba
Function at 0x403084
Capabilities:
Query or enumerate registry value

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

Function at 0x403de8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47a04c], 0
je 0x403e49
cmp word [0x47a220], 0xd7b2
jne 0x403e11
cmp dword [0x47a228], 0
jbe 0x403e11
mov eax, 0x47a21c
call dword [0x47a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47806c
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 0x403e70
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x478030], 0
jne 0x403e65
push 0
push 0x478064
push 0x47806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405eb0
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 0x405f16
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.004041d4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c48
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f00
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f1d
lea eax, [ebp - 0x10]
call fcn.00403f64
ret

Function at 0x40b61c
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 0x40b655
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404054
jmp 0x40b65e
mov eax, ebx
mov edx, esi
call fcn.00403fb8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bd10
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb88
mov eax, dword [0x479d28]
cmp byte [eax], 0
je 0x40bd8c
mov eax, dword [0x479a28]
call fcn.00402a78
call fcn.004028b4
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.00408a64
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 0x40bdd4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bdc2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4799b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47a668]
call fcn.004053c4
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 0x40c670
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 0x40c746
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ffc
lea eax, [ebp - 8]
call fcn.00404474
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404424
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c730
mov eax, ebx
call fcn.0040274c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c729
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.00404424
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c713
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c758
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c713
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 0x40c730
mov eax, dword [ebp - 0x10]
call fcn.0040276c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c74d
lea eax, [ebp - 8]
call fcn.00403f64
ret

Function at 0x40ccc4
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 0x40cd28
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.004041d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040858c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd2f
lea eax, [ebp - 0xc]
call fcn.00403f64
ret

Function at 0x420d0c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47a888
cmp dword [edi], 0
jne 0x420d88
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47a884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x478508
mov ecx, 2
call fcn.00402948
mov edx, 0x420ce4
lea eax, [esi + 5]
call fcn.00420d04
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420d04
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 0x420d5d
mov dword [0x47a884], 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 0x422224
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 0x42222a
ret
Function at 0x4246d8
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 0x424729
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424710
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424700
jmp 0x424729
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 0x424711
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4337d0
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 0x43371c
call sub.user32.dll_EnumWindows
ret

Function at 0x4338f0
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 0x43396d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00433350
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 0x433915
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00432f50
cmp dword [ebp - 4], 0
je 0x433957
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404424
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 0x433974
lea eax, [ebp - 4]
call fcn.00403f64
ret

Function at 0x436938
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 [0x47ab58], 0
je 0x436a87
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x479c8c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x436a87
mov eax, dword [0x47ab5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x47ab58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x436a56
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x47ab58]
call fcn.0041a2dc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x436a4e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x436a4e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x436a4e
mov eax, dword [ebp - 0x14]
call fcn.0043f5d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x436a4e
push ebp
call fcn.004368f4
pop ecx
test al, al
jne 0x436a4e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x436a0a
mov eax, dword [ebp - 0x14]
call fcn.0043e100
dec eax
jle 0x436a4e
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.00403410
cmp byte [ebp - 1], 0
je 0x436a4e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x436a4e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x47ab5c]
call fcn.004360c0
inc edi
dec ebx
jne 0x43699d
mov eax, dword [0x47ab5c]
cmp dword [eax + 8], 0
jle 0x436a6e
mov eax, dword [0x47ab5c]
call fcn.00436150
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x436a87
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043675c
pop ecx
test al, al
jne 0x436a87
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 0x43a068
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 0x43a0b4
mov eax, esi
call fcn.0044f818
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43a0b4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43a0b4
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 0x43a1f3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43a0f4
cmp eax, 0x108
ja 0x43a0f4
mov eax, esi
call fcn.0044f818
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43a1ea
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43a1f3
jmp 0x43a1ea
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43a1d3
cmp eax, 0x20a
ja 0x43a1d3
test byte [esi + 0x50], 0x80
jne 0x43a126
sub eax, 0x203
je 0x43a123
sub eax, 3
je 0x43a123
sub eax, 3
jne 0x43a126
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43a13a
dec eax
je 0x43a14f
dec eax
je 0x43a16c
dec eax
je 0x43a14f
jmp 0x43a173
mov ecx, ebx
mov eax, dword [0x479c8c]
mov eax, dword [eax]
mov edx, esi
call fcn.00459054
jmp 0x43a1ea
cmp byte [esi + 0x5d], 1
jne 0x43a165
mov eax, esi
mov si, 0xffed
call fcn.00403410
jmp 0x43a1f3
or word [esi + 0x54], 1
jmp 0x43a1ea
and word [esi + 0x54], 0xfffe
jmp 0x43a1ea
mov eax, dword [0x47ab14]
cmp byte [eax + 0x20], 0
je 0x43a1ea
mov eax, dword [0x47ab14]
cmp dword [eax + 0x1c], 0
je 0x43a1ea
mov eax, dword [ebx]
mov edx, dword [0x47ab14]
cmp eax, dword [edx + 0x1c]
jne 0x43a1ea
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.0044f75c
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.00403410
jmp 0x43a1f3
cmp eax, 0xb00b
jne 0x43a1ea
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00438988
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