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
sbb dword [rax - 0x294747e8], eax
popfq
add dword [rbp + rcx - 0x7496927e], 0x7e
invalid
jle 0x140051793
mov ebx, 0xed4d847a
xchg ebx, eax
fcomp qword [rdx]
ret 0xa6c3
invalid
sti
xchg edi, eax
invalid
or esp, dword [rcx]
or ebp, eax
mov bh, 0x42
pop rbp
outsd dx, dword [rsi]
jle 0x140051832
xor dh, byte [rdi + 5]
lodsb al, byte [rsi]
invalid
invalid
and dword [rsi - 0x45], esp
xchg ecx, eax
loopne 0x1400517b9
or bl, bh
invalid
scasd eax, dword [rdi]
not dword [rdx]
jle 0x1400517a1
jnp 0x140051875
popfq
cld
or dword [rax + rdx*8 - 0x400100], 0x1419f117
mov gs, word [r10 - 0x50]
mov al, 0x8c
test byte [rsi + 0x1b], ah
pop rcx
dec dword [r15]
jmp 0x1400517b0
mov ch, 0x97
invalid
mov dl, 0x81
int1
invalid
invalid
invalid
invalid
push rax
invalid
mov al, 0x8c
test byte [rsi + 0x1b], ah
pop rcx
dec dword [r15]
jmp 0x1400517b0
int1
invalid
jbe 0x1400517bf
adc byte [rsi + 0x6d8e0c15], bl
invalid
out dx, eax
movsd dword [rdi], dword [rsi]
mov esi, 0xa317ad2b
push r11
pop rbp
sub esp, dword [rdx - 0x5f]
invalid
invalid
call qword [rdi - 0x25589fb4]
out 0x52, al
fcom dword [rbp + 0x251cfeef]
retf 0x8b33
invalid
mov esp, dword [rdi]
scasd eax, dword [rdi]
mov edi, 0x1d96b18b
pushfq
add dword [rdx], eax
sub bl, byte [rdx]
invalid
push rsp
invalid
sbb dl, byte [rbp + rax*8 - 0x7c]
mov ch, 0xb3
rcr byte [rdi], cl
enter 0x171f, 0x5f
pop rdi
jbe 0x14005182a
cmc
jg 0x140051813
invalid
xchg ebx, eax
jp 0x1aededb1d
invalid
jrcxz 0x140051dfa
xor dh, ah
invalid
enter 0x19a1, 0xffffffffffffffef
movabs eax, dword [0x918bd21cfe0b9702]
xchg ecx, eax
xchg ecx, eax
mov dh, byte [rsi + rcx*8]
pop rsi
adc al, 0x74
mov bl, 0x8e
or al, 0x13
sti
mov cl, 0x8d
rol dword [0x15e8fbb5c], 0x14
idiv esi
lahf
pop rsp
enter 0x238a, 0xffffffffffffffb6
lodsd eax, dword [rsi]
or ch, dl
cld
invalid
int3
push rsi
mov bl, 0x1a
enter 0x3b60, 0xffffffffffffffe6
adc al, 0x69
ficomp word [rsi + 0x5518838b]
xchg ebx, eax
outsb dx, byte [rsi]
ret 0x6c34
call 0x10a559f07
cvtpi2ps xmm7, mm7
adc byte [rax - 0x36], 0xf
sub bh, bh
sbb ch, byte [rax + rax*8]
jl 0x140051e74
invalid
mov ecx, 0x8bfb9f20
out dx, eax
mov ebx, 0x9e432ce1
cdq
push rbp
push rbp
push rbp
cmpsd dword [rsi], dword [rdi]
hlt
invalid
insb byte [rdi], dx
movabs dword [0xd77fd07978c01f4f], eax
jns 0x140051e6a
jg 0x140051e73
frstor dword [rbp + 0x2d]
add edi, ebp
rcr dword [rdx], cl
jg 0x140051e93
test al, 0xf8
call 0xf941962e
call 0xf941962e
andps xmm6, xmmword [rcx - 0x61]
movabs byte [0x2e6474e6c9289bd5], al
wait
sbb dh, byte [rax + 0x4e]
invalid
push rax
xchg esi, eax
sbb dword [rdx + 0x10a5d78], 0x5e2769ed
cwde
popfq
mov bl, byte [rsi - 0x3292787e]
push rbp
std
jle 0x140051e7b
jnp 0x140051e92
xchg ebp, eax
scasb al, byte [rdi]
insb byte [rdi], dx
loope 0x140051e8a
push 0xffffffffa48cd476
mov dl, 0x75
invalid
xchg edi, eax
adc al, byte [rdx + riz*8 - 0xd2417f4]
ret
mov edi, 0x97adbeb2
invalid
cmpsd dword [rsi], dword [rdi]
call 0x143519520
stosd dword [rdi], eax
invalid
invalid
push rbx
push rsi
imul edi, dword [rcx + 0x51724174], 0x7b
cwde
wait
stosd dword [rdi], eax
invalid
invalid
test byte [rsi - 0x6d], ah
invalid
cmpsb byte [rsi], byte [rdi]
loopne 0x140051f5e
call rbx
jmp 0x140051f65
shr ebx, cl
add edx, dword [rbx + 0x2ccdaf0f]
int 0x2c
sub al, 0xd0
jg 0x140051fe1
cmpsd dword [rsi], dword [rdi]
jrcxz 0x140051f20
movabs byte [0x6eeab32fccefde1c], al
invalid
sbb dword [rcx + riz*2 - 0x6d80a6c1], ebp
add al, 0x1c
sbb ah, byte [rbp - 0x91962b6]
in eax, dx
sar ah, 0xaf
cmp bl, byte [rax + 0x1c3de4c]
clc
ror dword [rax + rsi*8], 0x96
pop rcx
mov ebx, 0xd800f67f
pop rcx
insd dword [rdi], dx
sub edi, dword [rdi - 0x12]
clc
invalid
and ebp, dword [rbp - 0x17]
hlt
jbe 0x1400520a0
inc ah
fisub dword [rcx - 0x56]
mov ebx, dword [rbx - 0x56bb7b8f]
invalid
cld
xchg esi, eax
invalid
push rbx
add eax, 0xb0221dce
invalid