Function at 0x100a8660
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c07e3
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
call fcn.100ac4a0
mov eax, dword [0x100f101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10004960
lea ecx, [ebp - 0x1028]
call fcn.10003990
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1028]
push eax
call fcn.100a7fe0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x100a86e3
mov byte [ebp - 0x10c1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100038a0
mov al, byte [ebp - 0x10c1]
jmp 0x100a8a6f
push 0x1000
push 0
lea edx, [ebp - 0x1010]
push edx
call fcn.10081e90
add esp, 0xc
lea ecx, [ebp - 0x1028]
call fcn.10003830
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x100cc3b8
push 0x100cc144
push 0x100cc11c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x1010]
test eax, eax
je 0x100a882e
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x1088]
push edx
call fcn.1002c720
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.10009ad0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1070]
push eax
push 0x100f1890
lea ecx, [ebp - 0x1088]
push ecx
call fcn.100aa7f0
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x100a87cb
mov byte [ebp - 0x10c2], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.10009a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1088]
call fcn.10009a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100038a0
mov al, byte [ebp - 0x10c2]
jmp 0x100a8a6f
push 0
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x10b8]
push ecx
call fcn.1002c1a0
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
push edx
push 0x3b
lea eax, [ebp - 0x10b8]
push eax
call fcn.10009650
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10b8]
call fcn.100038a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.10009a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1088]
call fcn.10009a40
jmp 0x100a8a28
lea ecx, [ebp - 0x1040]
call fcn.10003990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1040]
push ecx
call fcn.100a7ed0
add esp, 4
movzx edx, al
test edx, edx
jne 0x100a8886
mov byte [ebp - 0x10c3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100038a0
mov al, byte [ebp - 0x10c3]
jmp 0x100a8a6f
push 0x100cc3c0
lea ecx, [ebp - 0x10e4]
call fcn.10003940
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10e4]
push eax
lea ecx, [ebp - 0x1040]
push ecx
lea edx, [ebp - 0x1058]
push edx
call fcn.10008000
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10e4]
call fcn.100038a0
lea eax, [ebp - 0x1058]
push eax
call fcn.10006a90
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x100a891e
mov byte [ebp - 0x10c4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.100038a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100038a0
mov al, byte [ebp - 0x10c4]
jmp 0x100a8a6f
xorps xmm0, xmm0
movlpd qword [ebp - 0x10c0], xmm0
lea edx, [ebp - 0x10c0]
push edx
push 3
lea eax, [ebp - 0x1058]
push eax
call fcn.100a8a90
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x100a898a
mov byte [ebp - 0x10c5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.100038a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100038a0
mov al, byte [ebp - 0x10c5]
jmp 0x100a8a6f
mov edx, dword [ebp - 0x10bc]
push edx
mov eax, dword [ebp - 0x10c0]
push eax
lea ecx, [ebp - 0x10a0]
push ecx
call fcn.10008b80
add esp, 0xc
mov byte [ebp - 4], 8
lea edx, [ebp - 0x10a0]
push edx
mov ecx, dword [ebp + 8]
call fcn.100097f0
lea eax, [ebp - 0x10a0]
push eax
mov ecx, dword [ebp + 8]
call fcn.100097f0
push 0x100cc3bc
lea ecx, [ebp - 0x10fc]
call fcn.10003940
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10fc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004990
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10fc]
call fcn.100038a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10a0]
call fcn.100038a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.100038a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.100038a0
mov ecx, dword [ebp + 8]
call fcn.10004940
cmp eax, 3
jb 0x100a8a41
mov dword [ebp - 0x10cc], 1
jmp 0x100a8a4b
mov dword [ebp - 0x10cc], 0
mov dl, byte [ebp - 0x10cc]
mov byte [ebp - 0x10c6], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100038a0
mov al, byte [ebp - 0x10c6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f947
mov esp, ebp
pop ebp
ret