Function at 0x1802b11ec
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x238
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x248]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x1802b1252
xor al, al
jmp 0x1802b171d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x1802b128e
cmp qword [rsp + 0x58], 0
jne 0x1802b12a0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1802b171d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1802b12fd
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1802b171d
cmp qword [rsp + 0x60], 0x4000
jbe 0x1802b1316
mov qword [rsp + 0x80], 0x4000
jmp 0x1802b1326
mov rax, qword [rsp + 0x60]
dec rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
lea rax, [rax + rcx - 1]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x1802b1371
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x40], rax
jae 0x1802b1388
mov qword [rsp + 0x40], 0
jmp 0x1802b13a2
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1802b13a0
jmp 0x1802b13a2
jmp 0x1802b1364
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x40], 0
je 0x1802b13f5
jmp 0x1802b13c3
mov rax, qword [rsp + 0x48]
dec rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x48], rax
jae 0x1802b13db
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
jmp 0x1802b13f5
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1802b13f3
jmp 0x1802b13f5
jmp 0x1802b13b6
cmp qword [rsp + 0x48], 0
je 0x1802b16fa
cmp qword [rsp + 0x40], 0
je 0x1802b16fa
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x140]
call fcn.180073080
nop
xor r9d, r9d
mov r8b, 0xa
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xb0]
call fcn.1801e89b0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb0]
call fcn.1800742b0
jmp 0x1802b1478
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x68]
call fcn.180076110
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xb0]
call fcn.1800742e0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1800755a0
movzx eax, al
test eax, eax
je 0x1802b16df
lea rcx, [rsp + 0x68]
call fcn.180075530
mov rcx, rax
call fcn.180073860
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1801ed010
nop
lea rcx, [rsp + 0x100]
call fcn.180073860
mov r8d, 3
lea rdx, [0x1803aba04]
mov rcx, rax
call fcn.18017f6dc
test eax, eax
jne 0x1802b16cd
lea rcx, [rsp + 0x1c0]
call fcn.180075ce0
nop
mov r8d, 0x100
lea rdx, [0x1803abab0]
lea rcx, [rsp + 0x180]
call fcn.180076030
nop
lea rcx, [rsp + 0x100]
call fcn.180073860
xor r9d, r9d
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x1c0]
mov rcx, rax
call fcn.1800836c0
movzx eax, al
test eax, eax
je 0x1802b16b1
mov edx, 1
lea rcx, [rsp + 0x1c0]
call fcn.180075d50
mov qword [rsp + 0xa0], rax
mov edx, 1
lea rcx, [rsp + 0x1c0]
call fcn.180075d50
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov edx, 1
lea rcx, [rsp + 0x1c0]
call fcn.180075d50
mov rcx, qword [rsp + 0x90]
mov r8, rcx
mov rdx, qword [rax]
lea rcx, [rsp + 0xd8]
call fcn.180073080
nop
lea rdx, [0x1803abaa0]
lea rcx, [rsp + 0x120]
call fcn.1800730e0
nop
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x240]
call fcn.180074ea0
lea rdx, [rsp + 0xd8]
mov rcx, rax
call fcn.180073380
nop
lea rcx, [rsp + 0x120]
call fcn.180073360
lea rdx, [0x1803abad8]
lea rcx, [rsp + 0x160]
call fcn.1800730e0
nop
lea rcx, [rsp + 0xd8]
call fcn.1802b0c1c
mov r8, rax
lea rdx, [0x1803a8e78]
lea rcx, [rsp + 0x1a0]
call fcn.1801e9200
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x240]
call fcn.180074ea0
mov rdx, qword [rsp + 0xa8]
mov rcx, rax
call fcn.180073190
nop
lea rcx, [rsp + 0x1a0]
call fcn.180073360
nop
lea rcx, [rsp + 0x160]
call fcn.180073360
nop
lea rcx, [rsp + 0xd8]
call fcn.180073360
nop
lea rcx, [rsp + 0x180]
call fcn.1800760c0
nop
lea rcx, [rsp + 0x1c0]
call fcn.180005390
nop
lea rcx, [rsp + 0x100]
call fcn.180073360
jmp 0x1802b1463
lea rcx, [rsp + 0xb0]
call fcn.180074290
nop
lea rcx, [rsp + 0x140]
call fcn.180073360
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x238
ret