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

Disassembly:
push 0xffffffffffffffff
push 0x42a1cd
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.00420085
lea eax, [esp + 0x24]
push str.setup.cfg
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x14c], 0
call fcn.0042021f
mov eax, dword [eax]
lea edx, [esp + 0x34]
push eax
push 0x104
push edx
push 0x437490
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.00420017
lea eax, [esp + 0x34]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0042021f
push str.Config
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 1
call fcn.00420366
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.0041fd8c
push 0x435d44
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 2
call fcn.00420366
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x435dd0]
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.00410740
add esp, 8
test al, al
je 0x41042e
movsx eax, byte [esp + 0x1b]
push eax
lea ecx, [esp + 0x24]
push 0x435d40
push ecx
call fcn.0041f620
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.0041fd8c
push 0x435244
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 5
call fcn.00420366
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.00420154
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.004203a2
lea edx, [esp + 0x10]
push 0x435244
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0042021f
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.00420017
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test bl, bl
je 0x41037c
mov ecx, dword [esp + 0x10]
push 0
push ecx
call ebp
push 0x435244
lea ecx, [esp + 0x14]
call fcn.00420366
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.00420366
lea eax, [esp + 0x10]
push 0x435244
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0042021f
mov eax, dword [eax]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x2c]
sete bl
call fcn.00420017
test bl, bl
je 0x4103d9
mov edx, dword [esp + 0x10]
push 0
push edx
call ebp
push 0x435244
lea ecx, [esp + 0x14]
call fcn.00420366
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0041fd8c
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x14c], 6
call fcn.0041fd8c
mov ecx, edi
mov byte [esp + 0x148], 5
call fcn.004104f0
mov byte [esp + 0x140], 3
lea ecx, [esp + 0x10]
jmp 0x41047e
mov eax, dword [0x435dd0]
mov dword [esp + 0x14], eax
push 0x435d18
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 4
call fcn.00420154
mov eax, dword [0x437f44]
test eax, eax
je 0x410464
push str.There_is_no_other_Driver_to_save_generate_files__fail_to_separate_
lea ecx, [esp + 0x18]
call fcn.00420154
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
call fcn.00426fa4
mov byte [esp + 0x140], 3
lea ecx, [esp + 0x14]
call fcn.00420017
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
call fcn.00420017
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 1
call fcn.00420017
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 0
call fcn.00420017
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], 0xffffffff
call fcn.00420017
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