Function at 0x4032e0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x405415
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x408018]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x408018]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
mov dword [esp + 0x294], 0
cmp dword [esi], 0
jne 0x403340
mov eax, esi
call fcn.004015e0
mov ebp, eax
test ebp, ebp
jne 0x4035a4
mov ecx, dword [0x4065cc]
mov eax, dword [str.TOLProxyConsole]
mov edx, dword [0x4065d0]
push 0x70
mov dword [esp + 0x104], ecx
mov dword [esp + 0x100], eax
mov eax, dword [0x4065d4]
lea ecx, [esp + 0x110]
push 0
push ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], eax
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x2ac]
mov ebx, 0x10
add esp, 0xc
cmp dword [esp + 0x2b4], ebx
jae 0x4033a2
lea eax, [esp + 0x2a0]
push eax
push str.TOLProxyConsole_v_s
lea edx, [esp + 0x104]
push 0x80
push edx
call dword [sym.imp.MSVCR90.dll_sprintf_s]
lea ecx, [esp + 0x38]
call fcn.00402ed0
push str.TOL_update.exe
push eax
lea eax, [esp + 0xdc]
mov byte [esp + 0x2ac], 1
mov edi, dword [sym.imp.MSVCP90.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 eax
call edi
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x294], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x40340e
lea eax, [esp + 0xc8]
push 0
push 0
push eax
push 0x80
lea ecx, [esp + 0x10c]
push ecx
push esi
call dword [sym.imp.wct_online.dll_DownloadFile]
mov ebx, dword [sym.imp.MSVCR90.dll_printf]
mov ebp, eax
push ebp
push str.DownloadTOLProxyConsole
push str._s:_return_value__d___n
call ebx
add esp, 0x24
test ebp, ebp
jne 0x40358f
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
jae 0x40345f
lea eax, [esp + 0xc8]
push 0x4065bc
push eax
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.MSVCR90.dll_fopen_s]
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x40358f
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
lea ecx, [esp + 0x44]
call fcn.00402ed0
mov esi, eax
push str.__S__D
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x2a0], 4
call edi
add esp, 0xc
push esi
push eax
lea edx, [esp + 0xe8]
push edx
mov byte [esp + 0x2a0], 5
call dword [sym.imp.MSVCP90.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___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
lea ecx, [esp + 0x60]
mov byte [esp + 0x294], 7
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x294], 8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea esi, [esp + 0x17c]
lea ecx, [esp + 0xe0]
call fcn.00404680
push 0x44
lea eax, [esp + 0x80]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x80]
push edx
push eax
push eax
push 0x8000000
push eax
push eax
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, esi
push eax
push 0
mov dword [esp + 0xa4], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x1c
mov edi, esp
push str.DownloadTOLProxyConsole
mov ecx, 7
lea esi, [esp + 0x100]
push str._s:_execute_command___s__n
rep movsd dword es:[edi], dword [esi]
call ebx
add esp, 0x24
lea ecx, [esp + 0xe0]
mov byte [esp + 0x294], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x294], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x29c]
mov dword [esp + 0x294], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, ebp
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.004048ea
add esp, 0x284
ret