Function at 0x1004b1a2
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x2c0
lea ebp, [esp - 4]
mov eax, dword [0x100c7210]
xor eax, ebp
mov dword [ebp + 0x2c0], eax
push 0x28
mov eax, 0x100a3e90
call fcn.100597c7
mov eax, dword [ebp + 0x2cc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x38]
push eax
call fcn.1003dda5
mov esi, str.QMNetworkMgr.ini
push esi
call fcn.100537aa
push eax
push esi
lea eax, [ebp + 0x38]
push 0x104
push eax
call fcn.10058438
xor esi, esi
push 0x7e
lea eax, [ebp + 0x242]
push esi
push eax
mov word [ebp + 0x240], si
call fcn.10053730
add esp, 0x24
lea eax, [ebp + 0x38]
push eax
push 0x3f
lea eax, [ebp + 0x240]
push eax
mov ebx, 0x100b3ca0
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 0x1004b289
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp]
call fcn.10001a60
and dword [ebp - 4], 0
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.1004cb5a
pop ecx
mov ecx, eax
call fcn.10009b50
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
call fcn.1000b140
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10001aa0
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 0x1004b2f5
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp + 0x1c]
call fcn.10001a60
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
call fcn.1004cb5a
pop ecx
mov ecx, eax
call fcn.10009b50
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], eax
call fcn.1000b140
lea ecx, [ebp + 0x1c]
call fcn.10001aa0
push dword [ebp - 0x14]
call fcn.1004b16b
add esp, 4
test eax, eax
je 0x1004b307
mov dword [ebp - 0x14], esi
push dword [ebp - 0x10]
call fcn.1004b16b
add esp, 4
test eax, eax
je 0x1004b319
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
cmp eax, esi
jne 0x1004b37f
cmp dword [ebp - 0x10], esi
jne 0x1004b37f
test byte [0x1010d48c], bl
jne 0x1004b343
or dword [0x1010d48c], ebx
push str.183.62.104.184
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x1010d488], eax
test byte [0x1010d48c], 2
jne 0x1004b363
or dword [0x1010d48c], 2
push str.125.39.202.18
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x1010d484], eax
mov eax, dword [0x1010d488]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1010d484]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x48], 3
jmp 0x1004b39d
cmp eax, esi
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x48], 2
jne 0x1004b395
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x1004b39d
cmp dword [ebp - 0x10], esi
jne 0x1004b39d
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.10053547
add ebp, 0x2c4
leave
ret 4