Function at 0x18018c760
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x158], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp], rax
mov r14d, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x58], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
cmp qword [rdx + 0x10], r15
jne 0x18018c7f4
lea rcx, [rbp - 0x80]
call fcn.1801ddb30
mov rsi, rax
cmp rbx, rax
je 0x18018c7eb
mov rcx, rbx
call fcn.1800338a0
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
lea rcx, [rbp - 0x80]
call fcn.1800338a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r15w
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x18018c837
mov r8, qword [rbx]
mov r9d, r14d
lea rdx, str._s._u
lea rcx, [rbp - 0x40]
call fcn.1801dba60
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov r8d, dword [rbp - 0x30]
add r8d, r8d
lea rcx, [rbp - 0x20]
call fcn.1801e1930
nop
lea rcx, [rbp - 0x60]
call fcn.180176220
nop
cmp qword [rbp - 0x50], 0
jne 0x18018c8a4
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x180397e60]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r15w
jmp 0x18018ca21
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x80], r15w
mov r8d, 8
lea rdx, str.resource
lea rcx, [rbp - 0x80]
call fcn.180033930
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.1801daa90
mov rsi, rax
lea rax, [rbp - 0x60]
cmp rax, rsi
je 0x18018c91b
lea rcx, [rbp - 0x60]
call fcn.1800338a0
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
lea rcx, [rsp + 0x38]
call fcn.1800338a0
nop
lea rcx, [rbp - 0x80]
call fcn.1800338a0
cmp qword [rbp - 0x50], 0
je 0x18018ca89
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.180037a20
nop
mov edx, 4
lea rcx, [rbp - 0x80]
call fcn.1801da860
lea rcx, [rbp - 0x80]
call fcn.1801f0260
cmp eax, 0xffffffff
je 0x18018ca80
test al, 0x10
je 0x18018ca80
lea rcx, [rbp - 0x80]
call fcn.1800338a0
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.1801daa90
mov rsi, rax
lea rax, [rsp + 0x60]
cmp rax, rsi
je 0x18018c9c3
lea rcx, [rsp + 0x60]
call fcn.1800338a0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
lea rcx, [rsp + 0x38]
call fcn.1800338a0
mov r8d, 4
lea rdx, str..tmp
lea rcx, [rsp + 0x60]
call fcn.180033c20
lea rcx, [rsp + 0x60]
call fcn.1801dbd90
test al, al
je 0x18018c9fc
lea rcx, [rsp + 0x60]
call fcn.1801f09d0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x70]
movdqa xmm0, xmmword [0x180397e60]
mov word [rsp + 0x60], r15w
movdqu xmmword [rsp + 0x70], xmm0
movups xmmword [rdi + 0x10], xmm1
mov dword [rsp + 0x20], 1
lea rcx, [rbp - 0x60]
call fcn.1800338a0
nop
lea rcx, [rbp - 0x20]
call fcn.1800338a0
nop
lea rcx, [rbp - 0x40]
call fcn.1800338a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800338a0
nop
mov rcx, rbx
call fcn.1800338a0
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x158]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x80]
call fcn.1800338a0
lea rcx, [rbp - 0x60]
call fcn.1801dc660
lea rcx, [rbp - 0x60]
call fcn.180175ab0
lea rcx, [rbp - 0x60]
call fcn.1801dbe90
test al, al
jne 0x18018c979
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18018c9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x180397e60]
movdqu xmmword [rbp - 0x70], xmm1
mov word [rbp - 0x80], r15w
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.1801f0cb0
test al, al
je 0x18018cb0c
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rbp - 0x80]
call fcn.1800338a0
jmp 0x18018c9fc