Function at 0x1400bc300
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rcx, qword [rsp + 0xb0]
call fcn.1400f2b50
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400bc332
xor eax, eax
jmp 0x1400bc59f
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400bc352
xor eax, eax
jmp 0x1400bc59f
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
je 0x1400bc37f
xor eax, eax
jmp 0x1400bc59f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + rax + 0x88]
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x5c], 0
jne 0x1400bc3a8
xor eax, eax
jmp 0x1400bc59f
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400bc3cb
xor eax, eax
jmp 0x1400bc59f
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp rax, 0x28
ja 0x1400bc433
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x28]
add rcx, 0x18
mov rdx, qword [rsp + 0x28]
add rdx, 0x14
mov qword [rsp + 0x78], rdx
mov rdx, rcx
mov rcx, qword [rsp + 0x78]
call fcn.1400d3b20
imul eax, dword [rax], 0xff
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x20], 0
jmp 0x1400bc498
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x1400bc59a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400bc51d
mov edx, 8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1400bc51d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
cmp byte [rax + rcx], 0
jne 0x1400bc4fb
mov rax, qword [rsp + 0x40]
test rax, rax
ja 0x1400bc522
jmp 0x1400bc48e
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x70], rax
jb 0x1400bc574
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x70], rax
ja 0x1400bc574
jmp 0x1400bc48e
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
call fcn.1400c8c50
mov dl, 0x20
mov rcx, qword [rsp + 0xb8]
call fcn.1400c8c30
jmp 0x1400bc48e
mov rax, qword [rsp + 0x30]
add rsp, 0xa8
ret