joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ec56
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
je 0x101ec7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileTransactedW]
jmp 0x101ec86
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
ret 8

Function at 0x101ece2
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push 0
test eax, eax
je 0x101ed15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push eax
push 0
push 0x20006
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyTransactedW]
jmp 0x101ed23
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RegDeleteKeyExW]
pop esi
pop ebp
ret 0xc
Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10076200]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x7697efd2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
sub eax, 0x105d978a
je 0x10001065
jmp 0x1000103b
mov eax, dword [ebp - 0x24]
sub eax, 0x7697efd2
je 0x10001053
jmp 0x1000104e
jmp 0x100010a7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x105d978a
jmp 0x100010a7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
not byte [edi]
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
add byte [edi], 0x47
sub byte [edi], 0x25
push ebx
pop ebx
nop
mov ebx, eax
xor ebx, 0x39
imul byte [edi]
inc edi
loop 0x10001079
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10017750
add esp, 0x1c
pop edi
pop ebx
pop ebp
ret
jmp 0x10001025
Function at 0x1001ab23
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001ab62
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001ab62
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001ab62
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001ab62
cmp dword [ecx + 0x74], 0xe
jbe 0x1001ab62
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001d7df
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001d87c
push ebx
push esi
call fcn.1001d7a8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d73c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d829
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d87b
push edi
push eax
call fcn.1001e79a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d849
call fcn.1001c284
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d87a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d73c
add esp, 0x20
test eax, eax
jne 0x1001d868
push edi
call fcn.1001c284
jmp 0x1001d870
push ebx
call fcn.1001c284
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001dae9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001da05
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001db1d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
jmp 0x1001db23
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001db67
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001da05
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001db9e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001dba6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001da05
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001dbe0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002414c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023260
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002328d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002328d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x427e1e
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x3c244434
xor al, 0xc7
and al, 0x3c
xor al, 0x6c
mov cl, 0x35
xor al, 0xc7
and al, 0x3c
xor al, 0xe5
and al, 0x3c
xor al, 0xac
mov cl, 0x35
xor al, 0xf4
and al, 0x3c
xor al, 0x22
and al, 0x3c
xor al, 0xbc
mov cl, 0x35
xor al, 0x22
and al, 0x3c
xor al, 0x3e
and eax, 0xb1e4343c
xor eax, 0x3c253e34
xor al, 0x5a
and eax, 0xb1f0343c
xor eax, 0x3c255a34
xor al, 0x79
and eax, 0xb1fc343c
xor eax, 0x3c258434
xor al, 0x6d
sub bh, byte [esp + esi]
or byte [ecx + 0x2a6d3435], dh
cmp al, 0x34
xchg esp, eax
sub bh, byte [esp + esi]
push esp
mov bl, 0x35
xor al, 0x94
sub bh, byte [esp + esi]
mov ebx, 0x70343c2a
mov bl, 0x35
xor al, 0xbb
sub bh, byte [esp + esi]
sbb byte [edx], ch
cmp al, 0x34
invalid
Function at 0x45c600
Capabilities:
Encode data using xor

Disassembly:
stosb byte es:[edi], al
dec edx
pop ebp
xlatb
lodsb al, byte [esi]
scasb al, byte es:[edi]
mov bl, 0xb2
mov dl, 0xc4
cmc
sbb esi, dword [edi]
pop ecx
pop ebp
pop ebp
popal
arpl bp, bx
outsd dx, dword [esi]
add esi, dword [eax]
xchg byte [ebx], cl
lahf
cld
lea esp, [edi]
mov ecx, 0x39bb9ee7
ja 0x45c601
sahf
mov ebx, 0x15767739
cmpsd dword [esi], dword es:[edi]
mov al, 0xbf
aas
adc eax, 0x3fbfb0a7
popal
xor bl, byte [ecx - 0x4c3a2890]
imul ebp, esi, 0x73ecf00c
xlatb
mov ecx, 0x93976b75
daa
xlatb
cwde
dec esi
std
stc
test dword [edi - 2], ebx
lock add eax, dword [eax]
imul ebx, edi, 0xf73f67c8
cmp al, 0xaf
jns 0x45c586
ljmp 0xaefb:0xb816a191
daa
and edx, ebp
stosb byte es:[edi], al
jle 0x45c648
jl 0x45c5db
inc esi
les edx, [edx - 0x1d1abab8]
in eax, 0xe2
inc eax
jge 0x45c567
mov bl, byte [eax + 0x318c4f1]
loop 0x45c620
mov al, byte [0xa5e30d0a]
adc dword [edi - 0x23], esp
std
fdivr qword [eax - 0x1f]
dec ecx
mov esi, 0x91bd77f4
invalid
std
std
imul ebp, dword [eax + 0x7d5fabc2], 0xffffff8e
in eax, dx
daa
sub eax, 0x22cffbdd
dec ebx
and ebp, dword [edi + 0x28]
je 0x45c5e0
lds ecx, [ebx]
stosd dword es:[edi], eax
xor al, 0x52
mov bl, 0xbd
rcl eax, cl
fldcw word [edx + edi*4 + 0x561e35c6]
lodsb al, byte [esi]
mov edx, 0x561e35c6
mov ebp, 0xbf0eb6d4
pop edi
xlatb
imul ecx, dword [ecx], 0x46
jl 0x45c5d2
int 0xfe
jbe 0x45c619
mov bh, 0x6b
mov gs, word [edx + 0x1f]
add dword [ebp - 0x6d0e4b61], 0x12343acf
mov al, 0x8d
imul dword [edi + 0x7d]
adc dh, byte [eax + 0x7d6ff78d]
outsd dx, dword [esi]
jge 0x45c644
stc
aaa
invalid
Function at 0x402944
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402973
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bd8
jmp 0x402991
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004028cc
mov edi, eax
test ebx, ebx
je 0x402991
cmp dword [esi], 0
je 0x402991
dec ebx
jmp 0x40297a
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402c58
Capabilities:
Query or enumerate registry value

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

Function at 0x403aa4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402774
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x45a049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403a6c
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405390
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_1
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40554c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4053f1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405568
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405463
xor eax, eax
push ebp
push 0x40545c
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]
call fcn.004051e8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405445
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405588
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 0x405463
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 0x405544
cmp byte [ebp - 0xd], 0
jne 0x4054a5
cmp byte [ebp - 0x12], 0
je 0x405544
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4054be
dec ebx
cmp byte [ebx], 0x2e
je 0x4054cd
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4054bd
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405544
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4054fa
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 0x405544
cmp byte [ebp - 0xd], 0
je 0x405544
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 0x405544
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 0x408ef4
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 0x408f2d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403bd8
jmp 0x408f36
mov eax, ebx
mov edx, esi
call fcn.00403b44
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408f40
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 0x408f61
mov al, byte [esp]
jmp 0x408f63
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x412f08
Capabilities:
Suspend thread

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

Function at 0x412f18
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 0x412f2d
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x414fdc
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 0x414fe2
ret

Function at 0x4173cc
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 0x41741d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x417404
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4173f4
jmp 0x41741d
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 0x417405
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4222ac
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 - 0xc]
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x45a780], 0
sete dl
or al, dl
jne 0x4223ec
mov eax, dword [0x45a784]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45a780]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4223bb
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45a780]
call fcn.0040e170
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4223b3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4223b3
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4223b3
mov eax, dword [ebp - 0x14]
call fcn.0042a5dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4223b3
push ebp
call fcn.00422268
pop ecx
test al, al
jne 0x4223b3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42236f
mov eax, dword [ebp - 0x14]
call fcn.00428f30
dec eax
jle 0x4223b3
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402fc0
cmp byte [ebp - 1], 0
je 0x4223b3
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4223b3
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45a784]
call fcn.00421ab4
inc edi
dec esi
jne 0x422302
mov eax, dword [0x45a784]
cmp dword [eax + 8], 0
jle 0x4223d3
mov eax, dword [0x45a784]
call fcn.00421b44
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4223ec
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004220d0
pop ecx
test al, al
jne 0x4223ec
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 0x427f3c
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 0x427f6d
je 0x427fc7
sub eax, 7
je 0x427f8e
dec eax
je 0x427fb8
sub eax, 0x17
je 0x42806c
jmp 0x4280aa
add eax, 0xffffff00
sub eax, 9
jb 0x428058
add eax, 0xffffff09
sub eax, 0xb
jb 0x428020
jmp 0x4280aa
mov eax, ebx
call fcn.00439cbc
mov edi, eax
test edi, edi
je 0x42810a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x428113
jmp 0x42810a
test byte [ebx + 0x44], 0x20
jne 0x428113
jmp 0x42810a
mov edx, esi
mov eax, ebx
call fcn.0042553c
cmp dword [esi + 0xc], 0xffffffff
jne 0x428113
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406fa0
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00424088
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00427e14
test eax, eax
je 0x428113
mov dword [esi + 0xc], 1
jmp 0x428113
mov edx, esi
mov eax, ebx
call fcn.00427ea8
test al, al
je 0x42810a
cmp dword [esi + 0xc], 0
jne 0x428113
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0042a5dc
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x428113
mov eax, ebx
call fcn.00424bd8
test al, al
jne 0x428113
jmp 0x42810a
mov eax, ebx
call fcn.0042a5dc
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42810a
cmp dword [0x4586ec], 0
je 0x42810a
mov eax, dword [0x4586ec]
cmp ebx, dword [eax + 0x24]
jne 0x42810a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4586ec]
call fcn.00425470
jmp 0x42810a
mov eax, dword [0x45a748]
cmp byte [eax + 0x20], 0
je 0x42810a
mov eax, dword [0x45a748]
cmp dword [eax + 0x1c], 0
je 0x42810a
mov eax, dword [esi]
mov edx, dword [0x45a748]
cmp eax, dword [edx + 0x1c]
jne 0x42810a
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.00439c00
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, 0xffb7
call fcn.00402fc0
jmp 0x428113
mov edx, esi
mov eax, ebx
call fcn.0042553c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4285d4
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 0x4285f0
cmp dword [esi + 4], 0
je 0x42861d
test byte [ebx + 0x45], 1
jne 0x42860f
mov eax, ebx
call fcn.0042750c
test eax, eax
jne 0x42860f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42872d
mov edx, esi
mov eax, ebx
call fcn.0042824c
jmp 0x42872d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x428726
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042a5dc
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.00425470
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004285d4
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.0042a5dc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42872d
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 0x431f04
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.00403af0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x431f53
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403d20
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4399d8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45a7e0
cmp dword [edi], 0
jne 0x439a54
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45a7dc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x458880
mov ecx, 2
call fcn.0040288c
mov edx, 0x4399b0
lea eax, [esi + 5]
call fcn.004399d0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004399d0
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 0x439a29
mov dword [0x45a7dc], 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 0x439b70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x439bc0]
test si, 4
je 0x439b84
or bl, 1
test si, 8
je 0x439b8e
or bl, 4
test si, 1
je 0x439b98
or bl, 8
test si, 2
je 0x439ba2
or bl, 0x10
test si, 0x10
je 0x439bac
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x439bbb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x439bc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x439bfc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x439bdd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x439bec
or bl, 4
test esi, 0x20000000
je 0x439bf7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret