Function at 0x140002e80
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, r8
mov r15, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x40], edi
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov r14, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140002edd
mov r14, qword [rsi]
lea rax, [0x140000000]
lea rax, [rax + 0x17ca0]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x40]
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 + 0x40], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r13, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x60], r13
mov byte [rbp + 0x1c], 0
mov byte [rbp + 0x11], 0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x20], rdi
mov rax, qword [0x14001ece0]
mov qword [rbp + 0x14], rax
mov qword [rbp + 8], rdi
mov r8d, 1
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.140006c70
test rax, rax
jne 0x140002fab
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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 - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r12
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
cmp qword [rbp + 0x20], 0
jne 0x14000314e
mov r15, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqa xmm0, xmmword [0x140017ee0]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x78242c56
mov byte [rsp + 0x34], 0x63
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x40], 5
mov edx, 0x15
lea rcx, [rsp + 0x48]
call fcn.140007550
mov qword [rsp + 0x58], rdi
mov rbx, rdi
movabs r14, 0x4ec4ec4ec4ec4ec5
nop dword [rax + rax]
mov rax, r14
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0x3c
movsx eax, byte [rsp + rbx + 0x20]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x60]
cmp rdi, rcx
jae 0x1400030a3
lea rax, [rdi + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x48]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x1400030ad
lea rcx, [rsp + 0x48]
call fcn.1400076a0
inc rbx
cmp rbx, 0x15
jae 0x1400030bd
mov rdi, qword [rsp + 0x58]
jmp 0x140003040
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, r15
call fcn.140008830
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x1400030e9
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140008830
lea rdx, [0x140007160]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140003b8b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003144
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003144
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
jmp 0x140003b8b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x11
movdqa xmm0, xmmword [0x140017e70]
pextrw eax, xmm0, 0
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x20]
mov byte [rcx], al
mov byte [rcx + 1], 0
movdqa xmm0, xmmword [0x140017ed0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x1400031fb
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140003205
lea rcx, [rsp + 0x20]
call fcn.1400076a0
movdqa xmm0, xmmword [0x140017eb0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x140003245
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000324f
lea rcx, [rsp + 0x20]
call fcn.1400076a0
movdqa xmm0, xmmword [0x140017ec0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x14000328f
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000329a
lea rcx, [rsp + 0x20]
call fcn.1400076a0
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400071a0
mov r14, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400032b9
mov r14, qword [rax]
lea rax, [0x140000000]
lea rax, [rax + 0x17b70]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0x148]
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 + 0x40], 0x29
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0xa0]
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 [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], r12
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0xa8], r13
mov byte [rbp + 0x124], 0
mov byte [rbp + 0x119], 0
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x128], rdi
mov rax, qword [0x14001ece0]
mov qword [rbp + 0x11c], rax
mov qword [rbp + 0x110], rdi
mov r8d, 2
mov rdx, r14
lea rcx, [rbp + 0xa8]
call fcn.140006c70
test rax, rax
jne 0x1400033b9
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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 + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], r12
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140003424
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000341f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000341f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
movdqa xmm0, xmmword [0x140017e50]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140003477
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003472
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
xor r14b, r14b
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140008b70
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x14000358b
nop
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.140006380
cmp rax, 0xffffffffffffffff
je 0x14000351a
test r14b, r14b
jne 0x14000351a
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400034f5
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.140008830
lea rdx, [0x140007160]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r14b, 1
jmp 0x14000354a
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
lea rcx, [rbp + 0xa0]
call fcn.140008830
lea rdx, [0x140007160]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140008b70
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x1400034d0
lea rcx, [rbp - 0x60]
call fcn.140006940
test rax, rax
jne 0x1400035b5
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp + 0xa8]
call fcn.140006940
test rax, rax
jne 0x1400035e8
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
test r14b, r14b
je 0x1400037f1
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400035fe
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rbx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140003611
mov rbx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x40], 0xa9
movdqa xmm0, xmmword [0x140017e70]
pextrw eax, xmm0, 0
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x20]
mov byte [rcx], al
mov byte [rcx + 1], 0
movdqa xmm0, xmmword [0x140017ed0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x140003690
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000369a
lea rcx, [rsp + 0x20]
call fcn.1400076a0
movdqa xmm0, xmmword [0x140017eb0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x1400036da
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400036e4
lea rcx, [rsp + 0x20]
call fcn.1400076a0
movdqa xmm0, xmmword [0x140017ec0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x140003724
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000372f
lea rcx, [rsp + 0x20]
call fcn.1400076a0
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400071a0
cmp qword [rax + 0x18], 0xf
jbe 0x14000374b
mov rax, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140003797
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003792
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003792
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
movdqa xmm0, xmmword [0x140017e50]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140003b2e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x229
movdqa xmm0, xmmword [0x140017e70]
pextrw eax, xmm0, 0
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x20]
mov byte [rcx], al
mov byte [rcx + 1], 0
movdqa xmm0, xmmword [0x140017ed0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x140003870
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000387a
lea rcx, [rsp + 0x20]
call fcn.1400076a0
movdqa xmm0, xmmword [0x140017eb0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x1400038ba
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400038c4
lea rcx, [rsp + 0x20]
call fcn.1400076a0
movdqa xmm0, xmmword [0x140017ec0]
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x140003904
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000390f
lea rcx, [rsp + 0x20]
call fcn.1400076a0
nop
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400071a0
cmp qword [rax + 0x18], 0xf
jbe 0x14000392b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140003974
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000396f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000396f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
movdqa xmm0, xmmword [0x140017e50]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400039c7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqa xmm0, xmmword [0x140017f40]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0xbeb0f5ba
mov word [rsp + 0x34], 0xbcb4
mov byte [rsp + 0x36], 0xf4
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x929
mov edx, 0x17
lea rcx, [rsp + 0x48]
call fcn.140007550
mov r8, rdi
mov qword [rsp + 0x58], rdi
mov rbx, rdi
movabs r14, 0x4ec4ec4ec4ec4ec5
nop word [rax + rax]
mov rax, r14
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
sub dx, 0x2f
movsx eax, byte [rsp + rbx + 0x20]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x60]
cmp r8, rcx
jae 0x140003aa4
lea rax, [r8 + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x48]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x140003aae
lea rcx, [rsp + 0x48]
call fcn.1400076a0
inc rbx
cmp rbx, 0x17
jae 0x140003abe
mov r8, qword [rsp + 0x58]
jmp 0x140003a40
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
mov rcx, rsi
call fcn.140008830
lea rdx, [0x140007160]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140003b2e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
nop
lea rcx, [rbp + 0xa0]
call fcn.140003c80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140003b7a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
lea rcx, [rbp - 0x70]
call fcn.140003bc0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140014330
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret