Function at 0x140060cd0
Capabilities:
Create directory

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x140148080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rsi, rcx
mov qword [r11 - 0x78], rcx
xor ebx, ebx
mov dword [rsp + 0x3c], ebx
movabs rax, 0x93c10611aea20656
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x4f4b26383e3942f3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x52ab60cb87f61a70
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rcx, 0x57f775feef0239b4
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x9396064dae980615
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [r11 - 0x68], rax
movabs rax, 0x4f24265c3e57429a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [r11 - 0x60], rax
movabs rax, 0x52ab609787851a07
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [r11 - 0x58], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [r11 - 0x50], rax
vmovdqu ymm0, ymmword [rsp + 0x40]
vpxor ymm1, ymm0, ymmword [r11 - 0x68]
vmovdqu ymmword [rsp + 0x40], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rbx
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
vzeroupper
inc r8
cmp word [rax + r8*2], bx
jne 0x140060df5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140007fc0
mov edi, 1
mov dword [rsp + 0x3c], edi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov r13d, ebx
movzx ebx, byte [rsp + 0x38]
mov r14d, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
lea r9, [rsp + 0xba]
jns 0x140060ea0
neg ecx
sub r9, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov ecx, edx
test edx, edx
jne 0x140060e60
add r9, 0xfffffffffffffffe
mov word [r9], r14w
jmp 0x140060ecf
sub r9, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r9], cx
mov ecx, edx
test edx, edx
jne 0x140060ea0
lea r8, [rsp + 0xba]
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.14007fe80
or edi, 6
mov dword [rsp + 0x3c], edi
lea r9, [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 8
cmovae r9, rdi
mov rcx, qword [rsi + 0x10]
mov r8, qword [rsi + 0x18]
mov rax, r8
sub rax, rcx
mov rdx, qword [rsp + 0x70]
cmp rdx, rax
ja 0x140060f47
lea r12, [rdx + rcx]
mov qword [rsi + 0x10], r12
mov r15, rsi
cmp r8, 8
jb 0x140060f2e
mov r15, qword [rsi]
lea rcx, [r15 + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [r15 + r12*2], ax
jmp 0x140060f62
mov qword [rsp + 0x20], rdx
movzx r8d, bl
mov rcx, rsi
call fcn.14007f130
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x60]
cmp r14, 8
jb 0x140060f99
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140060f91
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060fab
mov rcx, rdi
call fcn.1400e44f4
inc r13d
cmp r13d, 5
jge 0x140060fb2
mov edi, dword [rsp + 0x3c]
jmp 0x140060e2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140060fbf
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140060fd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, rsi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400e3fb0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret