Function at 0x51000a
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, 0x58a4d0
xor ecx, ecx
test eax, eax
je 0x510036
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 0x510049
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x510060
dec eax
test ecx, ecx
je 0x510060
call fcn.0050ff5e
add esp, 0xc
test eax, eax
je 0x5100b2
mov eax, 0x58a4c6
xor ecx, ecx
test eax, eax
je 0x510079
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 0x51008c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x5100a3
dec eax
test ecx, ecx
je 0x5100a3
call fcn.0050ff5e
add esp, 0xc
test eax, eax
je 0x5100b2
xor eax, eax
jmp 0x5100b7
mov eax, 1
test eax, eax
je 0x5100c9
mov eax, 0x58a4d0
jmp 0x51030d
mov dword [ebp - 4], 0x200
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.00555600
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x510103
push ebx
call fcn.00554b7e
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 0x510116
add eax, 8
push eax
push dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
je 0x510124
add eax, 8
push eax
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x510131
add eax, 8
push eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x51013e
add eax, 8
push eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x51014b
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x510168
push 6
call fcn.00554b84
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fsub qword [0x58a4d8]
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 0x510194
fchs
fcomp qword [0x58a4e0]
fnstsw ax
test ah, 0x41
jne 0x5101e3
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x58a4be]
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 0x5101ce
fchs
fcomp qword [0x58a4e0]
fnstsw ax
test ah, 0x41
jne 0x5101e3
xor eax, eax
jmp 0x5101e8
mov eax, 1
test eax, eax
je 0x510292
mov dword [ebp - 4], 0x7fff
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.00555600
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x51022a
push ebx
call fcn.00554b7e
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 0x51023d
add eax, 8
push eax
push dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
je 0x51024b
add eax, 8
push eax
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx]
test eax, eax
je 0x510258
add eax, 8
push eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x510265
add eax, 8
push eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x510272
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x51028f
push 6
call fcn.00554b84
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x58a4be]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x58a4be]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0050fbd9
push 0x80000301
push 0
push eax
push SysStringLen
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x5102d3
mov eax, 0x58a4d0
push eax
push 2
mov ebx, 0x1a0
call fcn.00555680
add esp, 0x1c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.005103b5
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x510305
push ebx
call fcn.00554b7e
add esp, 4
mov eax, dword [ebp - 0x2c]
jmp 0x51030d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x51031e
push ebx
call fcn.00554b7e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c