joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405080
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
mov eax, dword [0x5f4f2c]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push ebx
mov bx, word [esp + 0x1c]
push ebp
push esi
push edi
cmp bx, 0x61
jb 0x4050a7
cmp bx, 0x7a
jbe 0x4050b4
lea ecx, [eax - 0x41]
cmp cx, 0x19
ja 0x405145
mov esi, dword [sym.imp.USER32.dll_keybd_event]
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
add eax, 0xffffffbf
mov dword [esp + 0x10], 0
cmp ax, 0x19
ja 0x4050e8
push 0
push 0
push 0
push 0x10
mov dword [esp + 0x20], 1
call edi
push eax
push 0x10
call esi
movzx edx, bx
push edx
call fcn.004950ac
add esp, 4
movzx ebx, ax
push 0
push 0
movzx ebp, bx
push 0
push ebp
mov dword [esp + 0x38], ebx
call edi
push eax
push ebx
call esi
push 0
push 2
push 0
push ebp
call edi
push eax
push ebx
call esi
cmp dword [esp + 0x10], 0
je 0x405208
push 0
push 2
push 0
push 0x10
call edi
push eax
push 0x10
call esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004939ec
add esp, 0x14
ret
mov eax, 0xff
cmp bx, ax
jbe 0x405164
mov al, byte [esp + 0x28]
mov cl, byte [esp + 0x29]
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], al
mov bx, word [esp + 0x28]
movzx edx, bx
push edx
lea eax, [esp + 0x18]
push 0x4c1c08
push eax
call fcn.00494f19
lea ebp, [esp + 0x20]
add esp, 0xc
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x405181
sub ebp, ecx
mov eax, 0
je 0x4051a5
mov cl, byte [esp + eax + 0x14]
sub cl, 0x30
or cl, 0x60
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, ebp
jb 0x405192
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0
push 0
push 0x12
call edi
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call ebx
xor esi, esi
test ebp, ebp
jbe 0x4051f9
movsx edx, byte [esp + esi + 0x14]
push 0
push 0
push 0
push edx
call edi
push eax
movzx eax, byte [esp + esi + 0x20]
push eax
call ebx
movsx ecx, byte [esp + esi + 0x14]
push 0
push 2
push 0
push ecx
call edi
movzx edx, byte [esp + esi + 0x1c]
push eax
push edx
call ebx
inc esi
cmp esi, ebp
jb 0x4051c6
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call ebx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004939ec
add esp, 0x14
ret
Function at 0x407c50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b2df8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.Event.0
call fcn.0047c580
cmp eax, ebx
jne 0x407c9b
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], vtable.KeystrokeEvent.0
mov dword [esi + 8], 0xf
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov byte [esi + 0x1e], bl
mov byte [esi + 0x1f], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4b3109
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
xor esi, esi
push esi
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, eax
shl ebp, 0x10
cmp dword [esp + 0x30], esi
je 0x40c30c
or ebp, 0x1000000
call fcn.0047c580
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40c326
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x28]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 1
mov esi, 0x40
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add esi, esi
sub eax, esi
or eax, ecx
jge 0x40c369
push esi
mov ecx, edi
call fcn.00401730
mov eax, dword [edi]
test esi, esi
jl 0x40c3d5
cmp esi, dword [eax - 8]
jg 0x40c3d5
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + esi*2], dx
lea ecx, [esi + 1]
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c3a5
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40c3a9
push ecx
push eax
call fcn.00494db7
add esp, 8
test eax, eax
jl 0x40c3d5
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40c3d5
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp ebx, esi
je 0x40c349
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401060
int3
Function at 0x412690
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4b31a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.0047c580
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4126dd
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x412735
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41272f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00401eb0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4153b0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4b37a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
call fcn.00414410
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x1c], esi
call fcn.0040cbe0
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x40e060
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415439
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x4207f0
Capabilities:
Create thread

Disassembly:
inc dword [0x5f6a2c]
push esi
mov dword [0x5f6b54], 0
call fcn.00420720
call fcn.0044fda0
call fcn.0044fe10
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5f21a8
call dword [sym.imp.USER32.dll_SetRect]
call fcn.00446f60
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x17
call esi
test eax, eax
je 0x420860
mov dword [0x5f2198], 8
mov dword [0x5f219c], 0x10
mov dword [0x5f21a0], 2
mov dword [0x5f21a4], 4
jmp 0x420888
mov dword [0x5f2198], 2
mov dword [0x5f219c], 4
mov dword [0x5f21a0], 8
mov dword [0x5f21a4], 0x10
push 0
call esi
push 1
mov dword [0x5f6b4c], eax
call esi
mov dword [0x5f6b48], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5f6b5c], eax
call fcn.00438600
push 0
push 0
push 0
push 0x405960
push 0
push 0
mov dword [0x5f67e4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x5f67e4], 0
pop esi
jne 0x4208fa
lea ebx, [ebx]
push 0x5f6b44
push 0x32
push 0xa
call fcn.004042b0
add esp, 0xc
cmp dword [0x5f67e4], 0
je 0x4208e0
ret

Function at 0x4210a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b4447
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.0047c580
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4210f2
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], 1
mov dword [esi], vtable.ForLoopEvent.0
call fcn.0047c580
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x421139
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 6
call fcn.0041ba80
mov dword [esi + 8], 8
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 3
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x422d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b49a1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.Event.0
call fcn.0047c580
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x422dc3
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 0x1c], 1
mov dword [esi], vtable.WaitWindowEvent.0
call fcn.0047c580
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x422e0a
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x1c], 2
lea edi, [esi + 0x28]
call fcn.0047c580
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x422e3b
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 3
call fcn.0041ba80
push 3
push 0x4c4794
mov ecx, edi
mov byte [esp + 0x24], 4
mov dword [esi + 8], 0x1d
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], 0xa
call fcn.00401a70
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4231b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b4a2b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.0047c580
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x423202
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
push edi
push edi
push edi
push 0x439820
push 0x4c19a8
lea ecx, [esi + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esi], vtable.FunStartEvent.0
call fcn.00411e00
lea ecx, [esi + 0x284]
mov byte [esp + 0x18], 2
call fcn.0041ba80
mov dword [esi + 8], 0x2e
mov dword [esi + 0x10], edi
mov dword [esi + 0x30], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x42b740
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x42d950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b58e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x30]
mov ecx, edi
call fcn.0047d373
push 0
lea ecx, [esp + 0x10]
call fcn.0047d0e1
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0047d31b
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0047d135
mov edx, dword [esi + 8]
imul edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
add edx, edx
push ecx
add edx, edx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetBitmapBits]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x42f890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, dword [esp + 0x64]
cmp dword [esi], 0
je 0x42f910
lea ecx, [esp + 0xc]
call fcn.0048279d
push 0
lea eax, [esp + 0x68]
push eax
push 9
push 2
push 0x1ee
push esi
mov dword [esp + 0x74], 0
call fcn.004832a8
mov ecx, dword [esp + 0x7c]
add esp, 0x18
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.00482b09
cmp dword [esp + 0xc], 0
jne 0x42f924
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0048284b
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret
mov eax, dword [esp + 0x68]
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov word [esp + 0x28], dx
call fcn.00483844
lea ecx, [esp + 0x24]
push ecx
push 0x5f2db4
lea edx, [esp + 0x6c]
push edx
push 9
push 2
lea eax, [esp + 0x20]
push 0xaa
push eax
mov byte [esp + 0x78], 1
call fcn.004832a8
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x1c
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x60], 0
call esi
mov edi, dword [esp + 0x64]
test edi, edi
je 0x42f8ff
lea ecx, [esp + 0x1c]
call fcn.0048279d
push 1
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 2
call fcn.00482b09
lea ecx, [esp + 0x14]
call fcn.0048279d
push 0
lea edx, [esp + 0x68]
push edx
push 9
push 2
lea eax, [esp + 0x2c]
push 0xee
push eax
mov byte [esp + 0x74], 3
call fcn.004832a8
mov ecx, dword [esp + 0x7c]
add esp, 0x18
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.00482b09
mov eax, dword [esp + 0x74]
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov word [esp + 0x28], dx
call fcn.00483844
mov ecx, dword [esp + 0x70]
push 3
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 4
call fcn.004833b6
mov edi, eax
mov edx, dword [esp + 0x6c]
push 3
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 5
call fcn.004833b6
lea ecx, [esp + 0x24]
push ecx
push edi
push eax
push 0x5f2d78
push 0
push 0
push 4
lea edx, [esp + 0x30]
push 0xaa
push edx
mov byte [esp + 0x80], 6
call fcn.004832a8
add esp, 0x24
lea eax, [esp + 0x34]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 2
call fcn.0048284b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0
call fcn.0048284b
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0048284b
mov eax, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret
Function at 0x430e40
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4b5df0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0x4c1bf8
call dword [sym.imp.GDI32.dll_CreateDCW]
mov esi, eax
test esi, esi
je 0x430fc6
lea ecx, [esp + 0x14]
call fcn.0047cc78
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.0047d05f
lea ecx, [esp + 0x24]
call fcn.0047cc78
mov edi, dword [esp + 0x58]
mov byte [esp + 0x3c], 1
test edi, edi
jne 0x430eb7
lea edi, [esp + 0x24]
cmp dword [edi + 4], 0
jne 0x430fa7
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call fcn.0047d05f
test eax, eax
je 0x430fa7
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x76
push ecx
call esi
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x48]
push 0x75
push edx
mov dword [ebp], eax
call esi
mov ebx, dword [esp + 0x4c]
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
push 8
push eax
call esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
push 0xa
push edx
mov dword [ecx], eax
call esi
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
mov edx, dword [ebx]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
je 0x430fa7
mov eax, dword [edi + 4]
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, dword [ebp]
mov edi, dword [edi + 4]
push 0x40cc0020
push 0
push 0
push edx
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x44]
push esi
call fcn.0047d31b
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0
call fcn.0047d0c8
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0047d0c8
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 0
call fcn.0047d0c8
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0047d0c8
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x432be0
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebx
call fcn.00432b10
add esp, 4
test eax, eax
je 0x432bf7
or dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
push 0
push eax
movzx ecx, bl
push 0
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push ebx
call dword [sym.imp.USER32.dll_keybd_event]
pop ebx
ret
Function at 0x432c20
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov eax, ebp
push edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432a50
sub eax, edx
sar eax, 1
mov esi, eax
xor edi, edi
mov dword [esp + 0xc], esi
test esi, esi
jle 0x432b08
push ebx
movzx eax, word [ebp + edi*2]
mov ecx, 0x100
cmp ax, cx
jae 0x432af5
cmp ax, 0xd
je 0x432afe
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx ebx, ax
cmp bx, 0xffff
jne 0x432a9d
movzx edx, word [ebp + edi*2]
push edx
jmp 0x432af6
test bx, bx
jge 0x432aa8
not ebx
inc ebx
movzx ebx, bx
mov esi, ebx
sar esi, 8
push 0x14
and esi, 1
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x432ae2
movzx eax, word [ebp + edi*2]
cmp ax, 0x61
jb 0x432acd
cmp ax, 0x7a
jbe 0x432ad9
cmp ax, 0x41
jb 0x432ae2
cmp ax, 0x5a
ja 0x432ae2
xor eax, eax
test esi, esi
sete al
mov esi, eax
movzx ecx, bl
push esi
push ecx
call fcn.00432900
mov esi, dword [esp + 0x18]
add esp, 8
jmp 0x432afe
push eax
call fcn.00432800
add esp, 4
inc edi
cmp edi, esi
jl 0x432a70
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ecx
mov eax, dword [0x5f6cf8]
mov edx, dword [esp + 8]
test eax, eax
jne 0x432ca1
movzx eax, word [edx]
mov ecx, edx
test ax, ax
je 0x432c52
movzx eax, ax
jmp 0x432c40
cmp ax, 0x7f
ja 0x432ca1
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x432c40
push esi
lea eax, [esp + 4]
push eax
push edx
mov dword [esp + 0xc], 0
call fcn.00403cc0
mov esi, dword [esp + 0xc]
add esp, 8
cmp byte [esi], 0
je 0x432ce8
push ebx
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push edi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
mov al, byte [esi]
cmp al, 0x7f
jae 0x432cce
cmp al, 0xa
je 0x432cad
cmp al, 0xd
je 0x432ccb
movsx cx, al
movzx edx, cx
push edx
call fcn.00405080
add esp, 4
inc esi
jmp 0x432cdd
add esp, 4
mov dword [esp + 4], edx
jmp 0x432a40
push 0
push 0
push 0
push 0xd
call ebx
push eax
push 0xd
call edi
push 0
push 2
push 0
push 0xd
call ebx
push eax
push 0xd
call edi
inc esi
jmp 0x432cdd
movzx eax, word [esi]
push eax
call fcn.00405080
add esp, 4
add esi, 2
cmp byte [esi], 0
jne 0x432c80
mov esi, dword [esp + 0xc]
pop edi
pop ebx
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
pop ecx
ret

Function at 0x434dcf
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x5c6b9c
push eax
call fcn.00496387
mov esi, eax
add esp, 8
test esi, esi
jne 0x434dcb
pop esi
ret
push edi
push esi
push 1
push 2
push 0x5c6b98
call fcn.004969e1
mov edi, dword [esp + 0x20]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
add eax, eax
push 1
push eax
push edi
call fcn.004969e1
push esi
call fcn.00496415
add esp, 0x14
pop edi
mov eax, 1
pop esi
ret
Function at 0x451680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9283
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.ExprItem_NamedData.0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x18], 1
test eax, eax
je 0x4516db
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.0040b230
push ecx
push 4
push eax
call fcn.00493b84
push edi
call fcn.00474c17
add esp, 4
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 0
call fcn.00418010
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00404ef0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret