Function at 0x1800406c0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
lea rbp, [rsp - 0x4f]
sub rsp, 0xd8
mov rdx, qword [0x18017bc50]
lea r8, [0x180154da0]
xor esi, esi
mov qword [rbp + 7], 0xf
xorps xmm0, xmm0
mov qword [rbp - 1], rsi
movups xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x11], sil
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r8 + rcx], sil
jne 0x180040701
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x180040d0f
cmp qword [0x18017bc58], 0x10
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x31]
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rdi
lea rdi, [0x18017bc40]
movaps xmmword [rsp + 0xb0], xmm6
mov r9, rdi
cmovae r9, qword [0x18017bc40]
mov qword [rsp + 0x28], r8
movaps xmmword [rsp + 0xa0], xmm7
mov qword [rsp + 0x20], rdx
call fcn.180072a70
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x21]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1800407bd
cmp rdx, 0x10
lea rax, [rcx + 3]
lea rbx, [rbp - 0x31]
mov qword [rbp - 0x21], rax
cmovae rbx, qword [rbp - 0x31]
lea rdx, [0x18013766c]
add rbx, rcx
mov r8d, 3
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbp - 0x31]
mov byte [rbx + 3], sil
jmp 0x1800407db
lea r9, [0x18013766c]
mov qword [rsp + 0x20], 3
mov edx, 3
lea rcx, [rbp - 0x31]
call fcn.180072080
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x180040828
mov rcx, qword [rbp - 0x11]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040823
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040862
call fcn.1801102dc
mov rdx, qword [rbp - 0x19]
movups xmmword [rbp - 0x11], xmm6
movups xmmword [rbp - 1], xmm7
cmp rdx, 0x10
jb 0x18004086e
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040869
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180040869
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801102dc
cmp qword [0x18017bc58], 0x10
mov qword [rsp + 0x108], r12
cmovae rdi, qword [0x18017bc40]
xor edx, edx
mov qword [rsp + 0xd0], r13
mov rcx, rdi
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rbx, qword [0x18017bc68]
mov r9d, 0x16
mov r12, qword [0x18017bc60]
mov qword [rbp + 0x67], rbx
cmp r12, rbx
je 0x180040a98
nop word [rax + rax]
cmp qword [rbp + 7], 0x10
lea r13, [rbp - 0x11]
mov r15, qword [r12]
lea rdi, [rbp - 0x34]
cmovae r13, qword [rbp - 0x11]
mov rax, qword [r15 + 0x40]
mov r8d, dword [rax]
test r8d, r8d
jns 0x180040932
neg r8d
nop word [rax + rax]
dec rdi
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [rdi], r8b
mov r8d, edx
test edx, edx
jne 0x180040900
dec rdi
mov byte [rdi], 0x2d
jmp 0x18004095c
dec rdi
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [rdi], r8b
mov r8d, edx
test edx, edx
jne 0x180040932
lea rax, [rbp - 0x34]
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x19], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
cmp rdi, rax
jne 0x180040989
mov qword [rbp - 0x19], 0xf
lea r8, [rbp - 0x31]
mov byte [rbp - 0x31], 0
jmp 0x180040a22
lea rsi, [rbp - 0x34]
movabs rax, 0x7fffffffffffffff
sub rsi, rdi
cmp rsi, rax
ja 0x180040d15
mov qword [rbp - 0x19], 0xf
cmp rsi, 0x10
jae 0x1800409cb
mov r8, rsi
mov qword [rbp - 0x21], rsi
mov rdx, rdi
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rsi - 0x31], 0
jmp 0x180040a12
mov r14, rsi
or r14, 0xf
cmp r14, rax
jbe 0x1800409dc
mov r14, rax
jmp 0x1800409e4
cmp r14, 0x16
cmovb r14, r9
lea rdx, [r14 + 1]
call fcn.180070980
mov r8, rsi
mov qword [rbp - 0x31], rax
mov rdx, rdi
mov qword [rbp - 0x21], rsi
mov rcx, rax
mov qword [rbp - 0x19], r14
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
mov rbx, qword [rbp + 0x67]
cmp qword [rbp - 0x19], 0x10
lea r8, [rbp - 0x31]
cmovae r8, qword [rbp - 0x31]
xor esi, esi
cmp qword [r15 + 0x38], 0x10
lea rdx, [r15 + 0x20]
jb 0x180040a30
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
jb 0x180040a3a
mov r15, qword [r15]
mov r9, r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x180040a7d
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040a78
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040a91
call fcn.1801102dc
add r12, 8
cmp r12, rbx
je 0x180040a98
mov r9d, 0x16
jmp 0x1800408d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r15, qword [0x18017bc90]
mov r13, qword [0x18017bc98]
cmp r15, r13
je 0x180040c15
nop
mov r14, qword [r15]
lea r12, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
lea rcx, [0x180137480]
cmovae r12, qword [rbp - 0x11]
mov rax, qword [r14 + 0x40]
movss xmm6, dword [rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.18000d4d0
movsxd rsi, eax
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
movabs rax, 0x7fffffffffffffff
movups xmmword [rbp - 0x31], xmm0
cmp rsi, rax
ja 0x180040d09
mov qword [rbp - 0x19], 0xf
cmp rsi, 0x10
jae 0x180040b2e
mov r8, rsi
mov qword [rbp - 0x21], rsi
xor edx, edx
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + rsi - 0x31], 0
jmp 0x180040b75
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
jbe 0x180040b3f
mov rdi, rax
jmp 0x180040b4c
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.180070980
mov r8, rsi
mov qword [rbp - 0x31], rax
xor edx, edx
mov qword [rbp - 0x21], rsi
mov rcx, rax
mov qword [rbp - 0x19], rdi
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
cmp qword [rbp - 0x19], 0x10
lea rcx, [rbp - 0x31]
lea rdx, [rsi + 1]
movaps xmm3, xmm6
cmovae rcx, qword [rbp - 0x31]
lea r8, [0x180137480]
movq r9, xmm6
call fcn.18000d470
cmp qword [rbp - 0x19], 0x10
lea r8, [rbp - 0x31]
lea rdx, [r14 + 0x20]
cmovae r8, qword [rbp - 0x31]
cmp qword [rdx + 0x18], 0x10
jb 0x180040bb7
mov rdx, qword [rdx]
cmp qword [r14 + 0x18], 0x10
jb 0x180040bc1
mov r14, qword [r14]
mov r9, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x180040c08
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040c03
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040cb3
call fcn.1801102dc
add r15, 8
cmp r15, r13
jne 0x180040ab0
mov rdi, qword [0x18017bc80]
mov rbx, qword [0x18017bc78]
cmp rbx, rdi
je 0x180040c7a
lea rsi, [0x180137670]
nop
cmp qword [rbp + 7], 0x10
lea r9, [rbp - 0x11]
mov rcx, qword [rbx]
lea r8, [0x180137620]
cmovae r9, qword [rbp - 0x11]
lea rdx, [rcx + 0x20]
mov rax, qword [rcx + 0x40]
cmp byte [rax], 0
cmovne r8, rsi
cmp qword [rdx + 0x18], 0x10
jb 0x180040c61
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
jb 0x180040c6b
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add rbx, 8
cmp rbx, rdi
jne 0x180040c30
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x180040cbf
mov rcx, qword [rbp - 0x11]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040cba
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180040cba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801102dc
mov r13, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov r12, qword [rsp + 0x108]
movaps xmm6, xmmword [rsp + 0xb0]
mov rdi, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xf8]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xd8
pop rsi
pop rbp
ret
call fcn.18000d530
int3
call fcn.18000d530
int3
call fcn.18000d530
int3