joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482811
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x499780]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00479ff5
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00479ff5
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x482888
cmp word [ecx], dx
je 0x482888
mov eax, dword [0x4901b4]
push edi
dec eax
push eax
push 0x4900a0
call fcn.004827b0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4828fb
cmp word [eax], dx
je 0x4828fb
mov eax, dword [edi]
test eax, eax
je 0x4828ac
cmp word [eax], dx
je 0x4828ac
lea eax, [ebp - 0x10]
push eax
call fcn.00482193
jmp 0x4828b5
lea eax, [ebp - 0x10]
push eax
call fcn.0048222e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x482925
mov eax, dword [0x49009c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x48fd90
call fcn.004827b0
add esp, 0xc
test al, al
je 0x482925
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4828f0
cmp word [eax], di
je 0x4828f0
lea eax, [ebp - 0x10]
push eax
call fcn.00482193
pop ecx
jmp 0x482927
lea eax, [ebp - 0x10]
push eax
call fcn.0048222e
jmp 0x4828ed
mov eax, dword [edi]
test eax, eax
je 0x482912
cmp word [eax], dx
je 0x482912
lea eax, [ebp - 0x10]
push eax
call fcn.00482148
pop ecx
jmp 0x482925
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4829f0
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00482635
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4829f0
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4829f0
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4829f0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x48297d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00478c97
test ebx, ebx
je 0x4829eb
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00478c97
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4829f0
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4829f0
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0046a38f
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4829f2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464a05
leave
ret
Function at 0x487b05
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00487a81
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x487c74
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x487c74
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x487c29
jg 0x487b61
test eax, eax
je 0x487c1f
push 1
push 0x1000
call fcn.004785c3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x487b84
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x487c16
push 0x8000
push ebx
call fcn.0047487e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x487bad
jg 0x487ba8
cmp ecx, 0x1000
jb 0x487bad
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0047c4eb
add esp, 0x10
cmp eax, 0xffffffff
je 0x487bf2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x487ba8
jl 0x487bd9
test ecx, ecx
jne 0x487b9a
push dword [ebp - 0xc]
push ebx
call fcn.0047487e
push esi
call fcn.004779b2
add esp, 0xc
xor ebx, ebx
jmp 0x487c82
cmp byte [edi + 0x24], 0
je 0x487c09
cmp dword [edi + 0x20], 5
jne 0x487c09
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x487c14
mov ebx, dword [edi + 0x18]
jmp 0x487c16
xor ebx, ebx
push esi
call fcn.004779b2
pop ecx
jmp 0x487c82
test ecx, ecx
jg 0x487beb
jl 0x487c29
test eax, eax
jae 0x487beb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0047d541
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x487c49
cmp byte [edi + 0x1c], 0
je 0x487beb
jmp 0x487c7a
push ebx
call fcn.0048060b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x487beb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x487c82
cmp byte [edi + 0x1c], 0
je 0x487c7f
mov ebx, dword [edi + 0x18]
jmp 0x487c82
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0047d541
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x488fe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48900d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48900d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6a883168
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..7LWLf
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7bb562b5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10001e1b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x47c1ece
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x10004b1b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10004b3d
mov eax, 0xfffffffd
jmp 0x10004c0f
cmp dword [0x47ed3e9], 0
je 0x10004be8
cmp dword [0x47ed3e5], 5
jl 0x10004b6b
cmp dword [0x47ed3e5], 7
jg 0x10004b6b
mov eax, 1
jmp 0x10004b70
mov eax, 0
test eax, eax
jne 0x10004b89
cmp dword [0x47ed3e5], 0xfffffffb
je 0x10004b89
xor eax, eax
jmp 0x10004b8e
mov eax, 1
test eax, eax
je 0x10004bba
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10004ba3
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
cmp dword [0x47ed3e9], 0
jne 0x10004c05
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10004c0f
mov esp, ebp
pop ebp
ret 4

Function at 0x100067f8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10001e1b
test eax, eax
je 0x1000683b
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x1000683b
cmp word [eax], 0x5a4d
jne 0x1000683b
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x1000683b
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10001eed
mov eax, dword [ebp + 8]
jmp 0x10006854
mov esp, ebp
pop ebp
ret 4

Function at 0x10008785
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x1000878f
add dword [esp], 5
retf

Function at 0x1000894b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x10008955
add dword [esp], 5
retf
Function at 0x100089de
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor eax, eax
cmp word [ecx], 0x5a4d
jne 0x10008a5e
dec esp
arpl word [ecx + 0x3c], ax
dec ecx
add eax, ecx
inc ecx
cmp dword [eax], 0x4550
jne 0x10008a5e
inc ebp
mov eax, dword [eax + 0x88]
inc ebp
test eax, eax
je 0x10008a5e
dec edx
lea edi, [ecx + eax]
inc esp
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
test esi, esi
dec esi
lea edx, [ecx + eax]
je 0x10008a5e
movzx ebx, byte [edx]
inc ebp
xor ebx, ebx
inc ebp
mov ecx, dword [edx]
dec ecx
add ecx, ecx
inc ecx
cmp byte [ecx], bl
jne 0x10008a4f
test bl, bl
je 0x10008a62
dec eax
mov eax, edx
jmp 0x10008a3b
inc ebp
test al, al
je 0x10008a62
dec eax
add eax, 1
dec ecx
mov eax, eax
dec ecx
sub eax, edx
inc edi
movzx eax, byte [eax + ecx]
inc esp
cmp al, byte [eax]
je 0x10008a36
inc ecx
add ebx, 1
dec ecx
add edx, 4
inc ecx
cmp ebx, esi
jne 0x10008a22
xor eax, eax
pop ebx
pop esi
pop edi
ret
inc esp
cmp esi, ebx
je 0x10008a5c
mov edx, dword [edi + 0x24]
dec esi
lea eax, [ecx + ebx*2]
mov eax, dword [edi + 0x1c]
inc ecx
movzx edx, word [eax + edx]
dec eax
lea edx, [ecx + edx*4]
mov eax, dword [edx + eax]
dec eax
add eax, ecx
pop ebx
pop esi
pop edi
ret

Function at 0x10008a94
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x10008a9e
add dword [esp], 5
retf

Function at 0x1000b1d3
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x1000b1dd
add dword [esp], 5
retf

Function at 0x100119fd
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x10011a07
add dword [esp], 5
retf

Function at 0x10011df6
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x10011e00
add dword [esp], 5
retf

Function at 0x1001a4c7
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret
Function at 0x401000
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [esp + 0xe], 8
call dword [sym.imp.user32.dll_GetKeyboardState]
call fcn.004023d8
sub ecx, edx
call fcn.00403680
mov ebx, 0x7eff
inc ebx
call dword [fcn.0040365c]
add byte [eax], al
add byte [eax], al
mov bl, 0x31
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi + 0x4032], dh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x36], ah
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
jmp 0x5a1285

Function at 0x4023d8
Capabilities:
Terminate process

Disassembly:
mov edx, eax
xor edi, edi
xor esi, esi
push dword [0x403657]
call dword [sym.imp.winmm.dll_waveInClose]
add eax, 5
inc eax
test eax, 0xb
jne 0x402401
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401037], eax
ret
Function at 0x40c1f0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d53c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x6fe068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0x6e2c70
mov dword [ebp - 0xa4], vtable.CVolObject.0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xa4], vtable.CVolMem.0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x8c], 0x40
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov ecx, dword [edx + 0x14]
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x3c], 0x67452301
mov dword [ebp - 0x38], 0xefcdab89
mov dword [ebp - 0x34], 0x98badcfe
mov dword [ebp - 0x30], 0x10325476
mov dword [ebp - 0x2c], 0xc3d2e1f0
test ecx, ecx
jne 0x40c2dd
xor eax, eax
jmp 0x40c2e0
mov eax, dword [edx + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.0045bfc0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.0045c1b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
inc eax
push eax
push ecx
lea ecx, [ebp - 0xc4]
call fcn.0040c740
mov edi, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0x44]
cmp eax, fcn.00401060
je 0x40c33a
lea ecx, [ebp - 0xa4]
call eax
push edi
lea ecx, [ebp - 0xa4]
call fcn.0040b5f0
mov byte [ebp - 4], 3
mov dword [ebp - 0xc4], vtable.CVolMem.0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x40c387
mov eax, dword [ebp - 0xc4]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolRefObject.virtual_12
jne 0x40c37f
mov ecx, 0x7033a8
call fcn.0044d390
jmp 0x40c387
lea ecx, [ebp - 0xc4]
call eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xa4]
mov ecx, esi
mov dword [ebp - 0xc4], vtable.CVolObject.0
call fcn.00445ec0
mov dword [ebp - 0xa8], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040c8e0
mov byte [ebp - 4], 0
mov dword [ebp - 0xa4], vtable.CVolMem.0
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x98]
test edx, edx
je 0x40c41a
mov eax, dword [ebp - 0xa4]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolRefObject.virtual_12
jne 0x40c412
mov ecx, 0x7033a8
call fcn.0044d390
jmp 0x40c41a
lea ecx, [ebp - 0xa4]
call eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0xa4], vtable.CVolObject.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae58b
mov esp, ebp
pop ebp
ret
Function at 0x40c470
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5456
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6fe068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0x6e2c70
mov dword [ebp - 0xb4], vtable.CVolObject.0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xb4], vtable.CVolMem.0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x9c], 0x40
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov ecx, dword [edx + 0x14]
movlpd qword [ebp - 0x98], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x4c], 0x6a09e667
mov dword [ebp - 0x48], 0xbb67ae85
mov dword [ebp - 0x44], 0x3c6ef372
mov dword [ebp - 0x40], 0xa54ff53a
mov dword [ebp - 0x3c], 0x510e527f
mov dword [ebp - 0x38], 0x9b05688c
mov dword [ebp - 0x34], 0x1f83d9ab
mov dword [ebp - 0x30], 0x5be0cd19
test ecx, ecx
jne 0x40c575
xor eax, eax
jmp 0x40c578
mov eax, dword [edx + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.0045ea40
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x98]
call fcn.0045ec30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
inc eax
push eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.0040c740
mov edi, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 0x44]
cmp eax, fcn.00401060
je 0x40c5d2
lea ecx, [ebp - 0xb4]
call eax
push edi
lea ecx, [ebp - 0xb4]
call fcn.0040b5f0
mov byte [ebp - 4], 3
mov dword [ebp - 0xd4], vtable.CVolMem.0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
je 0x40c61f
mov eax, dword [ebp - 0xd4]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolRefObject.virtual_12
jne 0x40c617
mov ecx, 0x7033a8
call fcn.0044d390
jmp 0x40c61f
lea ecx, [ebp - 0xd4]
call eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 3
lea edx, [ebp - 0xb4]
mov ecx, esi
mov dword [ebp - 0xd4], vtable.CVolObject.0
call fcn.00445ec0
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040c8e0
mov byte [ebp - 4], 0
mov dword [ebp - 0xb4], vtable.CVolMem.0
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0xa8]
test edx, edx
je 0x40c6b2
mov eax, dword [ebp - 0xb4]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CVolRefObject.virtual_12
jne 0x40c6aa
mov ecx, 0x7033a8
call fcn.0044d390
jmp 0x40c6b2
lea ecx, [ebp - 0xb4]
call eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0xb4], vtable.CVolObject.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae58b
mov esp, ebp
pop ebp
ret
Function at 0x40cc90
Capabilities:
Create directory

Disassembly:
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x40cca4
cmp dword [ecx + 0x24], eax
mov eax, 0x6e2dcc
je 0x40cca4
mov eax, dword [ecx + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
ret

Function at 0x40d5a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5792
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x6fe068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x44c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x450], esi
push 0
push eax
mov dword [ebp - 0x448], 0
call fcn.004b0540
push 0x228
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004b0540
add esp, 0x18
mov dword [ebp - 0x444], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40d63a
push 0x6e2cdb
mov ecx, esi
call fcn.0040bdd0
jmp 0x40d6b1
lea eax, [ebp - 0x444]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40d688
nop dword [eax]
cmp dword [ebp - 0x43c], ebx
je 0x40d66c
lea eax, [ebp - 0x444]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40d650
jmp 0x40d688
xor ecx, ecx
nop
movzx eax, word [ebp + ecx - 0x420]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x40d670
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0040af80
mov dword [ebp - 4], 1
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [esi], vtable.CWString.0
call fcn.0044de00
mov dword [ebp - 4], 0
mov dword [ebp - 0x448], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae58b
mov esp, ebp
pop ebp
ret

Function at 0x40d6e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x6fe068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x40d754
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004b0540
add esp, 0xc
mov dword [ebp - 0x808], 0
lea eax, [ebp - 0x808]
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x40d754
mov ecx, dword [ebp - 0x808]
xor eax, eax
shr ecx, 2
test ecx, ecx
je 0x40d754
cmp dword [ebp + eax*4 - 0x804], esi
je 0x40d765
inc eax
cmp eax, ecx
jb 0x40d746
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae58b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004ae58b
mov esp, ebp
pop ebp
ret
Function at 0x40d780
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
lea eax, [ebp - 4]
push 0
push 5
push 2
push 1
push eax
push 0
mov dword [ebp - 4], 0
call esi
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40d7ae
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push eax
call fcn.004b29bc
add esp, 4
xor edi, edi
mov ebx, eax
lea eax, [ebp - 4]
push edi
push 5
push 2
push 1
push eax
push ebx
call esi
test eax, eax
jne 0x40d82b
test ebx, ebx
je 0x40d838
mov eax, dword [ebx]
test eax, eax
je 0x40d838
xor esi, esi
test eax, eax
je 0x40d838
lea edi, [ebx + 0xc]
movzx eax, word [edi]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x5a66
cmp ax, cx
je 0x40d812
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jb 0x40d7e2
push ebx
xor edi, edi
call fcn.004b29a1
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + esi*2]
mov edi, dword [ebx + eax*8 + 0x18]
push ebx
call fcn.004b29a1
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x7a
je 0x40d7fe
xor ecx, ecx
cmp eax, 0x57
cmove edi, ecx
push ebx
call fcn.004b29a1
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret