Function at 0x140163fc0
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, 0xe8
mov qword [rsp + 0xc0], rdx
movzx r12d, byte [rcx + 0x28]
cmp r12b, 0x82
jne 0x140164043
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x44], edx
movzx r9d, byte [rcx + 0x1c]
cmp r9b, 0x82
mov dword [rsp + 0x5c], r9d
je 0x1401642c0
movzx r8d, byte [rcx + 0x10]
cmp r8b, 0x81
mov dword [rsp + 0xb8], r8d
jne 0x140164051
mov dword [rsp + 0x40], r8d
mov r8, qword [rcx + 8]
mov qword [rsp + 0xd8], r8
cmp r9b, 0x81
je 0x140164102
cmp r9b, 0x80
jne 0x14016406c
jmp 0x140164090
movzx edx, byte [rcx + 0x40]
cmp dl, 0x82
jne 0x14016405e
jmp 0x140164186
cmp r8b, 0x80
jne 0x1401640aa
mov dword [rsp + 0x40], r8d
jmp 0x1401640d2
cmp dl, 0x81
jne 0x140164130
jmp 0x140164173
movzx r8d, byte [rcx + 0x26]
movzx r9d, byte [rcx + 0x27]
movzx r10d, byte [rcx + 0x1f]
mov byte [rsp + 0x62], r10b
movzx r10d, word [rcx + 0x1d]
mov word [rsp + 0x60], r10w
movzx r10d, word [rcx + 0x24]
mov r14d, dword [rcx + 0x20]
movzx esi, byte [rsp + 0x62]
mov byte [rsp + 0x2a], sil
movzx esi, word [rsp + 0x60]
mov word [rsp + 0x28], si
jmp 0x140164102
movzx ebp, byte [rcx + 0x1a]
movzx r8d, byte [rcx + 0x1b]
mov dword [rsp + 0x40], r8d
movzx r8d, byte [rcx + 0x13]
mov byte [rsp + 0x62], r8b
movzx r8d, word [rcx + 0x11]
mov word [rsp + 0x60], r8w
movzx r15d, word [rcx + 0x18]
mov ebx, dword [rcx + 0x14]
movzx r8d, byte [rsp + 0x62]
mov byte [rsp + 0x3a], r8b
movzx r8d, word [rsp + 0x60]
mov word [rsp + 0x38], r8w
mov r8, qword [rcx + 8]
mov qword [rsp + 0xd8], r8
cmp r9b, 0x81
jne 0x14016403b
mov rsi, qword [rcx]
movzx ecx, byte [rsp + 0x3a]
mov byte [rsp + 0x36], cl
movzx ecx, word [rsp + 0x38]
mov word [rsp + 0x34], cx
movzx ecx, word [rsp + 0x28]
mov word [rsp + 0x58], cx
movzx ecx, byte [rsp + 0x2a]
mov byte [rsp + 0x5a], cl
jmp 0x1401642cb
cmp dl, 0x80
jne 0x140164137
jmp 0x140164156
movzx r8d, byte [rcx + 0x4a]
movzx r9d, byte [rcx + 0x4b]
movzx eax, byte [rcx + 0x43]
mov byte [rsp + 0x62], al
movzx eax, word [rcx + 0x41]
mov word [rsp + 0x60], ax
movzx edi, word [rcx + 0x48]
mov eax, dword [rcx + 0x44]
mov dword [rsp + 0xe4], eax
movzx eax, byte [rsp + 0x62]
mov byte [rsp + 0x2a], al
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x28], ax
movzx eax, byte [rsp + 0x2a]
mov byte [rsp + 0x62], al
movzx eax, word [rsp + 0x28]
mov word [rsp + 0x60], ax
movzx eax, byte [rsp + 0x62]
mov byte [rsp + 0x36], al
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x34], ax
cmp r12b, 0x81
mov dword [rsp + 0xb4], edx
jne 0x1401641ac
mov dword [rsp + 0x44], eax
jmp 0x1401641f8
cmp r12b, 0x80
jne 0x1401641b8
mov dword [rsp + 0x44], eax
jmp 0x1401641e2
movzx r11d, byte [rcx + 0x32]
movzx eax, byte [rcx + 0x33]
mov dword [rsp + 0x44], eax
movzx eax, byte [rcx + 0x2b]
mov byte [rsp + 0x62], al
movzx eax, word [rcx + 0x29]
mov word [rsp + 0x60], ax
movzx eax, word [rcx + 0x30]
mov word [rsp + 0xbe], ax
mov edx, dword [rcx + 0x2c]
movzx eax, byte [rsp + 0x62]
mov byte [rsp + 0x3a], al
movzx eax, word [rsp + 0x60]
mov word [rsp + 0x38], ax
movzx eax, byte [rcx + 0x34]
cmp al, 0x81
mov dword [rsp + 0x48], eax
mov byte [rsp + 0xd0], r8b
mov byte [rsp + 0x3b], r9b
jne 0x140164218
mov dword [rsp + 0x3c], r8d
jmp 0x140164267
cmp al, 0x80
jne 0x140164222
mov dword [rsp + 0x3c], eax
jmp 0x140164244
movzx r13d, byte [rcx + 0x3e]
movzx eax, byte [rcx + 0x3f]
mov dword [rsp + 0x3c], eax
movzx eax, byte [rcx + 0x37]
mov byte [rsp + 0x62], al
movzx eax, word [rcx + 0x35]
mov word [rsp + 0x60], ax
movzx eax, word [rcx + 0x3c]
mov r8d, dword [rcx + 0x38]
mov dword [rsp + 0xcc], r8d
movzx r8d, byte [rsp + 0x62]
mov byte [rsp + 0x2a], r8b
movzx r8d, word [rsp + 0x60]
mov word [rsp + 0x28], r8w
movzx r8d, byte [rsp + 0x36]
mov byte [rsp + 0x4e], r8b
movzx r8d, word [rsp + 0x34]
mov word [rsp + 0x4c], r8w
movzx r8d, word [rsp + 0x38]
mov word [rsp + 0x54], r8w
movzx r8d, byte [rsp + 0x3a]
mov byte [rsp + 0x56], r8b
movzx r8d, word [rsp + 0x28]
mov word [rsp + 0x50], r8w
movzx r8d, byte [rsp + 0x2a]
mov byte [rsp + 0x52], r8b
movzx r9d, byte [rcx + 0x1c]
cmp r9b, 0x82
mov dword [rsp + 0x5c], r9d
jne 0x14016400d
mov dword [rsp + 0xb8], ecx
mov dword [rsp + 0x40], ecx
movzx ecx, byte [rsp + 0x56]
mov byte [rsp + 0x8b], cl
movzx ecx, word [rsp + 0x54]
mov word [rsp + 0x89], cx
movzx ecx, word [rsp + 0x50]
mov word [rsp + 0x95], cx
movzx ecx, byte [rsp + 0x52]
mov byte [rsp + 0x97], cl
movzx ecx, word [rsp + 0x4c]
mov word [rsp + 0xa1], cx
movzx ecx, byte [rsp + 0x4e]
mov byte [rsp + 0xa3], cl
movzx ecx, word [rsp + 0x34]
mov word [rsp + 0x71], cx
movzx ecx, byte [rsp + 0x36]
mov byte [rsp + 0x73], cl
movzx ecx, word [rsp + 0x58]
mov word [rsp + 0x7d], cx
movzx ecx, byte [rsp + 0x5a]
mov byte [rsp + 0x7f], cl
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x68], rcx
mov ecx, dword [rsp + 0xb8]
mov byte [rsp + 0x70], cl
mov dword [rsp + 0x74], ebx
mov word [rsp + 0x78], r15w
mov byte [rsp + 0x7a], bpl
mov ecx, dword [rsp + 0x40]
mov byte [rsp + 0x7b], cl
mov ecx, dword [rsp + 0x5c]
mov byte [rsp + 0x7c], cl
mov dword [rsp + 0x80], r14d
mov word [rsp + 0x84], r10w
mov byte [rsp + 0x86], r8b
mov byte [rsp + 0x87], r9b
mov byte [rsp + 0x88], r12b
mov dword [rsp + 0x8c], edx
movzx r8d, word [rsp + 0xbe]
mov word [rsp + 0x90], r8w
mov byte [rsp + 0x92], r11b
mov r8d, dword [rsp + 0x44]
mov byte [rsp + 0x93], r8b
mov r8d, dword [rsp + 0x48]
mov byte [rsp + 0x94], r8b
mov r8d, dword [rsp + 0xcc]
mov dword [rsp + 0x98], r8d
mov word [rsp + 0x9c], ax
mov byte [rsp + 0x9e], r13b
mov eax, dword [rsp + 0x3c]
mov byte [rsp + 0x9f], al
mov eax, dword [rsp + 0xb4]
mov byte [rsp + 0xa0], al
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0xa4], eax
mov word [rsp + 0xa8], di
movzx eax, byte [rsp + 0xd0]
mov byte [rsp + 0xaa], al
movzx eax, byte [rsp + 0x3b]
mov byte [rsp + 0xab], al
cmp r12b, 0x82
je 0x1401645ee
mov qword [rsp + 0xd0], rsi
cmp r12b, 0x81
jne 0x14016452b
mov edx, dword [rsp + 0xb4]
cmp dl, 0x82
je 0x1401645c0
mov byte [rsp + 0xa0], 0x81
cmp dl, 0x81
je 0x1401645c0
lea rax, [rsp + 0x89]
mov ecx, dword [rax + 0x1f]
mov dword [rax + 7], ecx
mov rcx, qword [rax + 0x18]
mov qword [rax], rcx
mov byte [rsp + 0x88], dl
mov rax, qword [rsp + 0xc0]
mov r14, qword [rax + 0x20]
mov rsi, qword [rax + 0x28]
jmp 0x1401644f1
mov edx, dword [rsp + 0x8c]
lea rax, [rsp + 0x88]
mov dword [rax + 8], 0
mov qword [rax], 0
xor r15d, r15d
mov rcx, r14
call qword [rsi + 0x20]
test al, al
mov edx, r15d
jne 0x14016498a
cmp dl, 0x80
je 0x1401644c0
movzx ecx, byte [rsp + 0x92]
cmp cl, byte [rsp + 0x93]
jae 0x1401645b8
lea eax, [rcx + 1]
mov byte [rsp + 0x92], al
cmp cl, 0xa
jae 0x1401649a0
mov r15d, edx
movzx edx, byte [rsp + rcx + 0x88]
jmp 0x1401644e0
mov rax, qword [rsp + 0xc0]
mov r14, qword [rax + 0x20]
mov rsi, qword [rax + 0x28]
jmp 0x14016457d
lea rax, [rsp + 0x88]
mov dword [rax + 8], 0
mov qword [rax], 0
xor r12d, r12d
mov dword [rsp + 0x44], 0
xor r15d, r15d
xor edi, edi
mov rcx, r14
call qword [rsi + 0x20]
mov edx, r12d
mov r11d, r15d
test al, al
mov r12d, edi
jne 0x14016498a
cmp r12b, 0x80
je 0x140164540
cmp r11b, byte [rsp + 0x44]
jae 0x140164462
lea r15d, [r11 + 1]
mov byte [rsp + 0x92], r15b
movzx ecx, r11b
cmp r11b, 0xa
jae 0x1401649a0
mov edi, r12d
mov r12d, edx
movzx edx, byte [rsp + rcx + 0x88]
jmp 0x140164566
mov byte [rsp + 0xa0], 0x81
cmp byte [rsp + 0x48], 0x81
mov edx, dword [rsp + 0xcc]
jne 0x140164875
mov byte [rsp + 0x94], 0x81
mov byte [rsp + 0x88], 0x82
mov rsi, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x5c]
cmp cl, 0x82
jne 0x1401645fa
xor eax, eax
jmp 0x14016498c
mov r12, rsi
lea r14, [rsp + 0x70]
mov r13d, dword [rsp + 0xb8]
cmp r13b, 0x81
jne 0x1401647f0
mov byte [rsp + 0x70], 0x81
test r12, r12
je 0x14016490b
cmp r12, qword [rsp + 0xd8]
je 0x14016490b
mov rax, qword [rsp + 0xc0]
mov rdi, qword [rax + 0x20]
mov rbx, r12
mov rsi, qword [rax + 0x28]
lea r15, [0x1401a2c10]
movzx ebp, byte [rbx]
test bpl, bpl
js 0x140164671
inc rbx
cmp ebp, 0x27
ja case.default.0x140164663
mov eax, ebp
movsxd rax, dword [r15 + rax*4]
add rax, r15
jmp rax
mov word [rsp + 0x28], 0x305c
jmp 0x140164727
mov eax, ebp
and eax, 0x1f
movzx edx, byte [rbx + 1]
and edx, 0x3f
cmp bpl, 0xdf
jbe 0x1401646c4
movzx ecx, byte [rbx + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp bpl, 0xf0
jb 0x1401647c6
movzx ebp, byte [rbx + 3]
and eax, 7
shl eax, 0x12
shl ecx, 6
and ebp, 0x3f
or ebp, ecx
or ebp, eax
cmp ebp, 0x110000
je 0x140164902
add rbx, 4
cmp ebp, 0x27
jbe 0x14016465a
jmp case.default.0x140164663
add rbx, 2
shl eax, 6
or eax, edx
mov ebp, eax
cmp ebp, 0x27
jbe 0x14016465a
cmp ebp, 0x5c
jne case.0x140164663.1
mov word [rsp + 0x28], 0x5c5c
jmp 0x140164727
mov ecx, ebp
call sym.core::unicode::printable::is_printable::h9bb83c8362eff18d
test al, al
je 0x1401647df
mov byte [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x2c], ebp
jmp 0x140164737
mov word [rsp + 0x28], 0x745c
jmp 0x140164727
mov word [rsp + 0x28], 0x6e5c
jmp 0x140164727
mov word [rsp + 0x28], 0x725c
jmp 0x140164727
mov word [rsp + 0x28], 0x225c
jmp 0x140164727
mov word [rsp + 0x28], 0x275c
mov qword [rsp + 0x2a], 0
mov word [rsp + 0x32], 0x200
mov eax, dword [rsp + 0x30]
mov dword [r14 + 8], eax
mov rax, qword [rsp + 0x28]
mov qword [r14], rax
movzx ebp, byte [rsp + 0x70]
movzx edx, byte [rsp + 0x7a]
movzx r12d, byte [rsp + 0x7b]
jmp 0x14016478c
mov edx, dword [rsp + 0x74]
mov dword [r14 + 8], 0
mov qword [r14], 0
xor ebp, ebp
xor r12d, r12d
xor r13d, r13d
mov rcx, rdi
call qword [rsi + 0x20]
mov edx, r13d
test al, al
jne 0x14016498a
cmp bpl, 0x80
je 0x140164760
cmp dl, r12b
jae 0x1401647b3
lea r13d, [rdx + 1]
mov byte [rsp + 0x7a], r13b
movzx ecx, dl
cmp dl, 0xa
jae 0x1401649a0
movzx edx, byte [rsp + rcx + 0x70]
jmp 0x14016477b
cmp rbx, qword [rsp + 0xd8]
jne 0x14016464a
jmp 0x140164902
add rbx, 3
shl eax, 0xc
or ecx, eax
mov ebp, ecx
cmp ebp, 0x27
jbe 0x14016465a
jmp case.default.0x140164663
lea rcx, [rsp + 0x28]
mov edx, ebp
call sym.core::char::EscapeUnicode::new::h0de756536b278d70
jmp 0x140164737
mov rax, qword [rsp + 0xc0]
mov rdi, qword [rax + 0x20]
mov rsi, qword [rax + 0x28]
jmp 0x140164844
mov dword [r14 + 8], 0
mov qword [r14], 0
xor r13d, r13d
xor ebp, ebp
mov dword [rsp + 0x40], 0
xor r15d, r15d
mov rcx, rdi
mov edx, ebx
call qword [rsi + 0x20]
mov ebx, ebp
mov ebp, r15d
test al, al
jne 0x14016498a
cmp r13b, 0x80
je 0x140164810
cmp bpl, byte [rsp + 0x40]
jae 0x140164614
lea r15d, [rbp + 1]
mov byte [rsp + 0x7a], r15b
movzx ecx, bpl
cmp bpl, 0xa
jae 0x1401649a0
mov ebp, ebx
movzx ebx, byte [rsp + rcx + 0x70]
jmp 0x14016482f
lea r15, [rsp + 0x94]
mov rax, qword [rsp + 0xc0]
mov r14, qword [rax + 0x20]
mov rsi, qword [rax + 0x28]
jmp 0x1401648c9
mov dword [r15 + 8], 0
mov qword [r15], 0
mov dword [rsp + 0x48], 0
xor r13d, r13d
mov dword [rsp + 0x3c], 0
xor r12d, r12d
mov rcx, r14
call qword [rsi + 0x20]
mov edx, r13d
mov r13d, r12d
test al, al
jne 0x14016498a
cmp byte [rsp + 0x48], 0x80
je 0x140164890
cmp r13b, byte [rsp + 0x3c]
jae 0x1401645d2
lea r12d, [r13 + 1]
mov byte [rsp + 0x9e], r12b
movzx ecx, r13b
cmp r13b, 0xa
jae 0x1401649a0
mov r13d, edx
movzx edx, byte [rsp + rcx + 0x94]
jmp 0x1401648b5
movzx eax, byte [rsp + 0x7c]
mov dword [rsp + 0x5c], eax
mov ebp, dword [rsp + 0x5c]
cmp bpl, 0x81
je 0x1401645f3
lea rsi, [rsp + 0x7c]
mov rax, qword [rsp + 0xc0]
mov rdi, qword [rax + 0x20]
mov rbx, qword [rax + 0x28]
jmp 0x140164951
mov edx, dword [rsp + 0x80]
mov dword [rsi + 8], 0
mov qword [rsi], 0
xor ebp, ebp
mov rcx, rdi
call qword [rbx + 0x20]
test al, al
jne 0x14016498a
cmp bpl, 0x80
je 0x140164930
movzx ecx, byte [rsp + 0x86]
cmp cl, byte [rsp + 0x87]
jae 0x1401645f3
lea eax, [rcx + 1]
mov byte [rsp + 0x86], al
cmp cl, 0xa
jae 0x1401649a0
movzx edx, byte [rsp + rcx + 0x7c]
mov rcx, rdi
call qword [rbx + 0x20]
test al, al
je 0x140164951
mov al, 1
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x1401974d8]
mov edx, 0xa
call sym.core::panicking::panic_bounds_check::h0dad91106c89e7c9
ud2