Function at 0x1400bcb90
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x10], 0x40
mov rdi, rcx
jae 0x1400bcbbb
lea rax, str.Too_small
jmp 0x1400bcee8
mov rax, qword [rcx + 0x18]
cmp byte [rax], 0x4d
jne 0x1400bcee1
cmp byte [rax + 1], 0x5a
jne 0x1400bcee1
mov ebx, dword [rax + 0x3c]
cmp rbx, qword [rcx + 0x10]
jb 0x1400bcbe7
lea rax, str.Bad_offset_to_PE_header
jmp 0x1400bcee8
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x10]
mov rsi, rax
cmp rax, qword [rdi + 0x18]
jbe 0x1400bced5
mov rdx, qword [rdi + 0x20]
lea rcx, [rdx - 0x18]
cmp rax, rcx
jae 0x1400bced5
test bl, 7
je 0x1400bcc23
lea rax, str.Misaligned_PE_header
mov qword [rdi + 8], rax
jmp 0x1400bceec
cmp byte [rax], 0x50
jne 0x1400bcec9
cmp byte [rax + 1], 0x45
jne 0x1400bcec9
cmp byte [rax + 2], 0
jne 0x1400bcec9
cmp byte [rax + 3], 0
jne 0x1400bcec9
movzx eax, word [rax + 4]
mov word [rdi + 0x6a], ax
movzx eax, word [rsi + 6]
mov word [rdi + 0x6c], ax
movzx eax, word [rsi + 0x14]
add rsi, 0x18
mov word [rdi + 0x68], ax
mov ecx, eax
add rax, rsi
mov qword [rdi + 0x60], rsi
cmp rax, rdx
jb 0x1400bcc7d
lea rax, str.Optional_header_past_end_of_file
jmp 0x1400bcc1a
mov r14d, 2
cmp cx, r14w
jae 0x1400bcc92
lea rax, str.Optional_header_no_magic
jmp 0x1400bcc1a
mov rax, qword [rdi]
mov rcx, rdi
movzx ebx, word [rsi]
call qword [rax + 0x30]
sub eax, 1
je 0x1400bccca
cmp eax, 3
je 0x1400bccb4
lea rax, str.Unrecognized_magic
jmp 0x1400bcc1a
mov eax, 0x20b
cmp bx, ax
je 0x1400bcce0
lea rax, str.32_bit_executables_are_not_supported_by_this_disassembler
jmp 0x1400bcc1a
mov eax, 0x10b
cmp bx, ax
je 0x1400bcce0
lea rax, str.64_bit_executables_are_not_supported_by_this_disassembler
jmp 0x1400bcc1a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x98]
cmp word [rdi + 0x68], ax
jae 0x1400bccfe
lea rax, str.Optional_header_too_short
jmp 0x1400bcc1a
mov eax, dword [rsi + 4]
mov rcx, rdi
mov dword [rdi + 0x7c], eax
mov eax, dword [rsi + 8]
mov dword [rdi + 0x80], eax
mov eax, dword [rsi + 0xc]
mov dword [rdi + 0x84], eax
mov eax, dword [rsi + 0x14]
mov dword [rdi + 0x88], eax
mov rax, qword [rdi]
call qword [rax + 0x30]
sub eax, 1
je 0x1400bcd52
cmp eax, 3
jne 0x1400bcd77
and dword [rdi + 0x8c], 0
mov rax, qword [rsi + 0x18]
mov qword [rdi + 0x90], rax
mov eax, dword [rsi + 0x38]
mov dword [rdi + 0x98], eax
mov eax, dword [rsi + 0x6c]
jmp 0x1400bcd71
mov eax, dword [rsi + 0x18]
mov dword [rdi + 0x8c], eax
mov eax, dword [rsi + 0x1c]
mov qword [rdi + 0x90], rax
mov eax, dword [rsi + 0x38]
mov dword [rdi + 0x98], eax
mov eax, dword [rsi + 0x5c]
mov dword [rdi + 0x9c], eax
lea r8, [rdi + 0xa0]
xor edx, edx
mov rcx, rdi
call fcn.1400bd670
mov bl, al
lea r8, [rdi + 0xa8]
mov edx, 1
mov rcx, rdi
and bl, 1
call fcn.1400bd670
lea r8, [rdi + 0xb0]
mov edx, r14d
mov rcx, rdi
and bl, al
call fcn.1400bd670
lea r8, [rdi + 0xb8]
mov edx, 3
mov rcx, rdi
and bl, al
call fcn.1400bd670
lea r8, [rdi + 0xc0]
mov edx, 5
mov rcx, rdi
and bl, al
call fcn.1400bd670
lea r8, [rdi + 0xc8]
mov edx, ntohl
mov rcx, rdi
and bl, al
call fcn.1400bd670
lea r8, [rdi + 0xd0]
mov edx, ntohl
mov rcx, rdi
and bl, al
call fcn.1400bd670
lea r8, [rdi + 0xd8]
mov edx, ntohl
mov rcx, rdi
and bl, al
call fcn.1400bd670
lea r8, [rdi + 0xe0]
mov edx, reloc.WS2_32.dll_ntohl
mov rcx, rdi
and bl, al
call fcn.1400bd670
test bl, al
jne 0x1400bce49
lea rax, str.Malformed_data_directory
jmp 0x1400bcc1a
movzx edx, word [rdi + 0x68]
xor r8d, r8d
movzx eax, word [rdi + 0x6c]
add rdx, rsi
mov qword [rdi + 0x70], rdx
test eax, eax
je 0x1400bce97
mov r9d, eax
mov eax, dword [rdx]
cmp eax, dword [0x140158ef8]
jne 0x1400bce7d
movzx eax, word [rdx + 4]
cmp ax, word [0x140158efc]
jne 0x1400bce7d
mov byte [rdi + 0x78], 1
mov ecx, dword [rdx + 0x14]
add ecx, dword [rdx + 0x10]
add rdx, 0x28
cmp rcx, r8
cmovbe rcx, r8
mov r8, rcx
sub r9, 1
jne 0x1400bce62
cmp r8, qword [rdi + 0x10]
jbe 0x1400bce9e
int3
cmp byte [rdi + 0x78], 0
mov rax, qword [rdi + 0x18]
mov qword [rdi + 0x10], r8
lea rcx, [r8 + rax]
mov qword [rdi + 0x20], rcx
jne 0x1400bcec0
lea rax, str.Resource_only_executables_are_not_yet_supported
jmp 0x1400bcc1a
and qword [rdi + 8], 0
mov al, 1
jmp 0x1400bceee
lea rax, str.No_PE_signature
jmp 0x1400bcc1a
lea rax, str.Bad_file_offset_to_PE_header
jmp 0x1400bcc1a
lea rax, str.Not_MZ
mov qword [rcx + 8], rax
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret