Function at 0x1400395c8
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r15, r8
mov r14, rdx
lea r8, [rsp + 0x30]
mov edx, 2
mov rsi, r9
mov rbx, rcx
call fcn.1400399f4
test eax, eax
js 0x1400399cb
mov rcx, qword [rbx]
lea rdi, [0x140046a38]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rdx, [rsp + 0x30]
call fcn.14003a374
mov edx, 4
lea rcx, [rbp + 0x140]
lea rax, [rsp + 0x30]
lea r8d, [rdx + 0x7c]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x14003964a
mov rax, qword [rax]
lea r8, [rsp + 0x30]
mov qword [rcx], rax
mov edx, 1
mov rcx, rbx
call fcn.1400399f4
lea r13, [0x14004d128]
test eax, eax
js 0x14003976c
xor edx, edx
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14003974d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x14003974d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
mov edi, eax
mov rcx, qword [0x14004d128]
cmp rcx, r13
je 0x14003976c
test byte [rcx + 0x1c], 1
je 0x14003976c
cmp byte [rcx + 0x19], 2
jb 0x14003976c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14004d128]
lea r9, [rbp + 0x140]
mov edx, 0x22
mov dword [rsp + 0x28], edi
lea r8, [0x140047130]
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.14000a458
jmp 0x14003976c
mov rcx, qword [rbx]
lea r8, [rbp + 0x140]
mov r9d, 1
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x30]
call fcn.14003a374
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x1400397f8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x1400397f8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
mov edi, eax
mov rcx, qword [0x14004d128]
cmp rcx, r13
je 0x1400397f8
test byte [rcx + 0x1c], 1
je 0x1400397f8
cmp byte [rcx + 0x19], 2
jb 0x1400397f8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14004d128]
lea r9, [rsp + 0x30]
mov edx, 0x23
mov dword [rsp + 0x28], edi
lea r8, [0x140047130]
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.14000a458
mov rax, qword [rbx]
mov dl, 1
mov rcx, r14
mov byte [rax + 0xa4], 1
call fcn.14001b170
test eax, eax
jns 0x140039848
mov rcx, qword [0x14004d128]
cmp rcx, r13
je 0x14003984b
test byte [rcx + 0x1c], 1
je 0x14003984b
cmp byte [rcx + 0x19], 2
jb 0x14003984b
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x24
mov dword [rsp + 0x20], eax
lea r8, [0x140047130]
call fcn.14000a60c
jmp 0x14003984b
mov byte [rsi], 1
mov rcx, qword [rbx]
mov r9b, 1
xor r8d, r8d
xor edx, edx
call fcn.14000d534
mov rcx, rbx
call fcn.14001e74c
mov edi, eax
test eax, eax
jns 0x14003989f
mov rcx, qword [0x14004d128]
cmp rcx, r13
je 0x1400398d1
test byte [rcx + 0x1c], 1
je 0x1400398a6
cmp byte [rcx + 0x19], 2
jb 0x1400398a6
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x25
mov dword [rsp + 0x20], eax
lea r8, [0x140047130]
call fcn.14000a60c
mov rcx, qword [0x14004d128]
cmp rcx, r13
je 0x1400398d1
test byte [rcx + 0x1c], 1
je 0x1400398d1
cmp byte [rcx + 0x19], 4
jb 0x1400398d1
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x26
lea r8, [0x140047130]
call fcn.14000a3f0
mov rcx, qword [rbx]
mov r8b, 1
xor edx, edx
call fcn.14000d664
mov ecx, 0x7d0
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
mov rcx, qword [0x14004d128]
cmp rcx, r13
je 0x140039921
test byte [rcx + 0x1c], 1
je 0x140039921
cmp byte [rcx + 0x19], 4
jb 0x140039921
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x27
lea r8, [0x140047130]
call fcn.14000a3f0
mov rcx, qword [rbx]
lea rax, [0x140046a38]
mov r9d, 2
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rcx + 0x258]
call fcn.14003a374
mov rcx, qword [0x14004d128]
cmp rcx, r13
je 0x140039979
test byte [rcx + 0x1c], 1
je 0x140039979
cmp byte [rcx + 0x19], 4
jb 0x140039979
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x28
lea r8, [0x140047130]
call fcn.14000a3f0
mov rax, qword [rbx]
mov byte [rax + 0xa4], 0
mov rcx, qword [rbx]
mov ebx, dword [rcx + 0x80]
call fcn.14000da54
mov byte [r15], 0
mov rcx, qword [0x14004d128]
cmp rcx, r13
je 0x1400399c9
test byte [rcx + 0x1c], 1
je 0x1400399c9
cmp byte [rcx + 0x19], 2
jb 0x1400399c9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140047130]
mov edx, 0x29
mov dword [rsp + 0x20], edi
mov r9d, ebx
call fcn.14000a318
xor eax, eax
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140001e70
add rsp, 0x460
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret