Function at 0x1400040e0
Capabilities:
Create directory

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x140044020]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x100], xmm0
xor r12d, r12d
mov qword [r11 - 0x78], r12
mov qword [r11 - 0x70], r12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], r12b
jne 0x140004130
lea rcx, [rsp + 0x100]
call fcn.140001a30
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x130], r12
mov qword [rsp + 0x138], r12
mov r8d, 9
lea rdx, [0x14003c990]
lea rcx, [rsp + 0x120]
call fcn.140001a30
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x88]
call fcn.140005610
nop
lea r8, [rsp + 0x120]
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140003900
nop
mov r14d, r12d
nop
mov rdx, qword [rsp + 0xd0]
mov rax, rdx
mov rcx, qword [rsp + 0xc8]
sub rax, rcx
sar rax, 5
mov ebx, r14d
cmp rbx, rax
jae 0x140004413
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], rax
shl rbx, 5
lea rdx, [rcx + rbx]
lea rcx, [rsp + 0xa8]
call fcn.140005610
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140003bf0
nop
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0x10]
inc ecx
movsxd rcx, ecx
call fcn.14000ccb0
mov r12, rax
mov rcx, qword [rsp + 0xe0]
mov edx, dword [rcx + 0x30]
inc edx
movsxd rcx, edx
call fcn.14000ccb0
mov r13, rax
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xe0]
mov edi, dword [rbx + rcx + 0x10]
sub edi, dword [rdx + 0x30]
sub edi, dword [rdx + 0x10]
sub edi, 2
lea eax, [rdi + 1]
cdqe
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.14000ccb0
mov rsi, rax
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0xe0]
mov r8, qword [rcx + 0x10]
inc r8
xor edx, edx
mov rcx, r12
call fcn.14000eec0
mov rcx, qword [rsp + 0xe0]
mov r8, qword [rcx + 0x30]
inc r8
xor edx, edx
mov rcx, r13
call fcn.14000eec0
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rsi
call fcn.14000eec0
mov rdx, qword [rsp + 0xe0]
mov r8, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x1400042ee
mov rdx, qword [rdx]
mov r8, qword [r8 + 0x10]
mov rcx, r12
call fcn.14000e800
mov rax, qword [rsp + 0xe0]
lea rdx, [rax + 0x20]
cmp qword [rax + 0x38], 0x10
jb 0x140004311
mov rdx, qword [rax + 0x20]
mov r8, qword [rax + 0x30]
mov rcx, r13
call fcn.14000e800
mov rdx, qword [rsp + 0xc8]
add rdx, rbx
mov rax, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x140004335
mov rax, qword [rdx]
movsxd r8, edi
mov rdx, qword [rdx + 0x10]
sub rdx, r8
add rdx, rax
mov rcx, rsi
call fcn.14000e800
lea rbx, [r15 + 0x48]
mov rsi, qword [rbx]
movabs rax, 0x555555555555555
cmp qword [rbx + 8], rax
je 0x1400049de
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 0
mov ecx, 0x30
call fcn.14000ca24
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
mov dword [rax + 0x18], edi
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r12
inc qword [rbx + 8]
mov rcx, qword [rsi + 8]
mov qword [rax], rsi
mov qword [rax + 8], rcx
mov qword [rsp + 0x78], 0
mov qword [rsi + 8], rax
mov qword [rcx], rax
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x14000440b
mov rdx, qword [rsp + 0xe8]
call fcn.140001b30
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004406
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049eb
call fcn.14000c780
inc r14d
jmp 0x1400041d0
test rcx, rcx
je 0x140004477
call fcn.140001b30
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc8]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004459
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049f1
call fcn.14000c780
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc8], xmm0
xor r12d, r12d
mov qword [rsp + 0xd8], r12
jmp 0x14000447a
xor r12d, r12d
mov rdx, qword [rsp + 0x118]
cmp rdx, 0x10
jb 0x1400044be
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049f7
call fcn.14000c780
nop
mov qword [rsp + 0x50], r12
mov rsi, qword [r15 + 0x48]
mov rbx, qword [rsi]
nop word [rax + rax]
cmp rbx, rsi
je 0x1400049ab
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x70], rax
mov rdi, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
lea rcx, [0x14003c9a0]
call fcn.140018bfc
test eax, eax
jne 0x1400049a3
mov rsi, qword [0x1400469b0]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0xc8], rbx
mov dword [rsp + 0xd0], r12d
mov r14, rsi
cmp byte [rbx + 0x19], al
jne 0x140004565
mov qword [rsp + 0xc8], rbx
mov rdx, rdi
mov rcx, qword [rbx + 0x20]
call fcn.140018bfc
test eax, eax
jne 0x140004547
mov dword [rsp + 0xd0], r12d
mov rbx, qword [rbx + 0x10]
jmp 0x140004558
mov dword [rsp + 0xd0], 1
mov r14, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140004521
mov rsi, qword [0x1400469b0]
cmp byte [r14 + 0x19], 0
jne 0x140004583
mov rdx, qword [r14 + 0x20]
mov rcx, rdi
call fcn.140018bfc
test eax, eax
jne 0x14000459c
mov rsi, qword [0x1400469b0]
movabs r13, 0x555555555555555
cmp qword [0x1400469b8], r13
je 0x1400049fd
jmp 0x1400045a5
lea r14, [0x1400469b0]
jmp 0x1400045f7
lea r14, [0x1400469b0]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r12
mov ecx, 0x30
call fcn.14000ca24
nop
mov qword [rax + 0x20], rdi
mov dword [rax + 0x28], r12d
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0x60], xmm0
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140005e80
mov rsi, qword [r15 + 0x48]
mov rbx, qword [rsi]
nop
cmp rbx, rsi
je 0x1400049ab
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rax
mov rdi, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
lea rcx, [0x14003c9b0]
call fcn.140018bfc
test eax, eax
jne 0x14000499b
mov rsi, qword [0x1400469b0]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0xc8], rbx
mov dword [rsp + 0xd0], r12d
mov r13, rsi
cmp byte [rbx + 0x19], al
jne 0x140004695
mov qword [rsp + 0xc8], rbx
mov rdx, rdi
mov rcx, qword [rbx + 0x20]
call fcn.140018bfc
test eax, eax
jne 0x140004677
mov dword [rsp + 0xd0], r12d
mov rbx, qword [rbx + 0x10]
jmp 0x140004688
mov dword [rsp + 0xd0], 1
mov r13, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140004651
mov rsi, qword [0x1400469b0]
cmp byte [r13 + 0x19], 0
jne 0x1400046b3
mov rdx, qword [r13 + 0x20]
mov rcx, rdi
call fcn.140018bfc
test eax, eax
jne 0x140004715
mov rsi, qword [0x1400469b0]
movabs rax, 0x555555555555555
cmp qword [0x1400469b8], rax
je 0x140004a02
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r12
mov ecx, 0x30
call fcn.14000ca24
nop
mov qword [rax + 0x20], rdi
mov dword [rax + 0x28], r12d
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140005e80
mov rsi, qword [r15 + 0x48]
mov rbx, qword [rsi]
nop dword [rax]
cmp rbx, rsi
je 0x1400049ab
mov r12, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
lea rcx, [0x14003c9c0]
call fcn.140018bfc
test eax, eax
jne 0x140004993
mov rsi, qword [0x1400469b0]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0xc8], rbx
mov dword [rsp + 0xd0], eax
mov r13, rsi
cmp byte [rbx + 0x19], al
jne 0x1400047b3
nop dword [rax + rax]
mov qword [rsp + 0xc8], rbx
mov rdx, rdi
mov rcx, qword [rbx + 0x20]
call fcn.140018bfc
test eax, eax
jne 0x140004795
mov dword [rsp + 0xd0], eax
mov rbx, qword [rbx + 0x10]
jmp 0x1400047a6
mov dword [rsp + 0xd0], 1
mov r13, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140004770
mov rsi, qword [0x1400469b0]
cmp byte [r13 + 0x19], 0
jne 0x1400047d1
mov rdx, qword [r13 + 0x20]
mov rcx, rdi
call fcn.140018bfc
test eax, eax
jne 0x140004836
mov rsi, qword [0x1400469b0]
movabs rax, 0x555555555555555
cmp qword [0x1400469b8], rax
je 0x140004a07
mov qword [rsp + 0x40], r14
xor r13d, r13d
mov qword [rsp + 0x48], r13
lea ecx, [r13 + 0x30]
call fcn.14000ca24
nop
mov qword [rax + 0x20], rdi
mov dword [rax + 0x28], r13d
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], r13w
movups xmm0, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140005e80
jmp 0x140004839
xor r13d, r13d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x40]
lea rdx, [0x14003c9d8]
mov rcx, r15
call fcn.140004a10
test al, al
je 0x1400049ab
mov rcx, qword [rsp + 0x70]
call fcn.140018b48
mov qword [r15 + 0x20], rax
mov rcx, qword [rsp + 0x60]
call fcn.140018b48
mov qword [r15 + 0x28], rax
mov rcx, qword [rsp + 0x50]
call fcn.140018b48
mov qword [r15 + 0x30], rax
mov rcx, r12
call fcn.140018b48
mov qword [r15 + 0x38], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rsi, 0xffffffffffffffff
test eax, eax
je 0x14000491c
mov rax, qword [r15 + 0x38]
mov rdi, rsi
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400048c0
inc rdi
mov eax, 2
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.14000ccb0
mov rbx, rax
mov r8, rdi
mov rdx, qword [r15 + 0x38]
mov rcx, rax
call fcn.140018a04
mov dword [rsp + 0x38], r13d
mov rdx, rbx
call fcn.140002090
mov dword [rsp + 0x38], 3
mov rdx, rbx
call fcn.140002090
mov edx, 2
mov rcx, rbx
call fcn.14000c780
xor edx, edx
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x14000498f
mov rax, qword [r15 + 0x30]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x140004933
inc rdi
mov eax, 2
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.14000ccb0
mov rbx, rax
mov r8, rdi
mov rdx, qword [r15 + 0x30]
mov rcx, rax
call fcn.140018a04
mov dword [rsp + 0x38], r13d
mov rdx, rbx
call fcn.140002090
mov dword [rsp + 0x38], 3
mov rdx, rbx
call fcn.140002090
mov edx, 2
mov rcx, rbx
call fcn.14000c780
mov al, 1
jmp 0x1400049b1
mov rbx, qword [rbx]
jmp 0x140004720
mov rbx, qword [rbx]
jmp 0x140004600
mov rbx, qword [rbx]
jmp 0x1400044d0
xor al, al
jmp 0x1400049b1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000c760
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [0x14003c9f0]
call fcn.14000b850
nop
call fcn.14001857c
nop
call fcn.14001857c
nop
call fcn.14001857c
nop
call fcn.1400038e0
call fcn.1400038e0
call fcn.1400038e0
int3