Function at 0x450e10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a3583
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x82c
push esi
push edi
push str._CTaskMgr::__update_config__update_livep.dat
push 0x4c89f8
call fcn.00453b40
push str.livep.dat
lea eax, [esp + 0x30]
push 0x4c8c38
push eax
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0x14
mov esi, dword [esp + 0x28]
mov dword [esp + 0x83c], 0
test esi, esi
jne 0x450e6c
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov cl, byte [esp + 0x1f]
push 0
mov byte [esp + 0xc], cl
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push esi
mov byte [esp + 0x840], 1
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 8]
push eax
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov eax, dword [esp + 0xc]
mov byte [esp + 0x83c], 2
test eax, eax
jne 0x450eb3
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebp
push eax
push 0
push str.nvalue
push str.LimitControl
call ebx
test eax, eax
jne 0x450edb
push str.124.238.243.54
call dword [sym.imp.WS2_32.dll_inet_addr]
jmp 0x450ee4
not eax
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push eax
mov dword [0x4c8f00], eax
call fcn.00453810
add esp, 4
push eax
push str._CTaskMgr__DNS_proxy:__s
push 0x4c89f8
call fcn.00453b40
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x450f12
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0
push str.TrackFile
push str.LimitControl
call ebx
mov dword [0x4c8f20], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450f33
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0
push str.PeerLog
push str.LimitControl
call ebx
mov dword [0x4c8f24], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450f54
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 1
push str.PolicyNumber
push str.LimitControl
call ebx
cmp eax, 4
mov dword [esp + 0x20], eax
jbe 0x450f75
mov eax, 4
mov dword [esp + 0x20], eax
xor esi, esi
test eax, eax
jbe 0x451054
lea edx, [esi + 1]
lea eax, [esp + 0x3c]
push edx
push str.PolicyControl_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, esi
add esp, 0xc
shl ecx, 4
add ecx, esi
mov esi, 0x4bdf58
mov dword [esp + 0x28], 0x22
lea ebp, [ecx*8 + 0x4c8cd0]
mov edx, dword [esp + 0x14]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
test edx, edx
jne 0x450fc5
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push edx
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call ebx
mov edi, eax
mov eax, dword [esi]
cmp edi, eax
ja 0x450fde
mov eax, dword [esi + 4]
cmp edi, eax
jae 0x450fe0
mov edi, eax
mov eax, dword [esi - 8]
push str.P2PHAVESIZE
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x450ff9
shl edi, 0x14
mov ecx, dword [esi - 8]
push str.SINGLESIZE
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x451012
shl edi, 0xa
mov edx, dword [esi - 8]
push str.FIVESIZE
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x45102b
shl edi, 0x14
mov eax, dword [esp + 0x28]
mov dword [ebp], edi
add ebp, 4
add esi, 0x10
dec eax
mov dword [esp + 0x28], eax
jne 0x450fb1
mov eax, dword [esp + 0x20]
mov esi, 0x23
cmp eax, esi
ja 0x450f7f
mov eax, dword [esp + 0x20]
push eax
call fcn.00459630
mov ecx, eax
mov edi, 0x4c8c48
shl ecx, 4
add ecx, eax
add esp, 4
mov dword [0x4c8978], 1
lea esi, [ecx*8 + 0x4c8cd0]
mov ecx, 0x22
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4c8ccc]
test eax, eax
je 0x451093
mov dword [0x4c8978], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4510a0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0
push str.CoolTime
push str.DomainControl
call ebx
mov dword [0x4c8f28], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4510c1
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 1
push str.CoolQuota
push str.DomainControl
call ebx
mov dword [0x4be170], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4510e2
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x3ff
push 0x4c8f2c
push 0x4c712c
push str.CoolZone
push str.DomainControl
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x451111
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0x3ff
push 0x4c972c
push 0x4c712c
push str.HotZone
push str.DomainControl
call ebx
push 0x4c8f2c
xor edi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, dword [sym.imp.MSVCRT.dll_toupper]
add esp, 4
test eax, eax
jbe 0x45116d
mov esi, 0x4c8f2c
xor edx, edx
mov dx, word [esi]
push edx
call ebp
mov word [esi], ax
push 0x4c8f2c
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x45114c
push 0x4c972c
xor edi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x4511a7
mov esi, 0x4c972c
xor eax, eax
mov ax, word [esi]
push eax
call ebp
mov word [esi], ax
push 0x4c972c
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x451186
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4511b4
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 5
push str.BackupZoneDelay
push str.DomainControl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x4c9f2c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4511d9
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0x3ff
push 0x4c9f30
push 0x4c712c
push str.BackupZone
push str.DomainControl
call ebx
push 0x4c9f30
xor edi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x45122f
mov esi, 0x4c9f30
xor ecx, ecx
mov cx, word [esi]
push ecx
call ebp
mov word [esi], ax
push 0x4c9f30
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x45120e
mov eax, dword [esp + 0x14]
xor edi, edi
pop ebp
cmp eax, edi
pop ebx
jne 0x451240
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0x32
push str.BackupZoneSpeed
push str.DomainControl
call esi
mov dword [0x4ca730], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x451267
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0x80
push str.TrackerAgentTime
push str.Network
call esi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0xc]
shl edx, 3
cmp eax, edi
mov dword [0x4be178], edx
jne 0x451298
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0x1f9a
push str.TcpPort
push str.Network
call esi
mov dword [0x4be174], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x4512bc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push edi
push str.UPnP
push str.Network
call esi
mov dword [0x4ca734], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x4512dc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push edi
push str.SdDelay
push str.Network
call esi
mov dword [0x4ca738], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x4512fc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push 0x1e
push str.SdDelayV3
push str.Network
call esi
mov ecx, dword [esp + 0xc]
mov dword [0x4be17c], eax
cmp ecx, edi
je 0x451336
mov al, byte [ecx - 1]
test al, al
je 0x45132a
cmp al, 0xff
je 0x45132a
dec al
mov byte [ecx - 1], al
jmp 0x451336
add ecx, 0xfffffffe
push ecx
call fcn.00437568
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
cmp ecx, edi
pop edi
pop esi
je 0x45137d
mov al, byte [ecx - 1]
test al, al
je 0x451371
cmp al, 0xff
je 0x451371
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
add esp, 0x838
ret
add ecx, 0xfffffffe
push ecx
call fcn.00437568
add esp, 4
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
add esp, 0x838
ret