joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7240
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
mov eax, ecx
push esi
cmp eax, 0x3e8
jl 0x4a72bc
imul ecx, dword [0x52331c], 0x168
add ecx, 0x523384
push dword [ecx + 0x154]
push dword [ecx + 0x150]
push eax
call fcn.004c2210
mov eax, dword [0x52331c]
imul esi, eax, 0x168
add esi, 0x5234d4
mov ecx, dword [esi]
test ecx, ecx
je 0x4a7297
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
mov eax, dword [0x52331c]
imul esi, eax, 0x168
add esi, 0x5234d8
mov ecx, dword [esi]
test ecx, ecx
je 0x4a72b5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
mov al, 1
pop esi
add esp, 8
ret
cmp eax, 0x21c
jg 0x4a734f
je 0x4a7331
add eax, 0xffffff9b
cmp eax, 4
ja case.0x4a7364.553
jmp dword [eax*4 + 0x4a74fc]
push str._.
call fcn.004afdb0
mov al, 1
pop esi
add esp, 8
ret
push str.CRC32
call fcn.004afdb0
mov al, 1
pop esi
add esp, 8
ret
push str.CRC64
call fcn.004afdb0
mov al, 1
pop esi
add esp, 8
ret
push str.SHA1
call fcn.004afdb0
mov al, 1
pop esi
add esp, 8
ret
push str.SHA256
call fcn.004afdb0
mov al, 1
pop esi
add esp, 8
ret
push 1
imul ecx, dword [0x52331c], 0x168
add ecx, 0x523384
call fcn.004bd1a0
mov al, 1
pop esi
add esp, 8
ret
add eax, 0xfffffde3
cmp eax, 0x32
ja case.0x4a7364.553
movzx eax, byte [eax + 0x4a7560]
jmp dword [eax*4 + 0x4a7510]
push 0
call fcn.004a5dc0
mov al, 1
pop esi
add esp, 8
ret
push 0x501150
call fcn.004a5dc0
mov al, 1
pop esi
add esp, 8
ret
push 0x502294
call fcn.004a5dc0
mov al, 1
pop esi
add esp, 8
ret
push 0
jmp 0x4a7333
push 0
imul ecx, dword [0x52331c], 0x168
add ecx, 0x523384
call fcn.004bcf80
mov al, 1
pop esi
add esp, 8
ret
push 1
jmp 0x4a73a1
call fcn.004a5e30
mov al, 1
pop esi
add esp, 8
ret
push dword [0x52331c]
mov ecx, 0x523310
push 0
push 0
call fcn.0048e070
mov al, 1
pop esi
add esp, 8
ret
push dword [0x52331c]
mov ecx, 0x523310
push 0
push 1
call fcn.0048e070
mov al, 1
pop esi
add esp, 8
ret
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
imul ecx, dword [0x52331c], 0x168
shr eax, 0xf
not al
and al, 1
mov byte [esp + 4], al
push dword [esp + 4]
add ecx, 0x523384
call fcn.004c2a40
mov al, 1
pop esi
add esp, 8
ret
call fcn.004b7950
mov al, 1
pop esi
add esp, 8
ret
call fcn.004c5fd0
mov al, 1
pop esi
add esp, 8
ret
call fcn.004c6f80
mov al, 1
pop esi
add esp, 8
ret
imul ecx, dword [0x52331c], 0x168
add ecx, 0x523384
call fcn.004c0170
mov al, 1
pop esi
add esp, 8
ret
imul ecx, dword [0x52331c], 0x168
add ecx, 0x523384
call fcn.004c3d50
mov al, 1
pop esi
add esp, 8
ret
imul ecx, dword [0x52331c], 0x168
add ecx, 0x523384
call fcn.004c3570
mov al, 1
pop esi
add esp, 8
ret
imul ecx, dword [0x52331c], 0x168
add ecx, 0x523384
call fcn.004c3920
mov al, 1
pop esi
add esp, 8
ret
call fcn.004a3510
mov al, 1
pop esi
add esp, 8
ret
imul ecx, dword [0x52331c], 0x168
add ecx, 0x523384
call fcn.004b5810
mov al, 1
pop esi
add esp, 8
ret
xor al, al
pop esi
add esp, 8
ret
Function at 0x4ab0c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov edi, dword [esp + 0x18]
sub eax, 0x100
je 0x4ab177
sub eax, 2
je 0x4ab14c
sub eax, 2
jne 0x4ab15a
lea eax, [edi - 0x70]
cmp eax, 1
mov eax, dword [esp + 0x1c]
ja 0x4ab15e
test eax, 0x20000000
je 0x4ab15e
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
movzx ebx, ax
push 0x11
shr ebx, 0xf
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x10
mov dword [esp + 0x1c], eax
call esi
shr eax, 0xf
and al, 1
and bl, 1
je 0x4ab15a
cmp byte [esp + 0x18], 0
jne 0x4ab15a
test al, al
jne 0x4ab15a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
xor eax, eax
cmp edi, 0x70
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
cmp edi, 9
je 0x4ab1d8
cmp edi, 0x1b
je 0x4ab1d8
mov eax, dword [esp + 0x1c]
push eax
push edi
push dword [esp + 0x1c]
push dword [ebp]
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
cmp edi, 9
je 0x4ab1cc
cmp edi, 0x78
jne 0x4ab15a
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
movzx ebx, ax
push 0x11
shr ebx, 0xf
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x10
mov dword [esp + 0x1c], eax
call esi
shr eax, 0xf
and al, 1
and bl, 1
jne 0x4ab15a
cmp byte [esp + 0x18], bl
jne 0x4ab15a
test al, al
jne 0x4ab15a
mov ecx, 0x523310
call fcn.0048d300
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [ebp + 8]
push dword [eax + 0x68]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
Function at 0x4abf50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f5e08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0xc4], 0
sete al
cmp dword [esi + 0xd8], 0
mov byte [esi + 0xc4], al
jbe 0x4abfa2
mov byte [esi + 0xc6], al
jmp 0x4abfa8
mov byte [esi + 0xc5], al
lea ecx, [esp + 0xc]
call fcn.0048c0c0
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 0
push eax
mov ecx, esi
call fcn.004bc0b0
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.004bc220
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.00410a70
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004df96c
add esp, 0x34
ret
Function at 0x4aecd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f64f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0x14], 0
push eax
movq qword [esp + 0x10], xmm0
call fcn.00412780
mov dword [esp + 0x28], 0
cmp dword [edi + 0x27c], 0
je 0x4aed85
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4aed75
cmp dword [esp + 0x14], edx
jne 0x4aed5b
mov eax, edx
lea ecx, [esp + 0xc]
shr eax, 1
add edx, 0x10
add eax, edx
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, 0x20
mov word [ecx + edx*2], ax
lea eax, [edx + 1]
xor edx, edx
mov dword [esp + 0x10], eax
mov word [ecx + eax*2], dx
lea eax, [edi + 0x278]
push eax
lea ecx, [esp + 0x10]
call fcn.00412bd0
lea esi, [edi + 0x1e4]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
mov byte [esp + 0x28], 1
push eax
lea ecx, [edi + 0x18c]
call fcn.004128e0
push esi
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x28], 0xffffffff
push dword [esp + 0xc]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004df96c
add esp, 0x20
ret 4

Function at 0x4afdb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6678
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push dword [esp + 0x34]
lea ecx, [esp + 0x10]
call fcn.00412700
push eax
mov dword [esp + 0x30], 0
call fcn.004af790
mov dword [esp + 0x2c], 0xffffffff
mov edi, eax
push dword [esp + 0xc]
call fcn.004df97b
add esp, 4
test edi, edi
je 0x4afe4b
cmp edi, 0x80004004
je 0x4afe4b
imul esi, dword [0x52331c], 0x168
lea ecx, [esp + 0x18]
mov edx, edi
add esi, 0x523384
call fcn.004ab990
push 0x10
push 0x502ee0
push dword [eax]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x18]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 4
Function at 0x4b0530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6716
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x3c]
mov dword [esp + 0x14], 1
call fcn.00410a70
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x4b0575
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [esp + 0x14], 0
push dword [esi + 0x20]
call fcn.004df97b
mov dword [esp + 0x18], 0xffffffff
push dword [esi + 0x14]
call fcn.004df97b
push esi
call fcn.004df97b
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4b1570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f6860
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, edx
mov esi, ecx
mov ecx, ebp
call fcn.00410ab0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
push ecx
mov eax, 0xf
mov dword [esp + 0x30], 1
mov word [esp + 0x28], ax
lea ecx, [esp + 0x28]
mov eax, dword [esi]
push ecx
push esi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 1
call dword [eax + 0xc]
test eax, eax
jne 0x4b1661
cmp dword [esp + 0x18], 1
jne 0x4b1661
mov dword [esp + 0x50], eax
mov esi, dword [esp + 0x1c]
push esi
mov dword [esp + 0x44], esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, dword [esp + 0x1c]
xorps xmm0, xmm0
movq qword [esp + 0x38], xmm0
mov edi, eax
push ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x50], 1
test eax, eax
je 0x4b1656
mov ecx, dword [eax]
cmp edi, ecx
jb 0x4b164f
sub edi, ecx
add ecx, eax
cmp dword [eax + 0x10], 0
push ebp
je 0x4b1648
shr edi, 1
mov edx, edi
call fcn.004b12e0
jmp 0x4b164f
mov edx, edi
call fcn.004b1420
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
je 0x4b1661
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004df96c
add esp, 0x40
ret
Function at 0x4b1f70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f690b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x20], xmm0
push 8
mov dword [esp + 0x24], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b1fe6
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 3
mov dword [esp + 0x244], 0
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2c]
push eax
push 0x105
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
call fcn.00412850
lea eax, [esi - 1]
mov esi, dword [esp + 0x20]
cmp eax, 0x103
ja 0x4b2075
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b2075
cmp dword [edi + 4], eax
jb 0x4b2075
push eax
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00452930
mov edx, esi
mov ecx, dword [eax]
call fcn.00413f10
push dword [esp + 0x14]
test eax, eax
sete bl
call fcn.004df97b
add esp, 4
jmp 0x4b2077
xor bl, bl
push esi
mov dword [esp + 0x248], 0xffffffff
call fcn.004df97b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004df96c
add esp, 0x238
ret
Function at 0x4b20c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f694b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
push 8
mov dword [esp + 0x1c], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b2137
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 3
mov dword [esp + 0x248], 0
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [esp + 0x30], ax
lea eax, [esp + 0x30]
push eax
push 0x105
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x30]
push eax
call fcn.00412850
lea eax, [esi - 1]
cmp eax, 0x103
jbe 0x4b2190
xor bl, bl
jmp 0x4b21e4
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x24]
push eax
movq qword [esp + 0x28], xmm0
call fcn.00412780
cmp dword [esp + 0x28], 0
mov ebp, dword [esp + 0x24]
je 0x4b21d9
xor esi, esi
cmp dword [edi + 4], esi
jbe 0x4b21d9
mov eax, dword [edi]
mov edx, ebp
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx]
call fcn.00411a00
test al, al
jne 0x4b2225
inc esi
cmp esi, dword [edi + 4]
jb 0x4b21c1
xor bl, bl
push ebp
call fcn.004df97b
add esp, 4
mov dword [esp + 0x248], 0xffffffff
push dword [esp + 0x18]
call fcn.004df97b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004df96c
add esp, 0x238
ret
mov bl, 1
jmp 0x4b21db

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

Disassembly:
push 0xffffffffffffffff
push 0x4f4298
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
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 + 4], 0
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CListViewDialog.0
mov dword [esi + 8], 0
push 8
mov dword [esi + 0xc], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b244e
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esi + 0xc], eax
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 3
mov word [eax], cx
mov eax, esi
mov word [esi + 0x18], cx
mov byte [esi + 0x1a], cl
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4b4010
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4f6bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x340]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.004b3e50
mov esi, dword [ebp + 0x34]
add esi, 0x24
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [ebp + 0xc8]
mov dword [esp + 0x348], 0
mov edx, ebx
lea ecx, [esi + 0x18]
call fcn.0048f330
cmp dword [esi + 0x1c], 0x64
jbe 0x4b408d
push ecx
lea ecx, [esi + 0x18]
call fcn.0048f3b0
push esi
mov dword [esp + 0x34c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx]
push dword [ebp + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
push ebx
lea ecx, [esp + 0x1c]
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], 0
call fcn.00412780
mov dword [esp + 0x348], 1
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp ecx, 3
jbe 0x4b40ff
movzx edx, word [edi + ecx*2 - 2]
cmp edx, 0x5c
je 0x4b40f4
cmp edx, 0x2f
jne 0x4b40ff
dec ecx
xor eax, eax
mov dword [esp + 0x1c], ecx
mov word [edi + ecx*2], ax
mov ebx, 0x10
mov esi, edi
mov ecx, 0x5c
mov edx, 0x505e66
movzx eax, word [esi]
lea esi, [esi + 2]
cmp ax, cx
jne 0x4b413a
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4b4110
push str._TestFolder_
lea ecx, [esp + 0x1c]
call fcn.00412a60
mov edi, dword [esp + 0x18]
jmp 0x4b4170
lea ecx, [esp + 0x4c]
call fcn.00417b20
push edi
lea ecx, [esp + 0x50]
mov byte [esp + 0x34c], 2
call fcn.00419180
test al, al
cmovne ebx, dword [esp + 0x6c]
mov byte [esp + 0x348], 1
push dword [esp + 0x74]
call fcn.004df97b
add esp, 4
push 0x4010
push 0x2b4
lea eax, [esp + 0x8c]
or ebx, 0x80
push eax
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
or ecx, 0xffffffff
test eax, eax
cmovne ecx, dword [esp + 0x88]
mov dword [esp + 0x38], ecx
test ecx, ecx
js 0x4b41ae
or dword [esp + 0x28], 6
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0xffffffff
push eax
push 0
push 0x40c
push dword [ebp + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x3c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x20]
push edi
mov dword [esp + 0x34c], 0xffffffff
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x340]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.004df96c
add esp, 0x338
ret
Function at 0x4b5aa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f6e46
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [section..data]
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 + 4], 0
mov dword [esi], vtable.CVirtFileSystem.0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esp + 0x18], 1
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
push 8
mov dword [esi + 0x38], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b5b3d
mov byte [esp + 0xb], al
lea eax, [esp + 0xb]
push 0x51c2c8
push eax
call fcn.004ea58e
mov dword [esi + 0x38], eax
xor ecx, ecx
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x4b5f70
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4f6f86
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0043d460
push 0
push 2
mov dword [esp + 0x26c], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x28], esi
cmp esi, 0xffffffff
je 0x4b60b2
push 8
mov dword [esp + 0x20], 0
call fcn.004df9b3
mov edi, eax
add esp, 4
test edi, edi
jne 0x4b6000
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 0x51c2c8
push eax
call fcn.004ea58e
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 3
mov word [edi], ax
push 0x22c
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x26c], 1
push eax
call fcn.004e3fe0
add esp, 0xc
mov dword [esp + 0x2c], 0x22c
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4b60a1
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea esp, [esp]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
push eax
call fcn.00412850
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.004bae00
lea eax, [esp + 0x2c]
push eax
push esi
call edi
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b6060
mov edi, dword [esp + 0x1c]
push edi
mov byte [esp + 0x268], 0
call fcn.004df97b
add esp, 4
mov dword [esp + 0x264], 0xffffffff
cmp esi, 0xffffffff
je 0x4b60c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004df96c
add esp, 0x258
ret
Function at 0x4b76e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f72f1
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov bl, dl
mov ebp, ecx
mov eax, dword [esp + 0x264]
xorps xmm0, xmm0
mov edi, dword [esp + 0x260]
movq qword [esp + 0x34], xmm0
push 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b776b
mov byte [esp + 0x16], al
lea eax, [esp + 0x16]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 3
mov word [eax], cx
mov dword [esp + 0x258], ecx
lea edx, [esp + 0x34]
mov cl, bl
call fcn.004cd3e0
cmp dword [esp + 0x38], 0
jne 0x4b7881
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
movq qword [esp + 0x28], xmm0
push 8
mov dword [esp + 0x2c], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4b77db
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 3
mov word [eax], cx
xor eax, eax
mov byte [esp + 0x258], 1
mov word [esp + 0x40], ax
lea eax, [esp + 0x40]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x40]
push eax
call fcn.00412850
lea eax, [esi - 1]
cmp eax, 0x103
jbe 0x4b7848
mov byte [esp + 0x258], 0
push dword [esp + 0x28]
call fcn.004df97b
add esp, 4
xor esi, esi
jmp 0x4b7906
lea ecx, [esp + 0x28]
call fcn.0041b210
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
call fcn.004128e0
push str.notepad.exe
lea ecx, [esp + 0x38]
call fcn.00412c30
mov byte [esp + 0x258], 0
push dword [esp + 0x28]
call fcn.004df97b
add esp, 4
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 2
call fcn.004109c0
push dword [esp + 0x18]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x38]
call fcn.004b7460
mov esi, eax
test esi, esi
je 0x4b78fd
mov edx, 0xbc3
lea ecx, [esp + 0x1c]
call fcn.004a1ed0
push 0x10
push 0x502ee0
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x1c]
call fcn.004df97b
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00410a70
mov dword [esp + 0x258], 0xffffffff
push dword [esp + 0x34]
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004df96c
add esp, 0x248
ret 8