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
or ebp, dword [rdi + 0x56]
xchg ebx, eax
invalid
jno 0x140051821
stosd dword [rdi], eax
and ebx, dword [rcx - 0x7c]
xchg ebx, eax
pop rcx
invalid
invalid
movsd dword [rdi], dword [rsi]
xor eax, 0x535e1d6d
invalid
jae 0x1400517e0
push 0x220779d0
leave
lodsd eax, dword [rsi]
and eax, 0xa00ebffb
sub ch, byte [rdx]
xchg ebx, eax
movabs al, byte [0xddccfef9dff99fc1]
sbb eax, ecx
js 0x1400517c4
int3
jmp 0x1548f5962
cmp eax, 0x59148a41
stosd dword [rdi], eax
adc eax, 0x76f18ac6
and dword [rcx - 0x4b], esi
sbb rax, 0xffffffff8f4a3eae
sbb eax, 0x8f4a3eae
sbb eax, 0x8f4a3eae
xchg rbx, rax
mov bh, 0xec
adc byte [rbx - 0x7feff58a], 0x9c
jbe 0x140051848
adc byte [rax - 0x4de54864], al
add dword [rax], eax
sahf
int1
or byte [rsi + 0x5f], al
jbe 0x140051848
adc byte [rax - 0x4de54864], al
add dword [rax], eax
sahf
int1
or byte [rsi + 0x5f], al
invalid
test ebx, ebx
jae 0x1400517fb
jo 0x140051857
pop rbp
mov ah, 0x40
sub al, 0x42
push rdi
invalid
sub ecx, dword [rax - 0x37]
xchg esp, eax
invalid
xchg esi, eax
pop rdx
scasd eax, dword [rdi]
mov edi, 0xd423b18b
jrcxz 0x1400518a9
jg 0x140051887
pushfq
pop rdx
ja 0x1400518b2
pop rdi
invalid
pop rsp
fidivr dword [rdx]
jno 0xc3850e2d
jg 0x140051813
jg 0x140051813
mov edi, 0x777af0a6
push rax
xchg r11, rax
loop 0x1400518f9
push rax
invalid
and bh, byte [rdx - 0x6aa1460a]
insd dword [rdi], dx
in al, dx
stc
or cl, byte [rdi]
mov esi, dword [rcx - 0x79]
add eax, 0xf8b27ca
call 0x1a4e406fd
jmp 0x18020b896
fisub word [rcx + rbp*8 - 0x30]
lahf
sbb eax, dword [rax - 0x4c]
int1
mov ah, 0xf1
rep insd dword [rdi], dx
jb 0x1400518bf
jbe 0x1400518d6
scasd eax, dword [rdi]
mov ah, 0xe
invalid
mov esp, dword [rdi - 0x581afe0]
rol esi, 1
int1
lodsb al, byte [rsi]
pop rbp
in eax, dx
cmp dword [rsi + riz*4 - 0x4f73df2c], eax
cmp dword [rdi], esi
in al, 0xa2
popfq
sahf
cmpsb byte [rsi], byte [rdi]
push rax
cmpsd dword [rsi], dword [rdi]
mov edi, 0xb1bfcd77
std
push rcx
loop 0x140051883
sar bh, 0xd2
rcl dword [rdi + 0x4df03edf], cl
cld
in al, 0xbb
or ecx, ebx
std
jg 0x1400518c6
cmpsb byte [rsi], byte [rdi]
xor cl, byte [rbx]
invalid
invalid
jbe case.0x140019fe4.17
push 0xffffffff9536158e
lahf
or ecx, ebp
int1
invalid
invalid
adc al, 0x43
cmp ebx, edi
clc
pop rbx
int3
movabs al, byte [0x126bd6a2167631a]
adc edx, ebp
add al, 0xc9
pop rsp
out 0x34, eax
and ebp, ecx
pushfq
ret 0x7f6f
sbb edi, dword [rdx - 0x58]
invalid
mov al, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
sahf
lodsb al, byte [rsi]
invalid
invalid
movabs dword [0xf8321be3c4d23527], eax
invalid
sbb esi, dword [rdx]
clc
insb byte [rdi], dx
invalid
pop rdi
int3
jle 0x140051e7b
jnp 0x140051e92
xchg ebp, eax
add eax, 0x5dcf53a3
invalid
xchg esi, eax
invalid
jbe 0x140051f10
sbb ecx, dword ds:[rdi - 0x75]
and byte [rbx - 0x74], bl
movd eax, mm5
jg 0x140051e96
sbb al, byte [rbx - 0x36]
invalid
ret 0x984c
stc
fcom dword ds:[rbp + 0x3f]
invalid
invalid
push 0x53eb75b2
or dword [rdi - 0x52], esi
invalid
invalid
invalid
invalid