Function at 0x10021720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123247
mov eax, dword fs:[0]
push eax
sub esp, 0x408
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 esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x240]
mov ebx, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x414], edi
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x240]
push dword [esi + 0x10]
push 0x104
push eax
push 0x101308ac
push 0x10131ae0
push str.basic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x100217b4
push ebx
mov ecx, edi
call fcn.100079a0
jmp 0x10021980
movaps xmm0, xmmword [str.F49C1E0B_DB02_43AC_86BA_7C3AB1B7T]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], 0x33453446
movaps xmm0, xmmword [0x10131c60]
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
push 0
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x30c]
call fcn.1001c220
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x288]
call fcn.10007a50
push dword [ebp - 0x30c]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call fcn.10007a50
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x288]
push ecx
push eax
call fcn.100958a0
mov edx, dword [ebp - 0x25c]
add esp, 0xc
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1002188c
mov ecx, dword [ebp - 0x270]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10021882
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100219a0
push edx
push ecx
call fcn.100c459e
add esp, 8
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
mov byte [ebp - 0x270], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100218e5
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100218db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100219a5
push edx
push ecx
call fcn.100c459e
add esp, 8
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
push 0
cmovae eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x410]
push eax
call fcn.100078d0
push dword [ebp - 0x410]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.100079a0
mov eax, dword [ebp - 0x410]
lea ecx, [ebp - 0x40c]
cmp eax, ecx
je 0x10021931
push eax
call fcn.100e9f68
add esp, 4
mov eax, dword [ebp - 0x30c]
lea ecx, [ebp - 0x308]
cmp eax, ecx
je 0x1002194a
push eax
call fcn.100e9f68
add esp, 4
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x10021980
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10021976
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100219aa
push edx
push ecx
call fcn.100c459e
add esp, 8
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 8
call fcn.100e9c89
call fcn.100e9c89
call fcn.100e9c89
int3