Function at 0x14002a210
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xdf0
mov qword [rsp + 0x148], 0xfffffffffffffffe
mov rax, qword [0x14027bbd0]
xor rax, rsp
mov qword [rsp + 0xde0], rax
mov rdi, r9
mov esi, r8d
mov r12, rdx
mov qword [rsp + 0x58], rdx
mov rbx, rcx
mov qword [rsp + 0xb8], rdx
mov r13, qword [rsp + 0xe50]
mov qword [rsp + 0xb0], r13
xor r8d, r8d
lea rdx, str.DeviceIDFolderDeleteCheck
lea rcx, [rsp + 0xa0]
call fcn.140017fc0
nop
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r12
mov r9, rbx
lea r8, str.lpDriverName___s__lpHardwareIDName___s__flag___d__lpEnv___s
mov edx, 1
lea rcx, [rsp + 0xa0]
call fcn.140017c80
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x54], r15d
mov eax, 1
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x60], eax
mov r14d, eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x98], eax
call fcn.14000c310
cmp eax, 6
je 0x14002a2ff
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r15 + 2]
lea rcx, [rsp + 0xa0]
call fcn.140017c80
nop
jmp 0x14002b9f7
test esi, esi
jne 0x14002adf9
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8d, [rsi + 6]
mov rdx, rdi
xor ecx, ecx
call sub.WINSPOOL.DRV_EnumPrinterDriversW
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x14002a364
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14002a364
xor r9d, r9d
lea r8, str.return___08x
lea edx, [rsi + 2]
lea rcx, [rsp + 0xa0]
call fcn.140017c80
nop
jmp 0x14002b9f7
mov edx, dword [rsp + 0x50]
add edx, 0x100
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x14002b983
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x20], ecx
mov r9, r12
mov r8d, 6
mov rdx, rdi
xor ecx, ecx
call sub.WINSPOOL.DRV_EnumPrinterDriversW
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x60], eax
test eax, eax
je 0x14002adcf
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x14002adcf
mov esi, r15d
nop dword [rax + rax]
cmp esi, eax
jae 0x14002adb8
mov edi, esi
imul rdi, rdi, 0x88
mov rdx, rbx
mov rcx, qword [rdi + r12 + 8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14002adad
mov rdx, qword [rdi + r12 + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1400020c0
nop
lea rcx, [rsp + 0x68]
call fcn.14001dae0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.140051e58
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14002a451
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rbx, qword [rdi + r12 + 0x38]
or rdi, 0xffffffffffffffff
or r14d, 0xffffffff
movabs r12, 0x6666666666666667
nop word [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x14002a692
test rbx, rbx
jne 0x14002a49b
mov ecx, r15d
jmp 0x14002a4ac
xor eax, eax
mov rcx, rdi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001c20
mov edx, 0x5c
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140193dc0
test rax, rax
jne 0x14002a4d8
mov eax, r14d
jmp 0x14002a4de
sub rax, rdi
sar rax, 1
inc eax
mov r8d, dword [rdi - 0x10]
sub r8d, eax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140017e80
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14002a55c
cmp dword [rdi + 0x10], 0
jl 0x14002a54d
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14002a54d
call fcn.140001950
mov r12, rax
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14002a537
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r12 + 0x18]
mov qword [rsp + 0x40], rax
movabs r12, 0x6666666666666667
jmp 0x14002a55c
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140001c20
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002a57f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x2a0], 7
mov qword [rsp + 0x298], r15
mov word [rsp + 0x288], r15w
xor eax, eax
mov rcx, rdi
mov rdx, qword [rsp + 0x40]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x288]
call fcn.1400073e0
nop
mov r8, qword [r13 + 8]
lea rax, [rsp + 0x288]
cmp rax, r8
jae 0x14002a633
mov rax, qword [r13]
lea rcx, [rsp + 0x288]
cmp rax, rcx
ja 0x14002a633
lea rcx, [rsp + 0x288]
sub rcx, rax
mov rax, r12
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp r8, qword [r13 + 0x10]
jne 0x14002a618
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea rcx, [rdi + rdi*4]
mov rax, qword [r13]
lea r8, [rax + rcx*8]
lea rcx, [r13 + 0x18]
mov rdx, qword [r13 + 8]
call fcn.14000a0d0
jmp 0x14002a65b
cmp r8, qword [r13 + 0x10]
jne 0x14002a646
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea rcx, [r13 + 0x18]
lea r8, [rsp + 0x288]
mov rdx, qword [r13 + 8]
call fcn.14000a0d0
add qword [r13 + 8], 0x28
cmp qword [rsp + 0x2a0], 8
jb 0x14002a678
mov rcx, qword [rsp + 0x288]
call fcn.140050e78
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rbx, [rbx + rax*2]
or rdi, 0xffffffffffffffff
jmp 0x14002a480
imul rsi, rsi, 0x88
mov r12, qword [rsp + 0x90]
mov rdx, qword [rsi + r12 + 0x28]
test rdx, rdx
jne 0x14002a6b0
mov ecx, r15d
jmp 0x14002a6c1
xor eax, eax
mov rcx, rdi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x40]
call fcn.140001c20
mov edx, 0x5c
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140193dc0
test rax, rax
jne 0x14002a6ea
mov eax, r14d
jmp 0x14002a6f0
sub rax, rdi
sar rax, 1
inc eax
mov r8d, dword [rdi - 0x10]
sub r8d, eax
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x40]
call fcn.140017e80
nop
mov rdx, qword [rax]
mov qword [rsp + 0x188], 7
mov qword [rsp + 0x180], r15
mov word [rsp + 0x170], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x170]
call fcn.1400073e0
nop
mov r8, qword [r13 + 8]
lea rax, [rsp + 0x170]
cmp rax, r8
jae 0x14002a7c9
mov rax, qword [r13]
lea rcx, [rsp + 0x170]
cmp rax, rcx
ja 0x14002a7c9
lea rcx, [rsp + 0x170]
sub rcx, rax
movabs rax, 0x6666666666666667
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp r8, qword [r13 + 0x10]
jne 0x14002a7ab
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea rbx, [r13 + 0x18]
lea rcx, [rdi + rdi*4]
mov rax, qword [r13]
lea r8, [rax + rcx*8]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call fcn.14000a0d0
jmp 0x14002a7f4
cmp r8, qword [r13 + 0x10]
jne 0x14002a7dc
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea rbx, [r13 + 0x18]
lea r8, [rsp + 0x170]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call fcn.14000a0d0
add qword [r13 + 8], 0x28
cmp qword [rsp + 0x188], 8
jb 0x14002a811
mov rcx, qword [rsp + 0x170]
call fcn.140050e78
mov qword [rsp + 0x188], 7
mov qword [rsp + 0x180], r15
mov word [rsp + 0x170], r15w
mov rdx, qword [rsp + 0x118]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002a851
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi + r12 + 0x20]
test rdx, rdx
jne 0x14002a860
mov ecx, r15d
jmp 0x14002a872
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x40]
call fcn.140001c20
mov edx, 0x5c
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140193dc0
test rax, rax
jne 0x14002a89b
mov eax, r14d
jmp 0x14002a8a1
sub rax, rdi
sar rax, 1
inc eax
mov r8d, dword [rdi - 0x10]
sub r8d, eax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x40]
call fcn.140017e80
nop
mov rdx, qword [rax]
mov qword [rsp + 0x200], 7
mov qword [rsp + 0x1f8], r15
mov word [rsp + 0x1e8], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x1e8]
call fcn.1400073e0
nop
mov r8, qword [r13 + 8]
lea rax, [rsp + 0x1e8]
cmp rax, r8
jae 0x14002a976
mov rax, qword [r13]
lea rcx, [rsp + 0x1e8]
cmp rax, rcx
ja 0x14002a976
lea rcx, [rsp + 0x1e8]
sub rcx, rax
movabs rax, 0x6666666666666667
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp r8, qword [r13 + 0x10]
jne 0x14002a95c
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea rcx, [rdi + rdi*4]
mov rax, qword [r13]
lea r8, [rax + rcx*8]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call fcn.14000a0d0
jmp 0x14002a99d
cmp r8, qword [r13 + 0x10]
jne 0x14002a989
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea r8, [rsp + 0x1e8]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call fcn.14000a0d0
add qword [r13 + 8], 0x28
cmp qword [rsp + 0x200], 8
jb 0x14002a9ba
mov rcx, qword [rsp + 0x1e8]
call fcn.140050e78
mov qword [rsp + 0x200], 7
mov qword [rsp + 0x1f8], r15
mov word [rsp + 0x1e8], r15w
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002a9fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi + r12 + 0x30]
test rdx, rdx
jne 0x14002aa09
mov ecx, r15d
jmp 0x14002aa1b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x40]
call fcn.140001c20
mov edx, 0x5c
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140193dc0
test rax, rax
jne 0x14002aa44
mov eax, r14d
jmp 0x14002aa4a
sub rax, rdi
sar rax, 1
inc eax
mov r8d, dword [rdi - 0x10]
sub r8d, eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x40]
call fcn.140017e80
nop
mov rdx, qword [rax]
mov qword [rsp + 0x1b0], 7
mov qword [rsp + 0x1a8], r15
mov word [rsp + 0x198], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x198]
call fcn.1400073e0
nop
mov r8, qword [r13 + 8]
lea rax, [rsp + 0x198]
cmp rax, r8
jae 0x14002ab1f
mov rax, qword [r13]
lea rcx, [rsp + 0x198]
cmp rax, rcx
ja 0x14002ab1f
lea rcx, [rsp + 0x198]
sub rcx, rax
movabs rax, 0x6666666666666667
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp r8, qword [r13 + 0x10]
jne 0x14002ab05
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea rcx, [rdi + rdi*4]
mov rax, qword [r13]
lea r8, [rax + rcx*8]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call fcn.14000a0d0
jmp 0x14002ab46
cmp r8, qword [r13 + 0x10]
jne 0x14002ab32
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea r8, [rsp + 0x198]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call fcn.14000a0d0
add qword [r13 + 8], 0x28
cmp qword [rsp + 0x1b0], 8
jb 0x14002ab63
mov rcx, qword [rsp + 0x198]
call fcn.140050e78
mov qword [rsp + 0x1b0], 7
mov qword [rsp + 0x1a8], r15
mov word [rsp + 0x198], r15w
mov rdx, qword [rsp + 0xb0]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002aba3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi + r12 + 0x18]
or rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x14002abb6
mov ecx, r15d
jmp 0x14002abc7
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x40]
call fcn.140001c20
mov edx, 0x5c
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140193dc0
test rax, rax
je 0x14002abf4
sub rax, rdi
mov r14, rax
sar r14, 1
inc r14d
mov r8d, dword [rdi - 0x10]
sub r8d, r14d
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x40]
call fcn.140017e80
nop
mov rdx, qword [rax]
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], r15
mov word [rsp + 0x1c0], r15w
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x1c0]
call fcn.1400073e0
nop
mov r8, qword [r13 + 8]
lea rax, [rsp + 0x1c0]
cmp rax, r8
jae 0x14002acc9
mov rax, qword [r13]
lea rcx, [rsp + 0x1c0]
cmp rax, rcx
ja 0x14002acc9
lea rcx, [rsp + 0x1c0]
sub rcx, rax
movabs rax, 0x6666666666666667
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp r8, qword [r13 + 0x10]
jne 0x14002acaf
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea rdx, [rdi + rdi*4]
mov rax, qword [r13]
lea r8, [rax + rdx*8]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call fcn.14000a0d0
jmp 0x14002acf0
cmp r8, qword [r13 + 0x10]
jne 0x14002acdc
mov edx, 1
mov rcx, r13
call fcn.14000a450
lea r8, [rsp + 0x1c0]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call fcn.14000a0d0
add qword [r13 + 8], 0x28
cmp qword [rsp + 0x1d8], 8
jb 0x14002ad0d
mov rcx, qword [rsp + 0x1c0]
call fcn.140050e78
mov qword [rsp + 0x1d8], 7
mov qword [rsp + 0x1d0], r15
mov word [rsp + 0x1c0], r15w
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002ad4d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov ebx, dword [rsp + 0x48]
jmp 0x14002ad6e
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14002ad8e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14002adbb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14002adbb
inc esi
mov eax, dword [rsp + 0x54]
jmp 0x14002a3e0
mov ebx, r14d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002b986
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0xa0]
call fcn.140017c80
nop
jmp 0x14002b9f7
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x5a0]
call fcn.140192cb0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x9c0]
call fcn.140192cb0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x7b0]
call fcn.140192cb0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xbd0]
call fcn.140192cb0
lea rcx, [rsp + 0x9c0]
call fcn.140018970
mov rdi, qword [rsp + 0x58]
mov r9, rdi
lea r8, [rsp + 0x9c0]
lea rdx, str._s_s
lea rcx, [rsp + 0x7b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x7b0]
lea rdx, str._s.
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov esi, r14d
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0xf0], r15
mov qword [rsp + 0xf8], r15
mov qword [rsp + 0x100], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], r15
mov qword [rsp + 0xe0], r15
mov ecx, VarBstrFromDisp
call fcn.140050e2c
test rax, rax
je 0x14002b9b6
mov qword [rsp + 0xd8], rax
mov qword [rax], rax
mov rax, qword [rsp + 0xd8]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rax + 0x10], rax
mov rax, qword [rsp + 0xd8]
mov byte [rax + 0x68], 1
mov rax, qword [rsp + 0xd8]
mov byte [rax + 0x69], 1
lea rcx, [rsp + 0x70]
call fcn.14000a260
lea rcx, [rsp + 0xd0]
call fcn.140031010
lea rcx, [rsp + 0xf0]
call fcn.14000a260
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xf0]
call fcn.140029610
mov dword [rsp + 0x40], eax
mov r8, qword [rsp + 0xf8]
mov rcx, r8
mov r9, qword [rsp + 0xf0]
sub rcx, r9
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14002b6df
mov rsi, r9
mov qword [rsp + 0x90], r9
or r14, 0xffffffffffffffff
cmp rsi, r8
je 0x14002b6a6
mov qword [rsp + 0x2f0], 7
mov qword [rsp + 0x2e8], r15
mov word [rsp + 0x2d8], r15w
mov r9, r14
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x2d8]
call fcn.1400072b0
nop
lea rdx, [rsp + 0x2d8]
cmp qword [rsp + 0x2f0], 8
cmovae rdx, qword [rsp + 0x2d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14002b675
mov qword [rsp + 0x340], 7
mov qword [rsp + 0x338], r15
mov word [rsp + 0x328], r15w
xor eax, eax
mov rcx, r14
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdi, qword [rsp + 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x328]
call fcn.1400073e0
nop
lea r8, [rsp + 0x328]
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0xd0]
call fcn.140030100
mov r12, qword [rsp + 0x128]
mov qword [rsp + 0xc0], r12
mov rbx, qword [rsp + 0x130]
mov qword [rsp + 0xc8], rbx
cmp qword [rsp + 0x340], 8
jb 0x14002b0a6
mov rcx, qword [rsp + 0x328]
call fcn.140050e78
cmp r12, rbx
je 0x14002b477
mov qword [rsp + 0x228], 7
mov qword [rsp + 0x220], r15
mov word [rsp + 0x210], r15w
lea rdx, [r12 + 0x40]
mov r9, r14
xor r8d, r8d
lea rcx, [rsp + 0x210]
call fcn.1400072b0
nop
mov r8, qword [rsp + 0x70]
mov rdi, r8
mov r14, qword [rsp + 0x78]
cmp r8, r14
je 0x14002b1bf
nop dword [rax + rax]
mov qword [rsp + 0x250], 7
mov qword [rsp + 0x248], r15
mov word [rsp + 0x238], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x238]
call fcn.1400072b0
lea rdx, [rsp + 0x238]
cmp qword [rsp + 0x250], 8
cmovae rdx, qword [rsp + 0x238]
lea rcx, [rsp + 0x210]
cmp qword [rsp + 0x228], 8
cmovae rcx, qword [rsp + 0x210]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14002b199
cmp qword [rsp + 0x250], 8
jb 0x14002b18a
mov rcx, qword [rsp + 0x238]
call fcn.140050e78
add rdi, 0x28
cmp rdi, r14
jne 0x14002b100
jmp 0x14002b1ba
cmp qword [rsp + 0x250], 8
jb 0x14002b1b1
mov rcx, qword [rsp + 0x238]
call fcn.140050e78
cmp rdi, r14
jne 0x14002b3e1
mov r8, qword [rsp + 0x70]
lea rax, [rsp + 0x210]
cmp rax, r14
jae 0x14002b2d5
lea rax, [rsp + 0x210]
cmp r8, rax
ja 0x14002b2d5
lea rcx, [rsp + 0x210]
sub rcx, r8
movabs r10, 0x6666666666666667
mov rax, r10
imul rcx
mov r14, rdx
sar r14, 4
mov rax, r14
shr rax, 0x3f
add r14, rax
mov rax, qword [rsp + 0x78]
mov r9, qword [rsp + 0x80]
cmp rax, r9
jne 0x14002b2b3
mov rcx, rax
sub rcx, r8
mov rax, r10
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
movabs rax, 0x666666666666665
cmp rdi, rax
jbe 0x14002b25b
lea rcx, str.vector_T__too_long
call fcn.1401ae064
inc rdi
mov rcx, r9
sub rcx, r8
mov rax, r10
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jbe 0x14002b2b3
mov rcx, rdx
shr rcx, 1
movabs rax, 0x666666666666666
sub rax, rcx
cmp rax, rdx
jae 0x14002b29a
mov rdx, r15
jmp 0x14002b29d
add rdx, rcx
cmp rdx, rdi
cmovb rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000a300
mov r8, qword [rsp + 0x70]
lea rax, [r14 + r14*4]
lea r8, [r8 + rax*8]
mov r14, qword [rsp + 0x78]
mov rdx, r14
lea rcx, [rsp + 0x88]
call fcn.140009ef0
jmp 0x14002b398
mov r9, qword [rsp + 0x80]
cmp r14, r9
jne 0x14002b380
mov rcx, r14
sub rcx, r8
movabs r10, 0x6666666666666667
mov rax, r10
imul rcx
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
movabs rax, 0x666666666666665
cmp rdi, rax
jbe 0x14002b328
lea rcx, str.vector_T__too_long
call fcn.1401ae064
inc rdi
mov rcx, r9
sub rcx, r8
mov rax, r10
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jbe 0x14002b380
mov rcx, rdx
shr rcx, 1
movabs rax, 0x666666666666666
sub rax, rcx
cmp rax, rdx
jae 0x14002b367
mov rdx, r15
jmp 0x14002b36a
add rdx, rcx
cmp rdx, rdi
cmovb rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000a300
mov r14, qword [rsp + 0x78]
lea r8, [rsp + 0x210]
mov rdx, r14
lea rcx, [rsp + 0x88]
call fcn.14000a080
add r14, 0x28
mov qword [rsp + 0x78], r14
jmp 0x14002b3e1
mov rdi, qword [rsp + 0x58]
or r14, 0xffffffffffffffff
cmp qword [rsp + 0x228], 8
jb 0x14002b402
mov rcx, qword [rsp + 0x210]
call fcn.140050e78
cmp byte [r12 + 0x69], 0
jne 0x14002b0a6
mov rax, qword [r12 + 0x10]
cmp byte [rax + 0x69], 0
jne 0x14002b449
mov r12, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], 0
jne 0x14002b43c
nop word [rax + rax]
mov r12, rax
mov rax, qword [rax]
cmp byte [rax + 0x69], 0
je 0x14002b430
mov qword [rsp + 0xc0], r12
jmp 0x14002b0a6
mov rax, qword [r12 + 8]
cmp byte [rax + 0x69], 0
jne 0x14002b467
cmp r12, qword [rax + 0x10]
jne 0x14002b467
mov r12, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x69], 0
je 0x14002b454
mov r12, rax
mov qword [rsp + 0xc0], rax
jmp 0x14002b0a6
mov rax, qword [rsp + 0x70]
mov rbx, rax
mov r12, qword [rsp + 0x78]
cmp rax, r12
je 0x14002b675
nop dword [rax]
mov qword [rsp + 0x2c8], 7
mov qword [rsp + 0x2c0], r15
mov word [rsp + 0x2b0], r15w
mov r9, r14
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x2b0]
call fcn.1400072b0
nop
mov rdi, qword [r13]
cmp rdi, qword [r13 + 8]
je 0x14002b64b
mov qword [rsp + 0x278], 7
mov qword [rsp + 0x270], r15
mov word [rsp + 0x260], r15w
mov r9, r14
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x260]
call fcn.1400072b0
nop
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 8
cmovae rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x2b0]
cmp qword [rsp + 0x2c8], 8
cmovae rcx, qword [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14002b56f
cmp qword [rsp + 0x278], 8
jb 0x14002b55c
mov rcx, qword [rsp + 0x260]
call fcn.140050e78
add rdi, 0x28
cmp rdi, qword [r13 + 8]
jne 0x14002b4d2
jmp 0x14002b64b
mov r14, qword [r13 + 8]
lea r12, [rdi + 0x28]
cmp r12, r14
je 0x14002b600
lea rdi, [r12 - 0x28]
cmp rdi, r12
je 0x14002b5f3
cmp qword [rdi + 0x18], 8
jb 0x14002b599
mov rcx, qword [rdi]
call fcn.140050e78
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r15
mov word [rdi], r15w
cmp qword [rdi + 0x40], 8
jae 0x14002b5c7
mov r8, qword [rdi + 0x38]
inc r8
add r8, r8
mov rdx, r12
mov rcx, rdi
call fcn.1401939a0
jmp 0x14002b5d2
mov rax, qword [r12]
mov qword [rdi], rax
mov qword [r12], r15
mov rax, qword [rdi + 0x38]
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 0x40]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x40], 7
mov qword [rdi + 0x38], r15
mov word [r12], r15w
add r12, 0x28
add rdi, 0x28
cmp r12, r14
jne 0x14002b585
mov r12, qword [r13 + 8]
lea rdi, [r12 - 0x28]
cmp rdi, r12
je 0x14002b625
nop
mov rdx, rdi
lea rcx, [r13 + 0x18]
call fcn.14000a010
add rdi, 0x28
cmp rdi, r12
jne 0x14002b610
add qword [r13 + 8], 0xffffffffffffffd8
cmp qword [rsp + 0x278], 8
jb 0x14002b642
mov rcx, qword [rsp + 0x260]
call fcn.140050e78
or r14, 0xffffffffffffffff
mov r12, qword [rsp + 0x78]
cmp qword [rsp + 0x2c8], 8
jb 0x14002b663
mov rcx, qword [rsp + 0x2b0]
call fcn.140050e78
add rbx, 0x28
cmp rbx, r12
jne 0x14002b490
mov rdi, qword [rsp + 0x58]
cmp qword [rsp + 0x2f0], 8
jb 0x14002b68d
mov rcx, qword [rsp + 0x2d8]
call fcn.140050e78
add rsi, 0x28
mov qword [rsp + 0x90], rsi
mov r8, qword [rsp + 0xf8]
jmp 0x14002afa7
mov r12, qword [rsp + 0x78]
mov rcx, r12
mov r14, qword [rsp + 0x70]
sub rcx, r14
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x14002b6f4
cmp dword [rsp + 0x40], 1
jne 0x14002b6f4
mov esi, r15d
jmp 0x14002b6f8
cmp dword [rsp + 0x40], 1
cmove esi, r15d
mov r12, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
jmp 0x14002b6f8
mov esi, dword [rsp + 0x68]
lea rdx, [rsp + 0x350]
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002b8bc
movsxd rsi, esi
cmp dword [rsp + 0x4c], 0
je 0x14002b8ad
or r12, 0xffffffffffffffff
mov r14d, dword [rsp + 0x48]
nop word [rax + rax]
lea r9, [rsp + 0x37c]
lea r8, [rsp + 0x7b0]
lea rdx, str._s_s
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.USER32.dll_wsprintfW]
cmp rsi, 1
jne 0x14002b86d
lea r9, [rsp + 0x37c]
lea r8, [rsp + 0x9c0]
lea rdx, str._s3_s
lea rcx, [rsp + 0xbd0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0xbd0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14002b7c4
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002b881
mov r14d, r15d
jmp 0x14002b881
mov rdi, qword [r13]
cmp rdi, qword [r13 + 8]
je 0x14002b881
mov qword [rsp + 0x318], 7
mov qword [rsp + 0x310], r15
mov word [rsp + 0x300], r15w
mov r9, r12
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x300]
call fcn.1400072b0
lea rcx, [rsp + 0x300]
cmp qword [rsp + 0x318], 8
cmovae rcx, qword [rsp + 0x300]
lea rdx, [rsp + 0x37c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14002b845
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
cmove r14d, r15d
cmp qword [rsp + 0x318], 8
jb 0x14002b85d
mov rcx, qword [rsp + 0x300]
call fcn.140050e78
add rdi, 0x28
cmp rdi, qword [r13 + 8]
jne 0x14002b7d2
jmp 0x14002b881
lea rcx, [rsp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
cmove r14d, r15d
lea rdx, [rsp + 0x350]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rsp + 0x4c], eax
test eax, eax
jne 0x14002b740
mov dword [rsp + 0x48], r14d
mov r12, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [rsp + 0x48]
jmp 0x14002b8c1
mov ebx, 1
lea rcx, [rsp + 0x7b0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov r8, qword [rsp + 0xd8]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xd0]
call fcn.1400310b0
nop
mov rcx, qword [rsp + 0xd8]
call fcn.140050e78
nop
test r14, r14
je 0x14002b942
mov rdi, r14
cmp r14, r12
je 0x14002b939
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x88]
call fcn.14000a010
add rdi, 0x28
cmp rdi, r12
jne 0x14002b920
mov rcx, r14
call fcn.140050e78
nop
mov r12, qword [rsp + 0xf0]
test r12, r12
je 0x14002b986
mov rdi, r12
mov rsi, qword [rsp + 0xf8]
cmp r12, rsi
je 0x14002b979
nop
mov rdx, rdi
lea rcx, [rsp + 0x108]
call fcn.14000a010
add rdi, 0x28
cmp rdi, rsi
jne 0x14002b960
mov rcx, r12
call fcn.140050e78
jmp 0x14002b986
mov ebx, r14d
mov r9d, dword [rsp + 0x4c]
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0xa0]
call fcn.140017c80
nop
lea rcx, [rsp + 0xa0]
call fcn.140018150
mov eax, ebx
jmp 0x14002ba06
mov qword [rsp + 0x110], r15
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x150]
call fcn.140193804
lea rdx, vtable.std::bad_alloc.0
mov qword [rsp + 0x150], rdx
lea rdx, [0x14025dc70]
lea rcx, [rsp + 0x150]
call fcn.1401938f0
nop
lea rcx, [rsp + 0xa0]
call fcn.140018150
xor eax, eax
mov rcx, qword [rsp + 0xde0]
xor rcx, rsp
call fcn.1401945b0
add rsp, 0xdf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret