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
cmpsb byte [rsi], byte [rdi]
mov ecx, 0x1a984e8f
sahf
mov ds, edi
adc eax, 0xc8f5931e
fist word [0x108faab14]
mov bh, 0xb0
invalid
xchg edi, eax
invalid
push rsi
mov dil, 0x1e
mov bl, 0x39
jne 0x1400517f0
int3
jb case.0x140019fe4.26
push rax
idiv edi
invalid
rol cl, cl
mov cl, 0xda
lodsd eax, dword [rsi]
invalid
push rdx
sub eax, 0xb4ac986f
fidiv dword [rdi]
pop rsp
cmp dh, byte [rax + 0x3a]
mov dl, 0x10
mov bpl, 0xc0
add r11b, r10b
adc dword [rbp + rdx*8 + 0x35], esi
jae 0x1400518dd
jne 0x140051886
invalid
adc byte [rcx - 0x6a], bl
add dh, byte [rsi]
pop rsp
mov al, 0x81
test dword [rcx - 0x14a60b09], ebx
pop rcx
jmp case.0x140019fe4.22
loopne 0x140051840
mov bh, 0x44
invalid
invalid
pop rcx
jmp case.0x140019fe4.22
cmp r15b, r11b
cmp bh, bl
sbb byte [r8], bpl
sub dword [r10], esp
invalid
mov al, 0xbf
cmpsb byte [rsi], byte [rdi]
invalid
and dh, byte [rax + 0x7af0a6bf]
adc dword [rsi - 5], edi
cmp eax, dword [rcx + 0x73aa4ef7]
xlatb
xor r11b, bpl
scasb al, byte [rdi]
xchg ch, bl
fisttp word [rdi + 0x41]
movabs byte [0x8e3377ad619afc3], al
jne 0x140051887
xor byte [rax], 0x36
push rsp
mov esp, 0x62e0ac05
pop rcx
xchg esi, ebp
pop rsp
insb byte [rdi], dx
adc eax, 0x305ef101
cmpsb byte [rsi], byte [rdi]
xchg edi, eax
rep insd dword [rdi], dx
jb 0x1400518bf
xor al, 0x93
loopne 0x1400518a1
sbb al, cl
or eax, 0x8544970e
pop rdi
stc
pop rax
invalid
jnp 0x14005192b
xchg ebp, eax
outsb dx, byte [rsi]
imul edx, edx, 0x74
mov dword [rdx - 0x6577415b], ecx
invalid
invalid
invalid
cmp dword [rbx - 0xb], 0xf3f2100
fisttp qword [0x115f9fd4a]
mov eax, 0xf0d4d379
movabs dword [0xcb42ec623513f5c7], eax
push rsi
cmp dword [rcx], edi
cmp byte [rdx - 0x6b], 0xdb
add dword [rbp + 0x4f], 0x82d0da43
xor al, 0xbe
in eax, 0xeb
call 0x179ad2c60
mov bh, 0x37
invalid
adc al, 0x43
cmp ebx, edi
jl 0x140051e91
adc bl, ah
push rax
out dx, al
sal dword [rcx + 0x4272d81a], cl
invalid
sub esi, dword [0x10fdc7d77]
mov esp, 0xcb55a25e
adc cl, cl
pop rsp
out 0xda, eax
in al, dx
shr byte [rbp + 0x16], 1
invalid
invalid
invalid
mov cl, 0x3a
cli
fdiv qword [rsp + rdx*2 - 0x3806b8b6]
xchg edi, eax
invalid
adc dl, byte [rsi]
lodsd eax, dword [rsi]
lodsd eax, dword [rsi]
invalid
xor dword [rax - 0x666740b0], 0x1e
invalid
fdivr qword [rax]
xlatb
jnp 0x140051eb2
mov edi, 0x4688fce3
sub al, 0x27
cwde
popfq
mov bl, byte [rsi - 0xd1c85fa]
mov edx, 0x9101866f
xchg byte [rcx], al
xchg ecx, eax
xchg byte [rcx], al
xchg ecx, eax
xchg ebx, eax
adc al, 0x75
clc
mov eax, 0x819008b8
lahf
out dx, eax
xor dword [rbx + 0x1b], edi
mov bh, 0xde
rcr dword [rbx], 0x24
sbb esp, dword [rax + rdx*4]
sbb esp, dword [rax + rdx*4]
imul edx, dword [rbx], 0xffffffea
mov ebp, 0x484dd15d
cmc
out 0x85, al
push rcx
jb 0x140051f25
add al, 0x51
test esp, eax
sbb eax, 0xd6097a31
lahf
mov esi, 0xa534757a
movsd dword [rdi], dword [rsi]
movsd dword [rdi], dword [rsi]
mov dl, 0x99
outsb dx, byte [rsi]
movabs dword [0xd6e1939e4b16ab12], eax
call 0x146f9e406
in eax, 0xfe
rol ch, 0x13
invalid
xchg ebp, eax
invalid
inc al
invalid
adc edx, dword [rbp - 0x3a37ab32]
xor bl, byte [rdx + 0x61]
or dl, dh
cmp ch, ah
mov ebp, ss
ret 0x66bf
mov bh, 0xa1
fidivr word [rbx + 0x1ba1de35]
jmp 0x118855630
invalid
pop rdx
mov edi, 0x3f22c03d
xchg ecx, eax
add al, 0x13
invalid
invalid
mov esp, 0xdad37df1
or eax, 0x3b9dc56a
loopne 0x140052160
pop rdx
std
invalid
xchg rsp, rax
nop
invalid
xchg dword [rax + rcx], ebp
invalid