Function at 0x100a8bd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0841
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100f101c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x80]
call fcn.10003990
mov dword [ebp - 4], 0
lea eax, [ebp - 0x80]
push eax
call fcn.100a90d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x100a8c3e
mov byte [ebp - 0x81], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.100038a0
mov al, byte [ebp - 0x81]
jmp 0x100a8f33
lea edx, [ebp - 0x80]
push edx
call fcn.10006a90
add esp, 4
movzx eax, al
test eax, eax
jne 0x100a8c72
mov byte [ebp - 0x82], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.100038a0
mov al, byte [ebp - 0x82]
jmp 0x100a8f33
push 0x40
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.10081e90
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.10003830
push eax
push 0x20
lea edx, [ebp - 0x50]
push edx
push 0x100cc398
push 0x100cc134
push 0x100cc11c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x90], 0x100cc39c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dx, word [ecx]
mov word [ebp - 0x92], dx
mov eax, dword [ebp - 0x90]
cmp dx, word [eax]
jne 0x100a8d1f
cmp word [ebp - 0x92], 0
je 0x100a8d13
mov ecx, dword [ebp - 0x8c]
mov dx, word [ecx + 2]
mov word [ebp - 0x94], dx
mov eax, dword [ebp - 0x90]
cmp dx, word [eax + 2]
jne 0x100a8d1f
add dword [ebp - 0x8c], 4
add dword [ebp - 0x90], 4
cmp word [ebp - 0x94], 0
jne 0x100a8cb9
mov dword [ebp - 0x98], 0
jmp 0x100a8d2a
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x9c], 0
jne 0x100a8d60
mov byte [ebp - 0x83], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.100038a0
mov al, byte [ebp - 0x83]
jmp 0x100a8f33
lea eax, [ebp - 0x68]
push eax
call fcn.100a93b0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.10004c10
movzx ecx, al
test ecx, ecx
je 0x100a8dac
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.100038a0
mov al, byte [ebp - 0x84]
jmp 0x100a8f33
push 0x100cc0d0
lea ecx, [ebp - 0xc0]
call fcn.10003940
mov byte [ebp - 4], 2
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.10008000
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x68]
call fcn.10003900
lea ecx, [ebp - 0x108]
call fcn.100038a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.100038a0
push 0x100cc0ec
lea ecx, [ebp - 0xd8]
call fcn.10003940
mov byte [ebp - 4], 3
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.10008000
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x68]
call fcn.10003900
lea ecx, [ebp - 0x120]
call fcn.100038a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.100038a0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.10003940
mov byte [ebp - 4], 4
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.10008000
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x68]
call fcn.10003900
lea ecx, [ebp - 0x138]
call fcn.100038a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.100038a0
lea eax, [ebp - 0x68]
push eax
call fcn.10006c30
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x100a8eff
mov byte [ebp - 0x85], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.100038a0
mov al, byte [ebp - 0x85]
jmp 0x100a8f33
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003870
mov byte [ebp - 0x86], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.100038a0
mov al, byte [ebp - 0x86]
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