Function at 0x1802442d0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
mov qword [rbp - 9], rcx
xor r15d, r15d
lea rax, vtable.RC::RCVersionUpdateTask.0
mov qword [rcx], rax
lea r14, [rcx + 8]
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 7
mov word [r14], r15w
mov qword [rcx + 0x28], r15
lea rcx, [rbp - 1]
call fcn.1801fde40
nop
cmp qword [rbp + 0xf], r15
je 0x1802444ec
lea rcx, [rbp - 1]
call fcn.180155880
test al, al
jne 0x18024444c
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rcx, qword [rbp - 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18024444c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2f], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp + 0x2f], xmm1
mov word [rbp + 0x1f], r15w
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.1801759f0
test al, al
je 0x1802443f7
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rcx, qword [rbp + 0x1f]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1802443f7
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x18024443a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244435
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244435
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x18024443a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180244435
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180244435
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
mov word [rbp + 0x1f], r15w
movdqu xmmword [rbp + 0x2f], xmm0
mov rcx, qword [rbp + 0xf]
mov rdx, qword [rbp + 0x17]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x180244492
lea rdi, [rcx + 4]
mov qword [rbp + 0xf], rdi
lea rbx, [rbp - 1]
cmp rdx, 8
cmovae rbx, qword [rbp - 1]
lea rcx, [rbx + rcx*2]
mov r8d, 8
lea rdx, [0x1803d62f8]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r15w
jmp 0x1802444b2
mov qword [rsp + 0x20], 4
lea r9, [0x1803d62f8]
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 1]
call fcn.180009e30
mov rcx, qword [rbp + 0xf]
mov rdx, qword [rbp + 0x17]
cmp rcx, rdx
jae 0x1802444dd
lea rax, [rcx + 1]
mov qword [rbp + 0xf], rax
lea rax, [rbp - 1]
cmp rdx, 8
cmovae rax, qword [rbp - 1]
mov dword [rax + rcx*2], 0x5c
jmp 0x1802444ec
mov r9d, 0x5c
lea rcx, [rbp - 1]
call fcn.180032180
lea rax, [rbp - 1]
cmp r14, rax
je 0x180244510
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
mov r8, qword [rbp + 0xf]
mov rcx, r14
call fcn.180004ea0
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x180244553
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024454e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024454e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r15w
mov rax, rsi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret