Function at 0x140058710
Capabilities:
Delete file
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
mov byte [0x1401b537c], 2
lea rcx, [0x1401b5820]
cmp qword [0x1401b5838], 0xf
cmova rcx, qword [0x1401b5820]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov dword [0x1401b5388], 2
call fcn.140058ca0
mov r11, rax
mov rcx, rax
call fcn.140070270
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [r11 + r8], r12b
jne 0x140058794
mov rdx, r11
lea rcx, [rbp - 0x70]
call fcn.1400413a0
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [0x1401b5820]
lea rcx, [rbp - 0x50]
call fcn.14006b050
nop
mov ecx, 3
call fcn.1400867a0
mov r15d, r12d
mov r13d, 0x1008
mov r14d, r13d
call fcn.140086520
mov rsi, rax
test rax, rax
je 0x1400589e5
mov ebx, 0x17c
movdqa xmm6, xmmword [0x140111760]
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
jbe 0x140058807
mov r8, qword [rbp - 0x70]
mov r14, r13
mov edx, 0x2712
mov rcx, rsi
call fcn.14009a600
lea r8, [0x140057d60]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.14009a600
lea r8, [rbp - 0x50]
mov edx, 0x2711
mov rcx, rsi
call fcn.14009a600
lea r8, [0x140057d90]
mov edx, 0x4efb
mov rcx, rsi
call fcn.14009a600
xor r8d, r8d
mov edx, Ordinal_45
mov rcx, rsi
call fcn.14009a600
mov rcx, rsi
call fcn.1400865e0
test eax, eax
je 0x140058a72
mov dword [rsp + 0x40], 0x6e3f569d
mov dword [rsp + 0x44], 0x3e25c7d
mov dword [rsp + 0x48], 0x27235a9f
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, ebx
mov eax, dword [rdx + rcx]
lea rbx, [r14 + rcx]
test al, 1
jne 0x140058901
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x1d], 1
lea rax, [rbx + 0x1c]
lea rcx, [rsp + 0x4c]
cmp rbx, rcx
ja 0x1400588db
lea rcx, [rsp + 0x30]
cmp rax, rcx
jb 0x1400588db
movups xmmword [rbx], xmm6
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x18], eax
mov byte [rbx + 0x1c], 0x5d
jmp 0x1400588f4
movups xmmword [rbx], xmm6
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0x18], eax
mov byte [rbx + 0x1c], 0x5d
lea rcx, [0x1400f11f0]
call fcn.1400e854c
nop
mov rcx, rbx
call fcn.14006ff70
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140058920
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400413a0
mov rdx, qword [0x1401b58b8]
cmp rdx, 0xf
jbe 0x140058978
inc rdx
mov rcx, qword [0x1401b58a0]
cmp rdx, 0x1000
jb 0x140058973
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140058c93
mov rcx, r8
call fcn.1400e8390
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1401b58a0], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1401b58b0], xmm1
lea rcx, [rbp - 0x48]
call fcn.140072530
test rax, rax
jne 0x1400589ba
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rsi
call fcn.1400864d0
inc r15d
cmp r15d, 5
jge 0x140058bef
call fcn.140086520
mov rsi, rax
test rax, rax
mov ebx, 0x17c
jne 0x1400587f5
movdqa xmm0, xmmword [0x140111f80]
mov dword [rsp + 0x60], 0x8eeb16bd
mov dword [rsp + 0x64], 0x7b5e6eef
mov dword [rsp + 0x68], 0xc8f71abf
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x154c
mov eax, dword [rcx + rsi]
mov ebx, 0x1080
test al, 1
jne 0x140058b36
or eax, 1
mov dword [rcx + rsi], eax
lea rcx, [rbx + rsi]
mov byte [rcx + 0x1d], 1
lea rax, [rcx + 0x1c]
lea rdx, [rsp + 0x6c]
cmp rcx, rdx
ja 0x140058b10
lea rdx, [rsp + 0x50]
cmp rax, rdx
jb 0x140058b10
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0xcf
jmp 0x140058b29
lea rcx, [rbp - 0x48]
call fcn.140072530
test rax, rax
jne 0x140058a9d
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea r8, [rbp + 0x100]
mov edx, 0x200002
mov rcx, rsi
call fcn.1400864f0
cmp dword [rbp + 0x100], 0xc8
je 0x140058bef
call fcn.140058d90
mov rcx, rax
call fcn.14006a780
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400411f0
mov rdx, rax
lea rcx, [0x1401b58a0]
call fcn.14006c740
lea rcx, [rsp + 0x70]
call fcn.1400411e0
mov rcx, rsi
call fcn.1400864d0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movups xmmword [rcx], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [rsp + 0x68]
mov dword [rcx + 0x18], eax
mov byte [rcx + 0x1c], 0xcf
lea rcx, [0x1400f11c0]
call fcn.1400e854c
nop
lea r11, [rsi + rbx]
mov rcx, r11
call fcn.14006fdf0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
inc rdi
cmp byte [r11 + rdi], 0
jne 0x140058b52
mov r8, rdi
mov rdx, r11
lea rcx, [rsp + 0x70]
call fcn.1400413a0
mov rdx, qword [0x1401b58b8]
cmp rdx, 0xf
jbe 0x140058bad
mov rcx, qword [0x1401b58a0]
inc rdx
cmp rdx, 0x1000
jb 0x140058ba8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140058c93
mov rcx, r8
call fcn.1400e8390
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [0x1401b58a0], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [0x1401b58b0], xmm1
lea rcx, [rbp - 0x48]
call fcn.140072530
test rax, rax
jne 0x140058bef
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
call fcn.140086760
lea rcx, [rbp - 0x48]
call fcn.140072530
test rax, rax
jne 0x140058c20
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.14006bcd0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call fcn.140041230
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3