Function at 0x40692b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x427cc5
call fcn.0041b8d0
sub esp, 0x780
push ebx
push esi
push edi
push 0x3028
lea ecx, [ebp - 0x60]
call fcn.004133d0
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x302e
lea ecx, [ebp - 0x30]
call fcn.004133d0
mov byte [ebp - 4], 1
mov esi, 0x105
push esi
lea eax, [ebp - 0x270]
push eax
push 0x3007
mov dword [ebp - 0x10], ebx
call fcn.00405286
test eax, eax
je 0x406991
push ebx
push 1
lea eax, [ebp - 0x270]
push eax
call fcn.00406639
mov dword [ebp - 0x10], eax
push 0x3000
lea ecx, [ebp - 0x20]
call fcn.004133d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov edi, 0x401650
jne 0x4069b0
mov eax, edi
push esi
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0041ba87
add esp, 0xc
lea eax, [ebp - 0x168]
push eax
call fcn.004054f5
mov ebx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0041341e
test ebx, ebx
jne 0x406a91
lea eax, [ebp - 0x168]
push esi
push eax
call fcn.0041c4ca
pop ecx
pop ecx
lea eax, [ebp - 0x168]
push eax
call fcn.004054f5
test eax, eax
jne 0x406a91
xor esi, esi
push esi
lea ecx, [ebp - 0x40]
call fcn.004133d0
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x20]
call fcn.004133d0
mov byte [ebp - 4], 4
push 0x42e128
lea eax, [ebp - 0x20]
push 0x1003
push eax
call fcn.00413429
add esp, 0xc
push 0x1056
lea ecx, [ebp - 0x50]
call fcn.004133d0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
jne 0x406a52
mov ecx, edi
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x406a5b
mov eax, edi
push esi
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.0041341e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.0041341e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0041341e
xor esi, esi
inc esi
jmp 0x406c28
cmp dword [ebp - 0x10], 0
je 0x406b1e
xor eax, eax
mov cl, byte [ebp + eax - 0x270]
mov byte [ebp + eax - 0x480], cl
inc eax
test cl, cl
jne 0x406a9d
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x406ab9
mov eax, edi
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.00413a76
xor eax, eax
mov cl, byte [ebp + eax - 0x168]
mov byte [ebp + eax - 0x378], cl
inc eax
test cl, cl
jne 0x406ac8
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x406ae4
mov eax, edi
push eax
lea eax, [ebp - 0x378]
push eax
call fcn.00413a76
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.00413ca9
cmp eax, 1
jne 0x406b1e
xor eax, eax
mov cl, byte [ebp + eax - 0x270]
mov byte [ebp + eax - 0x168], cl
inc eax
test cl, cl
jne 0x406b0b
push 0x3003
lea ecx, [ebp - 0x20]
call fcn.004133d0
mov esi, eax
mov byte [ebp - 4], 6
push 0x300f
lea ecx, [ebp - 0x50]
call fcn.004133d0
mov ebx, eax
mov byte [ebp - 4], 7
push 0x3004
lea ecx, [ebp - 0x40]
call fcn.004133d0
mov byte [ebp - 4], 8
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x406b5e
mov ecx, edi
mov edx, dword [ebx + 4]
test edx, edx
jne 0x406b67
mov edx, edi
mov eax, dword [eax + 4]
test eax, eax
jne 0x406b70
mov eax, edi
push ecx
push 0xfb
lea ecx, [ebp - 0x78c]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.0041341e
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.0041341e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0041341e
xor eax, eax
mov cl, byte [ebp + eax - 0x168]
mov byte [ebp + eax - 0x588], cl
inc eax
test cl, cl
jne 0x406bac
mov eax, dword [ebp - 0x5c]
test eax, eax
jne 0x406bc8
mov eax, edi
push eax
lea eax, [ebp - 0x588]
push eax
call fcn.00413a76
xor eax, eax
mov cl, byte [ebp + eax - 0x168]
mov byte [ebp + eax - 0x690], cl
inc eax
test cl, cl
jne 0x406bd7
cmp dword [ebp - 0x2c], 0
je 0x406bf3
mov edi, dword [ebp - 0x2c]
push edi
lea eax, [ebp - 0x690]
push eax
call fcn.00413a76
push 0
lea eax, [ebp - 0x78c]
push eax
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x588]
push eax
call fcn.00416245
xor ecx, ecx
add esp, 0x10
test eax, eax
setne cl
mov esi, ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0041341e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0041341e
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret