Function at 0x1800e5ab0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x18024d000]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
xor esi, esi
mov dword [rsp + 0x30], esi
cmp byte [reloc.d2d1.dll_Ordinal_1], sil
je 0x1800e60cf
lea rcx, [0x1802527d0]
cmp byte [0x1802527c8], sil
jne 0x1800e5c37
mov byte [0x1802527c8], 1
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1802527d0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x198]
call fcn.1800248b0
nop
lea rcx, [rsp + 0x1b8]
call fcn.1800e7c50
lea r9, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 7
cmova r9, qword [rsp + 0x198]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [0x1801bfb90]
mov edx, 0xc8
lea rcx, [0x180252700]
call fcn.18002fbd0
mov rdx, qword [rsp + 0x1d0]
cmp rdx, 0xf
jbe 0x1800e5bd8
inc rdx
mov rcx, qword [rsp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e5bd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e5bd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800eb440
nop
lea rcx, [0x180252700]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
jmp 0x1800e5bea
mov rdx, qword [rsp + 0x1b0]
cmp rdx, 7
jbe 0x1800e5c3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e5c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e5c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800eb440
jmp 0x1800e5c3d
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8d, 0x20
lea rdx, [0x1801bfba0]
lea rcx, [0x180252700]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fsopen]
mov rbx, rax
test rax, rax
je 0x1800e60c2
lea rax, [0x1800f8218]
mov qword [rsp + 0x80], rax
lea rax, [0x1800f8220]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x118]
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 r8d, r8d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x80]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x80], r13
mov rax, qword [rsp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rsp + 0x98]
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 + 0x98], rax
mov qword [rsp + 0x100], rsi
mov dword [rsp + 0x108], esi
lea rcx, [rsp + 0x80]
call fcn.180002e60
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0x80]
call fcn.18002f110
cmp qword [rax + 0x18], 0xf
jbe 0x1800e5d3b
mov rax, qword [rax]
mov r9, rax
lea r8, [0x1801a52e0]
mov edx, 0x14
lea rcx, [rsp + 0x280]
call fcn.18002fbd0
mov rdx, qword [rsp + 0x1f0]
cmp rdx, 0xf
jbe 0x1800e5d9d
inc rdx
mov rcx, qword [rsp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e5d98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800e5d98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800eb440
lea rdi, [rsp + 0x4f8]
mov qword [rsp + 0x50], rdi
call fcn.18002fb60
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
mov r9, qword [rsp + 0x4f0]
mov r8d, 0x12c
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf_s]
mov edi, eax
mov r14d, 0xffffffff
test eax, eax
cmovs edi, r14d
lea r9, [rsp + 0x2a0]
lea r8, [rsp + 0x280]
lea rdx, str._s_s
mov rcx, rbx
call fcn.1800e6180
lea rdx, [0x1801a4c20]
mov rcx, rbx
call fcn.1800e6180
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp edi, 0x64
jge 0x1800e5f20
lea r8, [rsp + 0x2a0]
lea edx, [r14 + 0x65]
lea rcx, [rsp + 0x214]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x280]
lea edx, [r14 + 0x15]
lea rcx, [rsp + 0x200]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rbx, [0x180252870]
mov qword [rsp + 0x58], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1800e60f2
cmp dword [0x1802528bc], 0x7fffffff
je 0x1800e60fc
mov rdx, qword [0x180252858]
cmp rdx, qword [0x180252860]
je 0x1800e5f01
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x210]
movups xmmword [rdx + 0x10], xmm1
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x230]
movups xmmword [rdx + 0x30], xmm1
movaps xmm0, xmmword [rsp + 0x240]
movups xmmword [rdx + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x250]
movups xmmword [rdx + 0x50], xmm1
movaps xmm0, xmmword [rsp + 0x260]
movups xmmword [rdx + 0x60], xmm0
movsd xmm1, qword [rsp + 0x270]
movsd qword [rdx + 0x70], xmm1
add qword [0x180252858], 0x78
jmp 0x1800e5f16
lea r8, [rsp + 0x200]
lea rcx, [0x180252850]
call fcn.1800e5480
nop
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
jmp 0x1800e5f2c
cmp edi, 0xb54
jge 0x1800e606d
mov ecx, 0xb78
call fcn.1800eb404
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1800e5f74
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_TextForPrintBig_.0
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
xor edx, edx
mov r8d, 0xb68
call sub.VCRUNTIME140.dll_memset
jmp 0x1800e5f77
mov rbx, rsi
lea r15, [rbx + 0x10]
mov qword [rsp + 0x38], r15
mov rdi, rbx
mov qword [rsp + 0x40], rbx
lea rcx, [r15 + 0x14]
lea r8, [rsp + 0x2a0]
mov edx, 0xb54
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x280]
mov edx, 0x14
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r12, [0x180252800]
mov qword [rsp + 0x48], r12
mov rcx, r12
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1800e6111
cmp dword [0x18025284c], 0x7fffffff
je 0x1800e611c
mov rdx, qword [0x1802528c8]
cmp rdx, qword [0x1802528d0]
je 0x1800e6017
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
test rbx, rbx
je 0x1800e6006
lock inc dword [rbx + 8]
mov rdi, qword [rsp + 0x40]
mov qword [rdx], r15
mov qword [rdx + 8], rbx
add qword [0x1802528c8], 0x10
jmp 0x1800e602d
lea r8, [rsp + 0x38]
lea rcx, [0x1802528c0]
call fcn.180038070
mov rdi, qword [rsp + 0x40]
mov rcx, r12
call sub.MSVCP140.dll__Mtx_unlock
nop
test rdi, rdi
je 0x1800e606d
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1800e606d
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x1800e606d
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x80]
movsxd rdx, dword [rax + 4]
mov qword [rsp + rdx + 0x80], r13
mov rax, qword [rsp + 0x80]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x7c], r8d
lea rcx, [rsp + 0x98]
call fcn.180005f00
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x118]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [0x1802527d0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1800eb8d0
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea ecx, [r14 + 6]
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov dword [0x1802528bc], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov dword [0x18025284c], 0x7ffffffe
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3