Function at 0x1008f870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6993
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
call fcn.100949b0
mov eax, dword [0x1010d03c]
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.1000e5b0
lea ecx, [ebp - 0x1028]
call fcn.10004950
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1028]
push eax
call fcn.1008f1f0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x1008f8f3
mov byte [ebp - 0x10c1], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100048a0
mov al, byte [ebp - 0x10c1]
jmp 0x1008fc7f
push 0x1000
push 0
lea edx, [ebp - 0x1010]
push edx
call fcn.10096b80
add esp, 0xc
lea ecx, [ebp - 0x1028]
call fcn.10004ac0
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x100d9960
push 0x100d96ec
push 0x100d96c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x1010]
test eax, eax
je 0x1008fa3e
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x1088]
push edx
call fcn.10045d70
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.1001a350
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1070]
push eax
push section..data
lea ecx, [ebp - 0x1088]
push ecx
call fcn.10092f50
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x1008f9db
mov byte [ebp - 0x10c2], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.1001a2c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1088]
call fcn.1001a2c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100048a0
mov al, byte [ebp - 0x10c2]
jmp 0x1008fc7f
push 0
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x10b8]
push ecx
call fcn.100457c0
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.10019ed0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10b8]
call fcn.100048a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.1001a2c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1088]
call fcn.1001a2c0
jmp 0x1008fc38
lea ecx, [ebp - 0x1040]
call fcn.10004950
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1040]
push ecx
call fcn.1008f0e0
add esp, 4
movzx edx, al
test edx, edx
jne 0x1008fa96
mov byte [ebp - 0x10c3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100048a0
mov al, byte [ebp - 0x10c3]
jmp 0x1008fc7f
push 0x100d9968
lea ecx, [ebp - 0x10e4]
call fcn.10004900
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.10014bb0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10e4]
call fcn.100048a0
lea eax, [ebp - 0x1058]
push eax
call fcn.1000ee20
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x1008fb2e
mov byte [ebp - 0x10c4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.100048a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100048a0
mov al, byte [ebp - 0x10c4]
jmp 0x1008fc7f
xorps xmm0, xmm0
movlpd qword [ebp - 0x10c0], xmm0
lea edx, [ebp - 0x10c0]
push edx
push 3
lea eax, [ebp - 0x1058]
push eax
call fcn.1008fca0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x1008fb9a
mov byte [ebp - 0x10c5], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.100048a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.100048a0
mov al, byte [ebp - 0x10c5]
jmp 0x1008fc7f
mov edx, dword [ebp - 0x10bc]
push edx
mov eax, dword [ebp - 0x10c0]
push eax
lea ecx, [ebp - 0x10a0]
push ecx
call fcn.1000c870
add esp, 0xc
mov byte [ebp - 4], 8
lea edx, [ebp - 0x10a0]
push edx
mov ecx, dword [ebp + 8]
call fcn.1001a070
lea eax, [ebp - 0x10a0]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001a070
push 0x100d9964
lea ecx, [ebp - 0x10fc]
call fcn.10004900
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10fc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000bfa0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10fc]
call fcn.100048a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10a0]
call fcn.100048a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1058]
call fcn.100048a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.100048a0
mov ecx, dword [ebp + 8]
call fcn.1000bf80
cmp eax, 3
jb 0x1008fc51
mov dword [ebp - 0x10cc], 1
jmp 0x1008fc5b
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.100048a0
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.10093f25
mov esp, ebp
pop ebp
ret