Function at 0x45fe5a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, 0x52b763
xor ecx, ecx
test eax, eax
je 0x45fe86
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x45fe99
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x45feb0
dec eax
test ecx, ecx
je 0x45feb0
call fcn.0045fdae
add esp, 0xc
test eax, eax
je 0x45ff02
mov eax, 0x52b759
xor ecx, ecx
test eax, eax
je 0x45fec9
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x45fedc
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x45fef3
dec eax
test ecx, ecx
je 0x45fef3
call fcn.0045fdae
add esp, 0xc
test eax, eax
je 0x45ff02
xor eax, eax
jmp 0x45ff07
mov eax, 1
test eax, eax
je 0x45ff19
mov eax, 0x52b763
jmp 0x46015d
mov dword [ebp - 4], 0x200
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.004a5450
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x45ff53
push ebx
call fcn.004a49ce
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x45ff66
add eax, 8
push eax
push dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
je 0x45ff74
add eax, 8
push eax
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x45ff81
add eax, 8
push eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x45ff8e
add eax, 8
push eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x45ff9b
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x45ffb8
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x52b76b]
fstp qword [ebp - 0x1c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [ebp - 0x1c]
ftst
fnstsw ax
test ah, 1
je 0x45ffe4
fchs
fcomp qword [0x52b773]
fnstsw ax
test ah, 0x41
jne 0x460033
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x52b751]
fstp qword [ebp - 0x38]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [ebp - 0x38]
ftst
fnstsw ax
test ah, 1
je 0x46001e
fchs
fcomp qword [0x52b773]
fnstsw ax
test ah, 0x41
jne 0x460033
xor eax, eax
jmp 0x460038
mov eax, 1
test eax, eax
je 0x4600e2
mov dword [ebp - 4], 0x7fff
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.004a5450
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46007a
push ebx
call fcn.004a49ce
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x46008d
add eax, 8
push eax
push dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
je 0x46009b
add eax, 8
push eax
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x4600a8
add eax, 8
push eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4600b5
add eax, 8
push eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x4600c2
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4600df
push 6
call fcn.004a49d4
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x52b751]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x52b751]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0045fa29
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x460123
mov eax, 0x52b763
push eax
push 2
mov ebx, 0x1a0
call fcn.004a54d0
add esp, 0x1c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00460205
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x460155
push ebx
call fcn.004a49ce
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x46015d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x46016e
push ebx
call fcn.004a49ce
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c