Function at 0x4101c0
Capabilities:
Create directory
Read .ini file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42a1dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0040c240
push eax
lea ecx, [esp + 0x28]
call fcn.00420095
lea eax, [esp + 0x24]
push str.setup.cfg
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x14c], 0
call fcn.0042022f
mov eax, dword [eax]
lea edx, [esp + 0x34]
push eax
push 0x104
push edx
push 0x436600
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.00420027
lea eax, [esp + 0x34]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0042022f
push str.Config
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 1
call fcn.00420376
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.0041fd9c
push 0x434ebc
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 2
call fcn.00420376
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x434f48]
mov dl, byte [ecx]
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x14], dl
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1b]
push ecx
push edx
mov byte [esp + 0x148], 3
call fcn.00410750
add esp, 8
test al, al
je 0x41043e
movsx eax, byte [esp + 0x1b]
push eax
lea ecx, [esp + 0x24]
push 0x434eb8
push ecx
call fcn.0041f630
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.0041fd9c
push 0x4343ac
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 5
call fcn.00420376
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push eax
push ecx
push str.ActiveGenerateBaseDir
push str.ActiveConfig
call esi
push str.Naiky
lea ecx, [esp + 0x24]
call fcn.00420164
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
push str.ActiveGeneratePath
push str.ActiveConfig
call esi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.004203b2
lea edx, [esp + 0x10]
push 0x4343ac
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0042022f
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.00420027
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test bl, bl
je 0x41038c
mov ecx, dword [esp + 0x10]
push 0
push ecx
call ebp
push 0x4343ac
lea ecx, [esp + 0x14]
call fcn.00420376
mov edx, dword [esp + 0x10]
push 2
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.Config
lea ecx, [esp + 0x14]
call fcn.00420376
lea eax, [esp + 0x10]
push 0x4343ac
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0042022f
mov eax, dword [eax]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x2c]
sete bl
call fcn.00420027
test bl, bl
je 0x4103e9
mov edx, dword [esp + 0x10]
push 0
push edx
call ebp
push 0x4343ac
lea ecx, [esp + 0x14]
call fcn.00420376
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0041fd9c
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x14c], 6
call fcn.0041fd9c
mov ecx, edi
mov byte [esp + 0x148], 5
call fcn.00410500
mov byte [esp + 0x140], 3
lea ecx, [esp + 0x10]
jmp 0x41048e
mov eax, dword [0x434f48]
mov dword [esp + 0x14], eax
push 0x434e90
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 4
call fcn.00420164
mov eax, dword [0x4370b4]
test eax, eax
je 0x410474
push str.There_is_no_other_Driver_to_save_generate_files__fail_to_separate_
lea ecx, [esp + 0x18]
call fcn.00420164
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
call fcn.00426fb4
mov byte [esp + 0x140], 3
lea ecx, [esp + 0x14]
call fcn.00420027
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
call fcn.00420027
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 1
call fcn.00420027
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 0
call fcn.00420027
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], 0xffffffff
call fcn.00420027
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret