Function at 0x140012780
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x1402d1ba8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r13, r9
mov r15, r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x40], r8
mov rax, qword [rbp + 0x120]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x48], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rbx, qword [rax]
mov r12, qword [rax + 8]
cmp rbx, r12
je 0x1400129ca
lea rdi, str.local_extension_settings
mov rdx, rbx
lea rcx, [rbp + 0x70]
call fcn.1400272f0
nop
call fcn.1401c3b9c
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], Ordinal_30
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.1400067e0
or r14d, 3
mov rsi, qword [rbp + 0x80]
lea rdi, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdi, qword [rbp + 0x70]
call fcn.1401c3b9c
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.1400067e0
or r14d, 0xc
mov dword [rsp + 0x20], r14d
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x50]
call fcn.140026e10
or r14d, 0x10
mov dword [rsp + 0x20], r14d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140006a60
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140026e10
or r14d, 0x20
mov dword [rsp + 0x20], r14d
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.140006a60
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x50]
call fcn.140026e10
or r14d, 0x40
mov dword [rsp + 0x20], r14d
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0x50]
call fcn.140006a60
and r14d, 0xffffffdf
lea rcx, [rbp - 0x70]
call fcn.140029930
and r14d, 0xffffffef
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
call fcn.140029930
nop
lea rcx, [rbp - 0x30]
call fcn.140029930
nop
lea rcx, [rbp - 0x10]
call fcn.140029930
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.140009dd0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x60], ecx
lea rax, [0x1402d3498]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x90], xmm0
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1400129a6
cmp eax, 1
je 0x1400129aa
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140009dd0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x80], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp - 0x80]
test edx, edx
je 0x14001297e
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140012a2e
cmp ecx, 3
jne 0x1400129aa
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140012998
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, r15
lea rcx, [rbp + 0x50]
call fcn.140012230
jmp 0x1400129aa
test ecx, ecx
jne 0x140012a16
and r14d, 0xffffffbf
lea rcx, [rbp + 0x50]
call fcn.140029930
nop
lea rcx, [rbp + 0x70]
call fcn.140029b80
add rbx, 0x20
jmp 0x1400127e8
mov rcx, qword [rsp + 0x28]
call fcn.140029930
nop
mov rcx, qword [rsp + 0x30]
call fcn.140029930
nop
mov rcx, r15
call fcn.140029930
nop
mov rcx, qword [rsp + 0x38]
call fcn.1400297a0
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401e7970
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x90]
lea rcx, str.exists
call fcn.140008d70
int3
lea r8, [rbp + 0x50]
lea rcx, str.status
call fcn.140008c80
int3