Function at 0x18001c800
Capabilities:
Read file on windows

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 - 0x48]
sub rsp, 0x120
mov rax, qword [0x18002c008]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor ebx, ebx
lea rdx, [0x180020300]
xorps xmm0, xmm0
mov qword [rbp - 0x58], rdx
mov r14, rcx
mov qword [rbp - 0x80], rdx
xor ecx, ecx
mov qword [rbp - 0x20], rbx
lea rax, sym.ulib.dll_const_DSTRING::vftable
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp]
mov rax, qword [0x18002c868]
xor r8d, r8d
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x28], rax
mov edx, 0x20e08
mov rax, qword [0x18002c748]
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x50], rax
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [0x1800229c8]
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x10], rbx
mov dword [rbp - 8], ebx
mov dword [rbp - 0x48], ebx
mov dword [rbp - 0x70], ebx
movdqu xmmword [rbp], xmm0
call qword [sym.imp.ntdll.dll_WinSqmStartSession]
nop dword [rax + rax]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x18001ca65
lea rcx, [rbp - 0x58]
call fcn.18000ad80
lea esi, [rbx + 0x10]
xor r8d, r8d
mov edx, esi
lea rcx, [rbp - 0x58]
call sym.ulib.dll_public_virtual:_void____ptr64___cdecl_HMEM::Acquire_unsigned_long_int__unsigned_long_int____ptr64
test rax, rax
je 0x18001ca56
mov rdi, qword [rbp - 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
nop dword [rax + rax]
test eax, eax
js 0x18001ca56
cmp dword [rsp + 0x70], esi
jne 0x18001ca56
movabs rax, 0x1957195819881989
cmp qword [rdi], rax
jne 0x18001ca56
cmp dword [rdi + 0xc], ebx
je 0x18001ca56
mov edi, dword [rdi + 8]
cmp edi, esi
jbe 0x18001ca56
xor r8d, r8d
lea rcx, [rbp - 0x58]
mov edx, edi
call sym.ulib.dll_public:_unsigned_char___cdecl_HMEM::Resize_unsigned_long_int__unsigned_long_int____ptr64
test al, al
je 0x18001ca56
mov rsi, qword [rbp - 0x38]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
nop dword [rax + rax]
test eax, eax
js 0x18001ca56
cmp dword [rsp + 0x70], edi
jne 0x18001ca56
lea r15, [rsi + rdi]
lea rdi, [rsi + 0x10]
jmp 0x18001cbab
mov eax, dword [rdi + 4]
lea rsi, [rdi + 0x10]
movzx r12d, word [rdi + 8]
add rax, rdi
mov dword [rsp + 0x54], r12d
mov qword [rsp + 0x78], rax
cmp rax, r15
ja 0x18001ca56
lea rcx, [rbp - 0x80]
call fcn.18000ad80
mov dword [rsp + 0x50], ebx
lea r14, [rdi + 0xa]
test r12d, r12d
je 0x18001cb7d
mov r12, r14
cmp rsi, r15
jae 0x18001ca56
movzx ecx, byte [rsi]
sub ecx, 1
je 0x18001cafd
sub ecx, 1
je 0x18001caca
cmp ecx, 1
jne 0x18001ca56
cmp dword [rsi + 8], 8
jne 0x18001ca56
mov r8, qword [rsi + 0x10]
mov qword [rsp + 0x58], r8
cmp byte [rdi + 0xa], bl
je 0x18001cab0
lea edx, [rcx + 2]
lea rcx, [rbp - 0x80]
lea r8, [rsp + 0x58]
call fcn.18001cbd0
test al, al
jne 0x18001cac1
mov rcx, r13
call qword [sym.imp.ntdll.dll_WinSqmEndSession]
nop dword [rax + rax]
lea rcx, [rbp - 0x80]
call sym.ulib.dll_public_virtual:_void___cdecl_HMEM::destructor_void____ptr64
lea rcx, [rbp - 0x58]
call sym.ulib.dll_public_virtual:_void___cdecl_HMEM::destructor_void____ptr64
lea rcx, [rbp - 0x30]
call sym.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64
mov al, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.18000d460
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, dword [rdi]
mov rcx, r13
call qword [sym.imp.ntdll.dll_WinSqmSetDWORD64]
nop dword [rax + rax]
lea r14, [rdi + 0xa]
jmp 0x18001cb5f
cmp dword [rsi + 8], 4
jne 0x18001ca56
mov r8d, dword [rsi + 0x10]
mov dword [rsp + 0x58], r8d
cmp byte [r14], bl
je 0x18001caea
lea r8, [rsp + 0x58]
mov edx, 1
jmp 0x18001cb3b
mov edx, dword [rdi]
mov rcx, r13
call qword [sym.imp.ntdll.dll_WinSqmSetDWORD]
nop dword [rax + rax]
jmp 0x18001cb5f
mov r8d, dword [rsi + 8]
cmp r8d, dword [rsi + 4]
jae 0x18001ca56
shr r8d, 1
lea rdx, [rsi + 0x10]
lea rcx, [rbp - 0x30]
call sym.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Initialize_unsigned_short_int_const____ptr64__unsigned_long_int____ptr64
test al, al
je 0x18001ca56
mov r8, qword [rbp - 0x20]
mov qword [rsp + 0x58], r8
cmp byte [r14], bl
je 0x18001cb4e
lea r8, [rsp + 0x58]
mov edx, 2
lea rcx, [rbp - 0x80]
call fcn.18001cbd0
test al, al
je 0x18001ca56
jmp 0x18001cb5f
mov edx, dword [rdi]
mov rcx, r13
call qword [sym.imp.ntdll.dll_WinSqmSetString]
nop dword [rax + rax]
mov eax, dword [rsi + 4]
mov ecx, dword [rsp + 0x50]
add rsi, rax
mov eax, dword [rsp + 0x54]
inc ecx
mov dword [rsp + 0x50], ecx
cmp ecx, eax
jb 0x18001ca0b
jmp 0x18001cb84
mov eax, dword [rsp + 0x54]
mov r12, r14
cmp byte [r12], bl
je 0x18001cba6
mov r9, qword [rbp - 0x60]
mov r8d, eax
mov edx, dword [rdi]
mov rcx, r13
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntdll.dll_WinSqmAddToStreamEx]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x78]
cmp rdi, r15
jb 0x18001c9d3
mov rcx, r13
call qword [sym.imp.ntdll.dll_WinSqmEndSession]
nop dword [rax + rax]
mov bl, 1
jmp 0x18001ca65