Function at 0x45c73d
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x2c0
lea ebp, [esp - 4]
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp + 0x2c0], eax
push 0x28
mov eax, 0x4a4bee
call fcn.00476f82
mov eax, dword [ebp + 0x2cc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x38]
push eax
call fcn.0044f4f1
mov esi, str.QMNetworkMgr.ini
push esi
call sub.MSVCR80.dll_wcslen
push eax
push esi
lea eax, [ebp + 0x38]
push 0x104
push eax
call sub.MSVCR80.dll_wcsncat_s
xor esi, esi
push 0x7e
lea eax, [ebp + 0x242]
push esi
push eax
mov word [ebp + 0x240], si
call sub.MSVCR80.dll_memset
add esp, 0x24
lea eax, [ebp + 0x38]
push eax
push 0x3f
lea eax, [ebp + 0x240]
push eax
mov ebx, 0x4bc094
push ebx
push str.MainServer
mov edi, str.SERVERIP
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
call esi
cmp word [ebp + 0x240], 0
je 0x45c826
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp]
call fcn.00406f58
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0045bd02
pop ecx
pop ecx
mov ecx, eax
call fcn.00406b11
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
call fcn.00406b99
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00402f4a
and word [ebp + 0x240], 0
lea eax, [ebp + 0x38]
push eax
push 0x3f
lea eax, [ebp + 0x240]
push eax
push ebx
push str.BackServer
push edi
call esi
xor ebx, ebx
xor esi, esi
inc ebx
cmp word [ebp + 0x240], si
je 0x45c894
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00406f58
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], ebx
call fcn.0045bd02
pop ecx
pop ecx
mov ecx, eax
call fcn.00406b11
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], eax
call fcn.00406b99
lea ecx, [ebp + 0x1c]
call fcn.00402f4a
push dword [ebp - 0x14]
call fcn.0045c706
add esp, 4
test eax, eax
je 0x45c8a6
mov dword [ebp - 0x14], esi
push dword [ebp - 0x10]
call fcn.0045c706
add esp, 4
test eax, eax
je 0x45c8b8
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
cmp eax, esi
jne 0x45c91e
cmp dword [ebp - 0x10], esi
jne 0x45c91e
test byte [0x4e7d14], bl
jne 0x45c8e2
or dword [0x4e7d14], ebx
push str.183.62.104.184
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x4e7d10], eax
test byte [0x4e7d14], 2
jne 0x45c902
or dword [0x4e7d14], 2
push str.125.39.202.18
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x4e7d0c], eax
mov eax, dword [0x4e7d10]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4e7d0c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x48], 3
jmp 0x45c93c
cmp eax, esi
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x48], 2
jne 0x45c934
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x45c93c
cmp dword [ebp - 0x10], esi
jne 0x45c93c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x4c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x50], ecx
mov dword [eax + 0x44], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c0]
xor ecx, ebp
call fcn.0047676d
add ebp, 0x2c4
leave
ret 4