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

Disassembly:
push 0xffffffffffffffff
push 0x42b00d
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.0040c1c0
push eax
lea ecx, [esp + 0x28]
call fcn.00420eb4
lea eax, [esp + 0x24]
push str.setup.cfg
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x14c], 0
call fcn.0042104e
mov eax, dword [eax]
lea edx, [esp + 0x34]
push eax
push 0x104
push edx
push 0x43a4b0
push str.PATH
push str.SETTINGS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.00420e46
lea eax, [esp + 0x34]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0042104e
push str.Config
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 1
call fcn.00421195
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.00420bbb
push 0x436d44
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 2
call fcn.00421195
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x436dd0]
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.004106b0
add esp, 8
test al, al
je 0x41039e
movsx eax, byte [esp + 0x1b]
push eax
lea ecx, [esp + 0x24]
push 0x436d40
push ecx
call fcn.0042044f
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.00420bbb
push 0x436244
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 5
call fcn.00421195
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.00420f83
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.004211d1
lea edx, [esp + 0x10]
push 0x436244
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0042104e
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.00420e46
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test bl, bl
je 0x4102ec
mov ecx, dword [esp + 0x10]
push 0
push ecx
call ebp
push 0x436244
lea ecx, [esp + 0x14]
call fcn.00421195
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.00421195
lea eax, [esp + 0x10]
push 0x436244
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0042104e
mov eax, dword [eax]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x2c]
sete bl
call fcn.00420e46
test bl, bl
je 0x410349
mov edx, dword [esp + 0x10]
push 0
push edx
call ebp
push 0x436244
lea ecx, [esp + 0x14]
call fcn.00421195
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00420bbb
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x14c], 6
call fcn.00420bbb
mov ecx, edi
mov byte [esp + 0x148], 5
call fcn.00410460
mov byte [esp + 0x140], 3
lea ecx, [esp + 0x10]
jmp 0x4103ee
mov eax, dword [0x436dd0]
mov dword [esp + 0x14], eax
push 0x436d18
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 4
call fcn.00420f83
mov eax, dword [0x43af64]
test eax, eax
je 0x4103d4
push str.There_is_no_other_Driver_to_save_generate_files__fail_to_separate_
lea ecx, [esp + 0x18]
call fcn.00420f83
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
call fcn.00427dee
mov byte [esp + 0x140], 3
lea ecx, [esp + 0x14]
call fcn.00420e46
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 2
call fcn.00420e46
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 1
call fcn.00420e46
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 0
call fcn.00420e46
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], 0xffffffff
call fcn.00420e46
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