joyce8/EMBER2024-capa huggingface dataset:
Function at 0x77f4e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a7000]
push edi
jmp 0x77f4fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x77f501
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f4f0
mov eax, 1
add ebx, ebx
jne 0x77f513
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x77f524
jne 0x77f543
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f543
dec eax
add ebx, ebx
jne 0x77f530
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x77f508
add ebx, ebx
jne 0x77f53f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x77f595
xor ecx, ecx
sub eax, 3
jb 0x77f55b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x77f5ca
sar eax, 1
mov ebp, eax
jmp 0x77f566
add ebx, ebx
jne 0x77f566
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f534
inc ecx
add ebx, ebx
jne 0x77f574
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77f534
add ebx, ebx
jne 0x77f581
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x77f576
jne 0x77f592
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x77f576
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x77f5b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x77f5a6
jmp 0x77f4f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x77f5b4
add edi, ecx
jmp 0x77f4f6
pop esi
mov edi, esi
mov ecx, 0x467
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x77f5d2
cmp byte [edi], 7
jne 0x77f5d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x77f5d7
lea edi, [esi + 0x37d000]
mov eax, dword [edi]
or eax, eax
je 0x77f646
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x409208]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x409244]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x77f604
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x40924c]
or eax, eax
je 0x77f640
mov dword [ebx], eax
add ebx, 4
jmp 0x77f621
call dword [esi + 0x409248]
mov ebp, dword [esi + 0x409250]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x77f67a
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x4078e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4b7034], 0
je 0x40790b
mov edx, edi
mov eax, esi
call dword [0x4b7034]
mov ebx, eax
jmp 0x40791c
mov eax, 8
call fcn.004053f0
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4bb059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4078a8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40794c
mov eax, ebx
call fcn.0040540c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40a4cc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40a631
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00407a20
cmp si, word [0x4b7a08]
jb 0x40a564
cmp si, word [0x4b7c08]
ja 0x40a564
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40a564
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4b7a08]
jae 0x40a53e
mov edi, ebx
dec edi
jmp 0x40a55f
cmp si, word [ebx*8 + 0x4b7a08]
jbe 0x40a54e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40a55f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4b7a0c]
call fcn.0040a3ec
jmp 0x40a564
cmp edi, dword [ebp - 8]
jae 0x40a528
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40a613
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a613
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040858c
push dword [ebp - 0x160]
push 0x40a64c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040858c
push dword [ebp - 0x164]
push 0x40a65c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040858c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004087c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a638
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407a80
Function at 0x40a7e4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40a8e8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4bdc10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4bdc28]
jne 0x40a830
mov eax, esi
mov edx, 0x4bdc2a
mov ecx, 0x55
call fcn.0040858c
push 0x4bdc10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40a8d2
push 0x4bdc10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00407a20
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40a89f
cmp byte [0x4bdc0c], 0
je 0x40a864
mov edx, esi
mov eax, ebx
call fcn.0040a6c8
jmp 0x40a89f
mov edx, esi
invalid
Function at 0x4010c7
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
pushal
cmp byte [0x4050e0], 0
jne 0x4010dc
call fcn.004015df
lea eax, [ebp - 0x16]
push eax
push dword [0x405c14]
call sub.KERNEL32.dll_GetConsoleScreenBufferInfo
mov ax, word [ebp - 0x16]
mov word [0x4056f1], ax
cmp dword [0x4056f1], 0x200
jbe 0x40110b
mov dword [0x4056f1], 0x200
mov ax, word [ebp - 0xe]
mov ecx, dword [0x4056f1]
mov edi, 0x4052f1
rep stosw word es:[edi], ax
movzx ecx, word [ebp - 0x14]
push ecx
push 0x4056f9
push dword [0x4056f5]
push dword [0x4056f1]
push 0x4050f1
push dword [0x405c14]
call sub.KERNEL32.dll_WriteConsoleOutputCharacterA
push 0x4056f9
push dword [0x4056f5]
push dword [0x4056f1]
push 0x4052f1
push dword [0x405c14]
call sub.KERNEL32.dll_WriteConsoleOutputAttribute
add word [0x4056f7], 1
pop ecx
loop 0x401121
mov word [0x4056f7], 0
push dword [0x4056f5]
push dword [0x405c14]
call sub.KERNEL32.dll_SetConsoleCursorPosition
popal
leave
ret
Function at 0x402954
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402991
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x4029b1
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040486c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402b78
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.004045ec
test esi, esi
jne 0x402bae
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.004046dc
jmp 0x402bcc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a2c
mov edi, eax
test esi, esi
je 0x402bcc
cmp dword [ebx], 0
je 0x402bcc
dec esi
jmp 0x402bb5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40370c
Capabilities:
Query or enumerate registry value

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

Function at 0x404470
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49704c], 0
je 0x4044d1
cmp word [0x497220], 0xd7b2
jne 0x404499
cmp dword [0x497228], 0
jbe 0x404499
mov eax, 0x49721c
call dword [0x497238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x493090
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 0x4044f8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x493030], 0
jne 0x4044ed
push 0
push 0x493088
push 0x493090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4065b8
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 0x40661e
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.0040486c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032d0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406608
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406625
lea eax, [ebp - 0x10]
call fcn.004045ec
ret

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

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

Function at 0x40c294
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 0x40c2cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046dc
jmp 0x40c2d6
mov eax, ebx
mov edx, esi
call fcn.00404640
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cad4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c94c
mov eax, dword [0x496034]
cmp byte [eax], 0
je 0x40cb50
mov eax, dword [0x495d60]
call fcn.00402f74
call fcn.004028d4
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.004093f0
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 0x40cb98
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cb86
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x495ce8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x497668]
call fcn.00405acc
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 0x40d440
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 0x40d516
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404684
lea eax, [ebp - 8]
call fcn.00404b0c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404abc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d500
mov eax, ebx
call fcn.0040276c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d4f9
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.00404abc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d4e3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d528
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d4e3
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 0x40d500
mov eax, dword [ebp - 0x10]
call fcn.0040278c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d51d
lea eax, [ebp - 8]
call fcn.004045ec
ret

Function at 0x40da20
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 0x40da84
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.0040486c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408d8c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da8b
lea eax, [ebp - 0xc]
call fcn.004045ec
ret

Function at 0x4205c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49788c
cmp dword [edi], 0
jne 0x420640
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x497888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x493420
mov ecx, 2
call fcn.004029ec
mov edx, 0x42059c
lea eax, [esi + 5]
call fcn.004205bc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004205bc
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 0x420615
mov dword [0x497888], 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 0x420d88
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.00404abc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x420de0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4961e4]
mov dl, 1
mov eax, dword [0x420940]
call fcn.0040cca0
call fcn.00404028
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00420a48
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 0x422698
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 0x42269e
ret

Function at 0x424aec
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 0x424b3d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424b24
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424b14
jmp 0x424b3d
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 0x424b25
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f618
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 0x42f564
call sub.user32.dll_EnumWindows
ret

Function at 0x42f738
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 0x42f7b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042f198
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 0x42f75d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042ed98
cmp dword [ebp - 4], 0
je 0x42f79f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404abc
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 0x42f7bc
lea eax, [ebp - 4]
call fcn.004045ec
ret

Function at 0x432460
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 [0x497b54], 0
je 0x4325af
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x495f9c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4325af
mov eax, dword [0x497b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x497b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43257e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x497b54]
call fcn.00418f20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x432576
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x432576
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x432576
mov eax, dword [ebp - 0x14]
call fcn.0043b048
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x432576
push ebp
call fcn.0043241c
pop ecx
test al, al
jne 0x432576
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432532
mov eax, dword [ebp - 0x14]
call fcn.00439b40
dec eax
jle 0x432576
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.00403a98
cmp byte [ebp - 1], 0
je 0x432576
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x432576
mov edx, dword [ebp - 0x14]
mov eax, dword [0x497b58]
call fcn.00431be8
inc edi
dec ebx
jne 0x4324c5
mov eax, dword [0x497b58]
cmp dword [eax + 8], 0
jle 0x432596
mov eax, dword [0x497b58]
call fcn.00431c78
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4325af
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00432284
pop ecx
test al, al
jne 0x4325af
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 0x435b68
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 0x435bb4
mov eax, esi
call fcn.0044b174
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435bb4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435bb4
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 0x435cf3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x435bf4
cmp eax, 0x108
ja 0x435bf4
mov eax, esi
call fcn.0044b174
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435cea
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x435cf3
jmp 0x435cea
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x435cd3
cmp eax, 0x20a
ja 0x435cd3
test byte [esi + 0x50], 0x80
jne 0x435c26
sub eax, 0x203
je 0x435c23
sub eax, 3
je 0x435c23
sub eax, 3
jne 0x435c26
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x435c3a
dec eax
je 0x435c4f
dec eax
je 0x435c6c
dec eax
je 0x435c4f
jmp 0x435c73
mov ecx, ebx
mov eax, dword [0x495f9c]
mov eax, dword [eax]
mov edx, esi
call fcn.004548b8
jmp 0x435cea
cmp byte [esi + 0x5d], 1
jne 0x435c65
mov eax, esi
mov si, 0xffed
call fcn.00403a98
jmp 0x435cf3
or word [esi + 0x54], 1
jmp 0x435cea
and word [esi + 0x54], 0xfffe
jmp 0x435cea
mov eax, dword [0x497b10]
cmp byte [eax + 0x20], 0
je 0x435cea
mov eax, dword [0x497b10]
cmp dword [eax + 0x1c], 0
je 0x435cea
mov eax, dword [ebx]
mov edx, dword [0x497b10]
cmp eax, dword [edx + 0x1c]
jne 0x435cea
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.0044b0b8
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.00403a98
jmp 0x435cf3
cmp eax, 0xb00b
jne 0x435cea
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004344c4
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