Function at 0x100ddef0
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, 0x104e321c
call fcn.100ff1d0
movzx ecx, byte [0x1054d60f]
test ecx, ecx
jne 0x100ddf23
mov dword [0x101b6bb0], 0
jmp 0x100de2c9
push 0x1018b97c
push 1
push 0x1018b98c
push 0x1018b994
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x101b6bb0], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x5c], 0xffffffff
push 0x1018b99c
push ecx
movss xmm0, dword [0x1019ffa0]
movss dword [esp], xmm0
push 0x1018b9ac
push 0x1018b9b4
call fcn.1014f5d0
add esp, 0x10
mov eax, dword [ebp - 8]
fstp dword [eax + 0xc]
push 0x1018b9bc
push ecx
movss xmm0, dword [0x1019fa94]
movss dword [esp], xmm0
push 0x1018b9cc
push 0x1018b9d4
call fcn.1014f5d0
add esp, 0x10
mov ecx, dword [ebp - 8]
fstp dword [ecx + 0x10]
mov edx, dword [ebp - 8]
movss xmm0, dword [0x1019fc70]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [0x1019fc70]
movss dword [eax + 0x18], xmm0
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x77], 2
mov edx, dword [0x101b3ba8]
mov dword [ebp - 0xc], edx
cvtsi2sd xmm0, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101a00d0]
movsd qword [ebp - 0x20], xmm0
cvtsd2ss xmm0, qword [ebp - 0x20]
mov ecx, dword [ebp - 8]
subss xmm0, dword [ecx + 0x14]
subss xmm0, dword [0x1019fa94]
mov edx, dword [ebp - 8]
movss xmm1, dword [edx + 0xc]
comiss xmm1, xmm0
jbe 0x100de048
mov eax, dword [0x101b3ba8]
mov dword [ebp - 0x10], eax
cvtsi2sd xmm0, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x101a00d0]
movsd qword [ebp - 0x28], xmm0
cvtsd2ss xmm0, qword [ebp - 0x28]
mov edx, dword [ebp - 8]
subss xmm0, dword [edx + 0x14]
subss xmm0, dword [0x1019fa94]
mov eax, dword [ebp - 8]
movss dword [eax + 0xc], xmm0
push 0x1018b9dc
push 0
push 0x1018b9ec
push 0x1018b9f4
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.0x100de071
mov edx, dword [ebp - 0x14]
jmp dword [edx*4 + 0x100de2d0]
mov eax, dword [ebp - 8]
movss xmm0, dword [0x1019f284]
movss dword [eax + 0x6c], xmm0
jmp 0x100de0d0
mov ecx, dword [ebp - 8]
movss xmm0, dword [0x1019f330]
movss dword [ecx + 0x6c], xmm0
jmp 0x100de0d0
mov edx, dword [ebp - 8]
movss xmm0, dword [0x1019f3f8]
movss dword [edx + 0x6c], xmm0
jmp 0x100de0d0
mov eax, dword [ebp - 8]
movss xmm0, dword [0x1019f4b4]
movss dword [eax + 0x6c], xmm0
jmp 0x100de0d0
mov ecx, dword [ebp - 8]
movss xmm0, dword [0x1019f284]
movss dword [ecx + 0x6c], xmm0
push 0x1018b9fc
push 1
push 0x1018ba0c
push 0x1018ba14
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 0x100de0ff
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x70], 2
jle 0x100de109
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 + 0x1054d618]
mov dword [edx + 0x101b845c], 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 + 0x1054d618]
mov dword [eax + 0x101b845c], 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 + 0x1054d618]
mov dword [ecx + 0x101b845c], edx
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x101b845c], 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 + 0x1054d618]
mov dword [edx + 0x101b844c], eax
mov ecx, 0xc
shl ecx, 0
mov edx, 4
shl edx, 0
mov eax, 4
shl eax, 0
mov ecx, dword [ecx + edx + 0x1054d618]
mov dword [eax + 0x101b844c], ecx
mov edx, 0xc
shl edx, 0
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 1
mov edx, dword [edx + eax + 0x1054d618]
mov dword [ecx + 0x101b844c], edx
mov eax, 4
imul eax, eax, 3
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x101b844c], 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 [0x1019ffcc]
divss xmm1, xmm0
mov eax, dword [ebp - 8]
movss dword [eax + 0x78], xmm1
cvtsi2ss xmm0, dword [0xe61e5c]
movss xmm1, dword [0x1019ff90]
divss xmm1, xmm0
mov ecx, dword [ebp - 8]
movss dword [ecx + 0x7c], xmm1
cmp dword [0x101b6bb0], 0
je 0x100de2b8
mov byte [ebp - 1], 1
jmp 0x100de2bc
mov byte [ebp - 1], 0
movzx edx, byte [ebp - 1]
push edx
mov ecx, dword [ebp - 8]
call fcn.1001e450
mov esp, ebp
pop ebp
ret