Function at 0x14013a000
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, r8
movzx r15d, dl
lea rdx, [rsp + 0x20]
call fcn.140134f10
nop
mov edi, 0xffffffff
cmp qword [rsp + 0x30], 0
jne 0x14013a094
mov qword [rsp + 0x38], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rax, str.default
mov qword [rsp + 0x50], rax
lea rdx, str.Empty_filename_passed_to_function
lea rcx, [rsp + 0x38]
call fcn.14010f2c0
call fcn.1402273f8
mov dword [rax], 0x16
xor bl, bl
jmp 0x14013a234
xor esi, esi
lea r9d, [rsi + 1]
xor r8d, r8d
movzx edx, si
lea rcx, [rsp + 0x20]
call fcn.14008e920
cmp rax, 0xffffffffffffffff
je 0x14013a0f1
mov qword [rsp + 0x38], 2
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rax, str.default
mov qword [rsp + 0x50], rax
lea rdx, str.Broken_filename_passed_to_function
lea rcx, [rsp + 0x38]
call fcn.14010f2c0
call fcn.1402273f8
mov dword [rax], 0x16
xor bl, bl
jmp 0x14013a234
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.1400a7660
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400ab280
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x28], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14013a161
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14013a161
mov rcx, qword [rsp + 0x70]
call fcn.14021b810
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14013a17e
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14013a17e
mov rcx, qword [rbp - 0x78]
call fcn.14021b810
mov r8b, 1
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140139250
cmp byte [rbp - 0x60], 0
jne 0x14013a19a
xor bl, bl
jmp 0x14013a234
lea r14, [rbp - 0x58]
cmp byte [rbp - 0x5f], 0
cmovne r14, rsi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140149a90
nop
lea rcx, [rsp + 0x58]
call fcn.140094f50
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14013a1f5
mov ecx, edi
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14013a1f5
mov rcx, qword [rsp + 0x58]
call fcn.14021b810
test esi, esi
je 0x14013a1fd
mov bl, 1
jmp 0x14013a234
test r15b, r15b
jne 0x14013a206
xor bl, bl
jmp 0x14013a234
cmp ebx, 0xb7
je 0x14013a225
cmp ebx, 5
je 0x14013a225
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14013a280
jmp 0x14013a231
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14013cb90
movzx ebx, al
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14013a251
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14013a251
mov rcx, qword [rsp + 0x20]
call fcn.14021b810
movzx eax, bl
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140214340
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret