Function at 0x140061d30
Capabilities:
Create directory

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x140142080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, rcx
mov qword [r11 - 0x58], rcx
xor ebx, ebx
mov dword [rsp + 0x28], ebx
movabs rax, 0x14129ba044d3f988
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x21113dd96586db8d
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0xf96d168a6a94f59a
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
movabs rcx, 0x4e4d7cd723fb8286
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [r11 - 0x80], rax
movabs rax, 0x14459bfc44e9f9cb
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [r11 - 0x48], rax
movabs rax, 0x217e3dbd65e8dbe4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [r11 - 0x40], rax
movabs rax, 0xf96d16d66ae7f5ed
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [r11 - 0x38], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [r11 - 0x30], rax
vmovdqu ymm0, ymmword [rsp + 0x30]
vpxor ymm1, ymm0, ymmword [r11 - 0x48]
vmovdqu ymmword [rsp + 0x30], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rbx
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
vzeroupper
inc r8
cmp word [rax + r8*2], bx
jne 0x140061e51
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140009580
mov edi, 1
mov dword [rsp + 0x28], 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]
lea r14d, [rdi + 0x2c]
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 + 0xaa]
jns 0x140061ef0
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 0x140061eb2
add r9, 0xfffffffffffffffe
mov word [r9], r14w
jmp 0x140061f1f
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 0x140061ef0
lea r8, [rsp + 0xaa]
mov rdx, r9
lea rcx, [rsp + 0x50]
call fcn.1400724b0
or edi, 6
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14006d860
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140061f98
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061f93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061fef
call fcn.1400dd134
inc ebx
cmp ebx, 5
jl 0x140061e86
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140061fb0
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140061fc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, rsi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400dcbf0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3