Function at 0x140007040
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14003e050]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
xor r14d, r14d
cmp qword [rcx + 0x10], r14
jne 0x140007086
xor al, al
jmp 0x14000751a
call fcn.140006f60
test al, al
je 0x140007096
mov al, 1
jmp 0x14000751a
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400070a3
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140007186
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x140035dc0]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140008f40
test al, al
je 0x140007134
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140007134
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140007174
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000716f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007548
jmp 0x14000716f
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140007174
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000716f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007560
call fcn.140018630
movdqa xmm0, xmmword [0x140035dc0]
mov word [rbp - 0x50], r14w
movdqu xmmword [rbp - 0x40], xmm0
mov rcx, rbx
call fcn.140006f60
test al, al
jne 0x14000708f
mov rsi, qword [rbx + 0x10]
mov rdi, r14
test rsi, rsi
je 0x14000736a
mov r12d, 0x2f
lea r15d, [r12 + 0x2d]
mov rax, rbx
mov rcx, qword [rbx + 0x18]
cmp rcx, 8
jb 0x1400071c1
mov rax, qword [rbx]
cmp r12w, word [rax + rdi*2]
je 0x1400071df
mov rax, rbx
cmp rcx, 8
jb 0x1400071d4
mov rax, qword [rbx]
cmp r15w, word [rax + rdi*2]
jne 0x14000735e
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140002010
nop
cmp qword [rbp - 0x20], 0
jne 0x140007241
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14000734d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007348
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000754e
jmp 0x140007348
lea rcx, [rbp - 0x30]
call fcn.140006ce0
test al, al
jne 0x14000730d
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000730d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140008f40
test al, al
je 0x14000742b
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000742b
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400072fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400072f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007566
call fcn.140018630
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14000734d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007348
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007572
call fcn.140018630
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r14w
inc rdi
cmp rdi, rsi
jb 0x1400071b1
mov rcx, rbx
call fcn.140006ce0
test al, al
jne 0x140007512
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140007387
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140007512
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x140035dc0]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140008f40
test al, al
je 0x1400074c4
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400074c4
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140007500
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007554
jmp 0x1400074fb
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14000746b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007466
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000756c
call fcn.140018630
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14000734d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007348
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000755a
jmp 0x140007348
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140007500
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007542
call fcn.140018630
movdqa xmm0, xmmword [0x140035dc0]
mov word [rbp - 0x50], r14w
movdqu xmmword [rbp - 0x40], xmm0
mov rcx, rbx
call fcn.140006f60
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400185d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14001c854
int3
call fcn.14001c854
int3
call fcn.14001c854
int3
call fcn.14001c854
int3
call fcn.14001c854
int3
call fcn.14001c854
nop
call fcn.14001c854
nop
call fcn.14001c854
nop
call fcn.14001c854
int3