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
ret 0x25b7
jne 0x1400517c7
test al, 0x2b
imul ecx, esp, 0xf2be0dec
fmulp st(6)
or eax, 0xcedef2be
pop rdx
int1
push rdx
jl 0x1400517a5
jge 0x140051780
push rcx
insd dword [rdi], dx
sbb al, bh
or edi, edi
std
pop rdi
xchg edi, eax
sbb al, 0xeb
test byte [rbx], ah
stc
jbe 0x140051751
invalid
movsd dword [rdi], dword [rsi]
invalid
push rdx
cmpsb byte [rsi], byte [rdi]
invalid
dec esp
std
mov edx, 0xc7b204a8
mov edi, 0xc74d4df6
fdivr dword [rbx + 0x24]
sbb eax, 0x5c4b8bf7
add edi, dword [rbx - 0x71]
jnp 0x140051779
jnp 0x140051779
sub esp, dword [rbp - 0x7161e568]
adc bl, byte [rbx + 0x198d5e14]
out 0xc9, eax
out 0xd2, al
fild word [r11 - 0x71eeb642]
invalid
cmp dh, byte [rax + 0x79f0e57b]
jp 0x140051808
invalid
jns 0x140051884
std
loop case.0x140019fe4.0
sbb bl, byte [rsi - 0x23b1e004]
std
rcr dword [rdi + 0x449adff9], 0x96
xchg esi, eax
xchg esi, eax
imul edi, esp, 0x93be5add
mov edi, 0x1c2e8086
invalid
dec dword [rsi + rbp*4 + 0x6b]
call qword [rdi]
jle 0x1400517d2
sub al, 0xac
invalid
mov ebx, dword [rsi]
out dx, al
invalid
imul dword [rax - 6]
insb byte [rdi], dx
clc
adc al, 0x38
and cl, byte [rax + 0x5f]
invalid
mov al, 0x4d
sbb ah, dl
invalid
cmp dword [rcx], 0xffffffef
cmp ebp, ebp
invalid
and dword [0xf190d828], 0xffffff8a
mov bl, 0x16
xchg ebp, eax
xor eax, 0xcd297f19
jg 0x1400518a9
int 0xe0
invalid
jg 0x1400518a9
int 0xe0
mov ebp, 0x3b6f68b7
and al, 0x4d
mov bh, 0x68
outsd dx, dword [rsi]
push 0x4d243b6f
cmp esp, dword [rcx*2 - 0x3463ae15]
sub bh, byte [rbx]
cmp edx, dword [rsi + 0x7a]
hlt
jmp 0x1400518dc
cmp edx, dword [rsi + 0x7a]
hlt
adc rax, 0xffffffffec01e1d2
mov ebx, 0x7e03feb0
xchg edx, eax
pop rbx
ror byte [0x18fe43a14], 1
movabs byte [0xad3eb0b8ccda9ab5], al
invalid
invalid
pushfq
mov esi, 0xcd9a990d
cwde
fisttp qword [rsi]
invalid
jns 0x1400518ca
rcr byte [rdi], cl
invalid
cwde
invalid
and eax, ecx
retf 0x86c3
imul edi, dword [rbx], 0xffffffca
mov dl, 6
sbb dword [rbx - 0x68f6c061], esp
invalid
adc al, 0x43
cmp ebx, edi
invalid
not byte [rsi - 0x60]
sub byte [rbx], dl
lodsb al, byte [rsi]
mov esi, 0xd868ef1b
bswap ecx
pop rsp
out 0xd0, eax
add byte [0x10e81081c], dh
invalid
jnp 0x140051e1d
invalid
jmp 0x1a01beccc
retf
leave
test ch, dl
or al, byte [rsi + 0x5e]
invalid
jbe 0x140051ed4
sbb dword [rbx], esp
pop rdi
out dx, eax
sub esi, dword [rdx + 0x41]
add ch, dl
in eax, 0xec
pop rbp
jmp 0x11e026175
std
invalid
invalid
jmp 0xdd2ddbee
retf
stc
jmp 0x140051f26
loop 0x140051f4d
fld qword [rbx]
fcmove st(0), st(7)
invalid
mov al, 0xc3
je 0x140051f76
ret
sahf
invalid
clc
scasd eax, dword [rdi]
fist word [rbx + 0x4e]
mov ch, 0x17
test al, 0xf9
movabs r15, 0xbafb873eaf658a4a
invalid
xor edi, eax
xor edi, eax
clc
invalid
lea ebx, [rdi + 0x26]
sub eax, 0xf944534f
fild qword [rbp + 0x7fd03ea8]
jbe 0x140051f13
hlt
fnstenv [rsi + 0x35b0b4b9]
popfq
loop 0x140051ff9
out dx, al
invalid
mov edx, 0xf7fdb478
out 0x7b, eax
paddq mm2, mm7
int 0xea
outsb dx, byte [rsi]
neg byte [rsi + 0x75]
mul dword [rcx + 0x3d4e7bee]
invalid
cwde
push 0x3037e433
mov ch, 8
jmp 0x15962a04b
int1
stc
fdivrp st(0)
cwde
push rbx
or edx, dword [rdx]
enter 0x2da0, 0x23
cmc
jmp 0x1744e5c64
call qword [rcx + 0x7a]
and esi, dword [rdi - 0xe]
and dword [rdi], esi
fisttp dword [rdx + rdx]
sbb cl, byte [rax]
cld
invalid