joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490a00
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405188
mov eax, dword [ebp - 8]
call fcn.00405188
mov eax, dword [ebp - 0xc]
call fcn.00405188
mov eax, dword [ebp + 0xc]
call fcn.00405188
xor eax, eax
push ebp
push 0x490b6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00405198
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x490b84
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00405198
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x490b4c
xor edx, edx
push ebp
push 0x490b45
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00405198
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405198
push eax
movzx eax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00405198
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x490b2e
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x490b25
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x490b29
xor eax, eax
jmp 0x490b2b
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490b4c
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490b76
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d2c
lea eax, [ebp + 0xc]
call fcn.00404d08
ret
Function at 0x490b8c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x490c54
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x490c58
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x490c54
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x490c4b
xor eax, eax
push ebp
push 0x490c44
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490c4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x491fdb
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffffff4
mov bl, 2
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00403658
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
je 0x491ff7
cmp byte [esp], 0x31
jne 0x491ff5
mov bl, 1
jmp 0x491ff7
xor ebx, ebx
mov eax, ebx
add esp, 0xc
pop ebx
ret
Function at 0x4988f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x498960
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x104
call fcn.00405428
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x49892a
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx]
call fcn.00405198
push eax
push esi
call sub.KERNEL32.DLL_GetTempPathA
mov edx, ebx
xchg edx, eax
call fcn.00405428
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.004985ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498967
lea eax, [ebp - 8]
call fcn.00404d08
ret
Function at 0x4a87ec
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4a87f4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a89e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4a89fc
mov eax, esi
call fcn.0049b814
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404d5c
lea ecx, [ebp - 0x10]
mov edx, 0x4a8a10
mov eax, esi
call fcn.0049b814
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404d5c
lea ecx, [ebp - 0x14]
mov edx, 0x4a8a28
mov eax, esi
call fcn.0049b814
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404d5c
lea ecx, [ebp - 0x18]
mov edx, 0x4a8a44
mov eax, esi
call fcn.0049b814
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404d5c
lea ecx, [ebp - 0x1c]
mov edx, 0x4a8a60
mov eax, esi
call fcn.0049b814
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404d5c
lea ecx, [ebp - 0x24]
mov edx, 0x4a8a78
mov eax, esi
call fcn.0049b814
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409604
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409c28
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4a8a90
mov eax, esi
call fcn.0049b814
mov eax, dword [ebp - 0x28]
call fcn.004992bc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4a8aa0
mov eax, esi
call fcn.0049b814
mov eax, dword [ebp - 0x2c]
call fcn.004992bc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4a8ab8
mov eax, esi
call fcn.0049b814
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409c28
inc eax
je 0x4a8989
lea ecx, [ebp - 0x34]
mov edx, 0x4a8ab8
mov eax, esi
call fcn.0049b814
mov eax, dword [ebp - 0x34]
call fcn.00409bec
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
movzx edx, word [ebp - 4]
movzx eax, word [ebp - 8]
call fcn.0040b3b4
fstp qword [ebp - 0x3c]
wait
call fcn.0040b71c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4a89a4
lea ecx, [ebp - 0x40]
mov edx, 0x4a8ab8
mov eax, esi
call fcn.0049b814
mov eax, dword [ebp - 0x40]
call fcn.004992bc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4a8ac8
mov eax, esi
call fcn.0049b814
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a89ed
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404d2c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404d2c
ret
Function at 0x4b59bc
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405188
mov eax, dword [ebp - 8]
call fcn.00405188
mov eax, dword [ebp + 8]
call fcn.00405188
xor eax, eax
push ebp
push 0x4b5b8f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4b5b6c
mov eax, ebx
call fcn.004b6974
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x30
call sub.user32.dll_SystemParametersInfoA
push 0
call sub.user32.dll_GetSystemMetrics
mov edi, eax
xor esi, esi
push 0
push 0x4b5ba0
push 0
push 0
push 0x4b5bb0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x4b5a53
mov esi, dword [ebp - 0x10]
sub esi, dword [ebp - 0x18]
mov eax, dword [0x4bc994]
cmp dword [eax], 0
jne 0x4b5a73
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4b01dc]
call fcn.004598dc
mov edx, dword [0x4bc994]
mov dword [edx], eax
mov eax, ebx
call fcn.0044c864
mov edx, dword [0x4bc994]
mov edx, dword [edx]
mov dword [edx + 0x39c], eax
mov eax, dword [0x4bcb14]
mov edx, edi
sub edx, dword [eax]
sub edx, 0xa
mov eax, dword [0x4bc994]
mov eax, dword [eax]
call fcn.0045fe34
mov edx, dword [ebp - 0x20]
sub edx, 5
mov eax, dword [0x4bc994]
mov eax, dword [eax]
call fcn.0045fe70
mov eax, dword [0x4bc994]
mov eax, dword [eax]
xor edx, edx
call fcn.00443ea0
mov eax, dword [0x4bc994]
mov eax, dword [eax]
add esi, dword [eax + 0x4c]
mov eax, dword [0x4bc994]
mov eax, dword [eax]
mov dword [eax + 0x3a0], esi
mov eax, dword [0x4bc994]
mov eax, dword [eax]
call fcn.004b074c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [0x4bc778]
mov eax, dword [eax]
push eax
mov eax, dword [0x4bc994]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004b08dc
mov eax, dword [0x4bc994]
mov eax, dword [eax]
cmp byte [eax + 0x3a8], 0
je 0x4b5b1d
mov eax, dword [0x4bc994]
call fcn.0040f1dc
jmp 0x4b5b6c
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [0x4bc994]
mov eax, dword [eax]
call fcn.0044c864
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [ebx + 0x380]
call fcn.00434efc
mov edx, dword [0x4bc824]
mov edx, dword [edx + 0x1c]
mov eax, dword [ebx + 0x380]
call fcn.00434f0c
mov eax, dword [0x4bc6d0]
mov byte [eax], 0
mov eax, dword [0x4bc528]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5b96
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d2c
lea eax, [ebp + 8]
call fcn.00404d08
ret
Function at 0x4059d4
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 0x405a3a
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.004040bc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b38
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a24
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a41
lea eax, [ebp - 0x10]
call fcn.00403e4c
ret

Function at 0x40aa24
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 0x40aa5d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f3c
jmp 0x40aa66
mov eax, ebx
mov edx, esi
call fcn.00403ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40ba30
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 0x40bb06
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee4
lea eax, [ebp - 8]
call fcn.0040435c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040430c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40baf0
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bae9
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.0040430c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bad3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb18
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bad3
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 0x40baf0
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb0d
lea eax, [ebp - 8]
call fcn.00403e4c
ret
Function at 0x40c010
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 0x40c074
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004040bc
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00407de0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c07b
lea eax, [ebp - 0xc]
call fcn.00403e4c
ret

Function at 0x41a19c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x454884
cmp dword [edi], 0
jne 0x41a218
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x454880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4523ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a174
lea eax, [esi + 5]
call fcn.0041a194
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a194
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 0x41a1ed
mov dword [0x454880], 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 0x41b784
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 0x41b78a
ret

Function at 0x41dc58
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 0x41dca9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dc90
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dc80
jmp 0x41dca9
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 0x41dc91
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a9d0
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 0x42a91c
call sub.user32.dll_EnumWindows
ret

Function at 0x42aaf0
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 0x42ab6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042a550
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 0x42ab15
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042a150
cmp dword [ebp - 4], 0
je 0x42ab57
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040430c
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 0x42ab74
lea eax, [ebp - 4]
call fcn.00403e4c
ret

Function at 0x42d98c
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 [0x454b54], 0
je 0x42dadb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x452fd8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42dadb
mov eax, dword [0x454b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x454b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42daaa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x454b54]
call fcn.0041376c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42daa2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42daa2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42daa2
mov eax, dword [ebp - 0x14]
call fcn.0043659c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42daa2
push ebp
call fcn.0042d948
pop ecx
test al, al
jne 0x42daa2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42da5e
mov eax, dword [ebp - 0x14]
call fcn.004350cc
dec eax
jle 0x42daa2
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.004032f8
cmp byte [ebp - 1], 0
je 0x42daa2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42daa2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x454b58]
call fcn.0042d114
inc edi
dec ebx
jne 0x42d9f1
mov eax, dword [0x454b58]
cmp dword [eax + 8], 0
jle 0x42dac2
mov eax, dword [0x454b58]
call fcn.0042d1a4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42dadb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042d7b0
pop ecx
test al, al
jne 0x42dadb
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 0x4310a0
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 0x4310ec
mov eax, esi
call fcn.00446684
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4310ec
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4310ec
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 0x43122b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43112c
cmp eax, 0x108
ja 0x43112c
mov eax, esi
call fcn.00446684
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431222
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43122b
jmp 0x431222
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43120b
cmp eax, 0x20a
ja 0x43120b
test byte [esi + 0x50], 0x80
jne 0x43115e
sub eax, 0x203
je 0x43115b
sub eax, 3
je 0x43115b
sub eax, 3
jne 0x43115e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431172
dec eax
je 0x431187
dec eax
je 0x4311a4
dec eax
je 0x431187
jmp 0x4311ab
mov ecx, ebx
mov eax, dword [0x452fd8]
mov eax, dword [eax]
mov edx, esi
call fcn.0044ff08
jmp 0x431222
cmp byte [esi + 0x5d], 1
jne 0x43119d
mov eax, esi
mov si, 0xffed
call fcn.004032f8
jmp 0x43122b
or word [esi + 0x54], 1
jmp 0x431222
and word [esi + 0x54], 0xfffe
jmp 0x431222
mov eax, dword [0x454b10]
cmp byte [eax + 0x20], 0
je 0x431222
mov eax, dword [0x454b10]
cmp dword [eax + 0x1c], 0
je 0x431222
mov eax, dword [ebx]
mov edx, dword [0x454b10]
cmp eax, dword [edx + 0x1c]
jne 0x431222
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.004465c8
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.004032f8
jmp 0x43122b
cmp eax, 0xb00b
jne 0x431222
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f9dc
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 0x43472c
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 0x434748
cmp dword [esi + 4], 0
je 0x434775
test byte [ebx + 0x55], 1
jne 0x434767
mov eax, ebx
call fcn.00433338
test eax, eax
jne 0x434767
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x434885
mov edx, esi
mov eax, ebx
call fcn.00434250
jmp 0x434885
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 0x43487e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043659c
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.00430fd4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043472c
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.0043659c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434885
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