Function at 0x10012af2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10012ce3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10012bd1
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x10012bcc
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10012bb1
mov ecx, dword [ebp - 0x28]
call fcn.10020c6a
movzx eax, al
test eax, eax
jne 0x10012bcc
push dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x28]
call fcn.10020bf9
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov byte [eax], 1
jmp 0x10012cde
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], 0x7aeb
mov dword [ebp - 0x44], str.iltinivmv_dwfhhdhnz_vzat_oumuadu_ncrgu_zblqkvz_wrvn_qqmtmo_adl_bixqmuy_bafvbhgkf_xgri_nyx_rhjpvjuxf
cmp dword [ebp - 0x30], 0x7d68
jle 0x10012c59
and dword [ebp - 0x24], 0
jmp 0x10012bfb
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x9fd
jge 0x10012c48
and dword [ebp - 0x20], 0
jmp 0x10012c11
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1ead
jge 0x10012c46
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov ecx, 0x1007be38
call fcn.10003364
jmp 0x10012c0a
jmp 0x10012bf4
push 0
push 0x2a1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x77f9
jge 0x10012c79
mov edx, dword [ebp - 0x44]
mov ecx, 0x1007be38
call fcn.100055b2
jmp 0x10012c95
or dword [ebp - 4], 0xffffffff
jmp 0x10012c9f
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10012cc1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x10012cde
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.1000357a
mov dword [eax], 0xd4e06482
jmp 0x10012cb6
jmp 0x10012dd3
mov dword [ebp - 0x38], 0x4ceb
mov dword [ebp - 0x6c], str.pik_lqenhvapc_ggyq_dkki_ojnovdqxm
cmp dword [ebp - 0x38], 0x4ff7
jle 0x10012d73
and dword [ebp - 0x1c], 0
jmp 0x10012d07
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1d94
jge 0x10012d73
and dword [ebp - 0x18], 0
jmp 0x10012d1d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x33ca
jge 0x10012d71
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
lea ecx, [ebp - 0xb0]
call fcn.10001a94
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.10003344
push eax
call fcn.1004840f
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.1000333a
jmp 0x10012d16
jmp 0x10012d00
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x4c38
jge 0x10012d92
push dword [ebp - 0x6c]
call fcn.1004840f
pop ecx
jmp 0x10012dae
or dword [ebp - 4], 0xffffffff
jmp 0x10012db8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push dword [ebp - 0x7c]
push 0
push 0x3c86
call fcn.10012acb
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret