Function at 0x140053750
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 [0x140159080]
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, 0xa34f4ded9a537d9e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xae5db2c8dfa379d3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xaf257dd7ff66f108
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rcx, 0x87b41df61830733c
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0xa3184db19a697ddd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [r11 - 0x68], rax
movabs rax, 0xae32b2acdfcd79ba
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [r11 - 0x60], rax
movabs rax, 0xaf257d8bff15f17f
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
lea rdx, [rsp + 0x40]
mov rcx, rdi
vzeroupper
call fcn.140006760
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 0x140053900
neg ecx
nop word [rax + 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 0x1400538c0
add r9, 0xfffffffffffffffe
mov word [r9], bx
jmp 0x14005392f
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 0x140053900
lea r8, [rsp + 0xba]
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.14007e8d0
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 0x1400539a9
lea r15, [rdx + rcx]
mov qword [rdi + 0x10], r15
mov r14, rdi
cmp r8, 8
jb 0x140053990
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 0x1400539c3
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rcx, rdi
call fcn.14007d4b0
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
cmp rsi, 8
jb 0x1400539fa
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400539f2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053a56
mov rcx, rbx
call fcn.1400f48d0
inc r12d
cmp r12d, 5
jl 0x140053885
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140053a14
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140053a26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400f48b0
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