Function at 0x429a00
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435f0c
mov eax, dword fs:[0]
push eax
sub esp, 0x5fc
mov eax, dword [0x4420a0]
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
xor edi, edi
lea eax, [ebp - 0x600]
push 0x40
xorps xmm0, xmm0
mov dword [ebp - 0x448], edi
push edi
push eax
movdqu xmmword [ebp - 0x458], xmm0
call sub.MSVCR120.dll_memset
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x604], 0x44
push str.cmd.exe__c_netstat__anofindstr__:_d____c:hsrv.txt
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x604]
push eax
push edi
push edi
push 0x8000080
push edi
push edi
push edi
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push 0x40
push 1
push str.c:hsrv.txt
lea ecx, [ebp - 0x5c0]
call fcn.004258e0
mov dword [ebp - 4], edi
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], edi
mov byte [ebp - 0x428], 0
mov eax, dword [ebp - 0x5c0]
lea ecx, [ebp - 0x5c0]
push 0xa
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.004155e0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x429e00
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 1
push 0xffffffffffffffff
push 0x438bc8
lea ecx, [ebp - 0x428]
call fcn.00414c10
cmp eax, 0xffffffff
je 0x429dbd
mov ecx, dword [ebp - 0x418]
sub ecx, eax
inc eax
dec ecx
push ecx
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x428]
call fcn.00414cf0
mov esi, eax
lea eax, [ebp - 0x428]
cmp eax, esi
je 0x429bf5
cmp dword [ebp - 0x414], 0x10
jb 0x429b89
push dword [ebp - 0x428]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
cmp dword [esi + 0x14], 0x10
jae 0x429bc4
mov eax, dword [esi + 0x10]
inc eax
je 0x429bd2
push eax
lea eax, [ebp - 0x428]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x429bd2
mov eax, dword [esi]
mov dword [ebp - 0x428], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x418], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x414], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x42c], 0x10
jb 0x429c0c
push dword [ebp - 0x440]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x418], 0
je 0x429dbd
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x508], 0x4390e8
mov dword [ebp - 0x4f8], 0x4390f0
call dword [sym.imp.MSVCP120.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x4f0]
mov byte [ebp - 4], 2
or edi, 1
lea ecx, [ebp - 0x508]
push eax
mov dword [ebp - 0x448], edi
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [ebp - 0x508]
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x50c], eax
lea ecx, [ebp - 0x4f0]
call dword [sym.imp.MSVCP120.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x4f8]
push eax
call fcn.00401550
add esp, 8
lea eax, [ebp - 0x444]
lea ecx, [ebp - 0x508]
push eax
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
push dword [ebp - 0x444]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x429d04
push 0
push esi
call ebx
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x508]
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x50c], eax
test byte [ebp - 0x4b4], 1
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
je 0x429d52
mov eax, dword [ebp - 0x4e4]
push dword [eax]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
push 0
push 0
lea ecx, [ebp - 0x4f0]
call dword [sym.imp.MSVCP120.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov eax, dword [ebp - 0x4e0]
lea ecx, [ebp - 0x4f0]
mov dword [eax], 0
mov eax, dword [ebp - 0x4d0]
mov dword [eax], 0
mov eax, dword [ebp - 0x4c0]
mov dword [eax], 0
and dword [ebp - 0x4b4], 0xfffffffe
mov dword [ebp - 0x4b8], 0
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x4e8]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x4a0]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x5c0]
lea ecx, [ebp - 0x5c0]
push 0xa
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP120.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x5c0]
push eax
call fcn.004155e0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x429b27
cmp dword [ebp - 0x414], 0x10
jb 0x429e17
push dword [ebp - 0x428]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x550]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.00403cd0
lea ecx, [ebp - 0x550]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.004308d0
mov esp, ebp
pop ebp
ret