Function at 0x14005e7a0
Capabilities:
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, 0xd8
mov r15d, dword [rcx + 0x10]
xor ebp, ebp
cmp r15d, 0xffffffff
mov edi, r15d
cmove edi, ebp
cmp edi, 0x1f
ja 0x14005ec16
mov rsi, rdx
mov rax, qword [rcx]
mov rbx, qword [rax + 0x18]
movzx r8d, word [rbx + 0xc]
movzx edx, word [rbx + 0xe]
add rdx, r8
je 0x14005ec0f
mov r9, qword [rax]
cmp r15d, 0xffffffff
lea r8, [0x1402cf600]
lea r10, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_pelite_0.9.2_src_pe32_.._pe64_view.rs
cmove r10, r8
test r9, r9
je 0x14005ec0f
mov qword [rsp + 0xd0], r10
mov qword [rsp + 0x40], r9
lea rdx, [rbx + rdx*8]
add rdx, 0x10
mov qword [rsp + 0x58], rdx
add rbx, 0x10
mov rdx, qword [rax + 8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xc0], rax
mov r14d, dword [rcx + 0x14]
mov r13, qword [rcx + 8]
lea eax, [rdi + 1]
mov dword [rsp + 0x64], eax
lea rax, [rdx - 0x10]
mov qword [rsp + 0xc8], rax
mov rax, rdx
mov qword [rsp + 0x50], rdx
shr rdx, 8
mov qword [rsp + 0xb8], rdx
lea rax, [rbx + 8]
mov qword [rsp + 0xa0], rax
xor ecx, ecx
mov rbp, qword [rsp + 0x58]
mov r12, rbx
nop dword [rax]
cmp edi, ecx
je 0x14005e8b4
lea ebx, [rcx + 1]
xor eax, eax
bt r14d, ecx
setb al
shl rax, 4
mov rdx, qword [r13 + rax]
mov r8, qword [r13 + rax + 8]
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h8580674b97d7c9aa
mov ecx, ebx
mov rbx, r12
test al, al
je 0x14005e880
jmp 0x14005ec13
xor eax, eax
cmp dword [rbx + 4], 0
setns al
shl rax, 5
lea rcx, [rax + 0x28]
lea rdx, [rax + 0x20]
lea r8, [rax + 0x38]
add rax, 0x30
cmp rbp, qword [rsp + 0xa0]
cmovne r8, rcx
cmovne rax, rdx
mov rdx, qword [r13 + rax]
mov r8, qword [r13 + r8]
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h8580674b97d7c9aa
mov bpl, 1
test al, al
jne 0x14005ec16
mov ebx, dword [rbx]
test ebx, ebx
js 0x14005e965
mov r9d, ebx
shr r9d, 8
xor eax, eax
cmp r15d, 0xffffffff
mov rcx, qword [rsp + 0x98]
jne 0x14005ea09
cmp ebx, 0x19
jae 0x14005ea09
mov rcx, rbx
shl rcx, 4
mov r8, qword [rsp + 0xd0]
mov rdx, qword [r8 + rcx]
test rdx, rdx
je 0x14005ea0e
mov dword [rsp + 0x24], r9d
mov rax, qword [r8 + rcx + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 2
jmp 0x14005ea51
mov r9b, 4
test bl, 1
jne 0x14005e99a
and ebx, 0x7fffffff
lea rdx, [rbx + 2]
mov r9b, 1
mov r8, qword [rsp + 0x50]
cmp rdx, r8
ja 0x14005e99a
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx]
lea rax, [rdx + rcx*2]
cmp rax, r8
jbe 0x14005ebf2
mov byte [rsp + 0xa8], r9b
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [sym.__pelite::error::Error_as_core::fmt::Display_::fmt::hebd7aa57e7c242c4]
mov qword [rsp + 0x30], rax
lea rax, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_pelite_0.9.2_src_pe32_.._pe64_view.rs
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov rcx, rsi
lea rdx, [rsp + 0x68]
mov ebx, r9d
call sym.core::fmt::Formatter::write_fmt::hf62683a7e24b99d5
mov ecx, ebx
jmp 0x14005eab6
mov r10d, ebx
jmp 0x14005ea19
mov r10d, ebx
mov rcx, qword [rsp + 0x98]
mov r8, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], r9d
mov eax, r9d
shl eax, 8
movzx edx, r10b
or edx, eax
mov dword [rsp + 0x2c], edx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], rcx
mov ebx, r10d
mov qword [rsp + 0x98], rcx
lea rax, [rsp + 0x28]
mov qword [rsp + 0xa8], rax
lea rax, [sym.__pelite::resources::Name_as_core::fmt::Display_::fmt::h05d1c10bea57bc8f]
mov qword [rsp + 0xb0], rax
lea rax, str._Users_o_.cargo_registry_src_index.crates.io_6f17d22bba15001f_pelite_0.9.2_src_pe32_.._pe64_view.rs
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov rcx, rsi
lea rdx, [rsp + 0x68]
call sym.core::fmt::Formatter::write_fmt::hf62683a7e24b99d5
mov ecx, ebx
test al, al
jne 0x14005ec16
mov byte [rsp + 0x23], cl
mov r8d, dword [r12 + 4]
test r8d, r8d
lea rdx, str._n__nmargin_drawmargin_opendir_entrydir_tailfile_entryfile_tail
lea rax, [0x1402cc1f1]
cmovs rdx, rax
shr r8d, 0x1f
inc r8
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h8580674b97d7c9aa
test al, al
mov rbx, qword [rsp + 0xa0]
jne 0x14005ec16
mov eax, dword [r12 + 4]
test eax, eax
js 0x14005eb16
xor ebp, ebp
cmp qword [rsp + 0x58], rbx
jne 0x14005e867
jmp 0x14005ec16
test al, 3
jne 0x14005eb04
and eax, 0x7fffffff
lea rcx, [rax + 0x10]
cmp rcx, qword [rsp + 0x50]
ja 0x14005eb04
mov rdx, qword [rsp + 0x40]
movzx ecx, word [rdx + rax + 0xc]
movzx edx, word [rdx + rax + 0xe]
add rdx, rcx
shl rdx, 3
mov rcx, qword [rsp + 0xc8]
sub rcx, rax
cmp rdx, rcx
ja 0x14005eb04
mov rcx, qword [rsp + 0x40]
add rax, rcx
xor edx, edx
mov r12, rbx
mov rbx, qword [rsp + 0x58]
cmp rbx, r12
sete dl
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x50]
mov byte [rsp + 0x70], cl
mov r8, qword [rsp + 0xb8]
mov dword [rsp + 0x71], r8d
mov rcx, r8
shr rcx, 0x30
mov byte [rsp + 0x77], cl
mov rcx, r8
shr rcx, 0x20
mov word [rsp + 0x75], cx
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
mov ecx, edi
shl edx, cl
or edx, r14d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r13
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], edx
lea rcx, [rsp + 0x28]
mov rdx, rsi
call sym.pelite::resources::art::TreeFmt::draw::h6ea49ec4226567fb
mov ebp, eax
test al, al
jne 0x14005ec16
cmp rbx, r12
mov rbx, r12
jne 0x14005e867
jmp 0x14005ec16
add rdx, qword [rsp + 0x40]
mov eax, 1
mov r8, rdx
mov r9d, dword [rsp + 0x24]
movzx r10d, byte [rsp + 0x23]
jmp 0x14005ea1e
xor ebp, ebp
jmp 0x14005ec16
mov bpl, 1
mov eax, ebp
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret