joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100080b0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x1000e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x424
lea eax, [ebp - 0x42c]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x430], 0x428
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x430]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
mov edi, eax
test edi, edi
je 0x10008132
nop dword [eax]
mov ecx, dword [ebp - 0x414]
cmp ecx, dword [0x1000e6b4]
je 0x10008132
lea eax, [ebp - 0x430]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
mov edi, eax
test edi, edi
jne 0x10008110
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x10008150
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
ret
mov edx, 0x208
lea eax, [ebp - 0x210]
nop dword [eax + eax]
cmp word [eax], 0
je 0x1000816e
add eax, 2
sub edx, 1
jne 0x10008160
mov ecx, edx
mov eax, 0x208
sub eax, edx
neg ecx
sbb ecx, ecx
and ecx, eax
neg edx
sbb edx, edx
and edx, ecx
lea ecx, [ebp - 0x210]
lea ecx, [ecx + edx*2]
nop dword [eax]
mov ax, word [ecx]
lea ecx, [ecx - 2]
cmp ax, 0x5c
jne 0x10008190
xor eax, eax
lea edx, [ebp - 0x210]
mov word [ecx + 4], ax
sub edx, esi
mov ecx, 0x208
nop
lea eax, [ecx + 0x7ffffdf6]
test eax, eax
je 0x100081ce
movzx eax, word [edx + esi]
test ax, ax
je 0x100081ce
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x100081b0
test ecx, ecx
lea eax, [esi - 2]
pop edi
cmovne eax, esi
xor ecx, ecx
pop esi
pop ebx
mov word [eax], cx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
ret
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40153f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x134]
sub esp, 0x154
mov dword [ebp - 0x134], 0
mov dword [esp], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x118], 6
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea ebx, [ebp - 0x10c]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x40162d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040153f
test eax, eax
jne 0x4016c7
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40215e
sub eax, 0x4016fc
mov dword [esp], 0x4016fc
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4016c7
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401442
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014c9
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401e61
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x44a810
Capabilities:
Get common file path

Disassembly:
sub esp, 0x23c
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jbe 0x44a82f
xor eax, eax
mov ecx, dword [esp + 0x240]
lea edx, [esp + eax*2]
push ecx
push str._s.dll
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add esp, 0x23c
ret 4

Function at 0x49c6bb
Capabilities:
Encode data using xor

Disassembly:
pop esp
xchg ecx, eax
mov ebp, 0x8d524eb4
and dword [esi - 0x68d3b92b], edi
push ss
push edx
sal byte [ebx + ebx*4 - 0x76], cl
xor esi, edx
out 0xa1, al
rcl byte [edx], 0x62
adc al, 0x33
aad 0x18
in al, 0x92
cmp al, 0xce
insb byte es:[edi], dx
xor ch, byte [eax + 0x3f9f3145]
call 0x828c47e2
mov al, 0x80
xor bh, byte [edi + 0x20580a6f]
mov dh, 0xfc
bnd js 0x49c6c9
inc esi
in eax, dx
jmp 0xe43a0e3d

Function at 0x4e735e
Capabilities:
Encode data using xor

Disassembly:
dec ecx
mov bl, 0xcc
pop ebx
in al, dx
sahf
xor esi, dword [edi - 0x396534df]
dec eax
invalid
cmc
mov dl, 0xd1
call 0xbfdea9c2
loop 0x4e7318
sahf
push 0x7501ab93
xchg esp, eax
jo 0x4e7323
ljmp 0xe486:0x8682fb70
jp 0x4e7386
jae 0x4e7325
lcall 0x77d1, 0x6f3d713
movsb byte es:[edi], byte [esi]
or eax, 0x2b7c090d
mov byte [0xc4e8c124], al
xchg ebp, eax
test eax, 0x50799486
loopne 0x4e7381
jb 0x4e739f
adc byte [esp + eax*4], ah
sal cl, 0xd4
mov ebp, 0xbf45467f
adc esi, dword [edx]
xchg ebx, eax
or ebp, dword [ecx + 0x33]
mov bl, 0xee
movsb byte es:[edi], byte [esi]
std
inc esi
inc ebp
mov edi, 0xb933213
imul esi, dword [ebx], 0xfda4eeb3
insb byte es:[edi], dx
inc edi
pop ss
and ch, byte [ecx - 0x6e]
xor byte [ecx], dl
add al, 6
sbb edx, esp
add al, 0xc2
or dword [edi + 0x12], ebx
rep outsd dx, dword [esi]
and al, 0x29
xor eax, dword [esi - 0x6f774d4a]
or ecx, ebp
jns 0x4e73a5
scasb al, byte es:[edi]
lodsb al, byte [esi]
enter 0xffffffffffff9549, 0xffffffffffffffcc
invalid

Function at 0x535d97
Capabilities:
Encode data using xor

Disassembly:
pop ecx
mov al, byte [0x217e7526]
leave
add dword [ecx + 0x6da30907], ebx
add dword [ecx], esi
xchg byte [edx + 0x27badf86], ch
mov dword [0x6b0775d7], eax
mov bh, 0x68
add eax, 0x5c2a611
cmp dword [esi + 0x15824508], edx
mov bl, 0xa1
add bl, byte [eax + 0x70c455f7]
shl byte [ebx], cl
cmpsd dword [esi], dword es:[edi]
adc ebx, dword [edi + 0x50]
std
add al, 0xbb
enter 0x1b69, 0xffffffffffffff97
popfd
pop ebx
mov ss, word [edi]
pushal
push es
jge 0x535e5b
mov ecx, 0x7d1d4462
pop esp
xor byte [ebx - 0x4543668], dl
not byte [esi - 0xb]
xor eax, 0xa6743781
adc eax, 0x24b3017d
pop ebp
mov byte [edx + 0x64], bl
push sp
xor dword [edi], 0x7d15a674
add dword [ebx + 0x5a885d24], esi
push sp
push 0x20
aad 0x47
jno 0x535dec
sub al, 0xb5
cmp edx, dword [ebp - 0x6e983c3c]
les edi, [ecx]
mov bl, 0x9b
imul eax, dword [edi], 0xffffffda
cmp dword [ebx - 0x25f89465], esi
iretd
jmp 0x535e0a
Function at 0x56fd2d
Capabilities:
Encode data using xor

Disassembly:
fcmovbe st(0), st(3)
popfd
out 0x51, eax
lodsb al, byte [esi]
sub ebp, dword es:[ecx + 0x4a17903c]
or ecx, dword [edx - 0x18]
push ds
dec esp
mov edi, 0xebf9b0d9
add eax, 0xa0d7378d
invalid

Function at 0x4019c3
Capabilities:
Hide graphical window

Disassembly:
push ebp
sub esp, 0x40
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
add esp, 0x40
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
loop 0x4019da
push esp
mov eax, 0x400000
mov dword [0x403160], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0x401719
mov dword [ebp - 4], str.risiliency
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x403160]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.ebsement
push str.risiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403168], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a78
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a5f
pop ebp
ret 0x10
Function at 0x403090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446cbd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x45f080]
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
push 4
call fcn.004275a6
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x403340
push 0
push 0
call fcn.0042c4fc
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x403111
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.00427598
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.0042601e
int3
Function at 0x406810
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447208
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x44a300
mov dword [ebp - 0x18], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x4069a1
mov ecx, edx
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406893
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.00403120
mov byte [ebp - 4], 1
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 7
lea ecx, [ebp - 0x4c]
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
call fcn.00402f00
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x64], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
xor eax, eax
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm1
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00404dd0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 0x19], al
cmp ecx, 7
jbe 0x40694d
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406943
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069fb
push ecx
push edx
call fcn.004275d6
add esp, 8
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp ecx, 7
jbe 0x406997
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40698d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4069fb
push ecx
push edx
call fcn.004275d6
add esp, 8
cmp byte [ebp - 0x19], 0
mov byte [ebp - 0x19], 1
jne 0x4069a5
mov byte [ebp - 0x19], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x4069db
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4069d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406a00
push ecx
push edx
call fcn.004275d6
add esp, 8
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00427598
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042c34f
call fcn.0042c34f
int3
Function at 0x407350
Capabilities:
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447365
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x50
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], esi
call fcn.00406fb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x40740a
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
push 0x4561b0
mov ecx, esi
call fcn.00403120
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x407403
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4073f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407541
push ecx
push edx
call fcn.004275d6
add esp, 8
mov eax, esi
jmp 0x407523
sub esp, 0x18
mov byte [ebp - 4], 1
mov eax, 0x7ffffffe
mov edx, esp
sub eax, ecx
mov dword [ebp - 0x38], edx
cmp eax, 0xd
jb 0x407546
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
push 0xd
cmova eax, dword [ebp - 0x34]
push 0x4561c0
push ecx
push eax
push ecx
push dword [ebp - 0x38]
mov ecx, edx
call fcn.0040b1c0
call fcn.00425ba0
add esp, 0x18
mov byte [ebp - 0x40], 0
mov edi, eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x38], edi
push dword [ebp - 0x40]
call fcn.0040b3c0
add esp, 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00405200
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x4074b1
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4074a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40754b
push ecx
push edx
call fcn.004275d6
add esp, 8
push 2
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, edi
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4074d3
sub ecx, edx
sar ecx, 1
push ecx
push edi
jmp 0x4073c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00427598
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042c34f
call fcn.00401350
call fcn.0042c34f
int3
Function at 0x408520
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44750b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24c
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
push 0x104
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
test eax, eax
je 0x408719
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244], 0
movups xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x240], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4085b0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00403120
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x254]
call fcn.0040aff0
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x23c], xmm0
mov dword [ebp - 0x228], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x23c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x22c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 9
push str.cmd.exe_
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.00402f00
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x4086be
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4086b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408757
push ecx
push edx
call fcn.004275d6
add esp, 8
mov ecx, dword [ebp - 0x240]
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
cmp ecx, 7
jbe 0x408738
mov edx, dword [ebp - 0x254]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40870d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408757
push ecx
push edx
call fcn.004275d6
add esp, 8
jmp 0x408738
push 0x1d
movups xmmword [esi], xmm0
push str._C:WindowsSystem32cmd.exe_
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00403120
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00427598
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042c34f
int3
Function at 0x40cb30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x40cb62
jl 0x40cb55
test ecx, ecx
jne 0x40cb62
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x40cc22
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0040df90
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40cbce
jg 0x40cb8d
test esi, esi
je 0x40cbce
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x40cba5
mov eax, dword [esp + 0x10]
jl 0x40cb9f
cmp eax, esi
jae 0x40cba5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00428d20
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x40cbef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40cc0b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x40cb74
jl 0x40cc0b
test ecx, ecx
jne 0x40cb74
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x40cc66
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x40cc66
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00428d20
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x40ccd7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x40cc8c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x40ccc2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0042d813
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x40ccd7
cmp edi, eax
ja 0x40cca0
test edi, edi
je 0x40ccd7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0042d813
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40e140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447b60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45f080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x14], ecx
lea ebx, [ecx + 0x24]
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea edi, [ecx + 0x28]
mov dword [ebp - 0x14], eax
push 8
mov dword [eax], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.004275a6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00426bcc
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [eax + 0x34], esi
call fcn.0040e2a0
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
lea esi, [eax + 4]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x1c], ecx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [0x461540]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x46153c]
mov dword [ebx], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret