Function at 0x425b70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x38c]
push 0x104
push eax
call fcn.0041e4f0
add esp, 8
test eax, eax
je 0x425baa
xor ecx, ecx
mov word [ebp - 0x38c], cx
lea edx, [ebp - 0x38c]
push edx
push 0x50
push str.Port
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov word [ebx], ax
lea eax, [ebp - 0x184]
push str.746F6F6C732E6176616E71756573742E636F6D
push eax
call fcn.004250b0
mov eax, str.746F6F6C732E6176616E71756573742E636F6D
add esp, 8
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x425be2
sub eax, ecx
lea ecx, [ebp - 0x38c]
push ecx
push 0x200
lea esi, [ebx + 2]
push esi
push 0x48d8a4
push str.Server
shr eax, 1
push str.General
mov byte [ebp + eax - 0x184], dl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0
jne 0x425c64
lea edx, [ebp - 0x184]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x425c3b
xor eax, eax
jmp 0x425c55
lea eax, [edi + edi]
call fcn.00470be0
mov eax, esp
push 0
push edi
lea ecx, [ebp - 0x184]
push ecx
push eax
call fcn.00431390
push eax
push 0x200
push esi
call fcn.00470452
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x38c]
push edx
push 0x200
lea edi, [ebx + 0x402]
push edi
push 0x48d8a4
push str.UrlAP
push str.General
call esi
cmp word [edi], 0
jne 0x425d0d
lea eax, [ebp - 0x104]
push str.2F41637469766174696F6E2F4E756D65726F41637469662E617370
push eax
call fcn.004250b0
mov eax, str.2F41637469766174696F6E2F4E756D65726F41637469662E617370
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425cb0
sub eax, edx
shr eax, 1
mov byte [ebp + eax - 0x104], cl
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x425cde
xor eax, eax
jmp 0x425cf8
lea eax, [esi + esi]
call fcn.00470be0
mov eax, esp
push 0
push esi
lea edx, [ebp - 0x104]
push edx
push eax
call fcn.00431390
push eax
push 0x200
push edi
call fcn.00470452
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea eax, [ebp - 0x38c]
push eax
push 0x200
lea edi, [ebx + 0x802]
push edi
push 0x48d8a4
push str.UrlRL
push str.General
call esi
cmp word [edi], 0
jne 0x425db0
lea ecx, [ebp - 0x104]
push str.2F41637469766174696F6E2F526573694C6963656E63652E617370
push ecx
call fcn.004250b0
mov eax, str.2F41637469766174696F6E2F526573694C6963656E63652E617370
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425d53
sub eax, edx
lea edx, [ebp - 0x104]
shr eax, 1
push edx
mov byte [ebp + eax - 0x104], cl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x425d81
xor eax, eax
jmp 0x425d9b
lea eax, [esi + esi]
call fcn.00470be0
mov eax, esp
push 0
push esi
lea ecx, [ebp - 0x104]
push ecx
push eax
call fcn.00431390
push eax
push 0x200
push edi
call fcn.00470452
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea edx, [ebp - 0x38c]
push edx
push 0x40
lea eax, [ebx + 0xc02]
push eax
push 0x48d8a4
push str.Login
push str.Http
call esi
lea ecx, [ebp - 0x38c]
push ecx
push 0x40
add ebx, 0xc82
push ebx
push 0x48d8a4
push 0x49ad44
push str.Http
call esi
lea esp, [ebp - 0x398]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret