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
push rcx
invalid
or cl, ah
cli
xor ebp, dword [rdx]
in eax, dx
sal byte [rsp + rsi*4 - 0x67c214e1], 1
mov ah, 0x1f
jmp 0x140051829
cwde
sbb bl, byte [rsi + 0x83df28e]
mov dl, 1
retf
mov ah, 0x1f
jmp 0x140051829
jg 0x1400517e0
retf
xchg ebp, eax
sub dh, byte [rax - 0x290f1a85]
mov edi, 0xbd937ff9
xor eax, 0xdc856a63
in eax, dx
fnstcw word [rax - 0x60]
xor ah, byte [rax + 0x54]
pop rax
or dh, byte [rdi - 0x14c64ce2]
cmp eax, 0xb58b4737
xchg edi, eax
invalid
imul ebx, dword [rdi + 1], 0xffffffff
cmp byte [rdx], ah
pop rbx
dec dword [rsi + rbp*4 + 0x6b]
call qword [rdi]
jle 0x1400517d2
xchg edx, eax
xor eax, dword [rcx]
push rcx
out dx, eax
movsd dword [rdi], dword [rsi]
mov esi, 0x52d55f2b
mov byte [rcx], al
add byte [rsi - 0x8edb70f], bl
invalid
cmpsd dword [rsi], dword [rdi]
xchg ebx, eax
jb 0x140051873
invalid
pop rcx
lodsd eax, dword [rsi]
in eax, 0xf7
adc edx, dword [rsi]
mov cl, 0x98
invalid
call 0x107516bc0
mov edi, 0x99fd607
sub al, 0xa8
push r11
invalid
mov esp, esi
push rdi
invalid
neg dword [rdi + rdi*4]
cmpsb byte [rsi], byte [rdi]
invalid
imul esp, dword [rsi - 0x10c640c4], 0x5474578e
test al, 0xe5
test ch, bh
xchg ecx, eax
add dword [rdi + 0x2a], esp
mov rbx, qword [rbp + 0x56519f8a]
movabs rdi, 0xe78b127a60461996
sbb bl, ch
jl 0x140051dbd
invalid
fcmovu st(0), st(2)
xor ah, byte [rdi - 0x5b]
adc dword [rdi + 0x24cdfdc], ebx
lahf
invalid
fisttp word [rdx + rax + 0x2a]
invalid
or ebx, dword [rbx + 0x51]
rol byte [rsi + rsi], 1
and al, 0xfa
add al, 0xfb
add dil, r11b
pop rbx
xchg edi, eax
or edi, esi
sbb al, 0x8e
sbb eax, 0xea4d683d
cmp eax, 0xf6ea4d68
and eax, 0x43763dab
lahf
invalid
cmp eax, 0xf6ea4d68
and eax, 0x43763dab
or dword [rdi + 0x7411fd8e], edx
invalid
cld
mov ebp, 0x6860cd5f
xchg dword [rbx], eax
out dx, eax
pop rdi
xor al, 1
invalid
invalid
add dword [rbx - 0x2b], eax
sbb eax, esi
jp 0x140051dda
fild qword [rbx - 0x8a1abea]
rcl byte [rcx], 0x46
pop rsi
cmp byte [rbp - 0x71a26634], cl
int3
cdq
pop rbp
mov gs, word [rbp - 0x25]
invalid
mov edi, dword [rcx - 0x36fcb1fd]
pop rsp
out 0xa7, eax
cmp byte [rcx - 0x1f4ec22f], ch
cmp eax, 0x1886e0b1
int3
cmp eax, 0x1886e0b1
lahf
sub dh, byte [rax + 0x4e]
jl 0x140051e19
sub dword [rdi], esi
rcl r13, 1
mov ebp, 0xe3f51bad
xchg edi, eax
add al, 0x9e
rcr byte [rdi - 0x19], cl
bnd jp 0x140051ee8
bnd jp 0x140051ee8
movsd dword [rdi], dword [rsi]
jge 0x140051e69
push rcx
pop rdi
jmp qword [rsi + 0x6f]
adc dl, byte [rsi]
cmp al, 0xe3
and eax, 0x4103bb97
adc al, byte [rbp - 0x11]
sub dl, bh
jrcxz 0x140051ef1
outsb dx, byte [rsi]
invalid
ret
jp 0x140051f27
sti
xchg ebp, eax
imul rdx, rcx, 0xffffffff895f6bf7
fistp word [rbp + 0x5d1f76de]
invalid
xlatb
jnp 0x140051f2a
or ecx, dword [rdi - 0x31]
push rbp
mov esi, 0x10ed9f9f
insb byte [rdi], dx
invalid
in al, dx
mov esi, dword [rdi - 0x384a1c]
invalid
pop rbp
invalid
jle 0x140051f46
push rbx
pop rax
enter 0x5c56, 0x7c
mov ebp, 0xd44dd15d
int3
invalid
invalid
xor byte [0xe5829025], bh
cmp eax, 0xa57d70f8
jo 0x140051fa9
movsd dword [rdi], dword [rsi]
mov edi, 0x2ad046f1
shr byte [rdx], 1
or al, 0x6b
sal dword [rdx - 0x4bfbb5e9], 1
or bl, dh
jp 0x140051f2a
wait
mov bl, 0xb3
invalid
mov bl, 0x38
sahf
invalid
cmp byte [rsi - 0x688be09d], bl
xchg edi, eax
jl 0x140051f30
fidivr dword [rbp + 0xb]
fcomp qword [rax - 0x3d]
fild word [rbx - 0x30f66525]
popfq
jle 0x140051fa1
adc rax, qword [r10]
in eax, dx
add ecx, esp
mov ebx, 0x767fd06d
cmpsd dword [rsi], dword [rdi]
pop rbp
sub al, 0xa8
rol dword [rdi + 0x5ede3b82], 0xd
ficomp word [rsi + 0xd]
jge 0x140051f47
in eax, 0x78
xor dword [rbx - 0x1b], 0xb026c452
and bh, byte [rsi - 0x6fde8eae]
mov cs, word [rax - 0x10]
imul esi, dword [rdi], 0x4ce2dead
lahf
sahf
jl 0x140051f74
in eax, 0x52
invalid
invalid
movabs byte [0xdc6458d4d6a77224], al
ja 0x140051f80
fdiv qword [rdi - 0x2c]
movabs dword [0x2578e0aef051eda3], eax
adc eax, 0xf49a16a7
xchg edi, eax
lodsd eax, dword [rsi]
and dl, byte [rbp - 0x55]
test byte [rcx - 0x69], ah
pop rbx
push 0x184f51b4
insb byte [rdi], dx
invalid
pop rcx
mov esi, dword [rdi]
xor eax, 0x6e87fbcf
movabs dword [0xc2079a737c289816], eax
hlt
jbe 0x1400520a0
inc ah
leave
add dword [ecx - 0xace1bf0], 0xffffffca
iretd
int1
stc
fdivrp st(0)
pop rcx
xor dword [rax + 0x21211e67], esi
movabs dword [0x2b3395cdbaf3bf6f], eax
in eax, dx
in al, dx
push rdx
invalid
mov esi, 0x2d333c1f
xor dword [rdi + rdi*2 + 0x284f4be2], edx
movabs byte [0xd72967ee6d465270], al
cmpsd dword es:[rsi], dword [rdi]
js 0x140052184
jmp [rbx + 0x67af418b]
stosd dword [rdi], eax
mov eax, dword [rcx - 0x51]
adc ebp, dword [ebx + eax + 0x10e84223]
retf