Function at 0x4470f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559fe1
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x678], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x674], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 0x67c], esi
mov word [esi], ax
mov dword [ebp - 4], eax
push 0x400
push eax
lea eax, [ebp - 0x610]
mov dword [ebp - 0x674], 1
push eax
call fcn.0052d340
add esp, 0xc
lea ecx, [ebp - 0x628]
mov edx, 0x5974fc
call fcn.00411d80
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x44718f
mov eax, dword [eax]
push eax
push 0x200
lea eax, [ebp - 0x610]
push eax
push 0x59751c
push 0x597520
push 0x59753c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x614]
cmp eax, 8
jb 0x4471d6
inc eax
lea ecx, [ebp - 0x628]
push eax
push dword [ebp - 0x628]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x614], 7
mov dword [ebp - 0x618], 0
mov word [ebp - 0x628], ax
cmp word [ebp - 0x610], ax
jne 0x447200
xor ecx, ecx
jmp 0x44721f
lea ecx, [ebp - 0x610]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447210
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x610]
mov ecx, esi
push eax
call fcn.00404d30
cmp dword [esi + 0x10], 0
jne 0x4474e4
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x614], 0xf
mov dword [ebp - 0x618], 0
mov byte [ebp - 0x628], 0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
call fcn.0052d340
add esp, 0xc
lea ecx, [ebp - 0x670]
mov edx, str.LanUserConfig.dat
call fcn.0040e950
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4472a0
mov eax, dword [eax]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
mov dword [ebp - 0x644], 0xf
mov dword [ebp - 0x648], 0
mov byte [ebp - 0x658], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x658]
push eax
call fcn.0040c430
mov byte [ebp - 4], 8
lea eax, [ebp - 0x658]
cmp dword [ebp - 0x644], 0x10
cmovae eax, dword [ebp - 0x658]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push 0x587b66
push 0x59757c
push 0x59758c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x644]
cmp eax, 0x10
jb 0x44733b
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.00409490
mov dword [ebp - 0x644], 0xf
mov dword [ebp - 0x648], 0
mov byte [ebp - 0x658], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x65c]
cmp eax, 8
jb 0x447378
inc eax
lea ecx, [ebp - 0x670]
push eax
push dword [ebp - 0x670]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x65c], 7
mov dword [ebp - 0x660], 0
mov word [ebp - 0x670], ax
cmp byte [ebp - 0x210], al
jne 0x4473a1
xor ecx, ecx
jmp 0x4473b9
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4473b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x628]
call fcn.0040acd0
xor eax, eax
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x640]
call fcn.0040cc10
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x640]
cmp esi, eax
je 0x44742d
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004048d0
cmp dword [ebp - 0x630], 0
jne 0x447450
mov ecx, 0x597598
call fcn.00447500
push 0xb
push 0x5975b0
mov ecx, esi
call fcn.00404d30
jmp 0x447469
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
cmovae ecx, dword [ebp - 0x640]
call fcn.00447500
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x44748b
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x614]
cmp eax, 0x10
jb 0x4474c9
inc eax
lea ecx, [ebp - 0x628]
push eax
push dword [ebp - 0x628]
call fcn.00409490
mov dword [ebp - 0x614], 0xf
mov dword [ebp - 0x618], 0
mov byte [ebp - 0x628], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret