Function at 0x1401097d4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r13, r9
mov qword [rsp + 0x58], r8
mov r15, rdx
mov r14, rcx
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x48], rax
xor edi, edi
mov esi, edi
mov dword [rsp + 0x40], edi
mov rcx, r8
call fcn.14017bdc8
mov bl, al
cmp qword [r14 + 0x10], rdi
jne 0x140109841
test al, al
jne 0x140109841
mov al, 1
jmp 0x140109dd9
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf8], xmm1
movdqa xmm0, xmmword [0x1403a9d70]
movdqu xmmword [rbp + 0xf8], xmm0
mov word [rbp + 0xe8], di
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], rax
movdqu xmmword [rbp + 0xd0], xmm1
mov qword [rbp + 0xe0], rdi
movups xmmword [rbp + 0xb0], xmm0
movdqu xmmword [rbp + 0xc0], xmm1
xor r8d, r8d
lea rdx, [0x14036ac58]
lea rcx, [rbp + 0xb0]
call fcn.140013184
nop
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8b, bl
lea rdx, [rbp + 0xb0]
mov rcx, r14
call fcn.140108da8
mov bl, al
lea rcx, [rbp + 0xb0]
call fcn.14000dd24
test bl, bl
jne 0x14010990f
lea rcx, [rbp + 0xe8]
call fcn.140141ab8
jmp 0x140109dbd
cmp byte [r14 + 0x40], dil
je 0x14010991f
cmp qword [r14 + 0x10], rdi
je 0x140109dba
mov rax, qword [r13 + 8]
mov rdx, qword [rbp + 0xd8]
mov qword [rsp + 0x68], rdx
mov rcx, qword [rbp + 0xd0]
cmp rcx, rdx
je 0x140109dba
lea r13, [rax - 4]
lea r14, [rcx + 0x20]
lea rbx, [0x140446fb0]
mov qword [rsp + 0x60], r14
xor edx, edx
mov r8d, ILFree
lea rcx, [rbp + 0x10]
call fcn.1402bf2e0
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], 7
mov word [rbp + 0x38], di
mov byte [rbp + 0x58], dil
mov qword [rbp + 0x5c], rdi
mov dword [rbp + 0x64], edi
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x78], rdi
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], di
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], di
lea rcx, [rbp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rdx, r15
lea rcx, [rbp + 0x10]
call fcn.140166368
mov rax, qword [r14]
mov r12, qword [rax + 0x20]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.14006cc30
nop
mov rax, qword [r14]
cmp byte [rax + 0x14c], dil
je 0x140109a72
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
lea rcx, [rbp - 0x50]
call fcn.140013184
or esi, 0x10
mov dword [rsp + 0x40], esi
mov rdx, r12
lea rcx, [rbp - 0x50]
call fcn.14018380c
mov bl, al
and esi, 0xffffffef
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x50]
call fcn.14000dd24
test bl, bl
je 0x140109e8b
mov rdx, qword [r14]
cmp byte [rdx + 0x14b], dil
je 0x140109b1e
mov rax, qword [r14 - 0x10]
cmp qword [r14 - 0x18], rax
jne 0x140109ac2
add rdx, 0x88
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x140109ab0
mov rdx, qword [rdx]
lea rcx, [rbp - 0x30]
call fcn.140038e84
lea rax, [rbp - 0x30]
or esi, 1
jmp 0x140109ad8
mov r8, qword [rsp + 0x48]
lea rdx, [r14 - 0x18]
lea rcx, [rbp - 0x10]
call fcn.140108994
nop
or esi, 2
mov dword [rsp + 0x40], esi
mov rdx, r12
mov rcx, rax
call fcn.140183744
mov bl, al
test sil, 2
je 0x140109b00
and esi, 0xfffffffd
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x10]
call fcn.14000dd24
nop
test sil, 1
je 0x140109b16
and esi, 0xfffffffe
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x30]
call fcn.14000dd24
test bl, bl
je 0x140109e8b
lea rcx, [rbp + 0x10]
cmp byte [r14 - 0x20], dil
je 0x140109cdb
call fcn.140166f3c
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], rdi
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x140109b50
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.140013184
nop
mov rcx, qword [r14]
add rcx, 0x128
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x140109b82
mov rcx, qword [rcx]
cmp rax, 0xf
jne 0x140109bea
mov r8, rax
lea rax, str.URL_PACK_UNPACK
mov rdx, rax
sub rcx, rax
movzx eax, word [rdx + rcx]
cmp ax, word [rdx]
jne 0x140109bea
add rdx, 2
sub r8, 1
jne 0x140109b98
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov rax, qword [rsp + 0x58]
mov rdx, rax
cmp qword [rax + 0x18], 7
jbe 0x140109bcc
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140038e84
lea rdx, [rbp - 0x70]
or esi, 4
mov dword [rsp + 0x40], esi
mov rax, qword [rbp - 0x70]
jmp 0x140109c2e
lea rcx, [rbp + 0x10]
call fcn.140166480
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x140109c06
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140013184
lea rdx, [rsp + 0x70]
or esi, 8
mov dword [rsp + 0x40], esi
mov rax, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp + 0x108], xmm0
mov qword [rbp + 0x118], rdi
mov qword [rbp + 0x120], rdi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
cmova rdx, rax
lea rcx, [rbp + 0x108]
call fcn.140038e84
nop
test sil, 8
je 0x140109c78
and esi, 0xfffffff7
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x70]
call fcn.14000dd24
nop
test sil, 4
je 0x140109c8e
and esi, 0xfffffffb
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x70]
call fcn.14000dd24
mov eax, dword [r13]
mov dword [rsp + 0x20], eax
mov r9, r12
lea r8, [rbp + 0x64]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xb0]
call fcn.1401831e0
mov bl, al
test al, al
je 0x140109cc0
lea rcx, [rbp + 0x10]
call fcn.1401666a8
nop
lea rcx, [rbp + 0x108]
call fcn.14000dd24
nop
lea rcx, [rbp + 0xb0]
call fcn.14000dd24
jmp 0x140109d05
mov ebx, dword [r13]
call fcn.1401672b4
mov r9d, ebx
mov r8, r12
mov rcx, rax
call fcn.140182b0c
mov bl, al
test al, al
je 0x140109e8b
lea rcx, [rbp + 0x10]
call fcn.1401667ac
test bl, bl
je 0x140109e8b
cmp dword [rbp + 0x14], edi
jle 0x140109d3c
lea rcx, [rbp + 0x10]
cmp byte [rbp + 0x10], dil
je 0x140109d23
call fcn.140166910
jmp 0x140109d28
call fcn.140166f3c
test rax, rax
je 0x140109e03
mov rdx, rax
mov rcx, r15
call fcn.140011ae8
sub r13, 4
lea rcx, [rsp + 0x50]
call fcn.140099bc0
nop
cmp qword [rbp + 0x78], rdi
je 0x140109d68
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140109d77
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x88]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x68]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x38]
call fcn.14000dd24
add r14, 0x28
mov rax, qword [rsp + 0x60]
add rax, 8
cmp rax, qword [rsp + 0x68]
jne 0x140109947
mov dil, 1
lea rcx, [rbp + 0xd0]
call fcn.14010d464
nop
lea rcx, [rbp + 0xe8]
call fcn.14000dd24
mov al, dil
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1402194b0
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rbp + 0x78], rdi
je 0x140109e20
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rax, qword [rbp + 0x68]
mov qword [rbp + 0x78], rdi
mov word [rax], di
lea rax, [rbp + 0x38]
cmp r15, rax
je 0x140109e8b
mov rbx, qword [rbp + 0x48]
lea r9, [rbp + 0x38]
cmp qword [rbp + 0x50], 7
cmova r9, qword [rbp + 0x38]
cmp rbx, qword [r15 + 0x18]
ja 0x140109e7f
mov rsi, r15
cmp qword [r15 + 0x18], 7
jbe 0x140109e66
mov rsi, qword [r15]
mov qword [r15 + 0x10], rbx
lea r8, [rbx + rbx]
mov rdx, r9
mov rcx, rsi
call fcn.1402bec40
mov word [rsi + rbx*2], di
jmp 0x140109e8b
mov rdx, rbx
mov rcx, r15
call fcn.1400123bc
nop
lea rcx, [rsp + 0x50]
call fcn.140099bc0
nop
cmp qword [rbp + 0x78], rdi
je 0x140109eb3
lea rcx, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140109ec2
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rbp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x88]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x68]
call fcn.14000dd24
nop
lea rcx, [rbp + 0x38]
call fcn.14000dd24
jmp 0x140109dbd