Function at 0x401180
Capabilities:
Delete file
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x434e7f
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov edi, dword [sym.imp.MSVCR80.dll___iob_func]
mov esi, dword [ebp + 0xc]
call edi
mov ebx, dword [sym.imp.MSVCR80.dll_fclose]
push eax
call ebx
add esp, 4
call edi
add eax, 0x20
push eax
call ebx
add esp, 4
cmp dword [ebp + 8], 7
jge 0x401200
mov eax, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.argc___7
push eax
call fcn.00401ae0
add esp, 8
jmp 0x4017c2
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x24]
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_wchar_t_const__]
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x314], 0
call fcn.00413e80
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x401235
mov eax, dword [eax + 4]
jmp 0x401238
add eax, 4
mov edi, dword [sym.imp.MSVCR80.dll_atol]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or ebx, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x310], ebx
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_]
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x24]
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_wchar_t_const__]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x314], 1
call fcn.00413e80
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x40129b
mov eax, dword [eax + 4]
jmp 0x40129e
add eax, 4
push eax
call edi
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x14], eax
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 + 0x20]
mov dword [esp + 0x310], ebx
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_]
mov edx, dword [esi + 0xc]
push edx
lea ecx, [esp + 0x24]
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_wchar_t_const__]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x314], 2
call fcn.00413e80
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x4012f8
mov eax, dword [eax + 4]
jmp 0x4012fb
add eax, 4
push eax
call dword [sym.imp.MSVCR80.dll_atof]
fstp dword [esp + 0x40]
add esp, 4
lea ecx, [esp + 0x5c]
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 + 0x20]
mov dword [esp + 0x310], ebx
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_]
mov ecx, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0x24]
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_wchar_t_const__]
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x314], 3
call fcn.00413e80
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x401359
mov eax, dword [eax + 4]
jmp 0x40135c
add eax, 4
push eax
call edi
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x48], eax
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 + 0x20]
mov dword [esp + 0x310], ebx
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_]
mov eax, dword [esi + 0x14]
push eax
lea ecx, [esp + 0x24]
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_wchar_t_const__]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x314], 4
call fcn.00413e80
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x4013b6
mov eax, dword [eax + 4]
jmp 0x4013b9
add eax, 4
push eax
call edi
add esp, 4
test eax, eax
setne dl
lea ecx, [esp + 0x5c]
mov byte [esp + 0x40], dl
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 + 0x20]
mov dword [esp + 0x310], ebx
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_]
mov eax, dword [esi + 0x18]
push eax
lea ecx, [esp + 0x7c]
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_wchar_t_const__]
sub esp, 0x1c
mov ebx, 5
mov dword [esp + 0x32c], ebx
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x438444
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__]
sub esp, 0x1c
mov byte [esp + 0x348], 6
mov ecx, esp
mov dword [esp + 0x50], esp
push ecx
lea ecx, [esp + 0xb4]
call fcn.00413e80
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x348], bl
call fcn.00413580
add esp, 0x38
mov ebx, 8
lea ecx, [esp + 0x78]
mov byte [esp + 0x310], bl
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_]
cmp dword [esp + 0x1c], 0
jle 0x40179a
cmp dword [esp + 0x14], 0
jle 0x40179a
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40179a
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40179a
lea edi, [esp + 0xb0]
call fcn.00414070
cmp dword [ebp + 8], ebx
mov byte [esp + 0x310], 9
jl 0x4014c4
mov ecx, dword [esi + 0x1c]
push ecx
mov ecx, edi
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__::operator_wchar_t_const__]
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x98]
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 + 0x98]
mov byte [esp + 0x314], 0xa
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 + 0xac], ebx
mov esi, dword [sym.imp.MSVCR80.dll__wremove]
jb 0x40175e
mov eax, dword [esp + 0x98]
test eax, eax
je 0x401517
push eax
call esi
add esp, 4
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x98]
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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x4384ec
push str.ts_upload_log_1
lea ecx, [esp + 0x9c]
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__]
mov ecx, eax
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 + 0xac], ebx
jb 0x40176a
mov eax, dword [esp + 0x98]
test eax, eax
je 0x401569
push eax
call esi
add esp, 4
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x98]
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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x4384ec
push str.ts_upload_log_2
lea ecx, [esp + 0x9c]
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__]
mov ecx, eax
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 + 0xac], ebx
jb 0x401776
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4015bb
push eax
call esi
add esp, 4
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x98]
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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.ts_recent_ip.ini
lea ecx, [esp + 0x98]
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 + 0xac], ebx
jb 0x401782
mov eax, dword [esp + 0x98]
test eax, eax
je 0x401600
push eax
call esi
add esp, 4
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x98]
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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.ts_ip_config.ini
lea ecx, [esp + 0x98]
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 + 0xac], ebx
jb 0x40178e
mov eax, dword [esp + 0x98]
test eax, eax
je 0x401645
push eax
call esi
add esp, 4
lea ecx, [esp + 0x16c]
push ecx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x28], esp
push edx
lea ecx, [esp + 0x60]
call fcn.004017f0
sub esp, 0x1c
mov byte [esp + 0x33c], 0xb
lea eax, [esp + 0xdc]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
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__]
fld dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
push ecx
push ecx
mov ecx, dword [esp + 0x48]
fstp dword [esp]
push edx
mov edx, dword [esp + 0x80]
lea esi, [esp + 0x104]
mov byte [esp + 0x348], 0xa
call fcn.004022f0
mov byte [esp + 0x310], 0xc
or esi, 0xffffffff
lea ecx, [esp + 0xcc]
mov dword [esp + 0x114], esi
call fcn.00402500
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push eax
mov dword [0x4464c8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.WS2_32.dll_WSACleanup]
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xcc]
push ecx
mov byte [0x4464cc], 0
mov byte [esp + 0x314], 0xa
call fcn.00402440
lea ecx, [esp + 0x94]
mov byte [esp + 0x310], 9
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 + 0xb0]
mov byte [esp + 0x310], bl
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_]
mov dword [esp + 0x310], esi
jmp 0x4017b9
lea eax, [esp + 0x98]
jmp 0x401511
lea eax, [esp + 0x98]
jmp 0x401563
lea eax, [esp + 0x98]
jmp 0x4015b5
lea eax, [esp + 0x98]
jmp 0x4015fa
lea eax, [esp + 0x98]
jmp 0x40163f
mov edx, dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str.package_size___0__send_count__0__ips.size_____0
push edx
call fcn.00401ae0
add esp, 8
mov dword [esp + 0x310], 0xffffffff
lea ebx, [esp + 0x4c]
call fcn.00401920
xor eax, eax
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.00431147
mov esp, ebp
pop ebp
ret