joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052b8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov ebx, ecx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x4052e1
cmp eax, 0x100
jne 0x405314
mov eax, 8
cmp edx, 0x11
jbe 0x4052f3
cmp edx, 0x100
jne 0x405312
mov edx, 8
mov al, byte [eax + 0x508064]
mov dl, byte [edx + 0x508064]
movzx ecx, byte [edx + eax*8 + 0x508078]
call dword [ecx*4 + 0x405323]
pop edi
pop esi
pop ebx
ret
mov eax, edx
cmp eax, 0x101
jne 0x405344
pop edi
pop esi
pop ebx
jmp fcn.00405234
pop edi
pop esi
pop ebx
jmp 0x404bb4

Function at 0x405518
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004052b8

Function at 0x405524
Capabilities:
Terminate process

Disassembly:
mov ecx, 4
jmp fcn.004052b8

Function at 0x40565c
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x405682
cmp eax, 0x100
jne 0x4056b1
mov eax, 8
cmp edx, 0x11
jbe 0x405694
cmp edx, 0x100
jne case.default.0x4056a8
mov edx, 8
mov al, byte [eax + 0x508064]
mov dl, byte [edx + 0x508064]
movzx ecx, byte [edx + eax*8 + 0x508078]
jmp dword [ecx*4 + 0x4056c3]
mov eax, edx
cmp eax, 0x101
jne case.0x4056a8.0
pop edi
pop esi
call fcn.004055c8
push eax
popf
ret
pop edi
pop esi
jmp 0x404bb4
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00404f04
xchg edi, eax
call fcn.00404f04
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404fa4
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404fa4
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.00405000
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00405000
fld xword [esp]
add esp, 0xc
jmp 0x40571b
mov eax, edi
mov edx, esi
call fcn.00405560
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00404f70
xchg edi, eax
call fcn.00404f70
mov edx, edi
cmp al, dl
pop edi
pop esi
ret
Function at 0x405d7c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405f34
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405ddd
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405f50
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405e4a
xor eax, eax
push ebp
push 0x405e43
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405f70
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e4a
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405f2b
cmp byte [ebp - 0xd], 0
jne 0x405e8c
cmp byte [ebp - 0x12], 0
je 0x405f2b
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405ea5
dec ebx
cmp byte [ebx], 0x2e
je 0x405eb4
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405ea4
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405f2b
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405ee1
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405f2b
cmp byte [ebp - 0xd], 0
je 0x405f2b
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405f2b
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406184
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00406150
push eax
push ecx
push edx
mov ecx, dword [eax]
test ecx, ecx
je 0x40619e
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp]
mov eax, dword [edx]
call dword [eax]
test eax, eax
je 0x4061ad
mov al, 0x17
jmp fcn.004027c0
ret
Function at 0x4064dc
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, edx
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x406538
push ecx
push 0
mov eax, esp
push 0
push eax
mov eax, dword [ebx + 8]
mul ecx
push eax
push esi
push dword [ebx]
call sub.kernel32.dll_ReadFile
dec eax
pop eax
pop ecx
jne 0x40652a
xor edx, edx
div dword [ebx + 8]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x40651f
mov dword [edx], eax
pop esi
pop ebx
ret 4
cmp eax, ecx
je 0x40651a
mov eax, 0x64
jmp 0x40652f
call sub.kernel32.dll_GetLastError
call fcn.00402824
xor eax, eax
jmp 0x40651a
mov eax, 0x67
jmp 0x40652f

Function at 0x4096e4
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403fb4
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret
Function at 0x409aec
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x409d30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403c0c
cmp dword [0x508120], 1
je 0x409b6d
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00403fb4
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x409d12
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
mov edx, dword [edx]
call fcn.00403d28
jmp 0x409d12
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.004029a4
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0x41
jb 0x409d12
cmp byte [ebp - 0x15], 0x5a
ja 0x409d12
mov eax, dword [ebp - 4]
call fcn.00403df0
cmp eax, 3
jl 0x409d12
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x409d12
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x409d12
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x409d12
xor edx, edx
push ebp
push 0x409d0b
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0x640
mov eax, dword [ebp - 0xc]
call fcn.00402734
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x409ced
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x409c3c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.00402764
jmp 0x409c00
test eax, eax
je 0x409c4f
call fcn.0040366c
call fcn.0040366c
jmp 0x409d12
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x409c00
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x409ccb
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.004029a4
cmp al, byte [ebp - 0x15]
jne 0x409ccb
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 4]
call fcn.00403df0
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00403ff4
mov eax, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebx + 0x14]
call fcn.00403d28
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
pop ecx
call fcn.00403e3c
call fcn.0040366c
call fcn.0040366c
jmp 0x409d12
inc edi
dec esi
jne 0x409c5a
jmp 0x409c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409d37
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00403b98
ret
Function at 0x40c3e0
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 0x40c419
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c58
jmp 0x40c422
mov eax, ebx
mov edx, esi
call fcn.00403c0c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x418be8
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x418bf8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x418c0d
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x41abc0
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 0x41abc6
ret

Function at 0x41d5a4
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 0x41d5f5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d5dc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d5cc
jmp 0x41d5f5
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 0x41d5dd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ea3c
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x42eac6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x42eaad
mov eax, dword [0x50febc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42ea7b
push ebx
push 0x42ead4
call fcn.00447ce8
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42eaa9
lea edx, [ebp - 4]
mov eax, dword [0x50fb88]
call fcn.004060f8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x408380]
call fcn.0040cb8c
call fcn.004035cc
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eacd
lea eax, [ebp - 4]
call fcn.00403b74
ret

Function at 0x42eaf4
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]
call fcn.0042ea3c
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42eb66
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42eb3a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403d28
jmp 0x42eb41
mov eax, ebx
call fcn.00403b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42eb6d
cmp dword [ebp - 8], 0
je 0x42eb5d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042ea10
ret

Function at 0x42eb74
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42ec52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042ea3c
xor edx, edx
push ebp
push 0x42ec35
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42ebfe
mov edx, ebx
mov eax, dword [0x41a664]
call fcn.0041ecbc
test al, al
je 0x42ebee
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.0041eb90
call fcn.0040366c
jmp 0x42ec3c
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42ebb9
lea edx, [ebp - 8]
mov eax, dword [0x50fc20]
call fcn.004060f8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x408380]
call fcn.0040cb8c
call fcn.004035cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ec3c
mov eax, dword [ebp - 4]
call fcn.0042ea10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ec59
lea eax, [ebp - 8]
call fcn.00403b74
ret
Function at 0x42ec60
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]
call fcn.0042ea3c
xor eax, eax
push ebp
push 0x42ecb8
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ecbf
mov eax, dword [ebp - 4]
call fcn.0042ea10
ret

Function at 0x42ecc8
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]
call fcn.0042ea3c
xor edx, edx
push ebp
push 0x42ed1d
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 + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ed24
mov eax, dword [ebp - 4]
call fcn.0042ea10
ret

Function at 0x42ed94
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]
call fcn.0042ea3c
xor eax, eax
push ebp
push 0x42ee09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e9f4
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.0041ec90
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 0x42edf3
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 0x42ee10
mov eax, dword [ebp - 4]
call fcn.0042ea10
ret

Function at 0x42ee18
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]
call fcn.0042ea3c
xor eax, eax
push ebp
push 0x42ee8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e9f4
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 + 0x5c]
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 0x42ee77
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 0x42ee94
mov eax, dword [ebp - 4]
call fcn.0042ea10
ret
Function at 0x42eee8
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]
call fcn.0042ea3c
xor eax, eax
push ebp
push 0x42ef2c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ef33
mov eax, dword [ebp - 4]
call fcn.0042ea10
ret

Function at 0x431c70
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x511768], 0
sete dl
or al, dl
jne 0x431db4
mov eax, dword [0x51176c]
mov bx, 0xffff
call fcn.004030d0
mov eax, dword [0x511768]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x431d83
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x511768]
call fcn.00411ef4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x431d7b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x431d7b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x431d7b
mov eax, dword [ebp - 0x10]
call fcn.00439b04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x431d7b
push ebp
call fcn.00431c2c
pop ecx
test al, al
jne 0x431d7b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x431d37
mov eax, dword [ebp - 0x10]
call fcn.00438448
dec eax
jle 0x431d7b
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.004030d0
cmp byte [ebp - 0x15], 0
je 0x431d7b
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x431d7b
mov edx, dword [ebp - 0x10]
mov eax, dword [0x51176c]
call fcn.004314dc
inc edi
dec esi
jne 0x431cca
mov eax, dword [0x51176c]
cmp dword [eax + 8], 0
jle 0x431d9b
mov eax, dword [0x51176c]
call fcn.0043156c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431db4
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00431ae4
pop ecx
test al, al
jne 0x431db4
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4375d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x437605
je 0x43765f
sub eax, 7
je 0x437626
dec eax
je 0x437650
sub eax, 0x17
je 0x4376e0
jmp 0x43771e
add eax, 0xffffff00
sub eax, 9
jb 0x4376cc
add eax, 0xffffff09
sub eax, 0xb
jb 0x4376b6
jmp 0x43771e
mov eax, ebx
call fcn.00447f48
mov edi, eax
test edi, edi
je 0x43777e
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x437787
jmp 0x43777e
test byte [ebx + 0x44], 0x20
jne 0x437787
jmp 0x43777e
mov edx, esi
mov eax, ebx
call fcn.00434ec0
cmp dword [esi + 0xc], 0xffffffff
jne 0x437787
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407e78
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00433968
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00437484
test eax, eax
je 0x437787
mov dword [esi + 0xc], 1
jmp 0x437787
mov edx, esi
mov eax, ebx
call fcn.00437548
test al, al
jne 0x437787
jmp 0x43777e
mov eax, ebx
call fcn.00434538
test al, al
jne 0x437787
jmp 0x43777e
mov eax, ebx
call fcn.00439b04
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x43777e
cmp dword [0x508898], 0
je 0x43777e
mov eax, dword [0x508898]
cmp ebx, dword [eax + 0x24]
jne 0x43777e
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x508898]
call fcn.00434ddc
jmp 0x43777e
mov eax, dword [0x511730]
cmp byte [eax + 0x20], 0
je 0x43777e
mov eax, dword [0x511730]
cmp dword [eax + 0x1c], 0
je 0x43777e
mov eax, dword [esi]
mov edx, dword [0x511730]
cmp eax, dword [edx + 0x1c]
jne 0x43777e
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00447e5c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.004030d0
jmp 0x437787
mov edx, esi
mov eax, ebx
call fcn.00434ec0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437c18
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 + 0x1e8], 0
je 0x437c34
cmp dword [esi + 4], 0
je 0x437c61
test byte [ebx + 0x45], 1
jne 0x437c53
mov eax, ebx
call fcn.00436c88
test eax, eax
jne 0x437c53
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437d71
mov edx, esi
mov eax, ebx
call fcn.00437890
jmp 0x437d71
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 0x437d6a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439b04
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.00434ddc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00437c18
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.00439b04
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437d71
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

Function at 0x4417f8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403b74
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441859
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x441859
cmp byte [ebp - 0x102], 0
je 0x441859
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403da0
pop ebx
mov esp, ebp
pop ebp
ret