joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41350a
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x413562
push edi
xor eax, eax
lea edi, [ebp - 0xe]
push dword [ebp + 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
mov word [ebp - 0x10], 2
mov dword [ebp - 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x413566
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x413571
push 3
push esi
call dword [sym.imp.WS2_32.dll_listen]
mov eax, esi
pop esi
leave
ret

Function at 0x41367c
Capabilities:
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.00556e50
or dword [ebp - 0x2010], 0xffffffff
push esi
xor esi, esi
push 0x200c
lea eax, [ebp - 0x2018]
push esi
push eax
mov dword [ebp - 8], 1
mov dword [ebp - 0x2018], 0x5a51b0
call fcn.005561a0
push dword [ebp + 8]
push esi
call fcn.0041350a
add esp, 0x14
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x41378a
push dword [ebp + 0xc]
push esi
call fcn.0041350a
pop ecx
cmp eax, esi
pop ecx
mov dword [ebp + 8], eax
jbe 0x413781
push ebx
push edi
mov edi, dword [sym.imp.WS2_32.dll_accept]
push esi
push esi
push dword [ebp - 4]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x413778
lea eax, [ebp - 8]
push 4
push eax
push 8
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x413778
mov dword [ebp - 0x2014], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push esi
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
jne 0x413733
push 0x3e8
call ebx
jmp 0x41371e
cmp dword [ebp - 0x2010], 0x800
jge 0x413752
inc dword [ebp - 0x2010]
mov ecx, dword [ebp - 0x2010]
mov dword [ebp + ecx*4 - 0x200c], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2018]
push esi
push eax
push 0x4135f9
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x41372a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41371e
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop ebx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
leave
ret
Function at 0x4156f5
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x415750
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [esp + 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x415749
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [esp + 0xc]
push dword [esp + 0xc]
push eax
call fcn.00556200
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret 8

Function at 0x415753
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ecx
push ebx
push ebp
mov ebx, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4157d9
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
test ebp, ebp
jne 0x41577a
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4157d9
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
push ebp
inc esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov dword [esp + 0x14], eax
call fcn.0056dbe7
mov edi, eax
lea eax, [esi - 1]
push eax
push dword [esp + 0x18]
lea eax, [edi + 1]
mov byte [edi], 0x19
push eax
call fcn.00556200
add esp, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebx + 0x158]
push esi
push edi
push dword [ebx + 0x154]
call fcn.0040b14a
push edi
call fcn.0056dc10
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x42aa20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59208b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x600970
lea ecx, [esi + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.005726ca
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
call fcn.0042b5d0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x70], 0x5ac0cc
mov dword [esi + 0x74], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi], 0x5ac0b8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x42aad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5920c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x5ac0b8
mov dword [esp + 0x14], 2
call fcn.0042ab60
lea eax, [esi + 0x70]
mov dword [esp + 8], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [esp + 0x14], 3
test eax, eax
je 0x42ab24
push eax
call fcn.0056dc10
add esp, 4
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.0042b650
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0057265c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x42b720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x592169
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00571eba
mov eax, dword [0x5eb854]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], eax
mov ecx, dword [0x5eb854]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x68], 0x5ac208
mov dword [esi + 0x6c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov ecx, esi
mov byte [esp + 0x14], 3
mov dword [esi], 0x5ac1b0
call fcn.0058c487
lea edx, [esi + 0x40]
or eax, 0xffffffff
push edx
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x64], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42f760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x592519
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0056e6d5
mov eax, dword [0x5eb854]
lea edi, [esi + 0x3c]
mov dword [esp + 0x14], 0
mov dword [edi], eax
mov edx, dword [0x5eb854]
lea ecx, [esi + 0x40]
mov dword [ecx], edx
mov eax, dword [0x5eb854]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov byte [esp + 0x18], 3
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x48], edx
call fcn.005727e5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x4c], edx
mov ecx, edi
mov dword [esi + 0x50], eax
call fcn.005725e7
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edx
mov dword [esi + 0x58], 1
mov dword [esi + 0x64], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x430a90
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x70]
cmp dword [eax + 0x5c], 2
je 0x430be4
mov ecx, dword [esp + 0x14]
cmp ecx, 0x60
jb 0x430abc
cmp ecx, 0x69
ja 0x430abc
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x430be4
push 2
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test eax, eax
je 0x430be4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov ebp, eax
push ebp
call fcn.0042ed50
mov esi, eax
mov eax, dword [edi + 0x80]
add esp, 4
neg esi
sbb esi, esi
xor ebx, ebx
and esi, ebp
test eax, eax
jle 0x430b32
push ebx
mov ecx, edi
call fcn.00431460
mov ebp, eax
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x430b30
mov ecx, dword [edi + 0x70]
test byte [ecx + 0x5c], 1
je 0x430b23
test esi, esi
jne 0x430b23
push ebp
call fcn.0042ed50
add esp, 4
test eax, eax
je 0x430b23
mov esi, ebp
mov eax, dword [edi + 0x80]
inc ebx
cmp ebx, eax
jl 0x430af3
jmp 0x430b32
mov esi, ebp
test esi, esi
je 0x430be4
push esi
call fcn.0042ed50
add esp, 4
test eax, eax
je 0x430be4
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x170]
test eax, eax
je 0x430b6a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
lea eax, [esp + 0x14]
mov ecx, edi
push eax
push ebx
push esi
call fcn.00430820
mov ebp, eax
test ebp, ebp
je 0x430be4
mov esi, dword [ebp + 0xbc]
mov ebx, dword [ebp + 0x3c]
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x430b98
mov ecx, edi
call fcn.00430a60
push 1
mov ecx, edi
call fcn.00430640
mov dword [edi + 0x40], 1
mov edx, dword [esi]
push 1
push 0
push 1
mov ecx, esi
call dword [edx + 0xbc]
mov eax, dword [esi]
push 1
push ebx
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x430bd8
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xac]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x430bf0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
cmp dword [edi + 4], 0x104
jne 0x430cac
mov eax, dword [edi + 0xc]
shr eax, 0x10
test ah, 0x20
je 0x430cac
call fcn.00430710
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x430cac
push 0
mov ecx, esi
call fcn.00430710
mov ecx, eax
call fcn.00496120
test eax, eax
jne 0x430cac
mov ecx, esi
call fcn.00430710
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x430c50
mov eax, dword [eax + 0x1c]
push eax
call fcn.00495dd0
add esp, 4
test eax, eax
je 0x430cac
cmp dword [edi + 8], 0x12
jne 0x430c77
push 1
mov ecx, esi
call fcn.00430640
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x430c8b
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
jne 0x430cac
mov eax, dword [edi + 8]
test eax, eax
je 0x430cac
push eax
mov ecx, esi
call fcn.00430a90
test eax, eax
je 0x430cac
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x105
je 0x430cbd
cmp eax, 0x101
jne 0x430ced
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x430ced
mov eax, dword [esi + 0xac]
test eax, eax
je 0x430ced
push 0
mov ecx, esi
call fcn.00430710
mov ecx, eax
call fcn.00496120
test eax, eax
jne 0x430ced
push eax
mov ecx, esi
call fcn.00430640
mov eax, dword [edi + 4]
cmp eax, 0x7b
je 0x430cfc
cmp eax, 0x105
jne 0x430d3e
push 0
mov ecx, esi
call fcn.00430710
mov ecx, eax
call fcn.00496120
test eax, eax
je 0x430d3e
push 0x4328c0
mov ecx, 0x6036a4
call fcn.00589078
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x7b
mov ecx, eax
call fcn.00496570
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
cmp dword [edi + 4], 0x20a
jne 0x430dfb
push 0x4328c0
mov ecx, 0x6036a4
call fcn.00589078
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jle 0x430d8d
push 0x4328c0
mov ecx, 0x6036a4
call fcn.00589078
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
push 0x20a
mov ecx, eax
call fcn.00496570
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
lea ecx, [esp + 0xc]
mov ebx, eax
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
test ebx, ebx
je 0x430dfb
cmp dword [ebx + 0xa0], 3
jne 0x430dfb
mov edx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edx
call fcn.0045c670
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
pop ebp
je 0x430dfb
mov edx, dword [edi + 8]
xor eax, eax
shr edx, 0x10
test dx, dx
setle al
push eax
mov ecx, ebx
call fcn.0046dcd0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
mov eax, dword [edi + 4]
cmp eax, 0x100
jb 0x430c6c
cmp eax, 0x108
ja 0x430c6c
push edi
mov ecx, esi
call fcn.0042f060
mov ecx, eax
call fcn.00433800
test eax, eax
je 0x430c6c
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20
ret 4
Function at 0x4344a0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x592b67
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x138]
push ebp
push esi
cmp ebx, 0x60
push edi
jb 0x4344e9
cmp ebx, 0x69
ja 0x4344e9
movsx eax, byte [esp + 0x140]
add ebx, 0xffffffd0
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
jmp 0x4346d9
push 2
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test al, al
je 0x4346b0
mov edx, dword [esp + 0x140]
push edx
call fcn.00434830
mov cl, byte [esp + 0x144]
add esp, 4
cmp cl, bl
mov byte [esp + 0x13], al
je 0x4346d4
cmp al, bl
je 0x4346d4
mov ebp, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor esi, esi
push esi
push esi
call ebp
mov edi, eax
cmp edi, 1
jl 0x4346b0
xor ebx, ebx
mov dword [esp + 0x18], 0x5aca30
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
cmp edi, esi
mov dword [esp + 0x138], esi
jne 0x43456b
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jmp 0x434592
lea eax, [edi*4]
push eax
call fcn.0056dbe7
add esp, 4
mov dword [esp + 0x1c], eax
push edi
push eax
call fcn.00476b00
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
push ebx
push edi
call ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x4345bd
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 1
jmp 0x4346a3
cmp edi, esi
mov dword [esp + 0x2c], esi
jle 0x434690
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
mov esi, ebx
mov dword [esp + 0x14], 0
mov edx, dword [esi]
push edx
mov edx, dword [esp + 0x148]
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push edx
call ebp
cmp eax, 1
jne 0x434621
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x4346b4
push eax
call fcn.00434830
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x4346b4
mov bl, byte [esp + 0x40]
mov byte [esp + 0x40], 0x81
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x148]
push 0
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push eax
call ebp
cmp eax, 1
jne 0x434672
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x4346f2
push eax
call fcn.00434830
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x4346f2
mov eax, dword [esp + 0x2c]
add esi, 4
inc eax
mov byte [esp + 0x40], bl
mov ebx, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x2c], eax
jl 0x4345d1
xor esi, esi
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x138], 4
cmp ebx, esi
je 0x4346b0
push ebx
call fcn.0056dc10
add esp, 4
xor eax, eax
jmp 0x4346d9
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
test ebx, ebx
mov dword [esp + 0x138], 2
je 0x4346d4
push ebx
call fcn.0056dc10
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
mov dword [esp + 0x18], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x138], 3
test eax, eax
je 0x4346d4
push eax
jmp 0x4346cc
Function at 0x4365e0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x592de6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov dword [esp + 0xc], 0
call fcn.00493980
mov ecx, eax
call fcn.00493a80
test al, al
jne 0x43662d
mov esi, dword [esp + 0x134]
push 0x600970
mov ecx, esi
call fcn.005726ca
jmp 0x4367c7
mov eax, dword [0x5eb854]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
mov dword [esp + 0x130], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4366af
lea edx, [esp + 0x10]
push edx
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x436696
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x436696
lea edx, [esp + 0x20]
lea ecx, [esp + 8]
push edx
call fcn.005727e5
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esp + 8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4366d6
mov esi, dword [esp + 0x134]
push 0x600970
mov ecx, esi
call fcn.005726ca
mov dword [esp + 0xc], ebx
jmp 0x4367b6
call fcn.00586f5e
mov esi, dword [eax + 4]
push 0x5e8da0
lea ecx, [esp + 0x18]
call fcn.005726ca
mov ecx, dword [esi + 0x78]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x138], 2
call fcn.005728f1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 3
call fcn.00572a74
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 2
call fcn.0057265c
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], bl
call fcn.0057265c
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x436757
test al, 0x10
jne 0x436770
mov esi, dword [esp + 0x134]
push 0x600970
mov ecx, esi
call fcn.005726ca
mov dword [esp + 0xc], ebx
jmp 0x4367b6
lea edx, [esp + 8]
push 0x5e8da0
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005728f1
mov ecx, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
push ecx
push eax
push esi
mov byte [esp + 0x138], 4
call fcn.0057288b
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x12c], bl
call fcn.0057265c
lea ecx, [esp + 8]
mov byte [esp + 0x12c], 0
call fcn.0057265c
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 8
Function at 0x436cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x592e8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [esp + 0xcc]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov esi, ecx
push 0x1000
push 1
push eax
lea ecx, [esp + 0x94]
call fcn.00576e6c
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.0049c880
mov edi, dword [esp + 0xdc]
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 1
mov dword [esp + 0x5c], edi
call fcn.00571eba
mov dword [esp + 0x2c], 0x5ac420
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc], 0x5acb80
mov dword [esp + 0x28], esi
mov edx, dword [esi]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 2
call dword [edx + 0x88]
test eax, eax
je 0x436d89
mov eax, dword [edi + 8]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x90]
lea ecx, [esp + 0x84]
call fcn.00576fd0
lea ecx, [esp + 0xc]
mov byte [esp + 0xd0], 1
call fcn.0048e8c0
lea ecx, [esp + 0x40]
mov byte [esp + 0xd0], bl
call fcn.0049b370
lea ecx, [esp + 0x84]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00576f48
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 8

Function at 0x439920
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
cmp esi, 8
mov edi, ecx
je 0x439965
cmp esi, 0x21
jb 0x43993a
cmp esi, 0x2e
jbe 0x439965
cmp esi, 0x43
je 0x43994e
cmp esi, 0x56
je 0x43994e
cmp esi, 0x58
je 0x43994e
cmp esi, 0x5a
jne 0x43995b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x439965
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x1c]
lea edx, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov ecx, edi
mov dword [esp + 0x10], 0x100
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
call fcn.00571b4f
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x1c
ret 8

Function at 0x439b80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x439b98
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov ebx, dword [esp + 0x28]
cmp ebx, 0x26
je 0x439bb0
cmp ebx, 0x28
je 0x439bb0
cmp ebx, 0x22
je 0x439bb0
cmp ebx, 0x21
jne 0x439bbd
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x439bc7
pop edi
xor eax, eax
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [edi + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
push 1
push eax
call esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
neg eax
sbb eax, eax
pop esi
pop edi
pop ebx
neg eax
add esp, 0x1c
ret 8