Function at 0x10020ec0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101232b2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
push 0x10174590
push 0x800
mov dword [ebp - 0x224], edi
call fcn.100c4c1d
mov esi, eax
add esp, 8
mov dword [ebp - 0x228], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x10020f68
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10021139
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, 0x101308ac
mov byte [ebp - 4], 1
mov ecx, edi
test eax, 0xffff0000
jne 0x10020f57
movzx eax, ax
push eax
call fcn.10008a30
jmp 0x10021119
push 0
push 0x101308ac
call fcn.1000b940
jmp 0x10021119
push dword [ebx]
lea ecx, [ebp - 0x21d]
push 0x400
push esi
push 0x101308ac
push 0x10131858
call fcn.1001fd20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100bfd10
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020fc0
sub ecx, edx
sar ecx, 1
je 0x100210d2
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020fe0
sub ecx, edx
sar ecx, 1
je 0x100210d2
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10021143
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x10021034
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.10008a30
jmp 0x10021062
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10021040
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000b940
push esi
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.100079a0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x224]
push eax
push edi
call fcn.100955e0
mov edx, dword [ebp - 0x224]
or ebx, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100210b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10021110
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10021110
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1002114d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, 0x101308ac
mov byte [ebp - 4], 2
mov ecx, edi
test eax, 0xffff0000
jne 0x10021104
movzx eax, ax
push eax
call fcn.10008a30
jmp 0x10021110
push 0
push 0x101308ac
call fcn.1000b940
push esi
call fcn.100c49a1
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
int3