Function at 0x450c10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ac483
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 0x4d1048
call fcn.00453980
push str.livep.dat
lea eax, [esp + 0x30]
push 0x4d1288
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 0x450c6c
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 0x450cb3
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 0x450cdb
push str.124.238.243.54
call dword [sym.imp.WS2_32.dll_inet_addr]
jmp 0x450ce4
not eax
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push eax
mov dword [0x4d1550], eax
call fcn.00453640
add esp, 4
push eax
push str._CTaskMgr__DNS_proxy:__s
push 0x4d1048
call fcn.00453980
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x450d12
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 [0x4d1570], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450d33
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 [0x4d1574], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450d54
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 0x450d75
mov eax, 4
mov dword [esp + 0x20], eax
xor esi, esi
test eax, eax
jbe 0x450e54
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, 0x4c6018
mov dword [esp + 0x28], 0x22
lea ebp, [ecx*8 + 0x4d1320]
mov edx, dword [esp + 0x14]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
test edx, edx
jne 0x450dc5
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 0x450dde
mov eax, dword [esi + 4]
cmp edi, eax
jae 0x450de0
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 0x450df9
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 0x450e12
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 0x450e2b
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 0x450db1
mov eax, dword [esp + 0x20]
mov esi, 0x23
cmp eax, esi
ja 0x450d7f
mov eax, dword [esp + 0x20]
push eax
call fcn.004597f0
mov ecx, eax
mov edi, 0x4d1298
shl ecx, 4
add ecx, eax
add esp, 4
mov dword [0x4d0fc8], 1
lea esi, [ecx*8 + 0x4d1320]
mov ecx, 0x22
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4d131c]
test eax, eax
je 0x450e93
mov dword [0x4d0fc8], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450ea0
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 [0x4d1578], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450ec1
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 [0x4c6230], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450ee2
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 0x4d157c
push 0x4cf75c
push str.CoolZone
push str.DomainControl
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450f11
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 0x4d1d7c
push 0x4cf75c
push str.HotZone
push str.DomainControl
call ebx
push 0x4d157c
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 0x450f6d
mov esi, 0x4d157c
xor edx, edx
mov dx, word [esi]
push edx
call ebp
mov word [esi], ax
push 0x4d157c
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x450f4c
push 0x4d1d7c
xor edi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x450fa7
mov esi, 0x4d1d7c
xor eax, eax
mov ax, word [esi]
push eax
call ebp
mov word [esi], ax
push 0x4d1d7c
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x450f86
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450fb4
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 [0x4d257c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x450fd9
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 0x4d2580
push 0x4cf75c
push str.BackupZone
push str.DomainControl
call ebx
push 0x4d2580
xor edi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x45102f
mov esi, 0x4d2580
xor ecx, ecx
mov cx, word [esi]
push ecx
call ebp
mov word [esi], ax
push 0x4d2580
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x45100e
mov eax, dword [esp + 0x14]
xor edi, edi
pop ebp
cmp eax, edi
pop ebx
jne 0x451040
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 [0x4d2d80], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x451067
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 [0x4c6238], edx
jne 0x451098
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 [0x4c6234], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x4510bc
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 [0x4d2d84], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x4510dc
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 [0x4d2d88], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x4510fc
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 [0x4c623c], eax
cmp ecx, edi
je 0x451136
mov al, byte [ecx - 1]
test al, al
je 0x45112a
cmp al, 0xff
je 0x45112a
dec al
mov byte [ecx - 1], al
jmp 0x451136
add ecx, 0xfffffffe
push ecx
call fcn.0049c000
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 0x45117d
mov al, byte [ecx - 1]
test al, al
je 0x451171
cmp al, 0xff
je 0x451171
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.0049c000
add esp, 4
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
add esp, 0x838
ret