Function at 0x1002a680
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080c81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002a6c8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1002aed7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0xf8], 0x11378331
push 1
lea ecx, [ebp - 0x114]
call fcn.100170df
and dword [ebp - 4], 0
mov dword [ebp - 0xd8], 0x495ee35d
mov dword [ebp - 0x98], 0xfffffff6
push 2
lea ecx, [ebp - 0x13c]
call fcn.100170df
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
jmp 0x1002a749
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1002a765
push dword [ebp - 0x18]
lea ecx, [ebp - 0x114]
call fcn.10017169
mov dword [eax], 0x473ede5c
jmp 0x1002a742
mov dword [ebp - 0x18], 0
jmp 0x1002a775
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1002a791
push dword [ebp - 0x18]
lea ecx, [ebp - 0x13c]
call fcn.10017169
mov dword [eax], 0x42f53403
jmp 0x1002a76e
cmp dword [ebp - 0x28], 0
je 0x1002a7b3
mov dword [ebp - 0xb4], 1
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
jmp 0x1002aa1e
mov dword [ebp - 0x24], 0x292c5eb2
mov dword [ebp - 0x30], 0
jmp 0x1002a7ca
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002a7e0
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xc8], 0x7800ff68
jmp 0x1002a7c3
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x148], eax
push 4
pop eax
shl eax, 0
imul eax, dword [ebp + eax - 0xc8], 0xffffffff
test eax, eax
je 0x1002a817
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xc8], 0
je 0x1002a817
mov dword [ebp - 0xa0], 1
jmp 0x1002a81e
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xffff
jne 0x1002a83f
mov eax, 0x765e4b
test eax, eax
je 0x1002a83f
mov dword [ebp - 0xe4], 1
jmp 0x1002a846
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x28]
add eax, 5
cmp eax, dword [ebp - 0xf8]
jge 0x1002a861
mov dword [ebp - 0x58], 1
jmp 0x1002a865
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x58], eax
jge 0x1002a879
mov dword [ebp - 0x8c], 1
jmp 0x1002a880
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x4c3e
jne 0x1002a895
mov dword [ebp - 0x38], 1
jmp 0x1002a899
and dword [ebp - 0x38], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp + eax - 0xc8], ecx
mov eax, dword [ebp - 0x38]
neg eax
cmp eax, dword [ebp - 0x28]
je 0x1002a8bc
mov dword [ebp - 0x60], 1
jmp 0x1002a8c0
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x60]
jge 0x1002a8d4
mov dword [ebp - 0x90], 1
jmp 0x1002a8db
and dword [ebp - 0x90], 0
push 0
lea ecx, [ebp - 0x114]
call fcn.10017169
mov ecx, dword [ebp - 0x90]
add ecx, dword [eax]
je 0x1002a907
mov eax, 0x5ce5aba8
test eax, eax
je 0x1002a907
mov dword [ebp - 0xdc], 1
jmp 0x1002a90e
and dword [ebp - 0xdc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xd8]
cmp dword [ebp + eax - 0xc8], ecx
jle 0x1002a92c
mov dword [ebp - 0x68], 1
jmp 0x1002a930
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0x9cc
jne 0x1002a945
mov dword [ebp - 0xb0], 1
jmp 0x1002a94c
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0xb0]
shl eax, 3
cmp eax, dword [ebp - 0x24]
jne 0x1002a967
mov dword [ebp - 0x70], 1
jmp 0x1002a96b
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
add eax, 0xfff6
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x98]
push 0
lea ecx, [ebp - 0x114]
call fcn.10017169
cmp esi, dword [eax]
jl 0x1002a999
mov dword [ebp - 0x78], 1
jmp 0x1002a99d
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x78], eax
jge 0x1002a9b1
mov dword [ebp - 0xa8], 1
jmp 0x1002a9b8
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xa8]
jge 0x1002a9db
push 0
lea ecx, [ebp - 0x114]
call fcn.10017169
cmp dword [eax], 0
jne 0x1002a9db
and dword [ebp - 0x80], 0
jmp 0x1002a9e2
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x24]
neg eax
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jge 0x1002aa02
mov dword [ebp - 0x88], 1
jmp 0x1002aa09
and dword [ebp - 0x88], 0
push 0
lea ecx, [ebp - 0x13c]
call fcn.10017169
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.10017164
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.10017164
mov dword [ebp - 0x158], 0xae9714a0
mov byte [ebp - 0x29], 0
push 0
lea eax, [ebp - 0x29]
push eax
push 0x58ba
call fcn.10028ffe
add esp, 0xc
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002aa7e
push 0
push 0x11c4
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0xe0]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x1008784c]
mov ecx, dword [ebp - 0xec]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x44]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x1002aed7
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x84], 0x77b6
mov dword [ebp - 0x14], 0
jmp 0x1002aadd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1002aaf0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x10], 0x4e2db58
jmp 0x1002aad6
mov dword [ebp - 0x14], 0
jmp 0x1002ab00
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1002ab16
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x11c], 0x38884515
jmp 0x1002aaf9
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x10], 3
jmp 0x1002ab3b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x10], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0x13
jl 0x1002aec8
mov dword [ebp - 0x130], 0xfffffff7
mov dword [ebp - 0x12c], 0xfffffff7
mov dword [ebp - 0x128], 0xfffffff7
mov dword [ebp - 0x124], 0xfffffff7
lea ecx, [ebp - 0x3d]
call fcn.10008a53
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x160]
call fcn.10017178
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xc0]
call fcn.1001713e
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x108], 0x9105fa2e
mov dword [ebp - 0x104], 0x9105fa2e
mov dword [ebp - 0x100], 0x9105fa2e
mov dword [ebp - 0xfc], 0x9105fa2e
push 3
lea ecx, [ebp - 0xc0]
call fcn.10017169
and dword [eax], 0
jmp 0x1002ac09
push 3
lea ecx, [ebp - 0xc0]
call fcn.10017169
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 3
lea ecx, [ebp - 0xc0]
call fcn.10017169
cmp dword [eax], 0xfffffff6
jne 0x1002ad8a
mov dword [ebp - 0x3c], 0xa6d
mov dword [ebp - 0x140], 0x6559653e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x150], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x1c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
add eax, 0xbdeb
cmp dword [ebp - 0x1c], eax
jle 0x1002ac6a
mov dword [ebp - 0x54], 1
jmp 0x1002ac6e
and dword [ebp - 0x54], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
cmp eax, dword [ebp - 0x54]
jle 0x1002ac86
mov dword [ebp - 0x5c], 1
jmp 0x1002ac8a
and dword [ebp - 0x5c], 0
push 4
pop eax
shl eax, 0
lea eax, [ebp + eax - 0x11c]
mov dword [ebp - 0x64], eax
push 3
lea ecx, [ebp - 0xc0]
call fcn.10017169
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ecx], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
imul eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
add ecx, eax
mov dword [ebp - 0x48], ecx
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x108], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x48], eax
jle 0x1002ace9
mov dword [ebp - 0xf0], 1
jmp 0x1002acf0
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
mov dword [ebp - 0x144], eax
mov esi, dword [ebp - 0x3c]
push 3
lea ecx, [ebp - 0xc0]
call fcn.10017169
cmp esi, dword [eax]
jne 0x1002ad1d
mov dword [ebp - 0x74], 1
jmp 0x1002ad21
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x74], eax
jl 0x1002ad32
mov dword [ebp - 0x7c], 1
jmp 0x1002ad36
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x7c], eax
jl 0x1002ad48
cmp dword [ebp - 0x20], 0
je 0x1002ad46
jmp 0x1002ad8a
jmp 0x1002ad85
mov dword [ebp - 0x14c], 0x5cf0adc1
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x20], 0
jmp 0x1002ad6f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002ad85
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x11c], 0x3e731e7b
jmp 0x1002ad68
jmp 0x1002abee
mov dword [ebp - 0x1c], 0x15
jmp 0x1002ad9a
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x1002aeb4
mov dword [ebp - 0x34], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x34], 0
jne 0x1002ae96
cmp dword [ebp - 0x34], 0
jne 0x1002ae96
cmp dword [ebp - 0x34], 0x17d239f9
jle 0x1002addd
mov dword [ebp - 0x94], 1
jmp 0x1002ade4
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x94], eax
jle 0x1002adfb
mov dword [ebp - 0xd0], 1
jmp 0x1002ae02
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0x34], 6
jbe 0x1002ae14
mov dword [ebp - 0x9c], 1
jmp 0x1002ae1b
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xfffffffe
jg 0x1002ae30
mov dword [ebp - 0xa4], 1
jmp 0x1002ae37
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xa4]
je 0x1002ae4e
mov dword [ebp - 0xd4], 1
jmp 0x1002ae55
and dword [ebp - 0xd4], 0
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0x108]
add eax, dword [ebp + ecx - 0x108]
mov dword [ebp - 0xac], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xac]
mov dword [ebp + eax - 0x108], ecx
cmp dword [ebp - 0xac], 0
jne 0x1002ae96
and dword [ebp - 0x4c], 0
jmp 0x1002ae9d
mov dword [ebp - 0x4c], 1
push 3
lea ecx, [ebp - 0xc0]
call fcn.10017169
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x1002ad93
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.10017164
jmp 0x1002ab26
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret