Function at 0x1002101d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100212de
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10021291
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x100210b3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xffffffec
jl 0x1002128f
mov dword [ebp - 0x38], 0xfffffffc
mov dword [ebp - 4], 0xfa1a8f1e
mov dword [ebp - 0x14], 0xcc74bf7a
mov eax, 0xe31bb000
test eax, eax
je 0x100210ec
cmp dword [ebp - 4], 0
je 0x100210ec
mov dword [ebp - 0x50], 1
jmp 0x100210f0
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0x39384257
jge 0x10021102
mov dword [ebp - 0x24], 1
jmp 0x10021106
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 4]
jne 0x1002111b
mov dword [ebp - 0x3c], 1
jmp 0x1002111f
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x3c], eax
jl 0x10021130
mov dword [ebp - 0x2c], 1
jmp 0x10021134
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jle 0x1002114d
cmp dword [ebp - 4], 0
je 0x1002114d
mov dword [ebp - 0x4c], 1
jmp 0x10021151
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x4c], eax
jg 0x10021162
mov dword [ebp - 0x74], 1
jmp 0x10021166
and dword [ebp - 0x74], 0
cmp dword [ebp - 4], 0
jne 0x10021178
cmp dword [ebp - 4], 0
jne 0x10021178
and dword [ebp - 0x34], 0
jmp 0x1002117f
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x34], 1
je 0x1002118e
mov dword [ebp - 0x44], 1
jmp 0x10021192
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x44], eax
jge 0x100211a3
mov dword [ebp - 0x20], 1
jmp 0x100211a7
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xa9df
jl 0x100211b9
mov dword [ebp - 0x18], 1
jmp 0x100211bd
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
ja 0x100211d4
mov dword [ebp - 0x28], 1
jmp 0x100211d8
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
imul eax, dword [ebp - 4], 0xa9c1
test eax, eax
jae 0x100211f2
mov dword [ebp - 0x30], 1
jmp 0x100211f6
and dword [ebp - 0x30], 0
imul eax, dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x1002120a
mov dword [ebp - 0x40], 1
jmp 0x1002120e
and dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0xffffffff
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x40]
jg 0x10021226
mov dword [ebp - 0x48], 1
jmp 0x1002122a
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], eax
jg 0x10021258
mov dword [ebp - 0x7c], 1
jmp 0x1002125c
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x1002128a
push 0
push 0x131b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x100210a8
jmp 0x100212dc
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x100212bf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jge 0x100212dc
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x78]
call fcn.1002a943
mov dword [eax], 0x9b55bb2c
jmp 0x100212b4
jmp 0x1002130a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
push 0x7514
push dword [ebp - 0x80]
push dword [ebp - 0x88]
push 0x4d25
push 1
call fcn.1000acae
add esp, 0x14
mov esp, ebp
pop ebp
ret