Function at 0x4068ac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4409e2
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x451bf0]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push esi
push edi
mov eax, dword [0x451bf0]
xor eax, esp
push eax
lea eax, [esp + 0x370]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
xor bl, bl
call fcn.0043ea10
push eax
lea ecx, [esp + 0x20]
call fcn.00402853
xor edi, edi
mov dword [esp + 0x378], edi
call fcn.0043ecf0
lea ecx, [esp + 0x25c]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x406920
lea eax, [esp + 0x25c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004084c1
mov esi, 0x447990
push esi
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x390], 1
call fcn.004084c1
add esp, 0x18
mov byte [esp + 0x378], 3
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401ef4
push str.Config
lea ecx, [esp + 0x18]
call fcn.00402623
push esi
lea ecx, [esp + 0x18]
call fcn.00402623
push dword [esp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x406b1a
push str.Config.ini
lea ecx, [esp + 0x18]
call fcn.00402623
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x18]
call fcn.0041cd7d
test eax, eax
je 0x406b1a
call fcn.0041901a
push eax
lea ecx, [esp + 0x1c]
call fcn.00401eb1
mov byte [esp + 0x378], 4
call fcn.0041901a
push eax
lea ecx, [esp + 0x14]
call fcn.00401eb1
mov byte [esp + 0x378], 5
push dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x104
lea eax, [esp + 0x15c]
push eax
mov edi, 0x448068
push edi
push str.ActiveGenerateBaseDir
push str.ActiveConfig
call ebx
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x1c]
call fcn.004029d1
push edi
lea ecx, [esp + 0x1c]
call fcn.004088b2
test eax, eax
jne 0x406aa5
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401ef4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00401ef4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401ef4
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401ef4
xor al, al
mov ecx, dword [esp + 0x370]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.0042116f
mov esp, ebp
pop ebp
ret 8
push esi
lea ecx, [esp + 0x1c]
call fcn.00402623
push dword [esp + 0x14]
lea eax, [esp + 0x158]
push 0x104
push eax
push edi
push str.ActiveGeneratePath
push str.ActiveConfig
call ebx
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x14]
call fcn.004029d1
push edi
lea ecx, [esp + 0x14]
call fcn.004088b2
test eax, eax
jne 0x406b39
mov eax, dword [esp + 0x20]
add eax, 0x98
cmp dword [eax], 0
jne 0x406b00
mov dword [eax], 1
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401ef4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00401ef4
xor bl, bl
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401ef4
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401ef4
mov al, bl
jmp 0x406a7f
push esi
lea ecx, [esp + 0x14]
call fcn.00402623
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0040846a
add esp, 0xc
mov ecx, dword [esp + 0x28]
push eax
mov byte [esp + 0x37c], 6
call fcn.0040992c
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.00401ef4
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
mov bl, 1
call fcn.00401ef4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00401ef4
jmp 0x406b1a