Function at 0x10081310
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101738c0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101b9820]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
movzx eax, byte [0x10250e4d]
test eax, eax
jne 0x10081348
jmp 0x100817d1
push 0x100800a0
push 0xd2300c
call fcn.10154b60
add esp, 8
push 0x10080060
push 0xd23004
call fcn.10154b60
add esp, 8
push 0x10080030
push 0xd22fe8
call fcn.10154b60
add esp, 8
push 0x1007fdc0
push 0xd23010
call fcn.10154b60
add esp, 8
push 0x1007fd90
push 0xd22fec
call fcn.10154b60
add esp, 8
mov ecx, dword [ebp - 0x14]
movss xmm0, dword [0x101a6500]
movss dword [ecx + 0xe4], xmm0
mov edx, dword [ebp - 0x14]
movss xmm0, dword [0x101a6570]
movss dword [edx + 0xe8], xmm0
mov eax, dword [ebp - 0x14]
movss xmm0, dword [0x101a5810]
movss dword [eax + 0xdc], xmm0
mov ecx, dword [ebp - 0x14]
movss xmm0, dword [0x101a6258]
movss dword [ecx + 0xe0], xmm0
push 0x4c
call fcn.10064238
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x10081435
push 0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push 0x29
mov ecx, dword [ebp - 0x1c]
call fcn.10099d10
mov dword [ebp - 0x20], eax
jmp 0x1008143c
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x128], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x128]
call fcn.10099ff0
push 0x4c
call fcn.10064238
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0
je 0x100814aa
push 0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push 0x29
mov ecx, dword [ebp - 0x24]
call fcn.10099d10
mov dword [ebp - 0x28], eax
jmp 0x100814b1
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0x154], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x154]
call fcn.10099ff0
push 0x4c
call fcn.10064238
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0
je 0x1008151f
push 0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push 0x2c
mov ecx, dword [ebp - 0x2c]
call fcn.10099d10
mov dword [ebp - 0x30], eax
jmp 0x10081526
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
mov dword [edx + 0x158], eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x158]
call fcn.10099ff0
push 0x4c
call fcn.10064238
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x34], 0
je 0x10081594
push 0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push 0x20
mov ecx, dword [ebp - 0x34]
call fcn.10099d10
mov dword [ebp - 0x38], eax
jmp 0x1008159b
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x15c], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x15c]
call fcn.10099ff0
push 0x4c
call fcn.10064238
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x3c], 0
je 0x10081609
push 0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push 0x20
mov ecx, dword [ebp - 0x3c]
call fcn.10099d10
mov dword [ebp - 0x40], eax
jmp 0x10081610
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0x160], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x160]
call fcn.10099ff0
mov dword [ebp - 0x18], 0
jmp 0x10081649
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0xa
jge 0x100816ed
push 0x4c
call fcn.10064238
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x44], 0
je 0x1008169a
push 0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101a5810]
movss dword [esp], xmm0
push 0x2a
mov ecx, dword [ebp - 0x44]
call fcn.10099d10
mov dword [ebp - 0x48], eax
jmp 0x100816a1
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x60]
mov dword [ecx + eax*4 + 0x12c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + eax*4 + 0x12c]
call fcn.10099ff0
push 0x101832b9
push 0x101832ba
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x16
add ecx, dword [ebp - 0x14]
call fcn.10001020
jmp 0x10081640
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xec], 0
push 0x101839f4
push 0
push 0x10183a04
push 0x10183a1c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x1008171b
mov byte [ebp - 0xd], 1
jmp 0x1008171f
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0xd]
mov byte [eax + 0x121], cl
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x121]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x15c]
call fcn.10001000
push 0x10183a24
push 0
push 0x10183a34
push 0x10183a54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10081765
mov byte [ebp - 0xe], 1
jmp 0x10081769
mov byte [ebp - 0xe], 0
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 0xe]
mov byte [edx + 0x122], al
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x122]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x160]
call fcn.10001000
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 0x122]
mov byte [ecx + 0x120], al
push 0x9c
push 0x40b2cb
call fcn.10154b60
add esp, 8
push 0x9c
push 0x40b2ee
call fcn.10154b60
add esp, 8
push 0x10183a5c
mov ecx, dword [ebp - 0x14]
call fcn.100805e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret