Function at 0x140019f98
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbx
sub rsp, 0x40
and qword [rsp + 0x30], 0
mov rax, rdx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov rbx, rcx
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov rcx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rbx + 0x30], rax
cmp rax, 0xffffffffffffffff
jne case.default.0x140019fe4
add rsp, 0x40
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
and qword [rsp + 0x28], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
nop dword [rax + rax]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x140019fdf
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop dword [rax + rax]
mov qword [rbx], rax
test rax, rax
je 0x140019fdf
mov rcx, qword [rbx + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov dword [rbx + 0x18], eax
cmp eax, 0xffffffff
je 0x140019fdf
xor eax, eax
add rsp, 0x40
pop rbx
ret
loopne 0x14005180a
pop rsp
invalid
add dword [rsi], esp
retf
invalid
sbb edx, dword [rax - 0x361e58f]
xor edi, ebp
invalid
invalid
mov eax, 0x941ec033
add byte [rdi - 1], al
por mm2, qword [rcx]
invalid
sub dword [rcx], edi
invalid
out dx, eax
movsd dword [rdi], dword [rsi]
mov esi, 0x9c3df52b
xor al, 0x9d
jae 0x140051861
invalid
mov edx, 0x401c0cc
pop rbp
invalid
jmp 0x13913672b
stc
call qword [rdi - 0x6005fb5d]
mov cl, 0x98
invalid
sbb edi, ebx
cmp cl, byte [rdi - 0x15]
int3
ret
jg 0x140051813
mov edi, 0xc07af0a6
mov ebp, 0x5877de4a
mov al, 0x77
ffree st(3)
std
js 0x14005185c
cmp al, 0xf3
mov edi, 0xc90f6322
pop rsi
fdiv qword [rax - 0x3f070ec]
jbe 0x1400518ef
stosb byte [rdi], al
invalid
invalid
invalid
invalid
push rbx
rcr byte [rbp - 0x4ad93321], cl
clc
add al, 0xbb
jns 0x140051d47
movsd dword [rdi], dword [rsi]
popfq
std
sub al, byte [0x114b06cc1]
invalid
mov cl, 0xd9
nop
mov ebx, 0xe2f02628
invalid
add al, byte [rdi]
sbb dword [rsi + 0xe], ebx
jge 0x140051d94
invalid
scasd eax, dword [rdi]
loopne 0x140051d9c
invalid
adc al, 0x43
cmp ebx, edi
rcr dl, 1
or byte [rcx], dh
stosd dword [rdi], eax
invalid
imul ebp, dword [rbp - 0xa], 0x7bc784
mov ecx, 0x5f205d3d
invalid
add al, 0x25
pop rdi
xchg edi, eax
vmovddup ymm1, ymmword [rbp + 0x1fe75961]
sti
invalid
shr ebp, 1
invalid
adc dl, byte [rsi]
and dil, byte [rsi - 0x6a90d9ad]
mov dh, 0x63
sub byte [rdx], dl
invalid
jns 0x140051e6a
jg 0x140051e73
invalid
adc r13, qword [r8]
push rbx
invalid
cmp byte [rdi], cl
mov dh, 0xce
or eax, 0x3ec3a816
ja 0x140051ecc
cmp al, 0x98
popfq
mov bl, byte [rsi + 0x4b83038b]
adc al, 0x69
fild word [rdi - 0x6a508466]
js 0x140051e84
xor al, byte [rbx*2 + 0x743a76f0]
lahf
jmp 0x1762e4d65
invalid
pop rax
jl 0x140051f2b
xchg edx, eax
invalid
invalid
invalid
invalid
mov bl, 0x24
test al, 0xa6
cmpsb byte [rsi], byte [rdi]
mov word [rbp + 0x3e], fs
loop 0x140051f3e
movsb byte [rdi], byte [rsi]
and al, 0xfb
xchg edi, eax
leave
cwde
mov word [rax - 4], cs
cld
cld
or eax, 0x47d22132
xor dh, byte [rbx - 0x37]
rol byte [rdi + 0x32], cl
jae 0x140051f0c
invalid
invalid
invalid
cld
cdq
shl byte [rdi + riz*8 - 0x41a66831], cl
cmc
out dx, eax
mov dword [rdx], 0x8d0915fa
pop rbp
mov esp, 0xd2212eef
invalid
xlatb
sbb esp, ecx
add al, bh
mov esi, 0xffbef7ff
mul byte [rdi - 0x7e357049]
sbb byte [rbx], dh
and byte [rsi + 0x6252eced], 0xd8
invalid
in eax, dx
jg 0x140052192
xchg dword [rsi], ebp
outsb dx, byte [rsi]
push rcx
invalid
movsd dword [rdi], dword [rsi]
pop rdi
jp 0x1400521f5
std
in al, 0x57
insd dword [rdi], dx
mov bl, 0x93
jmp 0x18d450316
out dx, al
in eax, dx
adc eax, 0xfeda0f0b
push rcx
invalid
je 0x1400521a9
sti
retf 0x4038