Function at 0x1800418b0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
lea rbp, [rsp - 0x4f]
sub rsp, 0xd8
mov rdx, qword [0x18024f170]
lea r8, [0x18024b1f0]
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 0x1800418f1
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x180041e4f
cmp qword [0x18024f178], 0x10
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x31]
mov qword [rsp + 0xf8], rbx
lea rbx, [0x18024f160]
movaps xmmword [rsp + 0xb0], xmm6
mov r9, rbx
cmovae r9, qword [0x18024f160]
mov qword [rsp + 0x28], r8
movaps xmmword [rsp + 0xa0], xmm7
mov qword [rsp + 0x20], rdx
call fcn.1800084b0
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x21]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x180041995
lea rax, [rcx + 4]
cmp rdx, 0x10
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x31]
cmovae rax, qword [rbp - 0x31]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], sil
lea rax, [rbp - 0x31]
jmp 0x1800419b3
lea r9, str..cfg
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rbp - 0x31]
call fcn.180008320
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 0x180041a00
mov rcx, qword [rbp - 0x11]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800419fb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180041a3a
call fcn.1800c3c7c
mov rdx, qword [rbp - 0x19]
movups xmmword [rbp - 0x11], xmm6
movups xmmword [rbp - 1], xmm7
cmp rdx, 0x10
jb 0x180041a46
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041a41
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041a41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c3c7c
cmp qword [0x18024f178], 0x10
mov qword [rsp + 0x100], rdi
cmovae rbx, qword [0x18024f160]
xor edx, edx
mov qword [rsp + 0x108], r12
mov rcx, rbx
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xc0], r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rbx, qword [0x18024f188]
mov r12, qword [0x18024f180]
mov qword [rbp + 0x67], rbx
cmp r12, rbx
je 0x180041c5d
cmp qword [rbp + 7], 0x10
lea r13, [rbp - 0x11]
mov r15, qword [r12]
lea rdi, [rbp - 0x34]
cmovae r13, qword [rbp - 0x11]
mov r9d, 0x16
mov rax, qword [r15 + 0x40]
mov r8d, dword [rax]
test r8d, r8d
jns 0x180041b02
neg r8d
nop
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 0x180041ad0
dec rdi
mov byte [rdi], 0x2d
jmp 0x180041b2c
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 0x180041b02
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 0x180041b59
mov qword [rbp - 0x19], 0xf
lea r8, [rbp - 0x31]
mov byte [rbp - 0x31], 0
jmp 0x180041bf2
lea rsi, [rbp - 0x34]
movabs rax, 0x7fffffffffffffff
sub rsi, rdi
cmp rsi, rax
ja 0x180041e49
mov qword [rbp - 0x19], 0xf
cmp rsi, 0x10
jae 0x180041b9b
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 0x180041be2
mov r14, rsi
or r14, 0xf
cmp r14, rax
jbe 0x180041bac
mov r14, rax
jmp 0x180041bb4
cmp r14, 0x16
cmovb r14, r9
lea rdx, [r14 + 1]
call fcn.180008600
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 0x180041c00
mov rdx, qword [rdx]
cmp qword [r15 + 0x18], 0x10
jb 0x180041c0a
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 0x180041c4d
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041c48
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180041c56
call fcn.1800c3c7c
add r12, 8
jmp 0x180041a9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rsi, qword [0x18024f1b0]
mov r14, qword [0x18024f1b8]
cmp rsi, r14
je 0x180041d53
mov rdi, qword [rsi]
lea r15, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
lea rcx, [0x1801537a0]
cmovae r15, qword [rbp - 0x11]
mov rax, qword [rdi + 0x40]
movss xmm6, dword [rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.180009230
movsxd rbx, eax
lea rcx, [rbp - 0x31]
mov rdx, rbx
call fcn.180007d70
cmp qword [rbp - 0x19], 0x10
lea rcx, [rbp - 0x31]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
cmovae rcx, qword [rbp - 0x31]
lea r8, [0x1801537a0]
movq r9, xmm6
call fcn.1800091d0
cmp qword [rbp - 0x19], 0x10
lea r8, [rbp - 0x31]
lea rdx, [rdi + 0x20]
cmovae r8, qword [rbp - 0x31]
cmp qword [rdx + 0x18], 0x10
jb 0x180041cf5
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], 0x10
jb 0x180041cff
mov rdi, qword [rdi]
mov r9, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x180041d46
mov rcx, qword [rbp - 0x31]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041d41
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180041df3
call fcn.1800c3c7c
add rsi, 8
cmp rsi, r14
jne 0x180041c74
mov rdi, qword [0x18024f1a0]
mov rbx, qword [0x18024f198]
cmp rbx, rdi
je 0x180041dba
lea rsi, [0x180153abc]
nop dword [rax]
cmp qword [rbp + 7], 0x10
lea r9, [rbp - 0x11]
mov rcx, qword [rbx]
lea r8, [0x180153ac0]
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 0x180041da1
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
jb 0x180041dab
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add rbx, 8
cmp rbx, rdi
jne 0x180041d70
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x180041dff
mov rcx, qword [rbp - 0x11]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041dfa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180041dfa
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.1800c3c7c
mov r12, qword [rsp + 0x108]
mov r15, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xb0]
mov rbx, qword [rsp + 0xf8]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xd8
pop rsi
pop rbp
ret
call fcn.180007b80
int3
call fcn.180007b80
int3