Function at 0x180014c70
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
test rdx, rdx
je 0x180014ef1
cmp word [rdx], 0
je 0x180014ef1
mov rcx, qword [rcx + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x180014cb8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x380]
xor r12d, r12d
test rcx, rcx
je 0x180014cd3
call fcn.18007702c
mov qword [rdi + 0x380], r12
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x180014ce7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rsp + 0x98], r12
mov rax, qword [rbx]
lea r8, [rsp + 0x98]
lea rdx, [0x1800ef668]
mov rcx, rbx
call qword [rax]
mov esi, eax
test eax, eax
js 0x180014ed0
cmp eax, 1
je 0x180014ed0
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x180014d39
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, 0x80004005
jmp 0x180014ef6
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x88], r12d
mov rax, qword [rcx]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
jne 0x180014eac
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x180014eac
movabs rcx, 0x20000000000
cmp rax, rcx
jae 0x180014eac
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x180014de1
call fcn.180003220
mov edi, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180014dd1
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, edi
jmp 0x180014ef6
mov dword [rdi + 0x24], r12d
mov dword [rdi + 0x78], 2
mov dword [rdi + 0x370], 0x80000
mov dword [rdi + 0x374], 0x400
mov dword [rdi + 0x378], 0x200
mov rax, qword [rsp + 0x40]
add rax, 0x1ff
and rax, 0xfffffffffffffe00
mov qword [rdi + 0x30], rax
mov rdx, rbx
mov rcx, rdi
call fcn.180014f10
mov esi, eax
test eax, eax
js 0x180014e6f
cmp eax, 1
je 0x180014e6f
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x88]
mov rcx, rdi
call fcn.180003a40
mov edi, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180014e5f
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, edi
jmp 0x180014ef6
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x70], 0xffffffffffffffff
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180014e9f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, esi
jmp 0x180014ef6
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180014ec0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, 0x80004005
jmp 0x180014ef6
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180014ee4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, esi
jmp 0x180014ef6
mov eax, 0x80070057
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret