Function at 0x14005beb0
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov qword [rbp + 7], 0xfffffffffffffffe
movzx ebx, dl
mov rdi, rcx
lea rdx, [rbp - 0x59]
call fcn.140058850
nop
test bl, bl
je 0x14005c15f
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.140021a60
nop
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140023720
mov rdx, qword [rbp - 0x59]
mov rcx, qword [rax]
mov qword [rbp - 0x59], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x19]
mov eax, dword [rcx]
mov r15d, 2
or esi, 0xffffffff
test eax, eax
je 0x14005bf2f
cmp eax, esi
je 0x14005bf3e
lock dec dword [rcx]
jne 0x14005bf3e
mov rcx, qword [rbp - 0x19]
mov r8d, 8
mov rdx, r15
call fcn.140011b40
nop
mov rcx, qword [rbp - 0x29]
mov eax, dword [rcx]
test eax, eax
je 0x14005bf56
cmp eax, 0xffffffff
je 0x14005bf64
lock dec dword [rcx]
jne 0x14005bf64
mov rcx, qword [rbp - 0x29]
mov r8d, 8
mov rdx, r15
call fcn.140011b40
mov r14d, esi
mov dword [rbp - 9], r15d
lea rax, [0x14146e8b8]
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x17], xmm0
mov r8d, 1
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x59]
call fcn.140019960
test al, al
mov rax, qword [rbp - 0x59]
je 0x14005c005
xor edi, edi
cmp dword [rax + 4], edi
jle 0x14005c020
mov r12d, edi
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rax + 0x10]
add rdx, r12
movzx ebx, word [rdx + rax]
lea rcx, [rbp + 0x77]
call fcn.1400231f0
cmp bx, word [rax]
jne 0x14005bfda
inc edi
add r12, 2
mov rax, qword [rbp - 0x59]
cmp edi, dword [rax + 4]
jl 0x14005bfb0
jmp 0x14005c020
mov r14d, edi
cmp edi, 0xffffffff
je 0x14005c020
lea rcx, [rbp + 0x7f]
call fcn.1400231f0
mov r9d, 1
mov r8d, edi
movzx edx, word [rax]
lea rcx, [rbp - 0x59]
call fcn.1400158a0
mov r14d, eax
jmp 0x14005c020
cmp dword [rax + 4], 2
jle 0x14005c020
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax + 2], 0x3a
cmove r14d, r15d
nop dword [rax]
lea rcx, [rbp - 0x31]
call fcn.1400231f0
lea r8d, [r14 + 1]
mov r9d, 1
movzx edx, word [rax]
lea rcx, [rbp - 0x59]
call fcn.1400158a0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14005c056
mov rax, qword [rbp - 0x59]
mov ebx, dword [rax + 4]
cmp r14d, ebx
je 0x14005c158
test ebx, ebx
je 0x14005c11e
mov r8d, ebx
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x59]
call fcn.140015db0
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x39]
call fcn.14006a650
nop
lea rcx, [rbp - 0x39]
call fcn.14001afc0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne r14b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rbp - 0x49], eax
mov rcx, qword [rbp - 0x39]
mov eax, dword [rcx]
test eax, eax
je 0x14005c0bd
cmp eax, 0xffffffff
je 0x14005c0cb
lock dec dword [rcx]
mov edi, dword [rbp - 0x49]
jne 0x14005c0cb
mov rcx, qword [rbp - 0x39]
mov r8d, 8
mov rdx, r15
call fcn.140011b40
test r14b, r14b
jne 0x14005c0f8
cmp edi, 0xb7
je 0x14005c0dd
cmp edi, 5
jne 0x14005c12b
mov byte [rbp + 0x6f], 0
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x51]
call fcn.14005dc90
test al, al
je 0x14005c12b
cmp byte [rbp + 0x6f], 0
je 0x14005c12b
mov rcx, qword [rbp - 0x51]
mov eax, dword [rcx]
test eax, eax
je 0x14005c110
cmp eax, 0xffffffff
je 0x14005c11e
lock dec dword [rcx]
jne 0x14005c11e
mov rcx, qword [rbp - 0x51]
mov r8d, 8
mov rdx, r15
call fcn.140011b40
mov r14d, ebx
cmp ebx, 0xffffffff
je 0x14005c158
jmp 0x14005c020
mov rcx, qword [rbp - 0x51]
mov eax, dword [rcx]
test eax, eax
je 0x14005c143
cmp eax, 0xffffffff
je 0x14005c151
lock dec dword [rcx]
jne 0x14005c151
mov rcx, qword [rbp - 0x51]
mov r8d, 8
mov rdx, r15
call fcn.140011b40
xor bl, bl
jmp 0x14005c1e8
mov bl, 1
jmp 0x14005c1e8
lea rdx, [rbp - 0x21]
mov rcx, rdi
call fcn.140058850
nop
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.14006a650
nop
lea rcx, [rbp - 0x41]
call fcn.14001afc0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rbp - 0x41]
mov eax, dword [rcx]
mov r15d, 2
or esi, 0xffffffff
test eax, eax
je 0x14005c1b2
cmp eax, esi
je 0x14005c1c1
lock dec dword [rcx]
jne 0x14005c1c1
mov rcx, qword [rbp - 0x41]
mov r8d, 8
mov rdx, r15
call fcn.140011b40
nop
mov rcx, qword [rbp - 0x21]
mov eax, dword [rcx]
test eax, eax
je 0x14005c1d9
cmp eax, 0xffffffff
je 0x14005c1e8
lock dec dword [rcx]
jne 0x14005c1e8
mov rcx, qword [rbp - 0x21]
mov r8d, 8
mov rdx, r15
call fcn.140011b40
nop
mov rcx, qword [rbp - 0x59]
mov eax, dword [rcx]
test eax, eax
je 0x14005c1ff
cmp eax, 0xffffffff
je 0x14005c211
lock xadd dword [rcx], esi
dec esi
jne 0x14005c211
mov r8d, 8
mov rdx, r15
mov rcx, qword [rbp - 0x59]
call fcn.140011b40
movzx eax, bl
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret