Function at 0x459a20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b3223
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 0x4d8db8
call fcn.0045c790
push str.livep.dat
lea eax, [esp + 0x30]
push 0x4d8ff8
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 0x459a7c
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 0x459ac3
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 0x459aeb
push str.124.238.243.54
call dword [sym.imp.WS2_32.dll_inet_addr]
jmp 0x459af4
not eax
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push eax
mov dword [0x4d92c0], eax
call fcn.0045c450
add esp, 4
push eax
push str._CTaskMgr__DNS_proxy:__s
push 0x4d8db8
call fcn.0045c790
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x459b22
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 [0x4d92e0], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x459b43
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 [0x4d92e4], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x459b64
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 0x459b85
mov eax, 4
mov dword [esp + 0x20], eax
xor esi, esi
test eax, eax
jbe 0x459c64
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, 0x4ce298
mov dword [esp + 0x28], 0x22
lea ebp, [ecx*8 + 0x4d9090]
mov edx, dword [esp + 0x14]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
test edx, edx
jne 0x459bd5
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 0x459bee
mov eax, dword [esi + 4]
cmp edi, eax
jae 0x459bf0
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 0x459c09
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 0x459c22
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 0x459c3b
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 0x459bc1
mov eax, dword [esp + 0x20]
mov esi, 0x23
cmp eax, esi
ja 0x459b8f
mov eax, dword [esp + 0x20]
push eax
call fcn.00462600
mov ecx, eax
mov edi, 0x4d9008
shl ecx, 4
add ecx, eax
add esp, 4
mov dword [0x4d8d38], 1
lea esi, [ecx*8 + 0x4d9090]
mov ecx, 0x22
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4d908c]
test eax, eax
je 0x459ca3
mov dword [0x4d8d38], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x459cb0
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 [0x4d92e8], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x459cd1
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 [0x4ce4b0], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x459cf2
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 0x4d92ec
push 0x4d74cc
push str.CoolZone
push str.DomainControl
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x459d21
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 0x4d9aec
push 0x4d74cc
push str.HotZone
push str.DomainControl
call ebx
push 0x4d92ec
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 0x459d7d
mov esi, 0x4d92ec
xor edx, edx
mov dx, word [esi]
push edx
call ebp
mov word [esi], ax
push 0x4d92ec
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x459d5c
push 0x4d9aec
xor edi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x459db7
mov esi, 0x4d9aec
xor eax, eax
mov ax, word [esi]
push eax
call ebp
mov word [esi], ax
push 0x4d9aec
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x459d96
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x459dc4
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 [0x4da2ec], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x459de9
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 0x4da2f0
push 0x4d74cc
push str.BackupZone
push str.DomainControl
call ebx
push 0x4da2f0
xor edi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x459e3f
mov esi, 0x4da2f0
xor ecx, ecx
mov cx, word [esi]
push ecx
call ebp
mov word [esi], ax
push 0x4da2f0
inc edi
add esi, 2
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
cmp edi, eax
jb 0x459e1e
mov eax, dword [esp + 0x14]
xor edi, edi
pop ebp
cmp eax, edi
pop ebx
jne 0x459e50
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 [0x4daaf0], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x459e77
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 [0x4ce4b8], edx
jne 0x459ea8
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 [0x4ce4b4], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x459ecc
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 [0x4daaf4], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x459eec
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 [0x4daaf8], eax
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x459f0c
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 [0x4ce4bc], eax
cmp ecx, edi
je 0x459f46
mov al, byte [ecx - 1]
test al, al
je 0x459f3a
cmp al, 0xff
je 0x459f3a
dec al
mov byte [ecx - 1], al
jmp 0x459f46
add ecx, 0xfffffffe
push ecx
call fcn.0043b3d0
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 0x459f8d
mov al, byte [ecx - 1]
test al, al
je 0x459f81
cmp al, 0xff
je 0x459f81
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.0043b3d0
add esp, 4
mov ecx, dword [esp + 0x82c]
mov dword fs:[0], ecx
add esp, 0x838
ret