Function at 0x10002303c
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x90
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r13, r8
mov rsi, rdx
mov rdi, rcx
and dword [rax + 0x18], 0
xor r8d, r8d
mov rdx, qword [r13]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, 0x18
call fcn.1000023a0
mov rbx, rax
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x1000230ad
mov rdx, rsi
lea rcx, [rsp + 0x88]
call fcn.1000031f0
mov rdx, rax
mov rcx, rbx
call fcn.10000c948
jmp 0x1000230af
xor eax, eax
mov qword [rdi + 8], rax
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.10000edb4
mov ebx, eax
mov dword [rsp + 0xc0], eax
test eax, eax
js 0x10002337f
lea r9, [rsp + 0xc0]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rdi + 8]
call fcn.100009f20
mov rsi, rax
mov ebx, dword [rsp + 0xc0]
test ebx, ebx
js 0x10002337f
mov r10, qword [rax]
lea r9, [rsp + 0x68]
mov r8d, 4
lea rdx, [rsp + 0xd0]
mov rcx, rax
call qword [r10 + 0x18]
mov ebx, eax
mov dword [rsp + 0xc0], eax
test eax, eax
js 0x10002337f
cmp dword [rsp + 0xd0], 0x10000
je 0x1000231a2
mov ebx, 0x8000000b
cmp dword [0x1000408f4], 0
je 0x100023376
mov al, byte [0x1000408f8]
cmp al, 2
jae 0x10002315d
test al, al
jne 0x100023376
movabs rdx, 0x2000000000010000
test qword [0x1000408e0], rdx
je 0x100023376
mov rcx, qword [0x1000408e8]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x100023376
lea rdx, [0x100033100]
mov rcx, qword [0x1000400f0]
call fcn.1000180a0
jmp 0x100023376
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and dword [rsp + 0x60], 0
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 8]
call fcn.10000d990
xor ebp, ebp
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x10002336c
xor ecx, ecx
and dword [rsp + 0xd8], 0
cmp rcx, rax
jae 0x10002335e
mov rax, qword [rsp + 0x48]
lea rdx, [rax + rcx*8]
lea rcx, [rsp + 0x38]
call fcn.1000031f0
nop
and qword [rsp + 0x40], 0
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi]
call fcn.100009848
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.1000031f0
lea r9, [rsp + 0xd8]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rdi + 8]
call fcn.10000c9a4
mov r12, rax
cmp dword [rsp + 0xd8], 0
jl 0x100023323
mov rbx, qword [rsp + 0x40]
cmp qword [rbx], 0
je 0x100023266
mov r8, qword [rbx]
jmp 0x100023269
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.1000233a8
test al, al
je 0x1000232f4
lea rdx, [0x100032018]
lea rcx, [rsp + 0x30]
call fcn.100002f84
nop
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 0x178]
mov rax, qword [rcx]
and qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x30]
xor r8d, r8d
lea edx, [r8 + 0xc]
call qword [rax + 0x18]
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x1000232bf
add rdx, 0x138
jmp 0x1000232c1
xor edx, edx
mov rcx, rbx
call fcn.100003d78
mov rcx, qword [rdi]
call fcn.10000b024
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x100023314
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x100023314
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.1000031c4
mov rdx, rax
mov rcx, qword [rdi]
call fcn.100004520
mov rcx, qword [rdi]
call fcn.10000b024
mov r8, r13
mov rdx, r12
mov rcx, rdi
call fcn.1000235d8
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x100023343
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc ebp
mov ecx, ebp
mov rax, qword [rsp + 0x50]
cmp rcx, rax
jb 0x1000231d9
mov ebx, dword [rsp + 0xc0]
jmp 0x10002336c
mov ecx, 0x80070057
call fcn.100018078
nop
jmp 0x10002336b
nop
lea rcx, [rsp + 0x48]
call fcn.100009e30
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, rdi
call fcn.1000237b0
mov eax, ebx
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret