Function at 0x100520a4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091d1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100520e9
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
jmp 0x1005241e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
push 1
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
and dword [eax], 0
jmp 0x10052128
push 1
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
cmp dword [eax], 0xffffffed
jge 0x1005241e
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0xa9d2
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x9c], 0x78a4911c
mov dword [ebp - 0x98], 0x78a4911c
mov dword [ebp - 0x94], 0x78a4911c
mov dword [ebp - 0x90], 0x78a4911c
mov dword [ebp - 0x18], 0
jmp 0x10052188
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1005219e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xa4], 0xfffffffa
jmp 0x10052181
mov dword [ebp - 0x18], 0
jmp 0x100521ae
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x100521c1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x80], 0xffffffff
jmp 0x100521a7
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x20], eax
jge 0x100521dc
mov dword [ebp - 0x38], 1
jmp 0x100521e0
and dword [ebp - 0x38], 0
push 1
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
mov esi, dword [ebp - 0x38]
imul esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
sub esi, dword [eax]
cmp esi, 0x66b7a7b
jne 0x1005220d
mov dword [ebp - 0x58], 1
jmp 0x10052211
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
jge 0x10052225
mov dword [ebp - 0x40], 1
jmp 0x10052229
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x40]
jl 0x1005223a
mov dword [ebp - 0x60], 1
jmp 0x1005223e
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0xb6890635
je 0x10052250
mov dword [ebp - 0x48], 1
jmp 0x10052254
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x48], eax
je 0x10052265
mov dword [ebp - 0x68], 1
jmp 0x10052269
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xaf9c
jg 0x10052281
mov eax, 0xe8f08877
test eax, eax
jne 0x10052281
and dword [ebp - 0x2c], 0
jmp 0x10052288
mov dword [ebp - 0x2c], 1
push 1
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
mov esi, dword [eax]
sub esi, dword [ebp - 0x2c]
push 1
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
cmp esi, dword [eax]
jg 0x100522ae
mov dword [ebp - 0x54], 1
jmp 0x100522b2
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
sub eax, 0x497f3c88
cmp eax, dword [ebp - 0x20]
jge 0x100522c8
mov dword [ebp - 0x64], 1
jmp 0x100522cc
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov eax, 0x250
test eax, eax
je 0x100522f3
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
cmp dword [eax], 0
je 0x100522f3
mov dword [ebp - 0x4c], 1
jmp 0x100522f7
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x4c], eax
jge 0x10052308
mov dword [ebp - 0x28], 1
jmp 0x1005230c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jl 0x10052325
mov dword [ebp - 0x30], 1
jmp 0x10052329
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xbb9a67b
jl 0x1005233b
mov dword [ebp - 0x78], 1
jmp 0x1005233f
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
sub eax, 0x4aebfb04
je 0x1005235a
cmp dword [ebp - 0x3c], 0
je 0x1005235a
mov dword [ebp - 0x44], 1
jmp 0x1005235e
and dword [ebp - 0x44], 0
push 1
mov ecx, dword [ebp - 0x10]
call fcn.10019c33
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jg 0x100523fc
push 1
lea ecx, [ebp - 0x8c]
call fcn.10019ba5
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x10052394
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100523b0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x8c]
call fcn.10019c33
mov dword [eax], 0x43c6
jmp 0x1005238d
mov dword [ebp - 0x14], 0
jmp 0x100523c0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x100523d6
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xb4], 0x1f283019
jmp 0x100523b9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x80]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x80], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10019c2e
jmp 0x10052419
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10052419
push 0
push 0x1987
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x10052110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret