Function at 0x1001aff7
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x10084de0
call fcn.10084430
sub esp, 0x114
push ebx
mov dword [ebp - 0x60], edx
xor eax, eax
push edi
mov dword [ebp - 0xb8], 0x15a1
inc eax
mov ebx, ecx
or edi, 0xffffffff
mov dword [ebp - 0x9c], edi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xb0], 0xc299e885
push eax
mov dword [ebp - 0x68], ebx
call fcn.100181d6
and dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x75c0
push 0x4dc6
push 0
call fcn.1001de83
lea eax, [ebp - 0x9c]
xor dl, dl
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1001af1c
xor eax, eax
add esp, 0x20
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], al
je 0x1001b0a5
push eax
push 0x1cf6
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], edi
call fcn.10018258
cmp dword [ebx + 0x10], 0
jne 0x1001b0c0
xor al, al
jmp 0x1001b8ea
push esi
push 3
pop esi
push esi
lea ecx, [ebp - 0xf8]
call fcn.100181d6
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0xb13638ec
mov dword [ebp - 0x58], 0xa205b290
mov dword [ebp - 0x10], 0
jmp 0x1001b101
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xf8]
mov dword [eax + ecx*4], 0x3342eb90
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1001b0ee
mov dword [ebp - 0x34], 2
cmp dword [ebp - 0x34], 0
jl 0x1001b206
push esi
lea ecx, [ebp - 0xe0]
call fcn.100181d6
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xe0]
mov edx, 0x60b7
push eax
push 0
mov ecx, 0x54d1
call fcn.1001afc1
mov esi, dword [ebp - 0xe0]
add esp, 0xc
xor eax, eax
mov dword [esi + 8], 2
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x1001b179
push 0xfa1
push eax
push 0x219f
call fcn.1001e2a9
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x1001b1c2
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x1001b1a1
push 0x7869
push 0x3dd0
push 0x3c13
push eax
call fcn.1001e6d9
add esp, 0x10
xor eax, eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x1001b1bf
push 0x52cb
push eax
push 0x3fc1
call fcn.1001d727
add esp, 0xc
xor eax, eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jle 0x1001b17e
dec dword [esi + 8]
jns 0x1001b158
push 0x5614
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xf8]
push 0x5c0e
push eax
call fcn.1001e022
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.10018258
dec dword [ebp - 0x34]
push 3
pop esi
jns 0x1001b117
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], edi
call fcn.10018258
push 0x2f21
push 0
lea eax, [ebp - 0x60]
push 0x1f3e
push eax
call fcn.1001e256
push 0x43d7
push 0
lea eax, [ebp - 0x22]
mov dword [ebp - 0x10], edi
push 0x47a0
mov dword [ebp - 0x90], 5
mov byte [ebp - 0x22], 0
push eax
call fcn.1001ddfc
add esp, 0x20
mov dword [ebp - 0x10], 0
jmp 0x1001b2e0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x2c], 0
jmp 0x1001b2d7
push 2
lea ecx, [ebp - 0xd4]
call fcn.100181d6
push 0
push 0x1127
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0xb4], 1
push 0x1b25
push eax
call fcn.1001e1d5
lea eax, [ebp - 0xb4]
push eax
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1001d836
add esp, 0x28
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xd4]
call fcn.10018258
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xffffffe4
jge 0x1001b26a
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 6
jg 0x1001b25e
cmp dword [ebx + 0x14], 0x10
jb 0x1001b2f4
mov ecx, dword [ebx]
jmp 0x1001b2f6
mov ecx, ebx
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x54], ecx
jb 0x1001b303
mov edx, dword [ebx]
jmp 0x1001b305
mov edx, ebx
mov eax, dword [ebx + 0x10]
add eax, edx
cmp ecx, eax
je 0x1001b75e
mov dword [ebp - 0x10], 0xe83
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0x10], edx
jmp 0x1001b353
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x84], 0xf37831e4
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1001b342
mov dword [ebp - 0x10], edx
jmp 0x1001b36e
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xa8], 0x511bd77d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 1
jl 0x1001b35d
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], edx
jl 0x1001b46c
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x84]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x84]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x84]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x84]
cmp eax, 1
mov eax, dword [ebp - 0x10]
setle cl
xor edx, edx
cmp ecx, 0x1b07fb07
mov eax, dword [ebp + eax*4 - 0x84]
setl dl
add edx, 0xffff380f
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
xor edx, edx
lea eax, [ecx - 2]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x1001b40c
cmp dword [ebp - 0xa8], edx
je 0x1001b40c
xor ecx, ecx
inc ecx
jmp 0x1001b40e
mov ecx, edx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x84]
imul eax, ecx
test eax, eax
je 0x1001b43e
cmp dword [ebp - 0x48], edx
je 0x1001b43e
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
push edx
push 0x69f7
call fcn.1001df2d
add esp, 0x10
xor edx, edx
jmp 0x1001b463
mov dword [ebp - 0x1c], edx
jmp 0x1001b45e
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0xc4], edx
jne 0x1001b463
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x84], edx
jne 0x1001b463
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jle 0x1001b443
dec dword [ebp - 0x10]
jns 0x1001b387
mov eax, dword [ebp - 0x54]
mov al, byte [eax]
cmp al, 0x30
jl 0x1001b6db
cmp al, 0x39
jg 0x1001b6db
push esi
lea ecx, [ebp - 0x74]
call fcn.100181d6
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x18], 0xc245e320
push eax
push 0x3406
call fcn.1001b938
add esp, 0x10
mov dword [ebp - 0x30], 0
jmp 0x1001b4c2
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x44], edi
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], esi
jl 0x1001b4b8
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 2
jg 0x1001b6b1
xor ebx, ebx
mov dword [ebp - 0x10], 0x74b666a7
mov dword [ebp - 0x50], 0xfffffffd
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
mov dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], ebx
jl 0x1001b69b
mov dword [ebp - 0x88], 1
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x58], edx
cmp dword [edx + eax*4], ebx
mov eax, dword [ebp - 0x50]
setle cl
xor edx, edx
cmp ecx, 0x972e
mov ecx, dword [ebp - 0x74]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x58]
setg bl
add ebx, dword [eax + 4]
sub ebx, dword [ecx + esi*4]
neg ebx
sbb ebx, ebx
xor eax, eax
inc ebx
cmp ebx, dword [ecx + edi*4]
setne al
cmp eax, 1
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x74]
mov eax, dword [esi + eax*4]
sub eax, dword [esi + ecx*4]
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, dword [esi + edi*4]
mov eax, dword [ebp - 0x44]
setl dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x74]
mov esi, dword [ebp - 0x74]
sub edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x40]
sub edx, eax
imul edx, dword [esi + 8]
mov eax, dword [ebp - 0x50]
imul ecx, edx, 0xa3bb
xor edx, edx
add ecx, 0x5d0
cmp ecx, eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x74]
setle dl
xor ebx, ebx
cmp edx, dword [eax + ecx*4]
jle 0x1001b5e2
cmp dword [esi + 8], ebx
jne 0x1001b5e2
cmp dword [ebp - 0x3c], ebx
je 0x1001b5ef
mov eax, dword [ebp - 0x58]
cmp dword [eax + 4], ebx
je 0x1001b5ef
xor edi, edi
inc edi
jmp 0x1001b5f1
mov edi, ebx
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x74]
cmp edi, dword [eax + ecx*4]
setle dl
cmp edx, dword [eax + esi*4]
jg 0x1001b648
push 0x4b5c
push 0x5148
push 0x4c6c
push ebx
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x5823
call fcn.1001eaa2
push 0x3098
push 0x2468
xor dl, dl
mov byte [ebp - 0x21], bl
lea ecx, [ebp - 0x21]
call fcn.1001af90
add esp, 0x24
jmp 0x1001b692
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1001b66f
push 0x39b3
push 0x77da
push 0x5cd1
mov dl, 1
mov ecx, 0x4b1c
call fcn.1001af1c
add esp, 0xc
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1001b692
push ebx
push ebx
push 0x66e
push ebx
push 0x243d
push ebx
push 0x1291
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
dec dword [ebp - 0x10]
jns 0x1001b507
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 2
jle 0x1001b4da
mov ebx, dword [ebp - 0x68]
or edi, 0xffffffff
push 3
pop esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], edi
call fcn.10018258
lea eax, [ebp - 0x54]
mov dl, 1
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x4f1e
push eax
call fcn.1001af90
pop ecx
pop ecx
mov ecx, dword [ebp - 0x54]
inc ecx
jmp 0x1001b2f6
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xac], 2
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0xfffffff8
jle 0x1001b752
mov dword [ebp - 0x10], 0xe56f9b2c
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0x10], 0x11
jmp 0x1001b741
push 0x73eb
push 0x1e45
push 1
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0xa4]
call fcn.1001afc1
lea eax, [ebp - 0x23]
mov byte [ebp - 0x23], 0
push 0
push eax
call fcn.1001b9dd
add esp, 0x14
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jge 0x1001b70f
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffff8
jg 0x1001b6f5
xor edx, edx
mov eax, dword [ebp - 0x60]
mov dword [eax], edx
xor al, al
jmp 0x1001b8e9
mov dword [ebp - 0x4c], 0xeede0b40
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x5c], 0x108531d1
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x20], 0xb653b1da
mov dword [ebp - 0x78], 0x7120dd93
push esi
call fcn.100181d6
xor ebx, ebx
mov dword [ebp - 4], 5
push ebx
push 0x64fb
lea eax, [ebp - 0x104]
mov dword [ebp - 0x68], esi
push eax
lea eax, [ebp - 0x120]
push 0x5e80
push eax
call fcn.1001d78c
mov eax, dword [ebp - 0x38]
add esp, 0x14
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], ebx
jne 0x1001b7f4
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
sub eax, 0x52a4105f
mov dword [ebp - 0x38], eax
je 0x1001b7f4
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, edi
mov eax, dword [ebp - 0x4c]
setge cl
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x20], 2
cmp dword [ebp - 0x20], ebx
jl 0x1001b8dc
mov dword [ebp - 0x94], 4
lea ecx, [ebp - 0xec]
push 1
call fcn.100181d6
mov byte [ebp - 4], 6
xor edx, edx
mov dword [ebp - 0xa0], 0xb319bd1
inc edx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x18], ebx
jmp 0x1001b872
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xec]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x1001b863
lea eax, [ebp - 0x94]
push eax
push 0x4fcd
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1001db2b
add esp, 0x38
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xec]
call fcn.10018258
dec dword [ebp - 0x20]
jns 0x1001b82d
lea ecx, [ebp - 0x104]
call fcn.10018258
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret