Function at 0x1800621f0
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 0x180062471
cmp word [rdx], 0
je 0x180062471
mov rcx, qword [rcx + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x180062238
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x380]
xor r12d, r12d
test rcx, rcx
je 0x180062253
call fcn.18006aaac
mov qword [rdi + 0x380], r12
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x180062267
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, [0x1800e2080]
mov rcx, rbx
call qword [rax]
mov esi, eax
test eax, eax
js 0x180062450
cmp eax, 1
je 0x180062450
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x1800622b9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, 0x80004005
jmp 0x180062476
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 0x18006242c
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18006242c
movabs rcx, 0x20000000000
cmp rax, rcx
jae 0x18006242c
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 0x180062361
call fcn.180003180
mov edi, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180062351
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 0x180062476
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.180062490
mov esi, eax
test eax, eax
js 0x1800623ef
cmp eax, 1
je 0x1800623ef
mov r8, qword [rsp + 0x40]
mov edx, dword [rsp + 0x88]
mov rcx, rdi
call fcn.1800039a0
mov edi, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800623df
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 0x180062476
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 0x18006241f
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 0x180062476
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180062440
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 0x180062476
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180062464
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 0x180062476
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