Function at 0x1800011e0
Capabilities:
Get file size
Query environment variable
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x18001b018]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov qword [rsp + 0x50], rcx
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x410
call fcn.1800064a0
cmp dword [0x18001cbc0], 0
lea rax, str._SystemRoot__sysnative_ntdll.dll
lea rcx, str._SystemRoot__system32_ntdll.dll
mov r8d, 0x104
cmovne rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r14d, r14d
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 5]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800015a5
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
lea r8d, [r14 + 2]
mov rcx, rbx
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov rcx, rax
lea edx, [r14 + 4]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov r9d, r14d
movsxd rcx, dword [rax + 0x3c]
lea r15, [rax + 0x108]
add r15, rcx
mov rdx, r15
movzx ebx, word [rcx + rax + 6]
mov r10d, dword [rcx + rax + 0x88]
test ebx, ebx
je 0x180001399
nop dword [rax]
mov r8d, dword [rdx + 0xc]
cmp r10d, r8d
jb 0x180001314
mov ecx, dword [rdx + 0x10]
add ecx, r8d
cmp r10d, ecx
jb 0x180001352
inc r9d
add rdx, 0x28
cmp r9d, ebx
jb 0x180001300
mov r10d, dword [rax + 0x1c]
mov rdx, r15
mov r11, rsi
mov rdi, rsi
mov r8d, r14d
mov r9d, dword [rdx + 0xc]
cmp r10d, r9d
jb 0x180001344
mov ecx, dword [rdx + 0x10]
add ecx, r9d
cmp r10d, ecx
jb 0x180001377
inc r8d
add rdx, 0x28
cmp r8d, ebx
jb 0x180001330
jmp 0x18000139f
mov eax, dword [rdx + 0x14]
mov rdx, r15
sub eax, r8d
add eax, r10d
cmp eax, r13d
jb 0x180001369
mov r10d, dword [rsi + 0x1c]
jmp 0x180001327
mov edi, eax
add rdi, rsi
mov r11, rdi
mov r10d, dword [rdi + 0x1c]
jmp 0x18000132d
mov eax, dword [rdx + 0x14]
mov rdx, r15
sub eax, r9d
add eax, r10d
mov r10d, dword [r11 + 0x24]
cmp eax, r13d
jb 0x180001391
mov r12, rsi
jmp 0x1800013ad
mov r12d, eax
add r12, rsi
jmp 0x1800013ad
mov rdi, rsi
mov r11, rsi
mov r10d, dword [rdi + 0x24]
mov r12, rsi
mov rdx, r15
test ebx, ebx
je 0x1800013d4
mov r8d, r14d
mov r9d, dword [rdx + 0xc]
cmp r10d, r9d
jb 0x1800013c8
mov ecx, dword [rdx + 0x10]
add ecx, r9d
cmp r10d, ecx
jb 0x180001569
inc r8d
add rdx, 0x28
cmp r8d, ebx
jb 0x1800013b0
mov r10d, dword [rdi + 0x20]
mov rbp, rsi
mov rdx, r15
test ebx, ebx
je 0x180001409
mov r8d, r14d
mov r9d, dword [rdx + 0xc]
cmp r10d, r9d
jb 0x1800013fd
mov ecx, dword [rdx + 0x10]
add ecx, r9d
cmp r10d, ecx
jb 0x180001590
inc r8d
add rdx, 0x28
cmp r8d, ebx
jb 0x1800013e5
mov eax, r14d
mov r14d, eax
mov r8, rdi
mov rax, qword [rsp + 0x50]
add r14, rsi
mov qword [rsp + 0x40], rax
mov r9, r14
mov dword [rsp + 0x38], ebx
mov edx, r13d
mov qword [rsp + 0x30], r15
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call section..text
test eax, eax
je 0x1800015a5
mov rax, qword [rsp + 0x50]
mov r9, r14
add rax, 0x30
mov r8, rdi
mov qword [rsp + 0x40], rax
mov edx, r13d
mov dword [rsp + 0x38], ebx
mov rcx, rsi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call section..text
test eax, eax
je 0x1800015a5
mov rax, qword [rsp + 0x50]
mov r9, r14
add rax, 0x10
mov r8, rdi
mov qword [rsp + 0x40], rax
mov edx, r13d
mov dword [rsp + 0x38], ebx
mov rcx, rsi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call section..text
test eax, eax
je 0x1800015a5
mov rax, qword [rsp + 0x50]
mov r9, r14
add rax, 0x20
mov r8, rdi
mov qword [rsp + 0x40], rax
mov edx, r13d
mov dword [rsp + 0x38], ebx
mov rcx, rsi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call section..text
test eax, eax
je 0x1800015a5
mov rax, qword [rsp + 0x50]
mov r9, r14
add rax, 0x40
mov r8, rdi
mov qword [rsp + 0x40], rax
mov edx, r13d
mov dword [rsp + 0x38], ebx
mov rcx, rsi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call section..text
test eax, eax
je 0x1800015a5
mov rax, qword [rsp + 0x50]
mov r9, r14
add rax, 0x50
mov r8, rdi
mov qword [rsp + 0x40], rax
mov edx, r13d
mov dword [rsp + 0x38], ebx
mov rcx, rsi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
call section..text
test eax, eax
je 0x1800015a5
mov eax, 1
jmp 0x1800015a7
mov eax, dword [rdx + 0x14]
mov rdx, r15
sub eax, r9d
add eax, r10d
mov r10d, dword [r11 + 0x20]
cmp eax, r13d
jb 0x180001586
mov rbp, rsi
jmp 0x1800013e2
mov ebp, eax
add rbp, rsi
jmp 0x1800013e2
mov eax, dword [rdx + 0x14]
sub eax, r9d
add eax, r10d
cmp eax, r13d
cmovae eax, r14d
jmp 0x18000140c
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.180005370
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret