Function at 0x1400a6eb0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x840]
sub rsp, 0x940
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x830], rax
mov r15, r8
mov r13d, edx
mov rdi, rcx
lea rdx, str.OperateTempFolder::CopyDriverSetToTempSub
lea rcx, [rbp - 0x70]
call fcn.14001abe0
nop
lea rax, [0x1402a8360]
lea r12, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rax
je 0x1400a6f42
test byte [rcx + 0x1c], 1
je 0x1400a6f42
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x2c
lea r8, [0x14025a4c8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor r14d, r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x200]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x620]
call fcn.1401e7e40
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0xb8]
call qword [case.0x1400136d6.0]
mov dword [rsp + 0x54], eax
test r15, r15
jne 0x1400a70ab
mov r14d, 0x80010001
mov dword [0x1402bbd98], 1
lea r13, [0x1402a8360]
mov al, 1
mov byte [rbp - 0x68], al
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x1400a7017
test byte [rcx + 0x1c], al
je 0x1400a7017
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x2f
mov dword [rsp + 0x20], r14d
lea r8, [0x14025a4c8]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
movzx eax, byte [rbp - 0x68]
mov rcx, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rbp - 0x70], rdx
test al, al
jne 0x1400a706c
cmp rcx, r13
je 0x1400a706c
test byte [rcx + 0x1c], 1
je 0x1400a706c
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rax, qword [rbp - 0x60]
cmp qword [0x1402bbdc8], 8
cmovae r12, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, r12
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x40]
call fcn.1400048a0
lea rcx, [rbp - 0x60]
call fcn.1400048a0
mov eax, r14d
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x998]
add rsp, 0x940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rsi, 0xffffffffffffffff
mov ebx, esi
mov dword [rsp + 0x50], ebx
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
cmp dword [rax + 0xa64], 2
jne 0x1400a7106
lea rcx, [rsp + 0x60]
call fcn.1400484a0
nop
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14004fa10
nop
lea rcx, [rsp + 0x60]
call fcn.140048610
mov ebx, dword [rsp + 0x50]
cmp ebx, 2
jge 0x1400a717f
mov r12d, dword [rsp + 0x54]
nop dword [rax + rax]
mov rax, qword [0x1402bc020]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x620]
mov r8d, r13d
mov rdx, r15
lea rcx, [0x1402bc020]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov r14d, eax
test r12d, r12d
je 0x1400a7174
lea rdx, [0x140251dfc]
lea rcx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400a7174
inc ebx
cmp ebx, 2
jl 0x1400a7110
mov dword [rsp + 0x50], ebx
lea r12, [0x1402bbdb0]
lea rdx, [0x140251dfc]
lea rcx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400a71ac
mov r14d, 0x8001001b
mov dword [0x1402bbd98], 0x1b
jmp 0x1400a6fc2
mov ebx, dword [rsp + 0x54]
xor r15d, r15d
test ebx, ebx
je 0x1400a7259
mov dword [rsp + 0x50], r15d
mov rdx, qword [rdi + 0x28]
test rdx, rdx
jle 0x1400a7259
mov ecx, r15d
movsxd rcx, ecx
test rcx, rcx
js 0x1400a7623
cmp rcx, rdx
jge 0x1400a7623
lfence
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + rcx*8]
sub rcx, 0x18
call fcn.140004d00
mov rbx, rax
lea rcx, [rax + 0x18]
mov qword [rbp - 0x80], rcx
lea rdx, [rbp + 0x200]
call fcn.1401ecc18
nop
test eax, eax
je 0x1400a73a7
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x1400a723b
lfence
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov ecx, dword [rsp + 0x50]
inc ecx
mov dword [rsp + 0x50], ecx
mov rdx, qword [rdi + 0x28]
movsxd rax, ecx
cmp rax, rdx
jl 0x1400a71d0
mov ebx, dword [rsp + 0x54]
test r14d, r14d
jne 0x1400a6fc2
lea rcx, [rsp + 0x68]
call fcn.140051640
nop
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x620]
lea r8, [rbp - 0x10]
mov edx, r13d
lea rcx, [rsp + 0x68]
call fcn.140053200
test eax, eax
jne 0x1400a73d0
mov r14d, 0x80010041
mov dword [0x1402bbd98], 0x41
lea r13, [0x1402a8360]
lea rcx, [rsp + 0x68]
call fcn.1400517b0
test r14d, r14d
jne 0x1400a6fc9
lea rcx, [rdi + 0x18]
lea r8, [rbp + 0x200]
mov rdx, qword [rcx + 0x10]
call fcn.1401c91a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x410]
call fcn.1401e7e40
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x410]
lea r8d, [r14 + 8]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x200]
call fcn.1401fded0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x410]
lea r8, [rbp - 0x20]
mov edx, 0x104
lea rcx, [rbp + 0x200]
call fcn.1401fdacc
test ebx, ebx
je 0x1400a7595
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x1400a7629
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x410]
cmp rax, 0x10000
jae 0x1400a743b
lea rax, [rbp + 0x410]
movzx edx, ax
lea rcx, [rsp + 0x58]
call fcn.1400041d0
jmp 0x1400a7464
lock xadd dword [rbx + 0x10], esi
sub esi, 1
jg 0x1400a6fc2
lfence
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
jmp 0x1400a6fc2
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1400a72a5
mov rcx, qword [0x1402a8360]
lea r13, [0x1402a8360]
cmp rcx, r13
je 0x1400a742a
test byte [rcx + 0x1c], 4
je 0x1400a742a
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x2d]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r8, [0x14025a4c8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1400a72ac
lea rcx, [rbp + 0x410]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400a7445
mov r8d, eax
lea rdx, [rbp + 0x410]
lea rcx, [rsp + 0x58]
call fcn.140004e60
nop
mov edx, 0x5c
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1401e768c
test rax, rax
jne 0x1400a747f
mov eax, esi
jmp 0x1400a7485
sub rax, rbx
sar rax, 1
mov r8d, 1
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140064220
mov edx, 0x5c
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1401e768c
test rax, rax
jne 0x1400a74b2
mov eax, esi
jmp 0x1400a74b8
sub rax, rdi
sar rax, 1
mov r9d, dword [rdi - 0x10]
sub r9d, eax
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.14002eaa0
nop
mov rbx, qword [rsp + 0x70]
lea rcx, [rbx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x1400a753e
cmp dword [rdi + 0x10], 0
jl 0x1400a752c
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400a752c
call fcn.140004d00
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x1400a751c
lfence
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
mov rax, qword [r8 + 8]
call qword [case.0x1400136d6.0]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x70]
jmp 0x1400a753e
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140004e60
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a7561
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400a7595
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
lea rcx, [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1400a75f0
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x1400a75e4
test byte [rcx + 0x1c], 4
je 0x1400a75e4
mov r9, r12
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
lea edx, [rax + 0x2e]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r8, [0x14025a4c8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x78]
call fcn.140091e00
nop
xor r9d, r9d
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x78]
call fcn.140096a40
nop
lea rcx, [rsp + 0x78]
call fcn.140091f70
jmp 0x1400a6fc9
call fcn.1401bb848
int3
mov ecx, 0x80004005
call fcn.140001470
int3