Function at 0x100c7170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push eax
push 0x7a
mov ecx, 0x104c3dbc
call fcn.100e82f0
movzx ecx, byte [0x1052d9cf]
test ecx, ecx
jne 0x100c71a3
mov dword [0x10199b90], 0
jmp 0x100c7549
push 0x101709e4
push 1
push 0x101709f4
push 0x101709fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x10199b90], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x5c], 0xffffffff
push 0x10170a04
push ecx
movss xmm0, dword [0x10184ad0]
movss dword [esp], xmm0
push 0x10170a14
push 0x10170a1c
call fcn.10136980
add esp, 0x10
mov eax, dword [ebp - 8]
fstp dword [eax + 0xc]
push 0x10170a24
push ecx
movss xmm0, dword [0x101845cc]
movss dword [esp], xmm0
push 0x10170a34
push 0x10170a3c
call fcn.10136980
add esp, 0x10
mov ecx, dword [ebp - 8]
fstp dword [ecx + 0x10]
mov edx, dword [ebp - 8]
movss xmm0, dword [0x101847a0]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [0x101847a0]
movss dword [eax + 0x18], xmm0
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x77], 2
mov edx, dword [0x10196b98]
mov dword [ebp - 0xc], edx
cvtsi2sd xmm0, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10184c00]
movsd qword [ebp - 0x20], xmm0
cvtsd2ss xmm0, qword [ebp - 0x20]
mov ecx, dword [ebp - 8]
subss xmm0, dword [ecx + 0x14]
subss xmm0, dword [0x101845cc]
mov edx, dword [ebp - 8]
movss xmm1, dword [edx + 0xc]
comiss xmm1, xmm0
jbe 0x100c72c8
mov eax, dword [0x10196b98]
mov dword [ebp - 0x10], eax
cvtsi2sd xmm0, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10184c00]
movsd qword [ebp - 0x28], xmm0
cvtsd2ss xmm0, qword [ebp - 0x28]
mov edx, dword [ebp - 8]
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [0x101845cc]
mov eax, dword [ebp - 8]
movss dword [eax + 0xc], xmm0
push 0x10170a44
push 0
push 0x10170a54
push 0x10170a5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 3
ja case.default.0x100c72f1
mov edx, dword [ebp - 0x14]
jmp dword [edx*4 + 0x100c7550]
mov eax, dword [ebp - 8]
movss xmm0, dword [0x10183db4]
movss dword [eax + 0x6c], xmm0
jmp 0x100c7350
mov ecx, dword [ebp - 8]
movss xmm0, dword [0x10183e60]
movss dword [ecx + 0x6c], xmm0
jmp 0x100c7350
mov edx, dword [ebp - 8]
movss xmm0, dword [0x10183f28]
movss dword [edx + 0x6c], xmm0
jmp 0x100c7350
mov eax, dword [ebp - 8]
movss xmm0, dword [0x10183fe0]
movss dword [eax + 0x6c], xmm0
jmp 0x100c7350
mov ecx, dword [ebp - 8]
movss xmm0, dword [0x10183db4]
movss dword [ecx + 0x6c], xmm0
push 0x10170a64
push 1
push 0x10170a74
push 0x10170a7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x70], 1
jl 0x100c737f
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x70], 2
jle 0x100c7389
mov edx, dword [ebp - 8]
mov dword [edx + 0x70], 1
mov eax, 0xc
imul eax, eax, 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, 4
imul edx, edx, 0
mov eax, dword [eax + ecx + 0x1052d9d8]
mov dword [edx + 0x10199cc8], eax
mov ecx, 0xc
imul ecx, ecx, 0
mov edx, 4
shl edx, 0
mov eax, 4
shl eax, 0
mov ecx, dword [ecx + edx + 0x1052d9d8]
mov dword [eax + 0x10199cc8], ecx
mov edx, 0xc
imul edx, edx, 0
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 1
mov edx, dword [edx + eax + 0x1052d9d8]
mov dword [ecx + 0x10199cc8], edx
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x10199cc8], edx
mov eax, 0xc
shl eax, 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, 4
imul edx, edx, 0
mov eax, dword [eax + ecx + 0x1052d9d8]
mov dword [edx + 0x10199cb8], eax
mov ecx, 0xc
shl ecx, 0
mov edx, 4
shl edx, 0
mov eax, 4
shl eax, 0
mov ecx, dword [ecx + edx + 0x1052d9d8]
mov dword [eax + 0x10199cb8], ecx
mov edx, 0xc
shl edx, 0
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 1
mov edx, dword [edx + eax + 0x1052d9d8]
mov dword [ecx + 0x10199cb8], edx
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x10199cb8], edx
push 0
push 1
push 0x2900
push 0x2600
push 0x7ae4
push str.CustomInterfaceMinimap_Menu.tga
mov eax, 0x772330
call eax
add esp, 0x18
push 0
push 1
push 0x2900
push 0x2600
push 0x7ae6
push str.CustomMapsFrame.tga
mov ecx, 0x772330
call ecx
add esp, 0x18
push 0
push 1
push 0x2900
push 0x2600
push 0x7ae7
push str.Interfacemini_map_ui_party.tga
mov edx, 0x772330
call edx
add esp, 0x18
cvtsi2ss xmm0, dword [0xe61e58]
movss xmm1, dword [0x10184afc]
divss xmm1, xmm0
mov eax, dword [ebp - 8]
movss dword [eax + 0x78], xmm1
cvtsi2ss xmm0, dword [0xe61e5c]
movss xmm1, dword [0x10184ac0]
divss xmm1, xmm0
mov ecx, dword [ebp - 8]
movss dword [ecx + 0x7c], xmm1
cmp dword [0x10199b90], 0
je 0x100c7538
mov byte [ebp - 1], 1
jmp 0x100c753c
mov byte [ebp - 1], 0
movzx edx, byte [ebp - 1]
push edx
mov ecx, dword [ebp - 8]
call fcn.1000ffe0
mov esp, ebp
pop ebp
ret