Function at 0x140009c90
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 0x14000a106
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 0x14000a0ff
mov r9, qword [rax]
cmp r15d, 0xffffffff
lea r8, [0x1414de650]
lea r10, [0x1414dcfb8]
cmove r10, r8
test r9, r9
je 0x14000a0ff
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 0x140009da4
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::h2bd4da6658090957
mov ecx, ebx
mov rbx, r12
test al, al
je 0x140009d70
jmp 0x14000a103
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::h2bd4da6658090957
mov bpl, 1
test al, al
jne 0x14000a106
mov ebx, dword [rbx]
test ebx, ebx
js 0x140009e55
mov r9d, ebx
shr r9d, 8
xor eax, eax
cmp r15d, 0xffffffff
mov rcx, qword [rsp + 0x98]
jne 0x140009ef9
cmp ebx, 0x19
jae 0x140009ef9
mov rcx, rbx
shl rcx, 4
mov r8, qword [rsp + 0xd0]
mov rdx, qword [r8 + rcx]
test rdx, rdx
je 0x140009efe
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 0x140009f41
mov r9b, 4
test bl, 1
jne 0x140009e8a
and ebx, 0x7fffffff
lea rdx, [rbx + 2]
mov r9b, 1
mov r8, qword [rsp + 0x50]
cmp rdx, r8
ja 0x140009e8a
mov rax, qword [rsp + 0x40]
movzx ecx, word [rax + rbx]
lea rax, [rdx + rcx*2]
cmp rax, r8
jbe 0x14000a0e2
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::haa3a2fea3cb7fa05]
mov qword [rsp + 0x30], rax
lea rax, [0x1414dd130]
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::h1950e54dca97a8e1
mov ecx, ebx
jmp 0x140009fa6
mov r10d, ebx
jmp 0x140009f09
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::hbd8b3c3309ab6914]
mov qword [rsp + 0xb0], rax
lea rax, [0x1414dd130]
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::h1950e54dca97a8e1
mov ecx, ebx
test al, al
jne 0x14000a106
mov byte [rsp + 0x23], cl
mov r8d, dword [r12 + 4]
test r8d, r8d
lea rdx, [0x1414dd140]
lea rax, [0x1414dd141]
cmovs rdx, rax
shr r8d, 0x1f
inc r8
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h2bd4da6658090957
test al, al
mov rbx, qword [rsp + 0xa0]
jne 0x14000a106
mov eax, dword [r12 + 4]
test eax, eax
js 0x14000a006
xor ebp, ebp
cmp qword [rsp + 0x58], rbx
jne 0x140009d57
jmp 0x14000a106
test al, 3
jne 0x140009ff4
and eax, 0x7fffffff
lea rcx, [rax + 0x10]
cmp rcx, qword [rsp + 0x50]
ja 0x140009ff4
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 0x140009ff4
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::h4dab2f8008c5f89d
mov ebp, eax
test al, al
jne 0x14000a106
cmp rbx, r12
mov rbx, r12
jne 0x140009d57
jmp 0x14000a106
add rdx, qword [rsp + 0x40]
mov eax, 1
mov r8, rdx
mov r9d, dword [rsp + 0x24]
movzx r10d, byte [rsp + 0x23]
jmp 0x140009f0e
xor ebp, ebp
jmp 0x14000a106
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