Function at 0x14008bdd0
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x948], rbx
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov r12, r8
mov dword [rsp + 0x5c], edx
mov qword [rsp + 0x50], rcx
xor r8d, r8d
lea rdx, str.CBaseFuncSub::FS_CopyDriverSetToTempSub
lea rcx, [rsp + 0x60]
call fcn.1400075a0
nop
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf0]
mov r13d, eax
mov dword [rsp + 0x58], eax
test r12, r12
jne 0x14008be67
mov r15d, 0x80010001
mov dword [0x1403b95bc], 1
jmp 0x14008c415
or rsi, 0xffffffffffffffff
mov ebx, esi
xor eax, eax
test r13d, r13d
cmovne ebx, eax
mov r14d, dword [rsp + 0x5c]
nop word [rax + rax]
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0x1b0]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x5d0]
mov r8d, r14d
mov rdx, r12
mov rcx, rax
call qword [rdi + 0x328]
mov r15d, eax
test r13d, r13d
je 0x14008bee5
lea rdx, [0x1402dc4e0]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14008bee5
inc ebx
cmp ebx, 2
jl 0x14008be80
lea rdx, [0x1402dc4e0]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
mov r14, qword [rsp + 0x50]
jne 0x14008bf17
mov r15d, 0x8001001b
mov dword [0x1403b95bc], 0x1b
jmp 0x14008c415
xor r12d, r12d
test r13d, r13d
je 0x14008c039
mov r13d, r12d
mov ebx, r12d
cmp qword [r14 + 0xe8], rbx
jle 0x14008c034
test rbx, rbx
js 0x14008c02e
cmp rbx, qword [r14 + 0xe8]
jge 0x14008c02e
mov rax, qword [r14 + 0xe0]
mov rdi, qword [rax + rbx*8]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x14008bf7a
cmp rax, qword [rdi - 0x18]
jne 0x14008bf7a
lea r12, [rdi - 0x18]
lock inc dword [rdi - 8]
jmp 0x14008bfb5
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov r12, rax
test rax, rax
je 0x14008c028
mov ecx, dword [rdi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rdi - 0x10]
inc ecx
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rax + 0x18]
call fcn.1402471ac
lea rdi, [r12 + 0x18]
mov qword [rsp + 0x78], rdi
lea rdx, [rbp + 0x1b0]
mov rcx, rdi
call fcn.140247088
test eax, eax
je 0x14008c007
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008bfec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc r13d
inc rbx
movsxd rax, r13d
cmp rax, qword [r14 + 0xe8]
jl 0x14008bf36
xor r12d, r12d
jmp 0x14008c034
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14008c415
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008c415
call fcn.140020970
int3
call fcn.140102ffc
int3
mov r13d, dword [rsp + 0x58]
test r15d, r15d
jne 0x14008c415
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x5d0]
lea r8, [rbp - 0x60]
mov edx, dword [rsp + 0x5c]
mov rcx, rax
call qword [rdi + 0x2a0]
test eax, eax
jne 0x14008c08b
mov r15d, 0x80010041
mov dword [0x1403b95bc], 0x41
jmp 0x14008c415
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14008c0bd
lea r9, [rbp - 0x60]
lea r8, str._t_t_tMake_Dir___s.
lea edx, [rax + 7]
lea rcx, [rsp + 0x60]
call fcn.140007780
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [r14 + 0xd8]
lea r8, [rbp + 0x1b0]
mov rdx, qword [rcx + 0x10]
call fcn.140105f30
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x3c0]
mov r8d, 8
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1b0]
call fcn.140247424
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x3c0]
lea r8, [rbp - 0x78]
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.140248e70
test r13d, r13d
je 0x14008c3c5
call fcn.140102a14
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14008c15d
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp + 0x3c0]
lea rax, [rbp + 0x3c0]
test rax, 0xffffffffffff0000
jne 0x14008c1b2
movzx edi, cx
mov ecx, edi
call fcn.1401027e8
test rax, rax
je 0x14008c2b3
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005b00
mov rbx, qword [rsp + 0x50]
jmp 0x14008c2b3
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x3c0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14008c22d
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14008c2b3
cmp dword [rdx + 0x10], eax
jge 0x14008c200
cmp dword [rbx - 0xc], eax
jge 0x14008c1f3
mov ecx, 0x80070057
call fcn.140005210
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14008c2b3
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008c216
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
jmp 0x14008c2b3
mov r13d, dword [rbx - 0x10]
lea r12, [rbp + 0x3c0]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14008c24d
mov ecx, 0x80070057
call fcn.140005210
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14008c26f
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140005e40
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x14008c293
lea r8, [rbx + r12*2]
call fcn.1402457b4
jmp 0x14008c29f
lea r8, [rbp + 0x3c0]
call fcn.1402471ac
cmp edi, dword [rbx - 0xc]
jg 0x14008c3ba
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
mov edx, 0x5c
mov rcx, rbx
call fcn.140249468
test rax, rax
jne 0x14008c2c9
mov eax, esi
jmp 0x14008c2cf
sub rax, rbx
sar rax, 1
mov r8d, 1
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.14003fdd0
mov edx, 0x5c
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140249468
test rax, rax
jne 0x14008c2fc
mov eax, esi
jmp 0x14008c302
sub rax, rdi
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400475a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14008c36e
cmp dword [rdi + 0x10], 0
jl 0x14008c35f
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14008c35f
call fcn.140006190
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14008c354
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x14008c36e
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005d50
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008c38d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14008c3c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008c3c5
mov ecx, 0x80070057
call fcn.140005210
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14008c3f7
lea r9, [rbp - 0x60]
lea r8, str._t_t_tMake_Dir___s.
lea edx, [rax + 7]
lea rcx, [rsp + 0x60]
call fcn.140007780
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x1b0]
call qword [rax + 0xc0]
mov r9d, r15d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140007780
nop
lea rcx, [rsp + 0x60]
call fcn.140007730
mov eax, r15d
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.140245660
mov rbx, qword [rsp + 0x948]
add rsp, 0x8f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret