Function at 0x140088a90
Capabilities:
Delete file

Disassembly:
jmp 0x140088a90
mov r11, rsp
mov byte [r11 + 0x18], r8b
mov qword [r11 + 0x10], rdx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x1c8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140118988]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
movdqa xmm0, xmmword [0x1400d1ef0]
movdqu xmmword [r11 - 0x68], xmm0
mov word [r11 - 0x78], bx
test r9, r9
je 0x140088b0f
lea rax, [r11 - 0x78]
cmp rax, r9
je 0x140088b0f
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x140088afe
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
lea rcx, [rsp + 0x170]
call fcn.140001faf
cmp byte [rdi + 0x18], 0
je 0x140088e3d
lea rcx, str.BINIO_LOG
call fcn.1400031fc
cmp dword [rax], 0
je 0x140088e18
lea rcx, [rsp + 0x48]
call fcn.140002a5e
nop
lea rcx, [rsp + 0x48]
call fcn.140001bcc
mov rsi, rax
test rax, rax
je 0x140088dda
lea rax, [0x1400cd2d0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xd0], rbx
mov dword [rsp + 0xd8], 4
xor r8d, r8d
mov rdx, qword [rdi + 0x20]
lea rcx, [rsp + 0x190]
call fcn.140002e91
mov rbx, rax
lea rdx, str.WinHandle::Reset_closing
lea rcx, [rsp + 0x60]
call fcn.140002063
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140088c11
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000132f
nop
mov rdx, qword [rsp + 0x1a8]
cmp rdx, 0x10
jb 0x140088c64
inc rdx
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140088c5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140088c5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
nop
movdqa xmm0, xmmword [0x1400cd840]
movdqu xmmword [rsp + 0x160], xmm0
mov byte [rsp + 0x150], 0
mov dword [rsp + 0x30], 5
mov ecx, dword [rsp + 0xd8]
test cl, 2
jne 0x140088cd4
mov rax, qword [rsp + 0xa8]
mov r8, qword [rax]
test r8, r8
je 0x140088cd4
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax]
mov qword [rsp + 0x40], r8
cmp r8, qword [rsp + 0xd0]
cmovb r8, qword [rsp + 0xd0]
sub r8, rdx
lea rcx, [rsp + 0x150]
call fcn.140002bee
jmp 0x140088d13
test cl, 4
jne 0x140088d13
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140088d13
mov rax, qword [rsp + 0x80]
mov rdx, qword [rax]
mov rax, qword [rsp + 0xb8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rsp + 0x150]
call fcn.140002bee
nop
lea rax, [rsp + 0x150]
cmp qword [rsp + 0x168], 0x10
cmovae rax, qword [rsp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cf09c]
mov r8d, 0x24
lea rdx, [0x1400cdc78]
mov rcx, rsi
call fcn.140001901
mov rdx, qword [rsp + 0x168]
cmp rdx, 0x10
jb 0x140088d95
inc rdx
mov rcx, qword [rsp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140088d8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140088d8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r14
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.1400027a2
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140088e11
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140088e11
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140088e11
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140088e18
jmp 0x140088e1f
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0x28]
cmp qword [rcx + 0x18], 8
jb 0x140088e37
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x1f8]
mov qword [rdi + 0x20], rax
movzx eax, byte [rsp + 0x200]
mov byte [rdi + 0x18], al
movups xmm0, xmmword [rdi + 0x28]
movups xmmword [rsp + 0x190], xmm0
movups xmm2, xmmword [rdi + 0x38]
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [rdi + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x180]
movups xmmword [rdi + 0x38], xmm1
psrldq xmm2, 8
movq rdx, xmm2
cmp rdx, 8
jb 0x140088ec9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140088ec4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140088ec4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400017ad
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140001c58
add rsp, 0x1c8
pop r14
pop rdi
pop rsi
pop rbx
ret