Function at 0x407410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba4be
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x4d437c]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x4d437c]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push str.PostCommand__n
mov esi, ecx
call dword [sym.imp.MSVCR80.dll_printf]
xor eax, eax
add esp, 4
push 0x44
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x48]
push ebx
push eax
mov byte [esp + 0x23], 0
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [esp + 0xe4]
push ecx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 1
mov word [esp + 0x78], bx
call fcn.004b3000
push edi
lea edx, [esp + 0xcc]
push edx
lea ecx, [esp + 0xec]
mov dword [esp + 0x120], ebx
call fcn.004b3060
mov byte [esp + 0x118], 1
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
lea ecx, [esp + 0xc8]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x4bec5c
lea ecx, [esp + 0xb0]
mov byte [esp + 0x11c], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov bl, 3
mov byte [esp + 0x118], bl
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
mov ecx, esi
call edx
push eax
lea ecx, [esp + 0xb0]
call dword [0x4bd1f8]
push 0x4bec5c
lea ecx, [esp + 0xb0]
call dword [0x4bd1f8]
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push str.__submit__
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x30]
push ecx
call edi
add esp, 0xc
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x11c], 4
call dword [0x4bd1cc]
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x4bec5c
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x30]
push eax
call edi
add esp, 0xc
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x11c], 5
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x118], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x94]
mov edi, 0x10
cmp dword [esp + 0xa8], edi
jae 0x4075e0
lea eax, [esp + 0x94]
mov ebx, dword [sym.imp.MSVCR80.dll_printf]
push eax
push 0x4bec6c
call ebx
mov eax, dword [esp + 0x9c]
add esp, 8
cmp dword [esp + 0xa8], edi
jae 0x407608
lea eax, [esp + 0x94]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x407664
cmp byte [ebp + 0xc], 0
je 0x407641
mov eax, dword [esp + 0x18]
push 0x4e20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, 1
jmp 0x40767c
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
mov ecx, esi
call edx
push eax
push str.PostCommand__d_n
call ebx
mov bl, byte [esp + 0x1f]
add esp, 8
lea ecx, [esp + 0xac]
mov byte [esp + 0x118], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x118], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc8]
mov byte [esp + 0x118], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x118], 0xffffffff
call fcn.00403890
mov al, bl
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.004b76e6
mov esp, ebp
pop ebp
ret 8