Function at 0x14008b220
Capabilities:
Create directory
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1108]
mov eax, 0x1208
call fcn.14024c240
sub rsp, rax
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x10f0], rax
mov rdi, r9
mov qword [rbp - 0x70], r9
mov r13, r8
mov qword [rbp - 0x80], r8
mov r15d, edx
mov qword [rsp + 0x68], rcx
xor r8d, r8d
lea rdx, str.CBaseFuncSub::FS_CopyDriverToTempSub
lea rcx, [rsp + 0x70]
call fcn.1400075a0
nop
xor r12d, r12d
mov word [rbp + 0x70], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x72]
call fcn.14024b970
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xf0]
mov r14d, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x60], r12d
test rdi, rdi
je 0x14008bd70
test r13, r13
je 0x14008bd70
or rsi, 0xffffffffffffffff
mov ebx, esi
test eax, eax
cmovne ebx, r12d
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 + 0x280]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0xee0]
mov r8d, r15d
mov rdx, r13
mov rcx, rax
call qword [rdi + 0x328]
mov r12d, eax
test r14d, r14d
je 0x14008b347
lea rdx, [0x1402dc4e0]
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14008b347
inc ebx
cmp ebx, 2
jl 0x14008b2e2
lea rdx, [0x1402dc4e0]
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14008b374
mov r12d, 0x8001001b
mov dword [0x1403b95bc], 0x1b
jmp 0x14008bd80
test r12d, r12d
jne 0x14008bd80
call fcn.140102a14
mov rdx, rax
xor eax, eax
mov ecx, eax
test rdx, rdx
setne cl
test ecx, ecx
jne 0x14008b39e
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea rdi, [0x1402ddbb8]
test rdi, 0xffffffffffff0000
jne 0x14008b3e6
movzx edi, di
mov ecx, edi
call fcn.1401027e8
test rax, rax
je 0x14008b400
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005b00
mov rbx, qword [rsp + 0x58]
jmp 0x14008b400
mov r8d, 3
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140005d50
mov rbx, qword [rsp + 0x58]
jmp 0x14008b407
lea rdi, [0x1402ddbb8]
test r14d, r14d
je 0x14008b51f
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x280]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14008b489
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14008b596
cmp dword [rdx + 0x10], eax
jge 0x14008b45c
cmp dword [rbx - 0xc], eax
jge 0x14008b451
mov ecx, 0x80070057
call fcn.140005210
int3
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x14008b596
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008b472
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 + 0x58], rbx
jmp 0x14008b594
mov r14d, dword [rbx - 0x10]
lea r13, [rbp + 0x280]
sub r13, rbx
sar r13, 1
test ecx, ecx
jns 0x14008b4a9
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 0x14008b4cb
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.140005e40
mov rbx, qword [rsp + 0x58]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r13, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x14008b4ef
lea r8, [rbx + r13*2]
call fcn.1402457b4
jmp 0x14008b4fb
lea r8, [rbp + 0x280]
call fcn.1402471ac
cmp edi, dword [rbx - 0xc]
jg 0x14008b514
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r14 + rbx], ax
mov r14d, dword [rsp + 0x50]
jmp 0x14008b596
mov ecx, 0x80070057
call fcn.140005210
int3
mov rcx, rdi
call fcn.140023e50
test eax, eax
je 0x14008b57b
lea rdx, [0x1402e8c50]
mov rcx, r13
call fcn.140245e24
lea rcx, [rsp + 0x58]
test rax, rax
je 0x14008b553
mov r8d, 2
lea rdx, [0x1402f9b7c]
jmp 0x14008b560
mov r8d, 1
lea rdx, [0x1402e8580]
call fcn.140005f90
mov r8d, r15d
lea rdx, [0x1402dc3ec]
lea rcx, [rsp + 0x58]
call fcn.1400a1e70
jmp 0x14008b58f
mov r8d, r15d
lea rdx, [0x1402dc3ec]
lea rcx, [rsp + 0x58]
call fcn.14000de40
mov rbx, qword [rsp + 0x58]
xor eax, eax
mov qword [rbp], 7
mov qword [rbp - 8], rax
mov word [rbp - 0x18], ax
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.140001f40
nop
mov rdi, qword [rsp + 0x68]
lea rdx, [rbp - 0x18]
lea rcx, [rdi + 0x98]
call fcn.1400a14e0
mov qword [rbp - 0x60], rax
mov rcx, qword [rdi + 0xa0]
mov r11, qword [rbp]
mov r13, qword [rbp - 0x18]
cmp rax, rcx
je 0x14008b67c
lea rdx, [rax + 0x18]
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14008b608
mov rdx, qword [rdx]
lea rdi, [rbp - 0x18]
cmp r11, 8
cmovae rdi, r13
mov r8, r9
mov r10, qword [rbp - 8]
cmp r10, r9
cmovb r8, r10
test r8, r8
je 0x14008b64f
movzx eax, word [rdx]
cmp word [rdi], ax
jne 0x14008b63e
add rdi, 2
add rdx, 2
dec r8
jne 0x14008b627
jmp 0x14008b64f
mov r8d, 1
cmp word [rdi], ax
cmovb r8d, esi
xor edx, edx
jmp 0x14008b654
xor edx, edx
mov r8d, edx
movsxd rax, r8d
test r8d, r8d
jne 0x14008b66d
cmp r10, r9
jae 0x14008b665
mov eax, esi
jmp 0x14008b66d
mov eax, edx
cmp r10, r9
setne al
test eax, eax
sets al
test al, al
jne 0x14008b67c
lea rdi, [rbp - 0x60]
jmp 0x14008b684
mov qword [rbp - 0x78], rcx
lea rdi, [rbp - 0x78]
mov rdi, qword [rdi]
cmp r11, 8
jb 0x14008b695
mov rcx, r13
call fcn.1401026ec
mov qword [rbp], 7
xor r13d, r13d
mov qword [rbp - 8], r13
mov word [rbp - 0x18], r13w
mov rax, qword [rsp + 0x68]
cmp rdi, qword [rax + 0xa0]
jne 0x14008b8de
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x280]
mov edx, r15d
mov rcx, rax
call qword [rdi + 0x458]
mov r12d, eax
test eax, eax
jne 0x14008b8f7
lea rcx, [rbp - 0x58]
call fcn.140105848
nop
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.140105958
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea r9d, [r13 + 1]
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x70]
call qword [rax + 0x40]
mov edi, r13d
mov rax, qword [rbp - 0x48]
movsxd r13, eax
test eax, eax
jle 0x14008b761
nop dword [rax]
test rdi, rdi
js 0x14008b75b
cmp rdi, rax
jge 0x14008b75b
mov rax, qword [rbp - 0x50]
mov edx, 0x20
mov rcx, qword [rax + rdi*8]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc rdi
cmp rdi, r13
jge 0x14008b761
mov rax, qword [rbp - 0x48]
jmp 0x14008b730
call fcn.140102ffc
int3
xor r13d, r13d
mov word [rbp + 0x8b0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x8b2]
call fcn.14024b970
mov word [rbp + 0xac0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xac2]
call fcn.14024b970
mov qword [rsp + 0x40], 0x104
lea rax, [rbp + 0xac0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x104
lea rax, [rbp + 0x8b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x280]
call fcn.140247424
lea r8, [rbp + 0xac0]
mov edx, 0x104
lea rcx, [rbp + 0x8b0]
call fcn.140246470
lea rcx, [rbp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea r8, [rbp + 0x8b0]
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.140246470
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r13
mov word [rbp + 0x10], r13w
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140001f40
nop
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], r13
mov word [rbp + 0x38], r13w
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x70]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x38]
call fcn.140001f40
nop
lea rdx, [rbp + 0x10]
mov rdi, qword [rsp + 0x68]
lea rcx, [rdi + 0x98]
call fcn.1400f4af0
mov r8, rax
lea rdx, [rbp - 0x28]
lea rcx, [rdi + 0x98]
call fcn.140028e50
nop
cmp qword [rbp + 0x50], 8
jb 0x14008b8b1
mov rcx, qword [rbp + 0x38]
call fcn.1401026ec
mov qword [rbp + 0x50], 7
mov qword [rbp + 0x48], r13
mov word [rbp + 0x38], r13w
cmp qword [rbp + 0x28], 8
jb 0x14008b8d3
mov rcx, qword [rbp + 0x10]
call fcn.1401026ec
nop
lea rcx, [rbp - 0x58]
call fcn.140105ce4
jmp 0x14008b8f7
lea rdx, [rdi + 0x40]
cmp qword [rdx + 0x18], 8
jb 0x14008b8ec
mov rdx, qword [rdx]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008b911
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r12d, r12d
jne 0x14008bd80
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdi, qword [rax]
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0xee0]
lea r8, [rbp + 0x6a0]
mov edx, r15d
mov rcx, rax
call qword [rdi + 0x2a0]
test eax, eax
jne 0x14008b965
mov r12d, 0x80010041
mov dword [0x1403b95bc], 0x41
jmp 0x14008bd80
lea rcx, [rbp + 0x6a0]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14008b9a0
lea r9, [rbp + 0x6a0]
lea r8, str._t_t_tMake_Dir___s.
lea edx, [rax + 7]
lea rcx, [rsp + 0x70]
call fcn.140007780
xor edx, edx
lea rcx, [rbp + 0x6a0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [rbp + 0x60], r13w
xor eax, eax
mov qword [rbp + 0x62], rax
mov dword [rbp + 0x6a], eax
mov word [rbp + 0x6e], ax
mov word [rbp + 0x490], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x492]
call fcn.14024b970
mov word [rbp + 0xcd0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0xcd2]
call fcn.14024b970
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x490]
mov r8d, 8
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x280]
call fcn.140247424
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x490]
lea r8, [rbp + 0x60]
mov edx, 0x104
lea rcx, [rbp + 0xcd0]
call fcn.140248e70
test r14d, r14d
je 0x14008bcdc
call fcn.140102a14
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14008ba73
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 + 0x490]
lea rax, [rbp + 0x490]
test rax, 0xffffffffffff0000
jne 0x14008bac8
movzx edi, cx
mov ecx, edi
call fcn.1401027e8
test rax, rax
je 0x14008bbc9
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005b00
mov rbx, qword [rsp + 0x50]
jmp 0x14008bbc9
xor eax, eax
mov rcx, rsi
lea rdi, [rbp + 0x490]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14008bb43
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14008bbc9
cmp dword [rdx + 0x10], eax
jge 0x14008bb16
cmp dword [rbx - 0xc], eax
jge 0x14008bb09
mov ecx, 0x80070057
call fcn.140005210
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14008bbc9
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008bb2c
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 0x14008bbc9
mov r13d, dword [rbx - 0x10]
lea r12, [rbp + 0x490]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14008bb63
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 0x14008bb85
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 0x14008bba9
lea r8, [rbx + r12*2]
call fcn.1402457b4
jmp 0x14008bbb5
lea r8, [rbp + 0x490]
call fcn.1402471ac
cmp edi, dword [rbx - 0xc]
jg 0x14008bcd1
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 0x14008bbdf
mov eax, esi
jmp 0x14008bbe5
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 0x14008bc12
mov eax, esi
jmp 0x14008bc18
sub rax, rdi
sar rax, 1
mov r8d, eax
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.1400475a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14008bc83
cmp dword [rdi + 0x10], 0
jl 0x14008bc74
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14008bc74
call fcn.140006190
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14008bc69
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 0x14008bc83
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005d50
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008bca1
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 + 0x6a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14008bcdc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008bcdc
mov ecx, 0x80070057
call fcn.140005210
nop
lea rcx, [rbp + 0x6a0]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14008bd17
lea r9, [rbp + 0x6a0]
lea r8, str._t_t_tMake_Dir___s.
lea edx, [rax + 7]
lea rcx, [rsp + 0x70]
call fcn.140007780
xor edx, edx
lea rcx, [rbp + 0x6a0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdi, qword [rax]
mov dword [rsp + 0x30], 0xffffffff
lea rcx, [rbp + 0x280]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x6a0]
mov r8, qword [rbp - 0x80]
lea rdx, [rbp + 0x70]
mov rcx, rax
call qword [rdi + SysAllocStringByteLen]
mov r12d, eax
test eax, eax
jne 0x14008bd80
mov eax, dword [rsp + 0x60]
mov rcx, qword [rbp - 0x70]
mov dword [rcx], eax
jmp 0x14008bd80
mov r12d, 0x80010001
mov dword [0x1403b95bc], 1
mov r9d, r12d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x70]
call fcn.140007780
nop
lea rcx, [rsp + 0x70]
call fcn.140007730
mov eax, r12d
mov rcx, qword [rbp + 0x10f0]
xor rcx, rsp
call fcn.140245660
add rsp, 0x1208
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret