Function at 0x140060930
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 [0x14014b080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rcx
mov qword [r11 - 0x78], rcx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
movabs rax, 0x694effb4d8391e70
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x162cea39da04ea99
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x7d45c2bacf2122ca
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rcx, 0x86ba965388c257d2
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x6919ffe8d8031e33
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [r11 - 0x68], rax
movabs rax, 0x1643ea5dda6aeaf0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [r11 - 0x60], rax
movabs rax, 0x7d45c2e6cf5222bd
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 [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
vzeroupper
inc r8
cmp word [rax + r8*2], bx
jne 0x140060a55
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400097e0
mov r13d, 1
mov dword [rsp + 0x38], r13d
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 r12d, ebx
mov ebx, 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 0x140060b00
neg ecx
nop dword [rax]
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 0x140060ac0
add r9, 0xfffffffffffffffe
mov word [r9], bx
jmp 0x140060b2f
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 0x140060b00
lea r8, [rsp + 0xba]
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.140082d30
or r13d, 6
mov dword [rsp + 0x38], r13d
lea r9, [rsp + 0x60]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
cmp rsi, 8
cmovae r9, rbx
mov rcx, qword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
mov rax, r8
sub rax, rcx
mov rdx, qword [rsp + 0x70]
cmp rdx, rax
ja 0x140060ba9
lea r15, [rdx + rcx]
mov qword [rdi + 0x10], r15
mov r14, rdi
cmp r8, 8
jb 0x140060b90
mov r14, qword [rdi]
lea rcx, [r14 + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [r14 + r15*2], ax
jmp 0x140060bc3
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rcx, rdi
call fcn.140081fd0
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
cmp rsi, 8
jb 0x140060bfa
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140060bf2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060c56
mov rcx, rbx
call fcn.1400e7f64
inc r12d
cmp r12d, 5
jl 0x140060a8b
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140060c14
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140060c26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400e7a20
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3