Function at 0x1004a6f0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x100e8a9d
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x1011b140]
xor eax, ebp
mov dword [ebp + 0x58], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0x64]
mov dword [ebp - 4], 0
call fcn.1004bda0
test al, al
jne 0x1004abc8
call fcn.1004b360
lea ecx, [ebp + 0x64]
call fcn.1004be20
push eax
sub esp, 0x18
mov ecx, esp
push 0x10144bf8
call fcn.1004c0b0
lea eax, [ebp + 0xc]
push eax
call fcn.10045c00
add esp, 0x20
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1004be20
push dword [ebp + 8]
mov edi, eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.1004ebf0
mov ecx, eax
call fcn.1004a5f0
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.1004f120
mov ecx, eax
call fcn.1004abf0
push eax
lea ecx, [ebp - 0xb0]
call fcn.1004c050
mov ecx, eax
call fcn.1004be20
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0xb0]
movzx esi, ax
call fcn.1004bfa0
mov eax, esi
mov dword [ebp + 4], 0
mov dword [ebp + 8], eax
test eax, eax
je 0x1004abc0
nop dword [eax + eax]
lea ecx, [ebp + 0xc]
call fcn.1004be20
push dword [ebp + 4]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.1004f1a0
mov ecx, eax
call fcn.1004a6b0
push eax
mov ecx, esi
call fcn.1004c050
lea eax, [ebp - 0x4c]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1004be20
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.1004f160
mov ecx, eax
call fcn.1004abf0
push eax
lea ecx, [ebp - 0x34]
call fcn.1004c050
mov ecx, eax
call fcn.1004be20
push edi
push 0x32
lea ecx, [ebp + 0x24]
push ecx
push 0x1010acff
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x34]
call fcn.1004bfa0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1004bfa0
lea ecx, [ebp + 0xc]
call fcn.1004be20
push dword [ebp + 4]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.1004f270
mov ecx, eax
call fcn.1004a6b0
push eax
mov ecx, esi
call fcn.1004c050
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1004be20
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.1004f230
mov ecx, eax
call fcn.1004abf0
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004c050
mov ecx, eax
call fcn.1004be20
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
call fcn.1004bfa0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004bfa0
lea ecx, [ebp + 0xc]
call fcn.1004be20
push dword [ebp + 4]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.1004f340
mov ecx, eax
call fcn.1004a670
push eax
mov ecx, esi
call fcn.1004c050
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.1004be20
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.1004f300
mov ecx, eax
call fcn.1004abf0
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004c050
mov ecx, eax
call fcn.1004be20
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp], eax
call fcn.1004bfa0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004bfa0
lea ecx, [ebp + 0xc]
call fcn.1004be20
push dword [ebp + 4]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.1004f3f0
mov ecx, eax
call fcn.1004a670
push eax
mov ecx, esi
call fcn.1004c050
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.1004be20
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.1004f3b0
mov ecx, eax
call fcn.1004abf0
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004c050
mov ecx, eax
call fcn.1004be20
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
call fcn.1004bfa0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004bfa0
lea ecx, [ebp + 0xc]
call fcn.1004be20
push dword [ebp + 4]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp - 0x11]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.1004f4a0
mov ecx, eax
call fcn.1004a670
push eax
mov ecx, esi
call fcn.1004c050
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1004be20
push dword [ebp - 0x11]
mov esi, eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.1004f460
mov ecx, eax
call fcn.1004abf0
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004c050
mov ecx, eax
call fcn.1004be20
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov ebx, eax
call fcn.1004bfa0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004bfa0
lea ecx, [ebp + 0xc]
call fcn.1004be20
push dword [ebp + 4]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp - 0x11]
push ecx
lea ecx, [ebp - 0xe0]
call fcn.1004f550
mov ecx, eax
call fcn.1004a670
push eax
mov ecx, esi
call fcn.1004c050
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1004be20
push dword [ebp - 0x11]
mov esi, eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.1004f510
mov ecx, eax
call fcn.1004abf0
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004c050
mov ecx, eax
call fcn.1004be20
push edi
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.1004bfa0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004bfa0
mov eax, dword [ebp - 0x1c]
push esi
push ebx
push 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push ecx
addsd xmm0, qword [eax*8 + 0x10113500]
mov eax, dword [ebp]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [ebp - 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub esp, 0x18
mov ecx, esp
addsd xmm0, qword [eax*8 + 0x10113500]
lea eax, [ebp + 0x24]
push eax
cvtpd2ps xmm0, xmm0
movss dword [ebp], xmm0
call fcn.1004c050
movss xmm3, dword [ebp]
lea ecx, [ebp - 0x64]
call fcn.10046050
push eax
mov byte [ebp - 4], 8
call fcn.1004b390
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.10047ad0
mov eax, dword [ebp + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
inc eax
mov dword [ebp + 4], eax
cmp eax, dword [ebp + 8]
jl 0x1004a7e0
lea ecx, [ebp + 0xc]
call fcn.1004bfa0
lea ecx, [ebp + 0x64]
call fcn.1004bfa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x58]
xor ecx, ebp
call fcn.100bd374
lea esp, [ebp + 0x5c]
pop ebp
ret 0x18