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
pop rcx
cmp cl, byte [rbx + rdi]
jae 0x14005182d
and ecx, ebx
invalid
sar byte [rdi + 0x20f72508], 1
fild word [r11 + 0x701cf3be]
jo 0x140051834
ret
invalid
jo 0x140051834
ret
and al, 0xaa
mov bh, 0x1e
mov bl, 0x39
xchg byte [rcx], dh
loope 0x140051842
sbb al, 0xf0
lodsd eax, dword [rsi]
add eax, 0x98804a6a
jge 0x14005189f
jge 0x14005189f
outsb dx, byte [rsi]
dec dword [rsi + rbp*4 + 0x6b]
in al, dx
mov dl, 0x8b
invalid
mov edx, 0xadf3e968
invalid
movabs dword [0x375f48f19e000145], eax
jbe 0x14005188a
xchg edi, eax
mov al, 0x4d
cmp eax, 0x425ce58d
retf 0xf787
call qword [rdi + 0x506de7c5]
or eax, 0xcbe76c30
cdq
xor eax, 0xfb943029
sti
sti
pop rbp
scasd eax, dword [rdi]
mov edi, 0x545ab18b
or dword [rbp - 0x41], ebp
cmc
outsd dx, dword [rsi]
hlt
mov ecx, 0x885bcb76
invalid
mov byte [rdi + 0x304addd3], cl
test al, 0xd4
invalid
invalid
invalid
mov r10d, 0x138fa473
push 0xffffffffffffffb8
jbe 0x140051e55
loope 0x140051d69
stosb byte [rdi], al
or dword [rbp + 0xa], ebx
test dword [rbp + 0x3f], ebp
movsb byte [rdi], byte [rsi]
rcr dword [rdx - 0x76], 0x3a
sar byte [rcx], 0xe9
mov word [rcx], ds
add byte [rbp + 0x3937bcd0], ah
sub ah, byte [rax + riz*4 + 0xc579206]
and dword [rdi - 0x4dd60a6b], esi
mov dl, 0x6e
outsb dx, byte [rsi]
invalid
cmp ch, byte [rax]
xchg edx, eax
add dword [rbx], 0xffffffd6
sbb ch, byte [rbp + rbx*4 + 0x3b]
mov bh, 5
movsb byte [rdi], byte [rsi]
jge 0x140051df9
mov edx, 0xbd93fbdf
movabs byte [0x232f8b1fdb6d9699], al
sbb ch, byte [rdi - 0x37]
pop rsp
out 0x92, eax
invalid
jmp 0x1b61beccc
fst dword [rcx + 0x34]
out dx, al
invalid
imul eax, edx, 0xa0ac5e1f
jp 0x140051e05
push rsi
test byte [rdi - 0x26e728e2], ch
jbe 0x140051e51
mov eax, 0xbb414997
cmp byte [r14 + 0x7e922193], dl
xchg esi, eax
xchg ebx, eax
invalid
xchg edx, eax
jle 0x140051e16
xchg esi, eax
xchg ebx, eax
and dword [rdx - 0x35897182], edx
invalid
invalid
leave
invalid
cmc
ficomp word [rdx - 0x416a5085]
clc
rol dword [rcx + 0xe], 1
pop rax
movabs eax, dword [0xed687e8c5e69b836]
in eax, dx
in eax, dx
invalid
pop rbx
or byte [rax], ah
fcom dword [rdi + 0x52b37a8f]
mov word [rcx - 0x18], es
in al, 0x80
sub eax, 0x6608b85c
cmp dword [rdx - 0x3697d77b], 0x959ec6a6
invalid
test eax, 0x579b4e82
push 0x2a8f366b
adc eax, 0x642b2201
invalid
invalid
adc edi, dword [rdi - 0x1c]
fstp xword [rbx - 0x53]
in eax, 0x5f
invalid
and byte [rbx], cl
xor dh, cl
movsd dword [rdi], dword [rsi]
test byte [rdi + 0x6b491c76], ah
xchg edx, eax
invalid
mov edx, 0x8b22bd17
invalid
or eax, 0xa7a3d7d
invalid
lodsb al, byte [rsi]
add al, 0x93
or byte [rsi - 0x3fe0d5dd], al
invalid