Function at 0x1004c170
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x100ec60d
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10120140]
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.1004d7f0
test al, al
jne 0x1004c654
call fcn.1004cdb0
lea ecx, [ebp + 0x64]
call fcn.1004d870
push eax
sub esp, 0x18
mov ecx, esp
push 0x10149bf8
call fcn.1004db00
lea eax, [ebp + 0xc]
push eax
call fcn.10045e00
add esp, 0x20
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1004d870
push dword [ebp + 8]
mov edi, eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.100521b0
mov ecx, eax
call fcn.1004b340
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.10052170
mov ecx, eax
call fcn.10047d90
push eax
lea ecx, [ebp - 0xb0]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
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.1004d9f0
mov eax, esi
mov dword [ebp + 4], 0
mov dword [ebp + 8], eax
test eax, eax
je 0x1004c64c
nop dword [eax + eax]
lea ecx, [ebp + 0xc]
call fcn.1004d870
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.10052260
mov ecx, eax
call fcn.1004b380
push eax
mov ecx, esi
call fcn.1004daa0
lea eax, [ebp - 0x4c]
push eax
call fcn.10045e00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1004d870
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.10052220
mov ecx, eax
call fcn.10047d90
push eax
lea ecx, [ebp - 0x34]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0x32
lea ecx, [ebp + 0x24]
push ecx
push 0x1010ecff
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x34]
call fcn.1004d9f0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1004d9f0
lea ecx, [ebp + 0xc]
call fcn.1004d870
push dword [ebp + 4]
lea ecx, [ebp - 0xa8]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp + 8]
push str.Route_Type__d
call fcn.10052330
mov ecx, eax
call fcn.1004b380
push eax
mov ecx, esi
call fcn.1004daa0
lea eax, [ebp - 0x34]
push eax
call fcn.10045e00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1004d870
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.100522f0
mov ecx, eax
call fcn.10047d90
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
call fcn.1004d9f0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d9f0
lea ecx, [ebp + 0xc]
call fcn.1004d870
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.100523f0
mov ecx, eax
call fcn.1004a390
push eax
mov ecx, esi
call fcn.1004daa0
lea eax, [ebp - 0x34]
push eax
call fcn.10045e00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.1004d870
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.1004f3b0
mov ecx, eax
call fcn.10047d90
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp], eax
call fcn.1004d9f0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d9f0
lea ecx, [ebp + 0xc]
call fcn.1004d870
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.100524a0
mov ecx, eax
call fcn.1004a390
push eax
mov ecx, esi
call fcn.1004daa0
lea eax, [ebp - 0x34]
push eax
call fcn.10045e00
add esp, 0x20
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.1004d870
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.10052460
mov ecx, eax
call fcn.10047d90
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
call fcn.1004d9f0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d9f0
lea ecx, [ebp + 0xc]
call fcn.1004d870
push dword [ebp + 4]
lea ecx, [ebp - 0xd4]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp - 0x11]
push str.warpid1__d
call fcn.10052550
mov ecx, eax
call fcn.1004a390
push eax
mov ecx, esi
call fcn.1004daa0
lea eax, [ebp - 0x34]
push eax
call fcn.10045e00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1004d870
push dword [ebp - 0x11]
mov esi, eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.10052510
mov ecx, eax
call fcn.10047d90
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov ebx, eax
call fcn.1004d9f0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d9f0
lea ecx, [ebp + 0xc]
call fcn.1004d870
push dword [ebp + 4]
lea ecx, [ebp - 0xe0]
mov edi, eax
sub esp, 0x18
mov esi, esp
push dword [ebp - 0x11]
push str.warpid2__d
call fcn.10052630
mov ecx, eax
call fcn.1004a390
push eax
mov ecx, esi
call fcn.1004daa0
lea eax, [ebp - 0x34]
push eax
call fcn.10045e00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1004d870
push dword [ebp - 0x11]
mov esi, eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.100525f0
mov ecx, eax
call fcn.10047d90
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004daa0
mov ecx, eax
call fcn.1004d870
push edi
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.1004d9f0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d9f0
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 + 0x10117670]
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 + 0x10117670]
lea eax, [ebp + 0x24]
push eax
cvtpd2ps xmm0, xmm0
movss dword [ebp], xmm0
call fcn.1004daa0
movss xmm3, dword [ebp]
lea ecx, [ebp - 0x64]
call fcn.100462b0
push eax
mov byte [ebp - 4], 8
call fcn.1004cde0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.10047e50
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 0x1004c260
lea ecx, [ebp + 0xc]
call fcn.1004d9f0
lea ecx, [ebp + 0x64]
call fcn.1004d9f0
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.100c0eca
lea esp, [ebp + 0x5c]
pop ebp
ret 0x18