Function at 0x140038874
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x378]
sub rsp, 0x478
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov qword [rsp + 0x38], r8
mov r15, rdx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], r9
mov edx, 2
mov rbx, rcx
call fcn.1400386fc
test eax, eax
js 0x140038cb1
mov rcx, qword [rbx]
lea rax, [0x1400458d8]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call fcn.1400382f0
mov r13d, 1
lea r12, [0x14004d128]
mov edi, r13d
lea r14, [0x1400458d8]
lea rcx, [rbp + 0x150]
mov edx, 4
lea rax, [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, r13
jne 0x14003890f
mov rax, qword [rax]
lea r8, [rsp + 0x40]
mov qword [rcx], rax
mov edx, edi
mov rcx, rbx
call fcn.1400386fc
test eax, eax
js 0x140038a36
xor edx, edx
lea rcx, [rbp + 0x150]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140038a0f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x140038a0f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.14000433c
mov esi, eax
mov rcx, qword [0x14004d128]
cmp rcx, r12
je 0x140038a2b
test byte [rcx + 0x1c], r13b
je 0x140038a2b
cmp byte [rcx + 0x19], 2
jb 0x140038a2b
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 + 0x150]
mov edx, 0x22
mov dword [rsp + 0x28], esi
lea r8, [0x140045fd0]
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.1400045a8
jmp 0x140038a2b
mov rcx, qword [rbx]
lea r8, [rbp + 0x150]
mov r9d, r13d
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x40]
call fcn.1400382f0
sub edi, r13d
test edi, edi
jg 0x1400388fe
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
test eax, eax
jne 0x140038ad5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x140038ad5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.14000433c
mov edi, eax
mov rcx, qword [0x14004d128]
lea rsi, [0x14004d128]
cmp rcx, rsi
je 0x140038adc
test byte [rcx + 0x1c], r13b
je 0x140038adc
cmp byte [rcx + 0x19], 2
jb 0x140038adc
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 + 0x40]
mov edx, 0x23
mov dword [rsp + 0x28], edi
lea r8, [0x140045fd0]
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.1400045a8
jmp 0x140038adc
lea rsi, [0x14004d128]
mov rax, qword [rbx]
mov dl, r13b
mov rcx, r15
mov byte [rax + 0xa4], r13b
call fcn.14001d470
test eax, eax
jns 0x140038b2d
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140038b30
test byte [rcx + 0x1c], r13b
je 0x140038b30
cmp byte [rcx + 0x19], 2
jb 0x140038b30
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
mov edx, 0x24
mov dword [rsp + 0x20], eax
lea r8, [0x140045fd0]
call fcn.14000476c
jmp 0x140038b30
mov byte [r14], r13b
mov rcx, qword [rbx]
mov r9b, r13b
xor r8d, r8d
xor edx, edx
call fcn.140012248
mov rcx, rbx
call fcn.14001b86c
mov edi, eax
test eax, eax
jns 0x140038b84
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140038bb6
test byte [rcx + 0x1c], r13b
je 0x140038b8b
cmp byte [rcx + 0x19], 2
jb 0x140038b8b
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
mov edx, 0x25
mov dword [rsp + 0x20], eax
lea r8, [0x140045fd0]
call fcn.14000476c
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140038bb6
test byte [rcx + 0x1c], r13b
je 0x140038bb6
cmp byte [rcx + 0x19], 4
jb 0x140038bb6
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
mov edx, 0x26
lea r8, [0x140045fd0]
call fcn.140004538
mov rcx, qword [rbx]
mov r8b, r13b
xor edx, edx
call fcn.140012378
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, rsi
je 0x140038c06
test byte [rcx + 0x1c], r13b
je 0x140038c06
cmp byte [rcx + 0x19], 4
jb 0x140038c06
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
mov edx, 0x27
lea r8, [0x140045fd0]
call fcn.140004538
mov rcx, qword [rbx]
lea rax, [0x1400458d8]
mov r9d, 2
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov rdx, qword [rcx + 0x258]
call fcn.1400382f0
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140038c5e
test byte [rcx + 0x1c], r13b
je 0x140038c5e
cmp byte [rcx + 0x19], 4
jb 0x140038c5e
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
mov edx, 0x28
lea r8, [0x140045fd0]
call fcn.140004538
mov rax, qword [rbx]
mov byte [rax + 0xa4], 0
mov rcx, qword [rbx]
mov ebx, dword [rcx + 0x80]
call fcn.140010b88
mov byte [r12], 0
mov rcx, qword [0x14004d128]
cmp rcx, rsi
je 0x140038caf
test byte [rcx + 0x1c], r13b
je 0x140038caf
cmp byte [rcx + 0x19], 2
jb 0x140038caf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140045fd0]
mov edx, 0x29
mov dword [rsp + 0x20], edi
mov r9d, ebx
call fcn.140001adc
xor eax, eax
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.140041040
add rsp, 0x478
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret