joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f50
Capabilities:
Compare security identifiers

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push edi
or edi, 0xffffffff
test eax, eax
je 0x1001fbe
jmp 0x1001f90
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1001f9b
mov ecx, dword [esi + 0x10]
add ecx, 8
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1001f9b
mov eax, dword [esi + 0x10]
inc dword [esi + 0x18]
movzx ecx, word [eax + 2]
push ecx
push eax
call fcn.010025af
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
movzx eax, word [eax + 4]
cmp dword [esi + 0x18], eax
jb 0x1001f60
jmp 0x1001fbe
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov edi, dword [esi + 0x18]
lea eax, [edi + 1]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
movzx ecx, word [eax + 2]
push ecx
push eax
call fcn.010025af
mov dword [esi + 0x10], eax
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x1002c21
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
je 0x1002ca1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [ebp + eax*2 - 0x20c]
xor ecx, ecx
cmp word [eax - 2], 0x5c
je 0x1002c64
mov word [eax], cx
push ecx
push ecx
lea eax, [ebp + 8]
push eax
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp + 8], ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1002ca1
test byte [ebp + 8], 8
jne 0x1002ca1
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
push 0x1f58
push eax
call fcn.01002b69
pop ecx
pop ecx
xor eax, eax
jmp 0x1002ca4
xor eax, eax
inc eax
leave
ret 4

Function at 0x1003457
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push 0x10013ec
push 0
call dword [sym.imp.msvcrt.dll_setlocale]
pop ecx
pop ecx
push 0
call sub.KERNEL32.dll_SetThreadUILanguage
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
call fcn.0100281e
mov edi, eax
test edi, edi
jne 0x100350b
push dword [esi + 4]
call fcn.01002c21
test eax, eax
jne 0x10034a7
push 1
jmp 0x1003511
mov eax, dword [ebp - 8]
test eax, eax
je 0x10034d3
jle 0x10034cc
cmp eax, 2
jg 0x10034cc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push esi
push dword [ebp - 4]
push eax
push dword [esi + 4]
call fcn.01002ca8
jmp 0x10034de
call fcn.01002c08
jmp 0x10034a3
push dword [ebp - 4]
push dword [esi + 4]
call fcn.010032da
mov edi, eax
test edi, edi
je 0x1003510
cmp edi, 0xa0
mov esi, 0x1f57
jne 0x10034f3
mov edi, esi
mov eax, dword [sym.imp.msvcrt.dll__iob]
push 0
add eax, 0x40
push edi
push eax
call fcn.01002b69
add esp, 0xc
cmp edi, esi
jne 0x1003510
call fcn.01002c08
push edi
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x40339c
Capabilities:
Query or enumerate registry value

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

Function at 0x40411c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x459048], 0
je 0x40417d
cmp word [0x45921c], 0xd7b2
jne 0x404145
cmp dword [0x459224], 0
jbe 0x404145
mov eax, 0x459218
call dword [0x459234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x457054
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 0x4041a4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45701c], 0
jne 0x404199
push 0
push 0x457074
push 0x457054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a018
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 0x40a051
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404388
jmp 0x40a05a
mov eax, ebx
mov edx, esi
call fcn.004042ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40a70c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a584
mov eax, dword [0x4580fc]
cmp byte [eax], 0
je 0x40a779
mov eax, dword [0x457f50]
call fcn.00402cb8
call fcn.0040287c
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408894
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 0x40a7c0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a7af
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x457f0c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x459714]
call fcn.004059b4
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 0x40b358
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 0x40b3bc
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.00404500
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040856c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b3c3
lea eax, [ebp - 0xc]
call fcn.00404298
ret
Function at 0x4216dc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x459a20
cmp dword [edi], 0
jne 0x421758
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x459a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4575d0
mov ecx, 2
call fcn.00402910
mov edx, 0x4216b4
lea eax, [esi + 5]
call fcn.004216d4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004216d4
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 0x42172d
mov dword [0x459a1c], 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 0x421874
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4218f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4218e9
xor eax, eax
push ebp
push 0x4218e2
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 0x421920
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4218e9
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp dword [ebp - 8], 0
setne byte [0x4575c8]
mov esp, ebp
pop ebp
ret

Function at 0x422c10
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 0x422c16
ret

Function at 0x425064
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 0x4250b5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42509c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42508c
jmp 0x4250b5
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 0x42509d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e738
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x42e80a
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x42e7dc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x42e7cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402910
mov eax, dword [ebp - 4]
call fcn.0042e674
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e7d2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x42e83c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42e8ae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42e882
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404488
jmp 0x42e889
mov eax, ebx
call fcn.00404298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e8b5
cmp dword [ebp - 8], 0
je 0x42e8a5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42e8bc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x42e95e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42e931
mov edx, ebx
mov eax, dword [0x4226d4]
call fcn.00426524
test al, al
je 0x42e921
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00426434
call fcn.00403da4
jmp 0x42e965
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42e8ec
mov ecx, dword [0x457f04]
mov dl, 1
mov eax, dword [0x407588]
call fcn.0040a880
call fcn.00403cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e965
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x42e96c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42e9c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e9cb
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42e9d4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x42ea29
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ea30
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42eaa0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42eb15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e674
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004264f8
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42eaff
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eb1c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x42eb24
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x42eb99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e674
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42eb83
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eba0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x42f964
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 0x42f8b0
call sub.user32.dll_EnumWindows
ret

Function at 0x42fa88
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 0x42fb05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042f4d4
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 0x42faad
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042f138
cmp dword [ebp - 4], 0
je 0x42faef
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404748
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 0x42fb0c
lea eax, [ebp - 4]
call fcn.00404298
ret

Function at 0x4326c4
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 [0x459ba8], 0
je 0x432813
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4580a4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x432813
mov eax, dword [0x459bac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x459ba8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4327e2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x459ba8]
call fcn.00418cb8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4327da
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4327da
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4327da
mov eax, dword [ebp - 0x14]
call fcn.0043b1ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4327da
push ebp
call fcn.00432680
pop ecx
test al, al
jne 0x4327da
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432796
mov eax, dword [ebp - 0x14]
call fcn.00439d40
dec eax
jle 0x4327da
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.00403728
cmp byte [ebp - 1], 0
je 0x4327da
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4327da
mov edx, dword [ebp - 0x14]
mov eax, dword [0x459bac]
call fcn.00431e48
inc edi
dec ebx
jne 0x432729
mov eax, dword [0x459bac]
cmp dword [eax + 8], 0
jle 0x4327fa
mov eax, dword [0x459bac]
call fcn.00431ed8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x432813
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004324e8
pop ecx
test al, al
jne 0x432813
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 0x435dd0
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 0x435e1c
mov eax, esi
call fcn.0044b75c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435e1c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435e1c
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 0x435f5b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x435e5c
cmp eax, 0x108
ja 0x435e5c
mov eax, esi
call fcn.0044b75c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435f52
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x435f5b
jmp 0x435f52
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x435f3b
cmp eax, 0x20a
ja 0x435f3b
test byte [esi + 0x50], 0x80
jne 0x435e8e
sub eax, 0x203
je 0x435e8b
sub eax, 3
je 0x435e8b
sub eax, 3
jne 0x435e8e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x435ea2
dec eax
je 0x435eb7
dec eax
je 0x435ed4
dec eax
je 0x435eb7
jmp 0x435edb
mov ecx, ebx
mov eax, dword [0x4580a4]
mov eax, dword [eax]
mov edx, esi
call fcn.00454dc4
jmp 0x435f52
cmp byte [esi + 0x5d], 1
jne 0x435ecd
mov eax, esi
mov si, 0xffed
call fcn.00403728
jmp 0x435f5b
or word [esi + 0x54], 1
jmp 0x435f52
and word [esi + 0x54], 0xfffe
jmp 0x435f52
mov eax, dword [0x459b64]
cmp byte [eax + 0x20], 0
je 0x435f52
mov eax, dword [0x459b64]
cmp dword [eax + 0x1c], 0
je 0x435f52
mov eax, dword [ebx]
mov edx, dword [0x459b64]
cmp eax, dword [edx + 0x1c]
jne 0x435f52
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.0044b6a0
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.00403728
jmp 0x435f5b
cmp eax, 0xb00b
jne 0x435f52
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004346fc
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 0x4393dc
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 0x4393f8
cmp dword [esi + 4], 0
je 0x439425
test byte [ebx + 0x55], 1
jne 0x439417
mov eax, ebx
call fcn.00438028
test eax, eax
jne 0x439417
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439535
mov edx, esi
mov eax, ebx
call fcn.00438efc
jmp 0x439535
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 0x43952e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b1ac
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.00435d04
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004393dc
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.0043b1ac
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439535
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