Function at 0x10007b628
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3a0
mov qword [rsp + 0x120], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x100142128]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov r14d, edx
xor r15d, r15d
cmp rcx, r15
jne 0x10007b674
mov eax, 0x80070057
jmp 0x10007c556
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x118], rax
cmp rax, r15
jne 0x10007b695
mov ecx, 0x8007000e
call fcn.10002c1d4
nop
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x100004ed8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x10000dc18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r13d, eax
cmp eax, r15d
jge 0x10007b75d
call fcn.10009f954
mov rdi, rax
cmp rax, r15
je 0x10007b73e
lea rcx, [0x1000094b8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2f
mov r8d, r13d
lea rdx, [0x100002d50]
lea rcx, [rsp + 0x38]
call fcn.10009ef30
nop
mov r12d, 8
mov edx, r12d
mov r8, rax
mov rcx, rdi
call fcn.1000a1180
nop
cmp qword [rsp + 0x58], r12
jb 0x10007b729
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007b729
call sub.msvcrt.dll_free
mov ebp, 7
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007b74f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
mov rdx, rbx
call qword [rax + 0x208]
mov r13d, eax
cmp eax, r15d
jge 0x10007b812
call fcn.10009f954
mov rdi, rax
cmp rax, r15
je 0x10007b7f3
lea rcx, [0x1000094b8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x33
mov r8d, r13d
lea rdx, [0x100002d50]
lea rcx, [rsp + 0x38]
call fcn.10009ef30
nop
mov r12d, 8
mov edx, r12d
mov r8, rax
mov rcx, rdi
call fcn.1000a1180
nop
cmp qword [rsp + 0x58], r12
jb 0x10007b7de
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007b7de
call sub.msvcrt.dll_free
mov ebp, 7
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007b804
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
mov ebp, 7
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], r15w
lea r13d, [rbp + 3]
lea r12d, [rbp + 1]
or rsi, 0xffffffffffffffff
cmp r14d, r15d
jne 0x10007b8cc
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], r15w
mov r8, rbp
lea rdx, [0x10000a618]
lea rcx, [rsp + 0xb0]
call fcn.10002cf94
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x128]
call fcn.10002cd2c
nop
cmp qword [rsp + 0xd0], r12
jb 0x10007b8ae
mov rcx, qword [rsp + 0xb8]
cmp rcx, r15
je 0x10007b8ae
call sub.msvcrt.dll_free
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xc8], r15
mov word [rsp + 0xb8], r15w
jmp 0x10007bfc1
cmp r14d, 2
jne 0x10007b95a
mov qword [rsp + 0x100], rbp
mov qword [rsp + 0xf8], r15
mov word [rsp + 0xe8], r15w
mov r8, r13
lea rdx, [0x10000a648]
lea rcx, [rsp + 0xe0]
call fcn.10002cf94
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x128]
call fcn.10002cd2c
nop
cmp qword [rsp + 0x100], r12
jb 0x10007b93f
mov rcx, qword [rsp + 0xe8]
cmp rcx, r15
je 0x10007b93f
call sub.msvcrt.dll_free
mov qword [rsp + 0x100], rbp
mov qword [rsp + 0xf8], r15
mov word [rsp + 0xe8], r15w
jmp 0x10007b9c9
cmp r14d, 1
jne 0x10007bfc1
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
lea r8d, [r14 + 0xb]
lea rdx, [0x10000a628]
lea rcx, [rsp + 0x38]
call fcn.10002cf94
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x128]
call fcn.10002cd2c
nop
cmp qword [rsp + 0x58], r12
jb 0x10007b9b9
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007b9b9
call sub.msvcrt.dll_free
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + 0x68]
mov r13d, eax
cmp eax, r15d
jge 0x10007bb02
call fcn.10009f954
mov rdi, rax
cmp rax, r15
je 0x10007ba6c
lea rcx, [0x1000094b8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x4b
mov r8d, r13d
lea rdx, [0x100002d50]
lea rcx, [rsp + 0x38]
call fcn.10009ef30
nop
mov edx, r12d
mov r8, rax
mov rcx, rdi
call fcn.1000a1180
nop
cmp qword [rsp + 0x58], r12
jb 0x10007ba5c
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007ba5c
call sub.msvcrt.dll_free
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r15
je 0x10007ba8c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x70]
cmp rcx, r15
je 0x10007ba9d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x10007baae
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x148], r12
jb 0x10007baca
mov rcx, qword [rsp + 0x130]
cmp rcx, r15
je 0x10007baca
call sub.msvcrt.dll_free
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007baf4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
mov rdi, qword [rsp + 0x70]
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r11d, 9
mov word [rsp + 0x80], r11w
mov qword [rsp + 0x88], rdi
cmp rdi, r15
je 0x10007bb3a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
lea rcx, [0x10000a5d0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x110], rax
cmp rax, r15
jne 0x10007bb62
mov ecx, 0x8007000e
call fcn.10002c1d4
nop
lea rcx, [0x10000a660]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov qword [rsp + 0x108], rax
cmp rax, r15
jne 0x10007bb8a
mov ecx, 0x8007000e
call fcn.10002c1d4
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
mov r8, rsi
mov rdx, rdi
call qword [rax + 0x1a0]
mov r13d, eax
cmp eax, r15d
jge 0x10007bcc2
call fcn.10009f954
mov r14, rax
cmp rax, r15
je 0x10007bc18
lea rcx, [0x1000094b8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x52
mov r8d, r13d
lea rdx, [0x100002d50]
lea rcx, [rsp + 0x38]
call fcn.10009ef30
nop
mov edx, r12d
mov r8, rax
mov rcx, r14
call fcn.1000a1180
nop
cmp qword [rsp + 0x58], r12
jb 0x10007bc08
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007bc08
call sub.msvcrt.dll_free
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r15
je 0x10007bc4c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x70]
cmp rcx, r15
je 0x10007bc5d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x10007bc6e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x148], r12
jb 0x10007bc8a
mov rcx, qword [rsp + 0x130]
cmp rcx, r15
je 0x10007bc8a
call sub.msvcrt.dll_free
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007bcb4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x10000dbd8]
call qword [rax]
mov r13d, eax
cmp eax, r15d
jge 0x10007bdf7
call fcn.10009f954
mov r14, rax
cmp rax, r15
je 0x10007bd4d
lea rcx, [0x1000094b8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x55
mov r8d, r13d
lea rdx, [0x100002d50]
lea rcx, [rsp + 0x38]
call fcn.10009ef30
nop
mov edx, r12d
mov r8, rax
mov rcx, r14
call fcn.1000a1180
nop
cmp qword [rsp + 0x58], r12
jb 0x10007bd3d
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007bd3d
call sub.msvcrt.dll_free
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r15
je 0x10007bd81
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x70]
cmp rcx, r15
je 0x10007bd92
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x10007bda3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x148], r12
jb 0x10007bdbf
mov rcx, qword [rsp + 0x130]
cmp rcx, r15
je 0x10007bdbf
call sub.msvcrt.dll_free
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007bde9
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0xb0]
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x90]
mov r13d, eax
cmp eax, r15d
jge 0x10007bf5a
call fcn.10009f954
mov r14, rax
cmp rax, r15
je 0x10007beb0
lea rcx, [0x1000094b8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x58
mov r8d, r13d
lea rdx, [0x100002d50]
lea rcx, [rsp + 0x38]
call fcn.10009ef30
nop
mov edx, r12d
mov r8, rax
mov rcx, r14
call fcn.1000a1180
nop
cmp qword [rsp + 0x58], r12
jb 0x10007bea0
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007bea0
call sub.msvcrt.dll_free
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r15
je 0x10007bee4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x70]
cmp rcx, r15
je 0x10007bef5
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x10007bf06
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x148], r12
jb 0x10007bf22
mov rcx, qword [rsp + 0x130]
cmp rcx, r15
je 0x10007bf22
call sub.msvcrt.dll_free
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007bf4c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x68]
cmp rcx, r15
je 0x10007bf8e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x70]
cmp rcx, r15
je 0x10007bf9f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r15
je 0x10007bfb9
mov rax, qword [rcx]
call qword [rax + 0x10]
or rsi, 0xffffffffffffffff
lea r13d, [rsi + 0xb]
jmp 0x10007bfc1
or rsi, 0xffffffffffffffff
lea r13d, [rsi + 0xb]
lea rdx, [rsp + 0x150]
mov rcx, qword [0x100145a40]
call fcn.10006bca8
nop
lea rdx, [0x10000a338]
lea rcx, [rsp + 0x150]
call fcn.100039f14
lea rcx, [rsp + 0x158]
cmp qword [rsp + 0x170], r12
cmovae rcx, qword [rsp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10007c0ce
lea rcx, [rsp + 0x158]
cmp qword [rsp + 0x170], r12
cmovae rcx, qword [rsp + 0x158]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, r15d
jne 0x10007c0ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
cmp qword [rsp + 0x170], r12
jb 0x10007c061
mov rcx, qword [rsp + 0x158]
cmp rcx, r15
je 0x10007c061
call sub.msvcrt.dll_free
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x168], r15
mov word [rsp + 0x158], r15w
cmp qword [rsp + 0x148], r12
jb 0x10007c096
mov rcx, qword [rsp + 0x130]
cmp rcx, r15
je 0x10007c096
call sub.msvcrt.dll_free
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007c0c0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x180]
call sub.msvcrt.dll_memset
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x158]
cmp qword [rsp + 0x170], r12
cmovae rcx, qword [rsp + 0x158]
lea r9, [rsp + 0x180]
xor r8d, r8d
lea rdx, [0x100008990]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp eax, r15d
jne 0x10007c1b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
cmp qword [rsp + 0x170], r12
jb 0x10007c14a
mov rcx, qword [rsp + 0x158]
cmp rcx, r15
je 0x10007c14a
call sub.msvcrt.dll_free
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x168], r15
mov word [rsp + 0x158], r15w
cmp qword [rsp + 0x148], r12
jb 0x10007c17f
mov rcx, qword [rsp + 0x130]
cmp rcx, r15
je 0x10007c17f
call sub.msvcrt.dll_free
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007c1a9
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x180]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x38]
call fcn.10002cf94
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x150]
call fcn.10002cd2c
nop
cmp qword [rsp + 0x58], r12
jb 0x10007c22e
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007c22e
call sub.msvcrt.dll_free
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov rdx, qword [rsp + 0x168]
add rdx, 0xfffffffffffffffc
mov r8d, 4
lea rcx, [rsp + 0x150]
call fcn.10002a238
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x150]
call fcn.100039d60
lea rdi, [rsp + 0x158]
cmp qword [rsp + 0x170], r12
cmovae rdi, qword [rsp + 0x158]
mov word [rsp + 0x98], r15w
lea rcx, [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov word [rsp + 0x98], r12w
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0xa0], rax
cmp rax, r15
jne 0x10007c2eb
cmp rdi, r15
je 0x10007c2eb
mov word [rsp + 0x98], r13w
mov dword [rsp + 0xa0], 0x8007000e
mov ecx, 0x8007000e
call fcn.10002c1d4
nop
mov word [rsp + 0x98], r12w
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x98]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0xb0]
call qword [rax + 0x210]
mov r13d, eax
cmp eax, r15d
jge 0x10007c43d
call fcn.10009f954
mov rdi, rax
cmp rax, r15
je 0x10007c3a5
lea rcx, [0x1000094b8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x77
mov r8d, r13d
lea rdx, [0x100002d50]
lea rcx, [rsp + 0x38]
call fcn.10009ef30
nop
mov edx, r12d
mov r8, rax
mov rcx, rdi
call fcn.1000a1180
nop
cmp qword [rsp + 0x58], r12
jb 0x10007c395
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007c395
call sub.msvcrt.dll_free
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
lea rcx, [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
cmp qword [rsp + 0x170], r12
jb 0x10007c3d0
mov rcx, qword [rsp + 0x158]
cmp rcx, r15
je 0x10007c3d0
call sub.msvcrt.dll_free
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x168], r15
mov word [rsp + 0x158], r15w
cmp qword [rsp + 0x148], r12
jb 0x10007c405
mov rcx, qword [rsp + 0x130]
cmp rcx, r15
je 0x10007c405
call sub.msvcrt.dll_free
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x140], r15
mov word [rsp + 0x130], r15w
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007c42f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10007c553
mov rsi, qword [0x100145a40]
mov edx, r14d
mov rcx, rsi
call fcn.10006c558
mov rdx, rax
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x38]
call fcn.10002cf94
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x128]
call fcn.10002cd2c
nop
cmp qword [rsp + 0x58], r12
jb 0x10007c4b0
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10007c4b0
call sub.msvcrt.dll_free
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp qword [rsp + 0x140], r15
je 0x10007c4e9
lea rcx, [rsp + 0x130]
cmp qword [rsp + 0x148], r12
cmovae rcx, qword [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], r12
cmovae rdx, qword [rsp + 0x158]
mov r8d, r14d
mov rcx, rsi
call fcn.10006c39c
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x150]
call fcn.10002d0d8
nop
lea rcx, [rsp + 0x128]
call fcn.10002d0d8
nop
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x10007c54a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, r13d
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1000c8b30
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret