Function at 0x180004150
Capabilities:
Create directory
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rsi
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rsi, rcx
movaps xmmword [rax - 0x28], xmm6
xor r15d, r15d
movaps xmmword [rax - 0x38], xmm7
mov rdx, rcx
mov qword [rbp - 0x39], r15
lea rcx, [rbp + 7]
mov qword [rbp - 0x29], r15
lea r8, [0x18004c020]
mov qword [rbp - 0x21], 0xf
call fcn.1800010e0
mov r10, rax
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1800041cc
lea rax, [rcx + 4]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x1800041be
mov rax, qword [r10]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], r15b
jmp 0x1800041ee
xor r8d, r8d
mov qword [rsp + 0x20], 4
lea r9, str..cfg
mov rcx, r10
lea edx, [r8 + 4]
call fcn.180001680
mov r10, rax
movups xmm6, xmmword [r10]
movups xmm7, xmmword [r10 + 0x10]
mov qword [r10 + 0x10], r15
mov qword [r10 + 0x18], 0xf
mov byte [r10], r15b
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180004241
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000423c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800044a1
call fcn.180008e6c
mov rdx, qword [rbp + 0x1f]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm7
cmp rdx, 0x10
jb 0x180004284
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000427f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800044a1
call fcn.180008e6c
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], r14
jb 0x1800042a1
mov rcx, qword [rsi]
xor edx, edx
mov qword [rsp + 0xd0], rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov r14, qword [rsi + 0x28]
xorps xmm0, xmm0
mov rdi, qword [rsi + 0x20]
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
cmp rdi, r14
je 0x180004332
nop dword [rax]
cmp qword [rbp - 0x21], 0x10
lea rax, [rbp - 0x39]
mov rbx, qword [rdi]
cmovae rax, qword [rbp - 0x39]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0x10
jb 0x1800042ef
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x1800042fc
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x19]
lea r8, [0x180038410]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp - 0x19]
call fcn.18001778c
mov rcx, qword [rbx + 0x40]
add rdi, 8
mov dword [rcx], eax
cmp rdi, r14
jne 0x1800042d0
mov r14, qword [rsi + 0x58]
mov rdi, qword [rsi + 0x50]
cmp rdi, r14
je 0x1800043ab
nop
cmp qword [rbp - 0x21], 0x10
lea rax, [rbp - 0x39]
mov rbx, qword [rdi]
cmovae rax, qword [rbp - 0x39]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0x10
jb 0x18000435f
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x18000436c
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x19]
lea r8, [0x180038410]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp - 0x19]
call fcn.180016d24
mov rax, qword [rbx + 0x40]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
add rdi, 8
movss dword [rax], xmm1
cmp rdi, r14
jne 0x180004340
mov r14, qword [rsi + 0x40]
mov rdi, qword [rsi + 0x38]
cmp rdi, r14
je 0x180004430
mov esi, 0x31
nop dword [rax]
cmp qword [rbp - 0x21], 0x10
lea rax, [rbp - 0x39]
mov rbx, qword [rdi]
cmovae rax, qword [rbp - 0x39]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 0x10
jb 0x1800043df
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x1800043ec
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x19]
lea r8, [0x180038410]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx ecx, byte [rbp - 0x19]
sub ecx, esi
jne 0x18000441c
movzx ecx, byte [rbp - 0x18]
movzx eax, r15b
sub ecx, eax
mov rax, qword [rbx + 0x40]
test ecx, ecx
sete cl
add rdi, 8
mov byte [rax], cl
cmp rdi, r14
jne 0x1800043c0
mov rdx, qword [rbp - 0x21]
mov r14, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
cmp rdx, 0x10
jb 0x18000447f
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000447a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000449b
call fcn.180008e6c
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0x90]
add rsp, 0xb0
pop r15
pop rsi
pop rbp
ret
call fcn.18001375c
int3
call fcn.18001375c
int3