Function at 0x180004a20
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, [0x180051020]
mov qword [rbp - 0x21], 0xf
call fcn.180001100
mov r10, rax
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x180004a9c
lea rax, [rcx + 4]
mov qword [r10 + 0x10], rax
mov rax, r10
cmp rdx, 0x10
jb 0x180004a8e
mov rax, qword [r10]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], r15b
jmp 0x180004abe
xor r8d, r8d
mov qword [rsp + 0x20], 4
lea r9, str..cfg
mov rcx, r10
lea edx, [r8 + 4]
call fcn.1800016a0
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 0x180004b11
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004b0c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004d71
call fcn.18000dcdc
mov rdx, qword [rbp + 0x1f]
movups xmmword [rbp - 0x39], xmm6
movups xmmword [rbp - 0x29], xmm7
cmp rdx, 0x10
jb 0x180004b54
mov rcx, qword [rbp + 7]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004b4f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004d71
call fcn.18000dcdc
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], r14
jb 0x180004b71
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 0x180004c02
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 0x180004bbf
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180004bcc
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x19]
lea r8, [0x18003d400]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp - 0x19]
call fcn.18001c5fc
mov rcx, qword [rbx + 0x40]
add rdi, 8
mov dword [rcx], eax
cmp rdi, r14
jne 0x180004ba0
mov r14, qword [rsi + 0x58]
mov rdi, qword [rsi + 0x50]
cmp rdi, r14
je 0x180004c7b
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 0x180004c2f
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180004c3c
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x19]
lea r8, [0x18003d400]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rbp - 0x19]
call fcn.18001bb94
mov rax, qword [rbx + 0x40]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
add rdi, 8
movss dword [rax], xmm1
cmp rdi, r14
jne 0x180004c10
mov r14, qword [rsi + 0x40]
mov rdi, qword [rsi + 0x38]
cmp rdi, r14
je 0x180004d00
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 0x180004caf
mov rdx, qword [rdx]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x180004cbc
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x19]
lea r8, [0x18003d400]
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx ecx, byte [rbp - 0x19]
sub ecx, esi
jne 0x180004cec
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 0x180004c90
mov rdx, qword [rbp - 0x21]
mov r14, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
cmp rdx, 0x10
jb 0x180004d4f
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004d4a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004d6b
call fcn.18000dcdc
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0x90]
add rsp, 0xb0
pop r15
pop rsi
pop rbp
ret
call fcn.1800185cc
int3
call fcn.1800185cc
int3