Function at 0x1004bbb0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x100ec47d
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.1004d2a0
test al, al
jne 0x1004c08c
call fcn.1004c7f0
lea ecx, [ebp + 0x64]
call fcn.1004d320
push eax
sub esp, 0x18
mov ecx, esp
push 0x10149c18
call fcn.1004d5b0
lea eax, [ebp + 0xc]
push eax
call fcn.10045c00
add esp, 0x20
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1004d320
push dword [ebp + 8]
mov edi, eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.10051880
mov ecx, eax
call fcn.1004ab30
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.10051840
mov ecx, eax
call fcn.1004bb60
push eax
lea ecx, [ebp - 0xb0]
call fcn.1004d550
mov ecx, eax
call fcn.1004d320
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.1004d4a0
mov eax, esi
mov dword [ebp + 4], 0
mov dword [ebp + 8], eax
test eax, eax
je 0x1004c084
nop dword [eax + eax]
lea ecx, [ebp + 0xc]
call fcn.1004d320
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.10051930
mov ecx, eax
call fcn.1004abf0
push eax
mov ecx, esi
call fcn.1004d550
lea eax, [ebp - 0x4c]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1004d320
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.100518f0
mov ecx, eax
call fcn.1004bb60
push eax
lea ecx, [ebp - 0x34]
call fcn.1004d550
mov ecx, eax
call fcn.1004d320
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.1004d4a0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1004d4a0
lea ecx, [ebp + 0xc]
call fcn.1004d320
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.10051a00
mov ecx, eax
call fcn.1004abf0
push eax
mov ecx, esi
call fcn.1004d550
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1004d320
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.100519c0
mov ecx, eax
call fcn.1004bb60
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004d550
mov ecx, eax
call fcn.1004d320
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
call fcn.1004d4a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d4a0
lea ecx, [ebp + 0xc]
call fcn.1004d320
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.10051b00
mov ecx, eax
call fcn.1004abb0
push eax
mov ecx, esi
call fcn.1004d550
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.1004d320
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.10051ac0
mov ecx, eax
call fcn.1004bb60
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004d550
mov ecx, eax
call fcn.1004d320
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp], eax
call fcn.1004d4a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d4a0
lea ecx, [ebp + 0xc]
call fcn.1004d320
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.10051b70
mov ecx, eax
call fcn.1004abb0
push eax
mov ecx, esi
call fcn.1004d550
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.1004d320
push dword [ebp + 8]
mov esi, eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.10051840
mov ecx, eax
call fcn.1004bb60
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004d550
mov ecx, eax
call fcn.1004d320
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
call fcn.1004d4a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d4a0
lea ecx, [ebp + 0xc]
call fcn.1004d320
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.10051c20
mov ecx, eax
call fcn.1004abb0
push eax
mov ecx, esi
call fcn.1004d550
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1004d320
push dword [ebp - 0x11]
mov esi, eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.10051be0
mov ecx, eax
call fcn.1004bb60
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004d550
mov ecx, eax
call fcn.1004d320
push edi
push 0
push esi
push eax
call ebx
lea ecx, [ebp - 0x4c]
mov ebx, eax
call fcn.1004d4a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d4a0
lea ecx, [ebp + 0xc]
call fcn.1004d320
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.10051cd0
mov ecx, eax
call fcn.1004abb0
push eax
mov ecx, esi
call fcn.1004d550
lea eax, [ebp - 0x34]
push eax
call fcn.10045c00
add esp, 0x20
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1004d320
push dword [ebp - 0x11]
mov esi, eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.10051c90
mov ecx, eax
call fcn.1004bb60
push eax
lea ecx, [ebp - 0x4c]
call fcn.1004d550
mov ecx, eax
call fcn.1004d320
push edi
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.1004d4a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.1004d4a0
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 + 0x10117540]
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 + 0x10117540]
lea eax, [ebp + 0x24]
push eax
cvtpd2ps xmm0, xmm0
movss dword [ebp], xmm0
call fcn.1004d550
movss xmm3, dword [ebp]
lea ecx, [ebp - 0x64]
call fcn.10046050
push eax
mov byte [ebp - 4], 8
call fcn.1004c820
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 0x1004bca0
lea ecx, [ebp + 0xc]
call fcn.1004d4a0
lea ecx, [ebp + 0x64]
call fcn.1004d4a0
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.100c0cd4
lea esp, [ebp + 0x5c]
pop ebp
ret 0x18