Function at 0x180049000
Capabilities:
Create directory

Disassembly:
mov r11, rsp
push rbp
push rdi
push r13
lea rbp, [r11 - 0x28]
sub rsp, 0x110
mov rcx, qword [0x1802850e0]
xor edi, edi
mov r8, qword [rdx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
xorps xmm0, xmm0
mov r13, rdx
movups xmmword [rbp - 0x80], xmm0
mov byte [rbp - 0x80], dil
cmp rax, r8
jb 0x18004974f
cmp qword [0x1802850e8], 0xf
mov rax, rdx
mov qword [r11 + 8], rbx
lea rbx, [0x1802850d0]
mov r9, rbx
movaps xmmword [r11 - 0x38], xmm6
cmova r9, qword [0x1802850d0]
cmp qword [rdx + 0x18], 0xf
movaps xmmword [r11 - 0x48], xmm7
jbe 0x180049084
mov rax, qword [rdx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.180009460
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1800490de
lea rax, [rcx + 4]
cmp rdx, 0xf
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmova rax, qword [rsp + 0x60]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], dil
lea rax, [rsp + 0x60]
jmp 0x1800490fd
lea r9, str..cfg
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rsp + 0x60]
call fcn.1800092d0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x18004914a
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049145
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180049186
call fcn.1800e19f8
mov rdx, qword [rsp + 0x78]
movups xmmword [rbp - 0x80], xmm6
movups xmmword [rbp - 0x70], xmm7
cmp rdx, 0xf
jbe 0x180049192
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004918d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004918d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e19f8
cmp qword [0x1802850e8], 0xf
mov qword [rsp + 0x138], rsi
cmova rbx, qword [0x1802850d0]
xor edx, edx
mov qword [rsp + 0x140], r12
mov rcx, rbx
mov qword [rsp + 0x108], r14
mov qword [rsp + 0x100], r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rsi, qword [0x1802850f0]
mov r12, qword [0x1802850f8]
cmp rsi, r12
je 0x1800493c6
cmp qword [rbp - 0x68], 0xf
lea r14, [rbp - 0x80]
mov r15, qword [rsi]
lea r9, [rsp + 0x75]
cmova r14, qword [rbp - 0x80]
mov rax, qword [r15 + 0x40]
mov r8d, dword [rax]
test r8d, r8d
jns 0x180049250
neg r8d
nop dword [rax]
dec r9
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 [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180049210
dec r9
mov byte [r9], 0x2d
jmp 0x18004927a
dec r9
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 [r9], r8b
mov r8d, edx
test edx, edx
jne 0x180049250
lea r8, [rsp + 0x75]
mov rdx, r9
lea rcx, [rbp - 0x40]
call fcn.180009680
cmp qword [rbp - 0x28], 0xf
lea rdi, [rbp - 0x40]
lea rdx, [r15 + 0x20]
cmova rdi, qword [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.180047bc0
cmp qword [rsp + 0x58], 0xf
lea rbx, [rsp + 0x40]
mov rdx, r15
lea rcx, [rbp - 0x60]
cmova rbx, qword [rsp + 0x40]
call fcn.180047bc0
cmp qword [rbp - 0x48], 0xf
lea rcx, [rbp - 0x60]
mov r9, r14
mov r8, rdi
cmova rcx, qword [rbp - 0x60]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x18004931c
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049317
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496a0
call fcn.1800e19f8
mov rdx, qword [rsp + 0x58]
xor edi, edi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], dil
cmp rdx, 0xf
jbe 0x18004936b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049366
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496a0
call fcn.1800e19f8
mov rdx, qword [rbp - 0x28]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], dil
cmp rdx, 0xf
jbe 0x1800493b9
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800493b4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496a0
call fcn.1800e19f8
add rsi, 8
cmp rsi, r12
jne 0x1800491e4
mov r15, qword [0x180285120]
mov r12, qword [0x180285128]
cmp r15, r12
je 0x180049589
nop dword [rax]
mov rsi, qword [r15]
lea r14, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
lea rcx, [0x180171a38]
cmova r14, qword [rbp - 0x80]
mov rax, qword [rsi + 0x40]
movss xmm6, dword [rax]
cvtps2pd xmm6, xmm6
movaps xmm1, xmm6
movq rdx, xmm6
call fcn.18000a690
movsxd rbx, eax
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.180008680
cmp qword [rsp + 0x78], 0xf
lea rcx, [rsp + 0x60]
lea rdx, [rbx + 1]
movaps xmm3, xmm6
cmova rcx, qword [rsp + 0x60]
lea r8, [0x180171a38]
movq r9, xmm6
call fcn.18000a630
cmp qword [rsp + 0x78], 0xf
lea rdi, [rsp + 0x60]
lea rdx, [rsi + 0x20]
cmova rdi, qword [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.180047bc0
cmp qword [rbp - 0x48], 0xf
lea rbx, [rbp - 0x60]
mov rdx, rsi
lea rcx, [rsp + 0x40]
cmova rbx, qword [rbp - 0x60]
call fcn.180047bc0
cmp qword [rsp + 0x58], 0xf
lea rcx, [rsp + 0x40]
mov r9, r14
mov r8, rdi
cmova rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800494df
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800494da
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496a7
call fcn.1800e19f8
mov rdx, qword [rbp - 0x48]
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], dil
cmp rdx, 0xf
jbe 0x18004952f
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004952a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496a7
call fcn.1800e19f8
mov rdx, qword [rsp + 0x78]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], dil
cmp rdx, 0xf
jbe 0x18004957c
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049577
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496a7
call fcn.1800e19f8
add r15, 8
cmp r15, r12
jne 0x1800493e0
mov r15, qword [0x180285108]
mov r12, qword [0x180285110]
cmp r15, r12
je 0x1800496b5
mov rsi, qword [r15]
lea rcx, [0x180171f78]
cmp qword [rbp - 0x68], 0xf
lea r14, [rbp - 0x80]
lea rdi, [0x180171f7c]
cmova r14, qword [rbp - 0x80]
mov rax, qword [rsi + 0x40]
lea rdx, [rsi + 0x20]
cmp byte [rax], 0
cmovne rdi, rcx
lea rcx, [rbp - 0x40]
call fcn.180047bc0
cmp qword [rbp - 0x28], 0xf
lea rbx, [rbp - 0x40]
mov rdx, rsi
lea rcx, [rsp + 0x40]
cmova rbx, qword [rbp - 0x40]
call fcn.180047bc0
cmp qword [rsp + 0x58], 0xf
lea rcx, [rsp + 0x40]
mov r9, r14
mov r8, rdi
cmova rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18004964b
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049646
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496ae
call fcn.1800e19f8
mov rdx, qword [rbp - 0x28]
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], dil
cmp rdx, 0xf
jbe 0x180049697
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180049692
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800496ae
call fcn.1800e19f8
add r15, 8
jmp 0x180049597
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1800496f3
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800496ee
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800496ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e19f8
mov rcx, r13
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
call fcn.180008980
mov r12, qword [rsp + 0x140]
mov r15, qword [rsp + 0x100]
mov r14, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x138]
movaps xmm6, xmmword [rsp + 0xf0]
mov rbx, qword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0xe0]
add rsp, 0x110
pop r13
pop rdi
pop rbp
ret
call fcn.1800083e0
int3