joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476bf5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x476c32
cmp dword [ebp + 0x14], edi
je 0x476c32
cmp ecx, edi
jne 0x476c39
call fcn.004799fe
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0047366e
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x476c4d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x476c6e
cmp ebx, 0xffffffff
je 0x476c5d
push ebx
push edi
push ecx
call fcn.00475df0
add esp, 0xc
cmp esi, edi
je 0x476c1a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x476c1a
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x476c8a
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x476c91
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x476d82
test word [esi + 0xc], 0x10c
je 0x476ce5
mov eax, dword [esi + 4]
test eax, eax
je 0x476ce5
jl 0x476de3
cmp ebx, eax
mov edi, ebx
jb 0x476cb6
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x476d8a
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00472f68
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x476d7a
cmp ebx, dword [ebp - 0xc]
jb 0x476d52
cmp dword [ebp - 0xc], 0
je 0x476d0f
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x476d04
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x476d0b
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x476d1a
mov eax, SysReAllocString
cmp ebx, eax
ja 0x476d1a
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x476db6
push eax
push dword [ebp - 8]
push esi
call fcn.00482a16
pop ecx
push eax
call fcn.00483ea8
add esp, 0xc
test eax, eax
je 0x476df5
cmp eax, 0xffffffff
je 0x476de3
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x476d7a
push esi
call fcn.004837c7
cmp eax, 0xffffffff
pop ecx
je 0x476de7
cmp dword [ebp - 4], 0
je 0x476db6
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x476c99
mov eax, dword [ebp + 0x14]
jmp 0x476c34
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x476da1
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00475df0
add esp, 0xc
call fcn.004799fe
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x476c2a
cmp dword [ebp + 0xc], 0xffffffff
je 0x476dcc
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00475df0
add esp, 0xc
call fcn.004799fe
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x476c2a
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x476c34
or dword [esi + 0xc], 0x10
jmp 0x476de7
Function at 0x4775dd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x47760a
call fcn.00479a11
mov dword [eax], esi
call fcn.004799fe
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0047366e
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4775e6
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x477639
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00479a24
pop ecx
call fcn.004799fe
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x477660
test al, 1
je 0x477660
test byte [esp + 0xc], 2
je 0x477660
call fcn.00479a11
mov dword [eax], 5
call fcn.004799fe
mov dword [eax], 0xd
jmp 0x477630
xor eax, eax
pop esi
ret

Function at 0x47ce03
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4b8f98]
je 0x47ce1e
inc edi
cmp edi, 0x17
jb 0x47ce0f
cmp edi, 0x17
jae 0x47cf9e
push ebp
push 3
call fcn.004883c3
cmp eax, 1
pop ecx
je 0x47cf6a
push 3
call fcn.004883c3
test eax, eax
pop ecx
jne 0x47ce52
cmp dword [0x4b8ce0], 1
je 0x47cf6a
cmp ebx, 0xfc
je 0x47cf9d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4bc238
push ebp
call fcn.00478d5a
add esp, 0xc
test eax, eax
je 0x47ce88
push esi
push esi
push esi
push esi
push esi
call fcn.00473572
add esp, 0x14
push 0x104
mov esi, 0x4bc251
push esi
push 0
mov byte [0x4bc355], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x47cecc
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00478d5a
add esp, 0xc
test eax, eax
je 0x47cecc
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00473572
add esp, 0x14
push esi
call fcn.004798e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x47cf11
push esi
call fcn.004798e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4bc54c
push 0x499cc0
sub ecx, eax
push ecx
push eax
call fcn.0047b207
add esp, 0x14
test eax, eax
je 0x47cf11
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00473572
add esp, 0x14
jmp 0x47cf13
xor esi, esi
push 0x4a2e18
push ebx
push ebp
call fcn.00479a42
add esp, 0xc
test eax, eax
je 0x47cf33
push esi
push esi
push esi
push esi
push esi
call fcn.00473572
add esp, 0x14
push dword [edi*8 + 0x4b8f9c]
push ebx
push ebp
call fcn.00479a42
add esp, 0xc
test eax, eax
je 0x47cf55
push esi
push esi
push esi
push esi
push esi
call fcn.00473572
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00488206
add esp, 0xc
jmp 0x47cf9d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x47cf9d
cmp ebp, 0xffffffff
je 0x47cf9d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4b8f9c]
push dword [esi]
call fcn.004798e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x488206
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0047d79f
xor ebx, ebx
cmp dword [0x4bcb10], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4882dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4883bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a4898
push edi
call esi
cmp eax, ebx
je 0x4883bc
push eax
call fcn.0047d731
mov dword [esp], 0x4a4888
push edi
mov dword [0x4bcb10], eax
call esi
push eax
call fcn.0047d731
mov dword [esp], 0x4a4874
push edi
mov dword [0x4bcb14], eax
call esi
push eax
call fcn.0047d731
mov dword [0x4bcb18], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047464d
test eax, eax
pop ecx
pop ecx
je 0x4882aa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00473572
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4882dc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0047d731
cmp eax, ebx
pop ecx
mov dword [0x4bcb20], eax
je 0x4882dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047d731
pop ecx
mov dword [0x4bcb1c], eax
mov eax, dword [0x4bcb1c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x488361
cmp dword [0x4bcb20], ecx
je 0x488361
push eax
call fcn.0047d7a8
push dword [0x4bcb20]
mov esi, eax
call fcn.0047d7a8
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x488361
cmp edi, ebx
je 0x488361
call esi
cmp eax, ebx
je 0x48832e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48832e
test byte [ebp - 0x18], 1
jne 0x488361
lea eax, [ebp - 0x10]
push eax
call fcn.00474684
test eax, eax
pop ecx
je 0x488349
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00473572
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x488358
or dword [ebp + 0x10], 0x200000
jmp 0x48839c
or dword [ebp + 0x10], 0x40000
jmp 0x48839c
mov eax, dword [0x4bcb14]
cmp eax, dword [ebp - 8]
je 0x48839c
push eax
call fcn.0047d7a8
cmp eax, ebx
pop ecx
je 0x48839c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x48839c
mov eax, dword [0x4bcb18]
cmp eax, dword [ebp - 8]
je 0x48839c
push eax
call fcn.0047d7a8
cmp eax, ebx
pop ecx
je 0x48839c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4bcb10]
call fcn.0047d7a8
cmp eax, ebx
pop ecx
je 0x4883bc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4883be
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48d598
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4b8968]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0048d52d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00475df0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x48d5e7
cmp dword [ebp - 0x1c], 5
jb 0x48d5ff
jmp 0x48d5fb
cmp dword [ebp - 0x10], 1
jne 0x48d5ff
cmp dword [ebp - 0x1c], 4
ja 0x48d5fb
jne 0x48d5ff
cmp dword [ebp - 0x18], 0
jbe 0x48d5ff
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4a5150
call fcn.0048d401
test eax, eax
jge 0x48d620
mov byte [0x4ba174], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00473559
add ebp, 0x78
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x2d4576a3
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x546f647d
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
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
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403380
Capabilities:
Query or enumerate registry value

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

Function at 0x4040e8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x455048], 0
je 0x404149
cmp word [0x45521c], 0xd7b2
jne 0x404111
cmp dword [0x455224], 0
jbe 0x404111
mov eax, 0x455218
call dword [0x455234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x453054
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 0x404170
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45301c], 0
jne 0x404165
push 0
push 0x453074
push 0x453054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409ed4
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 0x409f0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404354
jmp 0x409f16
mov eax, ebx
mov edx, esi
call fcn.004042b8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a5c8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a440
mov eax, dword [0x453f6c]
cmp byte [eax], 0
je 0x40a635
mov eax, dword [0x453dc4]
call fcn.00402c9c
call fcn.00402870
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040874c
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 0x40a67c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a66b
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453d80]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455714]
call fcn.00405980
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 0x40b130
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 0x40b194
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.004044cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040846c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b19b
lea eax, [ebp - 0xc]
call fcn.00404264
ret
Function at 0x421440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x455a20
cmp dword [edi], 0
jne 0x4214bc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x455a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4535cc
mov ecx, 2
call fcn.00402904
mov edx, 0x421418
lea eax, [esi + 5]
call fcn.00421438
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421438
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 0x421491
mov dword [0x455a1c], 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 0x422648
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 0x42264e
ret

Function at 0x424a90
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 0x424ae1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424ac8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424ab8
jmp 0x424ae1
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 0x424ac9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c340
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 0x42c28c
call sub.user32.dll_EnumWindows
ret

Function at 0x42c464
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 0x42c4e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042beb0
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 0x42c489
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042bb08
cmp dword [ebp - 4], 0
je 0x42c4cb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404714
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 0x42c4e8
lea eax, [ebp - 4]
call fcn.00404264
ret

Function at 0x42f0a0
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 [0x455ba8], 0
je 0x42f1ef
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x453f18]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f1ef
mov eax, dword [0x455bac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x455ba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f1be
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x455ba8]
call fcn.00418a1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f1b6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f1b6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f1b6
mov eax, dword [ebp - 0x14]
call fcn.00437ae0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f1b6
push ebp
call fcn.0042f05c
pop ecx
test al, al
jne 0x42f1b6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f172
mov eax, dword [ebp - 0x14]
call fcn.00436674
dec eax
jle 0x42f1b6
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.0040370c
cmp byte [ebp - 1], 0
je 0x42f1b6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f1b6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x455bac]
call fcn.0042e824
inc edi
dec ebx
jne 0x42f105
mov eax, dword [0x455bac]
cmp dword [eax + 8], 0
jle 0x42f1d6
mov eax, dword [0x455bac]
call fcn.0042e8b4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f1ef
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042eec4
pop ecx
test al, al
jne 0x42f1ef
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 0x43279c
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 0x4327e8
mov eax, esi
call fcn.00448074
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4327e8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4327e8
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 0x432927
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x432828
cmp eax, 0x108
ja 0x432828
mov eax, esi
call fcn.00448074
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43291e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x432927
jmp 0x43291e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x432907
cmp eax, 0x20a
ja 0x432907
test byte [esi + 0x50], 0x80
jne 0x43285a
sub eax, 0x203
je 0x432857
sub eax, 3
je 0x432857
sub eax, 3
jne 0x43285a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43286e
dec eax
je 0x432883
dec eax
je 0x4328a0
dec eax
je 0x432883
jmp 0x4328a7
mov ecx, ebx
mov eax, dword [0x453f18]
mov eax, dword [eax]
mov edx, esi
call fcn.00451640
jmp 0x43291e
cmp byte [esi + 0x5d], 1
jne 0x432899
mov eax, esi
mov si, 0xffed
call fcn.0040370c
jmp 0x432927
or word [esi + 0x54], 1
jmp 0x43291e
and word [esi + 0x54], 0xfffe
jmp 0x43291e
mov eax, dword [0x455b64]
cmp byte [eax + 0x20], 0
je 0x43291e
mov eax, dword [0x455b64]
cmp dword [eax + 0x1c], 0
je 0x43291e
mov eax, dword [ebx]
mov edx, dword [0x455b64]
cmp eax, dword [edx + 0x1c]
jne 0x43291e
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.00447fb8
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.0040370c
jmp 0x432927
cmp eax, 0xb00b
jne 0x43291e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004310d8
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
Function at 0x435d10
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x435d2c
cmp dword [esi + 4], 0
je 0x435d59
test byte [ebx + 0x55], 1
jne 0x435d4b
mov eax, ebx
call fcn.004349d4
test eax, eax
jne 0x435d4b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x435e69
mov edx, esi
mov eax, ebx
call fcn.00435830
jmp 0x435e69
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x435e62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437ae0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004326d0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00435d10
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437ae0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435e69
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret