Function at 0x402e60
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x434d27
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xa8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp byte [esp + 0xb0], 0
mov bl, 1
mov byte [esp + 0xa8], bl
lea ecx, [esp + 0x30]
je 0x402edb
push str._success_
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_char_const__]
lea eax, [esp + 0xb4]
push eax
jmp 0x402eee
push str._failed_
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_char_const__]
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x34]
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x438768
lea ecx, [esp + 0x34]
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__::append_char_const__]
push str._ip:
lea ecx, [esp + 0x34]
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__::append_char_const__]
lea edx, [esi + 0x4c]
push edx
lea ecx, [esp + 0x34]
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esi + 0x60]
mov ecx, 0x13
sub ecx, eax
lea edi, [esp + 0x14]
call fcn.004032e0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], 2
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, edi
mov byte [esp + 0xa8], 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 str.port:
lea ecx, [esp + 0x34]
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__::append_char_const__]
lea eax, [esi + 0x68]
push eax
lea ecx, [esp + 0x34]
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esi + 0x7c]
mov ecx, 7
sub ecx, eax
lea edi, [esp + 0x14]
call fcn.004032e0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], 3
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, edi
mov byte [esp + 0xa8], 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 str.connect_time_cost:
lea ecx, [esp + 0x34]
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__::append_char_const__]
push 0x32
lea ecx, [esp + 0x6c]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
mov ebp, dword [sym.imp.MSVCR80.dll_sprintf_s]
add esp, 0xc
push edx
push eax
push 0x43879c
lea ecx, [esp + 0x74]
push 0x32
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x34]
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__::append_char_const__]
push str._ms_
lea ecx, [esp + 0x34]
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__::append_char_const__]
lea eax, [esp + 0x68]
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403015
sub eax, edi
mov ecx, 0xb
sub ecx, eax
lea edi, [esp + 0x14]
call fcn.004032e0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], 4
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, edi
mov byte [esp + 0xa8], 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 str.package_size:
lea ecx, [esp + 0x34]
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__::append_char_const__]
push 0x32
lea eax, [esp + 0x6c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [esi + 8]
add esp, 0xc
push ecx
push 0x43879c
lea edx, [esp + 0x70]
push 0x32
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
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__::append_char_const__]
lea eax, [esp + 0x68]
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4030a0
sub eax, edi
mov ecx, 0xb
sub ecx, eax
lea edi, [esp + 0x14]
call fcn.004032e0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], 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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, edi
mov byte [esp + 0xa8], 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 str.send_count:
lea ecx, [esp + 0x34]
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__::append_char_const__]
push 0x32
lea ecx, [esp + 0x6c]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [esi + 0xc]
add esp, 0xc
push edx
push 0x43879c
lea eax, [esp + 0x70]
push 0x32
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x34]
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__::append_char_const__]
lea eax, [esp + 0x68]
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403128
sub eax, edi
mov ecx, 6
sub ecx, eax
lea edi, [esp + 0x14]
call fcn.004032e0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xac], 6
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, edi
mov byte [esp + 0xa8], 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 str.time_cost:
lea ecx, [esp + 0x34]
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__::append_char_const__]
push 0x32
lea edx, [esp + 0x6c]
push 0
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
add esp, 0xc
push eax
push ecx
push str._lld
lea edx, [esp + 0x74]
push 0x32
push edx
call ebp
add esp, 0x14
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
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__::append_char_const__]
push str._ms_
lea ecx, [esp + 0x34]
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__::append_char_const__]
push 0x4387d8
lea ecx, [esp + 0x34]
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__::append_char_const__]
lea ecx, [esi + 0x2c]
push ecx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.ts_log.txt
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 7
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [esp + 0x64], 8
mov ebx, dword [esp + 0x50]
jae 0x403205
lea ebx, [esp + 0x50]
push 2
call fcn.00404e60
mov edi, eax
add esp, 4
test edi, edi
je 0x40325b
mov eax, dword [edi]
push 2
push 0
push eax
call dword [sym.imp.MSVCR80.dll_fseek]
mov ecx, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x48], 0x10
jae 0x403234
lea ecx, [esp + 0x34]
mov eax, dword [edi]
mov edx, dword [esp + 0x44]
push eax
push edx
push 1
push ecx
call dword [sym.imp.MSVCR80.dll_fwrite]
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp byte [esp + 0xb0], 0
je 0x40326c
mov ecx, esi
call fcn.00403370
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], 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 + 0xb4]
mov dword [esp + 0xa8], 0xffffffff
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 ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00431147
add esp, 0x9c
ret 0x20