Function at 0x1401904e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7f70]
mov eax, 0x8070
call fcn.1401d2b30
sub rsp, rax
mov rax, qword [0x14025e2c0]
xor rax, rsp
mov qword [rbp + 0x7f60], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov dl, 0x5b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400412a0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14019053b
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000f490
lea rdx, str.__Failed_to_load
mov rcx, rax
call fcn.14000d520
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140190562
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14000f490
lea rdx, [0x1401f85d8]
mov rcx, rax
call fcn.14000d520
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.pugixml.dll_public:_char_const____ptr64___cdecl_pugi::xml_parse_result::description_void_const___ptr64]
mov rdx, rax
mov rcx, rbx
call fcn.14000d520
lea rdx, [0x14000b3f0]
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]
cmp qword [rdi + 0x18], 0xf
jbe 0x1401905ae
mov rdi, qword [rdi]
lea rdx, [0x1402159ec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1401907fe
mov r12d, 1
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], setsockopt
mov byte [rsp + 0x38], dil
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x30], rcx
mov ebx, edi
mov qword [rsp + 0x20], rbx
mov r9, rax
mov edx, 1
mov r8d, 0x8000
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r15, rax
mov rsi, rdi
mov r14, rdi
test rax, rax
je 0x1401906ca
lea r13, [rsp + 0x60]
sub r13, qword [rsp + 0x20]
nop word [rax + rax]
movzx r9d, byte [rbx + r13]
cmp r9b, 0xa
jne 0x140190677
mov rax, qword [rsp + 0x30]
cmp rbx, rax
jae 0x1401906e5
inc r12d
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax], 0
jmp 0x1401906b3
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x1401906a9
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1401906b3
lea rcx, [rsp + 0x38]
call fcn.14000d8a0
inc rsi
inc rbx
mov r14, rdi
cmp rsi, r15
jb 0x140190640
mov rbx, qword [rsp + 0x20]
add rbx, r15
mov qword [rsp + 0x20], rbx
cmp r15, 0x8000
jne 0x1401906f5
mov rax, qword [rsp + 0x28]
jmp 0x140190601
mov r14, qword [rsp + 0x48]
sub r14, rsi
sub r14, qword [rsp + 0x20]
add r14, rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rdx, str.Line
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d520
mov edx, r12d
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___unsigned_int____ptr64]
mov rcx, rax
mov dl, 0x3a
call fcn.1400412a0
lea rdx, [0x14000b3f0]
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]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000f490
lea rdx, [0x14000b3f0]
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]
test r14, r14
je 0x14019079f
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rax, qword [rsp + 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp byte [rax + rdi], 9
mov dl, 9
je 0x140190792
mov dl, 0x20
call fcn.1400412a0
inc rdi
cmp rdi, r14
jb 0x140190770
mov dl, 0x5e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400412a0
lea rdx, [0x14000b3f0]
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 + 0x50]
cmp rdx, 0xf
jbe 0x1401907fe
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401907f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401907f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d177c
mov rcx, qword [rbp + 0x7f60]
xor rcx, rsp
call fcn.1401d1730
mov rbx, qword [rsp + 0x80c8]
add rsp, 0x8070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret