joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100029e1
mov eax, dword [ebp + 0x14]
shl dword [ebp + 0x10], 8
mov ecx, dword [ebp + 8]
push ebx
mov eax, dword [eax]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
push esi
mov cl, byte [ecx]
movsx edx, cl
sub cl, 0x61
cmp cl, 0x19
mov ecx, dword [ebp + 0x10]
lea esi, [edx - 0x20]
cmova esi, edx
mov edx, dword [ebp + 0xc]
add ecx, esi
add eax, ebx
xor eax, dword [edx + ecx*4]
mov ecx, ebx
shl ecx, 5
add ecx, 3
add ecx, esi
add ebx, ecx
mov ecx, dword [ebp + 8]
inc ecx
add ebx, eax
mov dword [ebp + 8], ecx
sub edi, 1
jne 0x100029a2
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x18]
pop edi
pop ebp
ret 0x18
Function at 0x406a20
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f89bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x55bc74]
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 esi, ecx
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1ac], esi
mov eax, 1
lock xadd dword [0x55ec50], eax
inc eax
mov ebx, 0x55ec54
cmp eax, 1
jne 0x406a85
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WSOCK32.dll_WSAStartup]
xchg dword [ebx], eax
xor edi, edi
lock xadd dword [ebx], edi
test edi, edi
je 0x406aba
call fcn.004f4bc0
mov dword [ebp - 0x1a4], eax
mov eax, fcn.00425c80
mov dword [ebp - 0x1a8], edi
test eax, eax
je 0x406aba
push str.winsock
lea eax, [ebp - 0x1a8]
push eax
call fcn.0040a4e0
push 0x20
mov dword [ebp - 4], 0
call fcn.004f6615
add esp, 4
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x406ae7
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00403190
jmp 0x406ae9
xor eax, eax
mov dword [esi + 4], eax
mov ecx, dword [eax + 0x1c]
mov eax, esi
mov dword [esi + 8], ecx
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.004f6b29
mov esp, ebp
pop ebp
ret

Function at 0x406e10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8a64
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x55bc74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [ebp - 0x44], edi
mov dword [edi + 8], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00408b40
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x406ed9
lea ecx, [ebp - 0x3c]
call fcn.00406f60
push eax
mov byte [ebp - 4], 4
call fcn.00404d10
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
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.004f6b29
mov esp, ebp
pop ebp
ret
Function at 0x406fd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8ae1
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x55bc74]
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 edi, ecx
mov dword [ebp - 0xb0], edi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 0xb8], edi
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
push 0x9c
lea eax, [ebp - 0xac]
mov dword [edi + 0x18], 0
push 0
push eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xac], 0x9c
mov dword [ebp - 0xa8], 6
push 3
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 2
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
neg eax
sbb eax, eax
and eax, 0xfffffe0b
add eax, 0x1f4
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 3
mov dword [edi + 0x34], 0
call fcn.0040a420
mov esi, eax
call fcn.004f4bc0
mov dword [ebp - 0xb0], eax
mov ecx, fcn.00425c80
xor eax, eax
mov dword [ebp - 0xb4], esi
test esi, esi
cmove ecx, eax
test ecx, ecx
je 0x407109
push str.mutex
lea eax, [ebp - 0xb4]
push eax
call fcn.0040a4e0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
or eax, 0xffffffff
mov byte [ebp - 4], 5
cmp ebx, 0xffffffff
cmovb eax, ebx
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x40716d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0xb4], esi
call fcn.004f4bc0
mov dword [ebp - 0xb0], eax
test esi, esi
je 0x40716d
push str.iocp
lea eax, [ebp - 0xb4]
push eax
call fcn.0040a4e0
mov eax, edi
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.004f6b29
mov esp, ebp
pop ebp
ret 8

Function at 0x40b3f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x55ec58
lock xadd dword [ecx], eax
push 0
push dword [esi + 4]
test eax, eax
je 0x40b43d
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
mov esp, ebp
pop ebp
ret
push fcn.0040aee0
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40f150
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [0x55ec4c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x40f192
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40f192
mov eax, dword [ecx]
test eax, eax
je 0x40f192
mov dword [ecx], 0
mov dl, byte [eax]
movzx ecx, dl
cmp ecx, ebx
jb 0x40f189
mov byte [eax + ebx], dl
pop ebx
pop ebp
ret
push eax
call fcn.004f6648
add esp, 4
lea eax, [ebx + 1]
push eax
call fcn.004f6615
add esp, 4
mov ecx, eax
cmp ebx, 0xff
ja 0x40f1b3
movzx eax, bl
mov byte [ecx + ebx], al
mov eax, ecx
pop ebx
pop ebp
ret
xor eax, eax
mov byte [ecx + ebx], al
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x40f1c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x55ec4c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40f1d8
mov edx, dword [eax + 4]
jmp 0x40f1da
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp eax, 0xff
ja 0x40f1f9
test edx, edx
je 0x40f1f9
cmp dword [edx], 0
jne 0x40f1f9
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [edx], ecx
pop ebp
ret
push dword [ebp + 8]
call fcn.004f6648
add esp, 4
pop ebp
ret

Function at 0x40f3f0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x20]
cmp dword [ebx], 0x40
jne 0x40f40d
call fcn.004f4bc0
mov dword [ebx], 0x2745
mov dword [ebx + 4], eax
cmp dword [ebx], 0
jne 0x40f4f0
push esi
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x40f48a
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x40f48a
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp + 0x20], 0
push eax
mov eax, dword [ebp + 0x10]
push eax
push eax
push 0
push dword [ebp + 0xc]
call sub.WSOCK32.dll_GetAcceptExSockaddrs
mov eax, dword [ebp + 0x20]
cmp eax, dword [esi]
jbe 0x40f478
call fcn.004f4bc0
mov dword [ebx], 0x2726
mov dword [ebx + 4], eax
jmp 0x40f48a
push eax
push dword [ebp - 4]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x20]
add esp, 0xc
mov dword [esi], eax
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp esi, 0xffffffff
jne 0x40f4ad
call fcn.004f4bc0
pop edi
pop esi
mov dword [ebx], 0x2719
mov dword [ebx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
push 4
lea eax, [ebp - 0x10]
push eax
push 0x700b
push 0xffff
push esi
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov edi, eax
call fcn.004f4bc0
mov esi, eax
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
jne 0x40f4ee
call fcn.004f4bc0
mov dword [ebx], edi
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411100
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9820
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55bc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor edx, edx
lea eax, [edi + 0x18]
lock xadd dword [eax], edx
test edx, edx
jne 0x411163
call fcn.004118e0
call fcn.004f4bc0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx], 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 4
mov dword [ebp - 0x10], 0
push dword [0x55ec4c]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x55ec4c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
push 1
mov byte [ebp - 4], 1
xor esi, esi
call fcn.0040fce0
test eax, eax
je 0x4111c4
cmp esi, 0xffffffff
je 0x4111b6
inc esi
push ebx
push 1
mov ecx, edi
call fcn.0040fce0
test eax, eax
jne 0x4111b0
push dword [ebp - 0x14]
push dword [0x55ec4c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4111e3
push ecx
call fcn.004f6648
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [ebp + 8]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x41176e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.004f4bc0
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x41182c
mov esi, dword [ebp - 4]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x4117ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.004f4bc0
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x41183a
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push ebx
push 0x411af0
push dword [ebp + 0xc]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x411813
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [ebp + 8], eax
call dword [edx]
test edi, edi
je 0x4117f4
push edi
call esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x411801
push eax
call esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.004f4bc0
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x411848
test edi, edi
je 0x411823
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.thread.entry_event
lea eax, [ebp - 0x10]
push eax
call fcn.0040a4e0
push str.thread.exit_event
lea eax, [ebp - 0x10]
push eax
call fcn.0040a4e0
push str.thread
lea eax, [ebp - 0x10]
push eax
call fcn.0040a4e0
int3
Function at 0x417d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55bc74]
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, ecx
cmp dword [ebx + 0x38], 0
je 0x417ea2
cmp byte [ebx + 0x3d], 0
je 0x417ea2
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x417db9
xor al, al
jmp 0x417ea4
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
nop
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x417e2c
sub eax, 1
je 0x417e30
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x417e88
xor bl, bl
jmp 0x417e8a
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x417e66
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x417e28
cmp byte [ebx + 0x3d], 0
je 0x417e88
test edi, edi
lea edi, [ebx + 0x40]
jne 0x417df0
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00418410
jmp 0x417de9
mov bl, 1
cmp esi, 0x10
jb 0x417e9e
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004222e0
mov al, bl
jmp 0x417ea4
mov al, 1
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.004f6b29
mov esp, ebp
pop ebp
ret
Function at 0x41e700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb140
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x55bc74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x11
push str.RG_Container.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004095e0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.004092b0
push 0x44
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41e7d8
push 0x404420
lea eax, [ebp + 0xc]
push eax
push str.Could_not_start_process:
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00403250
add esp, 8
push eax
call fcn.00411fc0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movups xmm0, xmmword [ebp - 0x38]
sub esp, 0x10
mov ecx, esi
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0042d5d0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41e800
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004222e0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x41e827
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.004222e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f6b29
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x426c60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [ebp + 0x18], 0
je 0x426c89
mov ecx, dword [esi + 4]
push 0
push 0
push dword [ebp + 0x1c]
call fcn.004105e0
pop esi
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x426caa
mov ecx, dword [esi + 4]
push 0
push 0x2719
push dword [ebp + 0x1c]
call fcn.004105e0
pop esi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
push ebx
push edi
mov edi, dword [ebp + 0x1c]
push 0
push edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x426ce8
mov eax, 0x2746
jmp 0x426cf5
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x426d14
cmp eax, 0x3e5
je 0x426d14
push dword [ebp + 0x18]
mov ecx, dword [esi + 4]
push eax
push edi
call fcn.004105e0
pop edi
pop ebx
pop esi
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push edi
call fcn.00410660
pop edi
pop ebx
pop esi
pop ebp
ret 0x18

Function at 0x426d30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [ebp + 0x18], 0
je 0x426d59
mov ecx, dword [edi + 4]
push 0
push 0
push dword [ebp + 0x1c]
call fcn.004105e0
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x426d7a
mov ecx, dword [edi + 4]
push 0
push 0x2719
push dword [ebp + 0x1c]
call fcn.004105e0
pop edi
pop ebp
ret 0x18
push ebx
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x18]
push esi
push 0
push ebx
push dword [ebp + 0x14]
mov dword [ebp + 0x18], 0
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x426dd1
cmp eax, 0x3e5
je 0x426dd1
push dword [ebp + 0x18]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.004105e0
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.00410660
pop esi
pop ebx
pop edi
pop ebp
ret 0x18
Function at 0x435840
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x435877
mov eax, dword [0x55ec98]
test eax, eax
jne 0x435865
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 8
jb 0x4358c9
cmp eax, 0x20
jae 0x43588e
pause
inc dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
jne 0x43589f
call fcn.0042fd30
inc dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004358e0
test al, al
je 0x4358c1
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x4358c9
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x55bc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x18], eax
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
add ecx, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00435e60
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x435e49
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x435e49
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x435e49
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4365f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x55bc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x18], eax
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
add ecx, 0x14
call fcn.00436550
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4366b3
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4366b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4366b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8