Function at 0x14011a140
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401d3e48]
mov qword [rsp + 0x50], rax
lea rcx, [rbp]
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 + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
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 [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rdi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
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_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x60], rax
mov byte [rbp - 0x24], bl
mov byte [rbp - 0x2f], bl
lea rcx, [rsp + 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], rbx
mov rax, qword [0x140248108]
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x38], rbx
lea r9d, [rbx + 0x40]
lea r8d, [rbx + 1]
lea rdx, str.C:UsersPublicAJ_Stuffld
lea rcx, [rsp + 0x60]
call fcn.1400e5930
test rax, rax
jne 0x14011a252
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
lea edx, [rbx + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
cmp qword [rbp - 0x20], 0
je 0x14011a31c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
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 + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400f3270
lea rcx, [rsp + 0x60]
call fcn.1400e5870
test rax, rax
jne 0x14011a2d1
mov rax, qword [rsp + 0x50]
movsxd r8, dword [rax + 4]
lea rcx, [rsp + 0x50]
add rcx, r8
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, str.C:UsersPublicAJ_Stuffld
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
cmp r8, 2
jne 0x14011a30e
lea rdx, [0x1401d7224]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14011a30e
mov bl, 1
jmp 0x14011a310
xor bl, bl
lea rcx, [rsp + 0x30]
call fcn.140008300
jmp 0x14011a31e
xor bl, bl
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x50], rdi
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x4c], r8d
lea rcx, [rsp + 0x60]
call fcn.1400e2da0
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140183920
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret