Function at 0x140034330
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::hf6eb63f9400a728e
test rax, rax
je 0x140034519
cmp rdx, 0x40
jb 0x140034519
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140034519
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::hf6eb63f9400a728e
test rax, rax
je 0x140034519
cmp rdx, 0x88
jb 0x140034519
mov r15, rax
cmp dword [rax], 0x4550
jne 0x140034519
movzx eax, word [r15 + 0x18]
cmp eax, 0x20b
jne 0x140034519
movzx r12d, word [r15 + 0x14]
cmp r12, 0x70
jb 0x140034519
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::hf6eb63f9400a728e
test rax, rax
je 0x140034519
mov r8, rdx
mov r9d, dword [r15 + 0x84]
lea rcx, [rsp + 0x30]
mov rdx, rax
call sym.object::read::pe::data_directory::DataDirectories::parse::hf2ccf7e171af55d9
cmp qword [rsp + 0x30], 0
jne 0x140034519
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::hf6eb63f9400a728e
test rax, rax
setne cl
cmp r14, rdx
setbe dl
xor r14d, r14d
mov ebp, 0x1f
test cl, dl
cmovne rbp, r13
cmovne r14, rax
je 0x140034519
mov r13d, dword [r15 + 0xc]
test r13, r13
je 0x14003461d
mov eax, dword [r15 + 0x10]
mov qword [rsp + 0x58], 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::hf6eb63f9400a728e
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140034519
cmp r12, rdx
ja 0x140034519
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::hf6eb63f9400a728e
test rax, rax
je 0x140034519
cmp rdx, 4
jb 0x140034519
mov eax, dword [rax]
add rax, r12
mov qword [rsp + 0x50], rax
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0
cmp qword [rsp + 0x58], 0
je 0x140034673
mov qword [rsp + 0x60], r12
xor edx, edx
xor r13d, r13d
mov r9, qword [rsp + 0x48]
jmp 0x14003458a
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add r14, qword [rsp + 0x68]
add rbp, r14
mov rax, qword [rsp + 0x38]
shl rdx, 4
mov qword [rax + rdx], rbp
mov rcx, qword [rsp + 0x70]
mov qword [rax + rdx + 8], rcx
mov rdx, qword [rsp + 0x40]
inc rdx
mov qword [rsp + 0x40], rdx
mov r14, r15
mov rbp, r12
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x78]
add r13, r10
inc r13
cmp r13, qword [rsp + 0x58]
jae 0x140034664
lea rax, [r13*8]
add rax, r13
movzx r10d, byte [r9 + rax*2 + 0x11]
movzx ecx, word [r9 + rax*2 + 0xc]
test rcx, rcx
je 0x140034579
movzx r8d, word [r9 + rax*2 + 0xe]
and r8d, 0x30
cmp r8w, 0x20
jne 0x140034579
mov qword [rsp + 0x78], r10
dec rcx
lea r8, [rcx + rcx*4]
lea r8, [r14 + r8*8]
cmp rcx, rbp
mov ecx, 0x1d
cmovae r8, rcx
jae 0x1400346ed
test r8, r8
je 0x1400346ed
mov r15, r14
mov r12, rbp
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x70], rax
mov r14d, dword [rax + 8]
mov ebp, dword [r8 + 0xc]
cmp rdx, qword [rsp + 0x30]
jne 0x14003453d
lea rcx, [rsp + 0x30]
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h4b95a4330a00415f
mov rdx, qword [rsp + 0x40]
jmp 0x14003453d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0
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 0x140034694
bsr rax, rdx
xor rax, 0x3f
jmp 0x140034699
mov rcx, qword [rsp + 0x38]
mov r15, rbx
mov r12, qword [rsp + 0x60]
jmp 0x14003467d
mov ecx, 8
xor edx, edx
mov r15, rbx
mov r13, qword [rsp + 0x50]
lea rax, [rsp + 0x2f]
mov qword [rsp + 0x80], rax
test rdx, rdx
jne 0x14003465a
mov eax, 0x40
mov r8d, 0x40
sub r8d, eax
mov dword [rsp + 0x20], r8d
lea r8, [rsp + 0x80]
xor r9d, r9d
call sym._ZN4core5slice4sort7recurse17hc086f7d1f1378f86E.llvm.5148414762318324746
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], rdi
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], rbp
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x40], rdi
mov qword [rsi + 0x48], r12
mov qword [rsi + 0x50], r13
jmp 0x140034526
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140034526
mov rcx, qword [rsp + 0x38]
shl rdx, 4
mov r8d, 8
call sym.__rust_dealloc
jmp 0x140034526