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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov r9d, 0x40
mov rcx, rdx
mov rdx, r8
xor r8d, r8d
call sym.___u8__as_object::read::read_ref::ReadRef_::read_bytes_at::h4e9d56dfaa22acb2
test rax, rax
je 0x14010ae50
cmp rdx, 0x40
jb 0x14010ae50
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14010ae50
mov r14d, dword [rax + 0x3c]
mov r9d, 0x88
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call sym.___u8__as_object::read::read_ref::ReadRef_::read_bytes_at::h4e9d56dfaa22acb2
test rax, rax
je 0x14010ae50
cmp rdx, 0x88
jb 0x14010ae50
mov r15, rax
cmp dword [rax], 0x4550
jne 0x14010ae50
movzx eax, word [r15 + 0x18]
cmp eax, 0x20b
jne 0x14010ae50
movzx r12d, word [r15 + 0x14]
cmp r12, 0x70
jb 0x14010ae50
add r14, 0x88
add r12, 0xffffffffffffff90
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, r12
call sym.___u8__as_object::read::read_ref::ReadRef_::read_bytes_at::h4e9d56dfaa22acb2
test rax, rax
je 0x14010ae50
mov r8, rdx
mov r9d, dword [r15 + 0x84]
lea rcx, [rsp + 0x30]
mov rdx, rax
call sym.object::read::pe::data_directory::DataDirectories::parse::hd5e87e2d9cd01b4e
cmp qword [rsp + 0x30], 0
jne 0x14010ae50
add r12, r14
movzx r13d, word [r15 + 6]
lea rax, [r13*8]
lea r14, [rax + rax*4]
mov rcx, rbx
mov rdx, rdi
mov r8, r12
mov r9, r14
call sym.___u8__as_object::read::read_ref::ReadRef_::read_bytes_at::h4e9d56dfaa22acb2
test rax, rax
setne cl
cmp r14, rdx
setbe dl
xor ebp, ebp
mov r14d, 0x1f
test cl, dl
cmovne r14, r13
cmovne rbp, rax
je 0x14010ae50
mov r13d, dword [r15 + 0xc]
test r13, r13
je 0x14010ae6e
mov eax, dword [r15 + 0x10]
mov qword [rsp + 0x48], rax
add rax, rax
lea r12, [rax + rax*8]
mov rcx, rbx
mov rdx, rdi
mov r8, r13
mov r9, r12
call sym.___u8__as_object::read::read_ref::ReadRef_::read_bytes_at::h4e9d56dfaa22acb2
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14010ae50
cmp r12, rdx
jbe 0x14010aeb2
mov qword [rsi], 0
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov ecx, 8
xor r15d, r15d
xor r13d, r13d
xor r12d, r12d
xor edx, edx
lea rax, [rsp + 0x2f]
mov qword [rsp + 0x80], rax
test rdx, rdx
je 0x14010affc
bsr rax, rdx
xor rax, 0x3f
jmp 0x14010b001
add r12, r13
mov r9d, 4
mov rcx, rbx
mov rdx, rdi
mov r8, r12
call sym.___u8__as_object::read::read_ref::ReadRef_::read_bytes_at::h4e9d56dfaa22acb2
test rax, rax
je 0x14010ae50
cmp rdx, 4
jb 0x14010ae50
mov r13d, dword [rax]
add r13, r12
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
cmp qword [rsp + 0x48], 0
je 0x14010b055
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r12
xor edx, edx
xor r15d, r15d
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x50]
jmp 0x14010af69
add r12, qword [rsp + 0x68]
add r13, r12
mov rax, qword [rsp + 0x30]
shl rdx, 4
mov qword [rax + rdx], r13
mov rcx, qword [rsp + 0x70]
mov qword [rax + rdx + 8], rcx
mov rdx, qword [rsp + 0x40]
inc rdx
mov qword [rsp + 0x40], rdx
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x78]
add r15, r11
inc r15
cmp r15, r9
jae 0x14010b095
cmp r15, r9
jae 0x14010b064
lea rcx, [r15 + r15*8]
movzx r11d, byte [r10 + rcx*2 + 0x11]
movzx r8d, word [r10 + rcx*2 + 0xc]
test r8, r8
je 0x14010af5a
movzx eax, word [r10 + rcx*2 + 0xe]
and eax, 0x30
cmp ax, 0x20
jne 0x14010af5a
dec r8
lea rax, [r8 + r8*4]
lea r9, [rax*8]
add r9, rbp
mov rax, qword [rsp + 0x38]
cmp r8, r14
mov r8d, 0x1d
cmovae r9, r8
jae 0x14010b069
mov qword [rsp + 0x78], r11
test r9, r9
je 0x14010b069
lea rcx, [r10 + rcx*2]
mov qword [rsp + 0x70], rcx
mov r12d, dword [rcx + 8]
mov r13d, dword [r9 + 0xc]
cmp rdx, rax
jne 0x14010af1f
lea rcx, [rsp + 0x30]
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h0bf72d00602429bc
mov rdx, qword [rsp + 0x40]
jmp 0x14010af1f
mov eax, 0x40
mov r8d, 0x40
sub r8d, eax
mov dword [rsp + 0x20], r8d
lea r8, [rsp + 0x80]
xor r9d, r9d
call sym._ZN4core5slice4sort7recurse17h5ff832c3d47d9d0fE.llvm.822855043736555110
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x40], rdi
mov qword [rsi + 0x48], r12
mov qword [rsi + 0x50], r13
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], r14
jmp 0x14010ae57
mov ecx, 8
xor edx, edx
mov r15, rbx
jmp 0x14010ae8f
mov rax, qword [rsp + 0x38]
mov qword [rsi], 0
test rax, rax
je 0x14010ae57
mov rcx, qword [rsp + 0x30]
shl rax, 4
mov r8d, 8
mov rdx, rax
call sym.__rust_dealloc
jmp 0x14010ae57
mov rcx, qword [rsp + 0x30]
mov r15, rbx
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
jmp 0x14010ae8f