Function at 0x1418c7e20
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x10], 0xfffffffffffffffe
movzx ebx, dl
mov rdi, rcx
lea rdx, [rbp - 0x60]
call fcn.1418c4140
nop
test bl, bl
je 0x1418c80f1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.141892a00
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.141894ef0
mov rdx, qword [rbp - 0x60]
mov qword [rbp - 8], rdx
mov rcx, qword [rax]
mov qword [rbp - 0x60], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
mov r15d, 2
or esi, 0xffffffff
test eax, eax
je 0x1418c7ea7
cmp eax, esi
je 0x1418c7eb6
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c7eb6
mov rcx, qword [rbp - 0x38]
mov r8d, 8
mov rdx, r15
call fcn.1418993e0
nop
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1418c7ed4
cmp eax, 0xffffffff
je 0x1418c7ee2
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c7ee2
mov rcx, qword [rbp - 0x30]
mov r8d, 8
mov rdx, r15
call fcn.1418993e0
mov r14d, esi
mov dword [rbp - 0x20], r15d
lea rax, [0x14004aec8]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
mov r8d, 1
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.14188ce30
test al, al
mov rax, qword [rbp - 0x60]
je 0x1418c7f85
xor edi, edi
cmp dword [rax + 4], edi
jle 0x1418c7fa0
mov r12d, edi
nop word [rax + rax]
mov rdx, qword [rax + 0x10]
add rdx, r12
movzx ebx, word [rdx + rax]
lea rcx, [rbp + 0x50]
call fcn.141894940
cmp bx, word [rax]
jne 0x1418c7f5a
inc edi
add r12, 2
mov rax, qword [rbp - 0x60]
cmp edi, dword [rax + 4]
jl 0x1418c7f30
jmp 0x1418c7fa0
mov r14d, edi
cmp edi, 0xffffffff
je 0x1418c7fa0
lea rcx, [rbp + 0x58]
call fcn.141894940
mov r9d, 1
mov r8d, edi
movzx edx, word [rax]
lea rcx, [rbp - 0x60]
call fcn.141888190
mov r14d, eax
jmp 0x1418c7fa0
cmp dword [rax + 4], 2
jle 0x1418c7fa0
mov rcx, qword [rax + 0x10]
cmp word [rcx + rax + 2], 0x3a
cmove r14d, r15d
nop dword [rax]
lea rcx, [rbp - 0x4c]
call fcn.141894940
lea r8d, [r14 + 1]
mov r9d, 1
movzx edx, word [rax]
lea rcx, [rbp - 0x60]
call fcn.141888190
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1418c7fd6
mov rax, qword [rbp - 0x60]
mov ebx, dword [rax + 4]
cmp r14d, ebx
je 0x1418c80ea
test ebx, ebx
je 0x1418c80aa
mov r8d, ebx
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x60]
call fcn.141888710
nop
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x48]
call fcn.1418e5b80
nop
lea rcx, [rbp - 0x48]
call fcn.14188e360
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 - 0x50], eax
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1418c8043
cmp eax, 0xffffffff
je 0x1418c8051
mov eax, esi
lock xadd dword [rcx], eax
mov edi, dword [rbp - 0x50]
cmp eax, 1
jne 0x1418c8051
mov rcx, qword [rbp - 0x48]
mov r8d, 8
mov rdx, r15
call fcn.1418993e0
test r14b, r14b
jne 0x1418c807e
cmp edi, 0xb7
je 0x1418c8063
cmp edi, 5
jne 0x1418c80b7
mov byte [rbp + 0x48], 0
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.1418ca080
test al, al
je 0x1418c80b7
cmp byte [rbp + 0x48], 0
je 0x1418c80b7
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1418c809c
cmp eax, 0xffffffff
je 0x1418c80aa
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c80aa
mov rcx, qword [rbp - 0x58]
mov r8d, 8
mov rdx, r15
call fcn.1418993e0
mov r14d, ebx
cmp ebx, 0xffffffff
je 0x1418c80ea
jmp 0x1418c7fa0
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1418c80d5
cmp eax, 0xffffffff
je 0x1418c80e3
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c80e3
mov rcx, qword [rbp - 0x58]
mov r8d, 8
mov rdx, r15
call fcn.1418993e0
xor bl, bl
jmp 0x1418c8186
mov bl, 1
jmp 0x1418c8186
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1418c4140
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1418e5b80
nop
lea rcx, [rbp - 0x40]
call fcn.14188e360
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
mov r15d, 2
or esi, 0xffffffff
test eax, eax
je 0x1418c814a
cmp eax, esi
je 0x1418c8159
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c8159
mov rcx, qword [rbp - 0x40]
mov r8d, 8
mov rdx, r15
call fcn.1418993e0
nop
mov rcx, qword [rbp - 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1418c8177
cmp eax, 0xffffffff
je 0x1418c8186
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c8186
mov rcx, qword [rbp - 0x28]
mov r8d, 8
mov rdx, r15
call fcn.1418993e0
nop
mov rcx, qword [rbp - 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1418c819e
cmp eax, 0xffffffff
je 0x1418c81b0
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1418c81b0
mov r8d, 8
mov rdx, r15
mov rcx, qword [rbp - 0x60]
call fcn.1418993e0
movzx eax, bl
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret