Function at 0x140020f60
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1400cd070]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r9
mov rbx, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r9
mov edx, 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0x30], Ordinal_27
xor r14d, r14d
mov dword [rsp + 0x40], r14d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140020fe3
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1000
xor r9d, r9d
lea r8d, [r9 + 4]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14002104a
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140021021
mov rdx, qword [rbx]
lea rcx, [0x140083508]
call fcn.14001cde0
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002103a
mov r8, qword [rbx]
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov rbp, rax
mov qword [rsp + 0x20], 0x1000
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x14002111f
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002107f
mov rdx, qword [rbx]
lea rcx, [0x140083520]
call fcn.14001cde0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400210cf
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400210ca
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002120a
mov rcx, r8
call fcn.140073454
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140021118
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140021113
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021211
mov rcx, r8
call fcn.140073454
xor al, al
jmp 0x1400211d3
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14002113c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002118c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140021187
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002120a
mov rcx, r8
call fcn.140073454
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400211d1
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400211cc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021211
mov rcx, r8
call fcn.140073454
mov al, 1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140072f40
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3