Function at 0x10068c7
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe58
mov eax, dword [0x100d0ac]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe48], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xe4c], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0xe54], eax
mov eax, dword [ebp + 0x1c]
push edi
lea ecx, [ebp - 0x6fc]
mov dword [ebp - 0xe50], ebx
mov dword [ebp - 0xe44], eax
call fcn.0100ad57
lea ecx, [ebp - 0x4dc]
call fcn.0100a525
lea ecx, [ebp - 0x4dc]
call fcn.0100a6b8
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jne 0x1006943
call fcn.01009f21
test eax, eax
je 0x1006943
xor esi, esi
inc esi
jmp 0x1006959
push ebx
push 0
push 0x1001a14
push 0x1001898
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebx
push 0xa281588
push 0x1001848
mov ebx, 0x1001850
push ebx
call edi
push dword [ebp - 0xe50]
mov dword [ebp - 0xe58], eax
push 0x70002
push 0x10018b4
push ebx
call edi
push dword [ebp - 0xe50]
mov ebx, dword [ebp - 0xe58]
mov edi, eax
push ebx
push edi
call fcn.010066c9
test eax, eax
jne 0x10069e1
xor esi, esi
cmp dword [ebp + 0x20], esi
jne 0x1006d65
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0xe7
push dword [ebp - 0xe48]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x10
push dword [ebp - 0xe44]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1006d65
call fcn.01003f18
mov ecx, dword [ebp - 0xe54]
mov dword [ecx], eax
lea ecx, [ebp - 0x6fc]
call fcn.0100ab92
test eax, eax
je 0x1006ce6
lea ecx, [ebp - 0x6fc]
call fcn.0100ab9e
cmp edi, eax
jb 0x1006a48
lea ecx, [ebp - 0x6fc]
call fcn.0100abaa
cmp ebx, eax
jb 0x1006a48
lea ecx, [ebp - 0x6fc]
call fcn.0100ab9e
test esi, esi
je 0x1006ad7
cmp edi, eax
jne 0x1006a56
lea ecx, [ebp - 0x6fc]
call fcn.0100abb6
cmp eax, 0x992
jbe 0x1006a56
mov eax, dword [ebp - 0xe4c]
and dword [eax], 0
jmp 0x1006d23
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
movzx eax, bx
push eax
movzx eax, di
shr ebx, 0x10
push ebx
push eax
shr edi, 0x10
push edi
lea eax, [ebp - 0x420]
push 0x1001a08
push eax
call esi
xor edi, edi
add esp, 0x18
cmp dword [ebp + 0x20], edi
jne 0x1006ad0
push 0x104
lea eax, [ebp - 0x318]
push eax
push 0xd8
push dword [ebp - 0xe48]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
add esp, 0xc
push edi
push dword [ebp - 0xe44]
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
jmp 0x1006d65
cmp edi, eax
jne 0x1006b07
lea ecx, [ebp - 0x6fc]
call fcn.0100abaa
cmp ebx, eax
jne 0x1006b07
lea ecx, [ebp - 0x4dc]
call fcn.0100a6b8
mov ecx, dword [ebp - 0xe4c]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
jmp 0x1006d23
lea ecx, [ebp - 0x4dc]
call fcn.0100a6b8
test eax, eax
je 0x1006b4e
call fcn.01003e9c
test eax, eax
jne 0x1006b4e
xor esi, esi
cmp dword [ebp + 0x20], esi
jne 0x1006d65
push 0x208
lea eax, [ebp - 0x210]
push eax
push 0xeb
push dword [ebp - 0xe48]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x30
jmp 0x10069c8
lea ecx, [ebp - 0x4dc]
call fcn.0100a6b8
test eax, eax
je 0x1006c52
push dword [ebp - 0xe50]
lea ecx, [ebp - 0xe40]
call fcn.0100a825
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, 0x10019fc
push edi
call esi
mov ebx, eax
lea eax, [ebp - 0xd37]
push eax
call esi
add ebx, eax
lea eax, [ebp - 0xd3b]
push eax
call esi
add ebx, eax
cmp ebx, 0x104
ja 0x1006c52
push edi
lea eax, [ebp - 0xd37]
push eax
lea eax, [ebp - 0xd3b]
push eax
lea eax, [ebp - 0x318]
push 0x10014bc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x814]
call fcn.0100abed
lea ecx, [ebp - 0x6fc]
call fcn.0100abc3
lea ecx, [ebp - 0x814]
mov esi, eax
call fcn.0100abc3
push eax
push esi
call fcn.0100abcf
test eax, eax
jne 0x1006c47
xor esi, esi
cmp dword [ebp + 0x20], esi
jne 0x1006c37
push 0x208
lea eax, [ebp - 0x210]
push eax
push 0xed
push dword [ebp - 0xe48]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x30
push dword [ebp - 0xe44]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x814]
call fcn.0100ab57
jmp 0x1006d65
lea ecx, [ebp - 0x814]
call fcn.0100ab57
lea ecx, [ebp - 0xa34]
call fcn.0100ae19
lea ecx, [ebp - 0xa34]
call fcn.0100aea9
test eax, eax
jne 0x1006c7b
lea ecx, [ebp - 0xa34]
call fcn.0100aede
test eax, eax
je 0x1006ccd
xor esi, esi
cmp dword [ebp + 0x20], esi
jne 0x1006cbd
push 0x208
lea eax, [ebp - 0x210]
push eax
push 0xda
push dword [ebp - 0xe48]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x134
push dword [ebp - 0xe44]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x1006ccd
lea ecx, [ebp - 0xa34]
call fcn.0100ae9f
jmp 0x1006d65
mov eax, dword [ebp - 0xe4c]
lea ecx, [ebp - 0xa34]
mov dword [eax], 1
call fcn.0100ae9f
jmp 0x1006d23
xor edi, edi
cmp esi, edi
je 0x1006d17
cmp dword [ebp + 0x20], edi
jne 0x1006ad0
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0xd0
push dword [ebp - 0xe48]
call dword [sym.imp.USER32.dll_LoadStringA]
jmp 0x1006abb
mov eax, dword [ebp - 0xe4c]
mov dword [eax], 1
xor esi, esi
cmp dword [ebp + 0x18], esi
jne 0x1006d62
lea eax, [ebp - 0x4dc]
push eax
call fcn.010057bd
test eax, eax
jne 0x1006d62
cmp dword [ebp + 0x20], esi
jne 0x1006d65
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0xcf
push dword [ebp - 0xe48]
call dword [sym.imp.USER32.dll_LoadStringA]
push esi
jmp 0x10069c8
xor esi, esi
inc esi
lea ecx, [ebp - 0x6fc]
call fcn.0100ae9f
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.01009b9d
leave
ret 0x1c