joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f0a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46f0b7
add esp, 0xfffffff0
call fcn.0040376c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f490
mov eax, dword [0x4b4cec]
cmp word [eax + 2], 0
jne 0x46f0df
mov eax, dword [0x4b4cec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00470778
mov eax, dword [0x4b4e4c]
cmp word [eax + 2], 0
jne 0x46f0f9
mov eax, dword [0x4b4e4c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00470970
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416210]
call fcn.00403418
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416210]
call fcn.00403418
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421acc]
call fcn.00429b80
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46f280
mov eax, dword [0x4b4b60]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429f50
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x470f20
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b4b60]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d4c4
test eax, eax
je 0x46f1ee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409418
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4ec
test eax, eax
je 0x46f202
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040448c
mov eax, dword [0x4b48e8]
cmp byte [eax], 0
jne 0x46f236
mov eax, ebx
call fcn.0046f3a8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004710fc
mov eax, ebx
call fcn.00471ac0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46f276
call fcn.004037c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f628
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b6bec]
cmp dword [eax + 0x30], 0
je 0x46f6d2
cmp dword [ebx + 0x94], 0
jne 0x46f6cc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46f5b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46f6cc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46f692
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46f6cc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004188c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46f6a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x470234
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x470269
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040430c
jmp 0x470276
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404270
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4712d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x471319
mov eax, esi
call fcn.00457484
test al, al
je 0x471319
mov eax, dword [ebx + 0x84]
call fcn.00457180
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x471319
push 0
mov eax, dword [ebx + 0x84]
call fcn.00457180
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x472fe4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x473244
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x473047
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00472aac
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cf58
cmp al, 1
jne 0x473047
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00472dc4
test al, al
je 0x4731d3
cmp dword [ebp - 8], 0
jge 0x473065
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00472aac
mov eax, dword [ebp - 0x210]
call fcn.004044f8
cmp ebx, eax
jge 0x4730af
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00472aac
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4b5090]
and eax, 0xff
bt dword [edx], eax
jae 0x4730af
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4730c3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00472fc0
cmp ebx, dword [ebp - 8]
je 0x4731c5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4730ef
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403644
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b20e4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4731b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403644
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b20e4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00457180
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403644
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b20e4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00457180
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4731b9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x473226
cmp dword [ebp - 8], 0
jge 0x4731de
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00472aac
mov eax, dword [ebp - 0x218]
call fcn.004044f8
cmp eax, dword [ebp - 8]
jg 0x473218
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00472aac
mov eax, dword [ebp - 0x21c]
call fcn.004044f8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00472fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47324b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404240
ret
Function at 0x48ee60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x48ee68
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48f05a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x48f070
mov eax, esi
call fcn.0048ccec
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404270
lea ecx, [ebp - 0x10]
mov edx, 0x48f084
mov eax, esi
call fcn.0048ccec
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404270
lea ecx, [ebp - 0x14]
mov edx, 0x48f09c
mov eax, esi
call fcn.0048ccec
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404270
lea ecx, [ebp - 0x18]
mov edx, 0x48f0b8
mov eax, esi
call fcn.0048ccec
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404270
lea ecx, [ebp - 0x1c]
mov edx, 0x48f0d4
mov eax, esi
call fcn.0048ccec
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404270
lea ecx, [ebp - 0x24]
mov edx, 0x48f0ec
mov eax, esi
call fcn.0048ccec
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408648
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408b90
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x48f104
mov eax, esi
call fcn.0048ccec
mov eax, dword [ebp - 0x28]
call fcn.00486434
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x48f114
mov eax, esi
call fcn.0048ccec
mov eax, dword [ebp - 0x2c]
call fcn.00486434
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48f12c
mov eax, esi
call fcn.0048ccec
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408b90
inc eax
je 0x48effd
lea ecx, [ebp - 0x34]
mov edx, 0x48f12c
mov eax, esi
call fcn.0048ccec
mov eax, dword [ebp - 0x34]
call fcn.00408b54
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a3c4
fstp qword [ebp - 0x3c]
wait
call fcn.0040a728
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x48f018
lea ecx, [ebp - 0x40]
mov edx, 0x48f12c
mov eax, esi
call fcn.0048ccec
mov eax, dword [ebp - 0x40]
call fcn.00486434
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x48f13c
mov eax, esi
call fcn.0048ccec
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f061
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404240
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404240
ret
Function at 0x495dec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x495e46
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00495ddc
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004850a0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00484ca0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495e4d
lea eax, [ebp - 4]
call fcn.0040421c
ret

Function at 0x499b9c
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.0040421c
test ebx, ebx
je 0x499c3d
mov al, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x499bd8
mov eax, ebx
call fcn.004046f8
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x499c49
mov eax, esi
mov edx, ebx
call fcn.00404270
jmp 0x499c49
mov eax, ebx
call fcn.004046f8
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x499c49
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
xor eax, eax
mov al, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
xor eax, eax
mov al, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
xor eax, eax
mov al, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
xor eax, eax
mov al, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x499c58
call fcn.00409ab8
jmp 0x499c49
mov eax, esi
mov edx, 0x499c6c
call fcn.00404270
add esp, 0x20
pop edi
pop esi
pop ebx
ret
Function at 0x4a76e4
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a77ef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.004046f8
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add edx, 2
lea eax, [ebp - 8]
call fcn.00404884
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00404750
push eax
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle
lea eax, [ebp - 8]
call fcn.00404750
mov edx, dword [ebp - 4]
mov byte [eax + edx], 0
lea eax, [ebp - 8]
call fcn.00404750
mov edx, dword [ebp - 4]
mov byte [eax + edx + 1], 0
mov eax, dword [ebp - 8]
cmp byte [eax], 0xff
jne 0x4a77bf
mov eax, dword [ebp - 8]
cmp byte [eax + 1], 0xfe
jne 0x4a77bf
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404884
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00404750
push eax
push 0xffffffffffffffff
lea eax, [ebp - 8]
call fcn.00404750
add eax, 2
push eax
push 0
push 0
call sub.kernel32.dll_WideCharToMultiByte_1
jmp 0x4a77c9
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.00404270
mov eax, dword [esi]
call fcn.004046f8
mov edx, eax
mov eax, esi
call fcn.00404414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a77f6
lea eax, [ebp - 8]
call fcn.0040421c
ret

Function at 0x4a845c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x4a8410
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a8490
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046e8
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4a860a
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0049a228
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0049a248
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4a85d6
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040448c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409290
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004083f8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004083f8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404644
je 0x4a85b0
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.0040448c
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004083f8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004083f8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404644
jne 0x4a85c7
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0049a268
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4a8511
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8611
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404240
lea eax, [ebp - 4]
call fcn.0040421c
ret

Function at 0x4a87f8
Capabilities:
Access peb ldr_data
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, 0x4b71b4
xor eax, eax
push ebp
push 0x4a88b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x44
call fcn.00402e34
mov dword [ebx], 0x44
mov dword [ebx + 0x2c], 0x101
xor eax, eax
mov dword [ebx + 0xc], eax
mov word [ebx + 0x30], 5
push 0x4b71a4
push ebx
lea edx, [ebp - 8]
mov eax, dword [0x4b7180]
mov eax, dword [eax + 0x398]
call fcn.0045084c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004091c8
mov eax, dword [ebp - 4]
call fcn.004046f8
push eax
push 0
push 8
push 0xffffffffffffffff
push 0
push 0
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x4b7180]
mov eax, dword [eax + 0x398]
call fcn.0045084c
mov eax, dword [ebp - 0xc]
call fcn.004046f8
push eax
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a88bf
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404240
lea eax, [ebp - 4]
call fcn.0040421c
ret
Function at 0x4a8980
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 9
call sub.user32.dll_MapVirtualKeyA
push eax
push 9
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 9
call sub.user32.dll_MapVirtualKeyA
push eax
push 9
call sub.user32.dll_keybd_event
ret

Function at 0x4a89ac
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0xd
call sub.user32.dll_MapVirtualKeyA
push eax
push 0xd
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0xd
call sub.user32.dll_MapVirtualKeyA
push eax
push 0xd
call sub.user32.dll_keybd_event
ret

Function at 0x4a8edc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046e8
xor eax, eax
push ebp
push 0x4a8f87
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408538
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004042b4
mov eax, dword [ebp - 4]
call fcn.004044f8
mov esi, eax
test esi, esi
jle 0x4a8f6c
mov edi, 1
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov bl, byte [eax + edi - 1]
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
push 0
push 2
push 0
mov eax, dword [ebp - 4]
mov bl, byte [eax + edi - 1]
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
push eax
push ebx
call sub.user32.dll_keybd_event
inc edi
dec esi
jne 0x4a8f2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8f8e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404240
ret
Function at 0x4aeeb8
Capabilities:
Log keystrokes

Disassembly:
push 0
push 0
push 0
push 0x2c
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x2c
call sub.user32.dll_keybd_event
push 0
push 2
push 0
push 0x2c
call sub.user32.dll_MapVirtualKeyA
push eax
push 0x2c
call sub.user32.dll_keybd_event
ret
Function at 0x405230
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a03b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047fd67
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4052b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004796df
mov eax, dword [eax]
push 0x4aebc0
push eax
call fcn.0046bd7a
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047fff2
test bl, bl
je 0x4052b2
push 0x4aebc0
lea ecx, [esp + 0xc]
call fcn.004803ce
push 0x4aebcc
lea ecx, [esp + 0xc]
call fcn.004803ce
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4052ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047fff2
jmp 0x4053b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x405372
lea edx, [esp + 0x7c]
push 0x4aebc8
push edx
call fcn.0046bd7a
add esp, 8
test eax, eax
je 0x405372
lea eax, [esp + 0x7c]
push 0x4aebc4
push eax
call fcn.0046bd7a
add esp, 8
test eax, eax
je 0x405372
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405302
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047fff2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406650
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4066b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4066c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a19b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b6bf0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4067f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406726
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047fff2
xor eax, eax
jmp 0x40686f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048017b
push esi
lea ecx, [esp + 0xc]
call fcn.0048040a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40684d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00406650
test eax, eax
jne 0x40684d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00406650
test eax, eax
jne 0x40684d
lea eax, [esp + 0x14]
push 0x4aebe4
push eax
call fcn.0046c2b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40682c
lea ecx, [esp + 0x14]
push 0x4aebe0
push ecx
call fcn.0046c230
mov esi, eax
add esp, 8
test esi, esi
jne 0x40682c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40682f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048012b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40673e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047fff2
xor eax, eax
jmp 0x40686f
mov byte [esi], 0
push 0x4aebdc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047fff2
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4