Function at 0x140137fe0
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, 0x288
mov rsi, rdx
mov r14, rcx
lea rcx, [rsp + 0x88]
mov r8d, 0x200
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x140138573
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], rsi
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x58], rax
movzx r8d, byte [rax]
mov rax, qword [r14 + 8]
test rax, rax
je 0x140138125
mov rcx, qword [r14]
add rax, rcx
xor ebx, ebx
nop word [rax + rax]
movzx edx, byte [rcx]
test dl, dl
js 0x140138070
inc rcx
cmp rbx, 0x80
jne 0x140138110
jmp 0x1401384ed
mov r9d, edx
and r9d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp dl, 0xdf
jbe 0x1401380cd
movzx r10d, byte [rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp dl, 0xf0
jb 0x1401380e9
movzx edx, byte [rcx + 3]
and r9d, 7
shl r9d, 0x12
shl r10d, 6
and edx, 0x3f
or edx, r10d
or edx, r9d
cmp edx, 0x110000
je 0x140138127
add rcx, 4
cmp rbx, 0x80
jne 0x140138110
jmp 0x1401384ed
add rcx, 2
shl r9d, 6
or r9d, r11d
mov edx, r9d
cmp rbx, 0x80
jne 0x140138110
jmp 0x1401384ed
add rcx, 3
shl r9d, 0xc
or r10d, r9d
mov edx, r10d
cmp rbx, 0x80
je 0x1401384ed
nop word cs:[rax + rax]
mov dword [rsp + rbx*4 + 0x88], edx
inc rbx
cmp rcx, rax
jne 0x140138050
jmp 0x140138127
xor ebx, ebx
mov rax, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
add rax, rdi
mov qword [rsp + 0x78], rax
lea rax, [rbx - 1]
mov qword [rsp + 0x80], rax
lea rax, [rbx*4 + 4]
mov qword [rsp + 0x40], rax
lea rbp, [rsp + rbx*4]
add rbp, 0x88
mov rax, rbx
neg rax
mov qword [rsp + 0x50], rax
mov rax, rbx
not rax
mov qword [rsp + 0x48], rax
lea rax, [rbx + 1]
mov qword [rsp + 0x20], rax
mov eax, 0x2bc
mov qword [rsp + 0x28], rax
mov r11d, 0x48
mov r13d, pe_nt_image_headers64
mov r9d, 0x1a
xor eax, eax
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov edx, 0x24
sub rdx, r11
mov eax, 0
cmovae rax, rdx
cmp rax, 1
adc rax, 0
cmp rax, 0x1a
mov esi, 0x1a
cmovae rax, r9
lea edx, [r8 - 0x61]
cmp dl, 0x1a
jb 0x1401381e4
lea edx, [r8 - 0x30]
cmp dl, 9
ja 0x1401384ed
add r8b, 0xea
mov edx, r8d
inc rdi
movzx r9d, dl
cmp rax, r9
jbe 0x140138220
add rcx, r9
jb 0x1401384ed
lea r15, [rbx + 1]
mov rax, rcx
or rax, r15
shr rax, 0x20
je 0x1401382bb
mov rax, rcx
xor edx, edx
div r15
mov r10, rdx
jmp 0x1401382c5
mov r8d, 0x24
sub r8, rax
mov r15d, 0x48
nop
mov rax, r15
sub rax, r11
mov r12d, 0
cmovae r12, rax
cmp r12, 1
adc r12, 0
cmp r12, 0x1a
cmovae r12, rsi
cmp rdi, qword [rsp + 0x78]
je 0x1401384ed
movzx eax, byte [rdi]
lea edx, [rax - 0x61]
cmp dl, 0x1a
jb 0x140138276
lea edx, [rax - 0x30]
cmp dl, 9
ja 0x1401384ed
add al, 0xea
mov edx, eax
movzx r10d, dl
mov rax, r10
mul r8
jo 0x1401384ed
add r9, rax
jb 0x1401384ed
inc rdi
cmp r12, r10
ja 0x1401381f0
mov edx, 0x24
sub rdx, r12
add r15, 0x24
mov rax, r8
mul rdx
mov r8, rax
jno 0x140138230
jmp 0x1401384ed
mov eax, ecx
xor edx, edx
div r15d
mov r10d, edx
add r13, rax
mov rax, qword [rsp + 0x68]
cmovae rax, r13
mov qword [rsp + 0x68], rax
jb 0x1401384ed
mov rax, r13
shr rax, 0x20
jne 0x1401384ed
cmp r13d, 0x110000
je 0x1401384ed
mov eax, r13d
xor eax, 0xd800
add eax, 0xfffff800
cmp eax, 0x10f7ff
ja 0x1401384ed
cmp rbx, 0x7f
ja 0x1401384ed
cmp rbx, r10
jbe 0x140138350
mov eax, ebx
sub eax, r10d
test al, 3
mov rsi, qword [rsp + 0x30]
je 0x1401383a2
mov rax, rcx
mov r8, qword [rsp + 0x20]
or rax, r8
shr rax, 0x20
je 0x140138363
mov rax, rcx
xor edx, edx
div r8
jmp 0x14013836a
cmp r10, 0x80
mov rsi, qword [rsp + 0x30]
jb 0x1401383d6
jmp 0x1401385e6
mov eax, ecx
xor edx, edx
div r8d
imul rax, qword [rsp + 0x48]
add rcx, rax
xor eax, eax
nop word cs:[rax + rax]
mov edx, dword [rbp + rax*4 - 4]
mov dword [rbp + rax*4], edx
dec rax
mov edx, ebx
sub dl, cl
movzx edx, dl
and edx, 3
add rdx, rax
jne 0x140138380
sub rax, qword [rsp + 0x50]
mov rbx, rax
mov rax, qword [rsp + 0x80]
add rax, rsi
sub rax, r10
cmp rax, 3
jb 0x1401383d6
nop word cs:[rax + rax]
movups xmm0, xmmword [rsp + rbx*4 + 0x78]
movups xmmword [rsp + rbx*4 + 0x7c], xmm0
lea rax, [rbx - 4]
mov rbx, rax
cmp rax, r10
ja 0x1401383c0
mov dword [rsp + r10*4 + 0x88], r13d
cmp rdi, qword [rsp + 0x78]
je 0x1401385a4
movzx r8d, byte [rdi]
mov rax, r9
shr rax, 0x20
je 0x140138405
mov rax, r9
xor edx, edx
div qword [rsp + 0x28]
mov r9, rax
jmp 0x140138411
mov eax, r9d
xor edx, edx
div dword [rsp + 0x28]
mov r9d, eax
mov r12, qword [rsp + 0x20]
movabs r11, 0xea0ea0ea0ea0ea0f
mov rax, r9
or rax, r15
shr rax, 0x20
je 0x140138447
mov rax, r9
xor edx, edx
div r15
mov rcx, rax
add rcx, r9
xor ebx, ebx
cmp rcx, 0x1c8
jae 0x14013845f
jmp 0x14013848d
mov eax, r9d
xor edx, edx
div r15d
mov ecx, eax
add rcx, r9
xor ebx, ebx
cmp rcx, 0x1c8
jb 0x14013848d
mov r9, rcx
nop word cs:[rax + rax]
mov rax, r9
mul r11
mov rcx, rdx
shr rcx, 5
add rbx, 0x24
cmp r9, 0x3e57
mov r9, rcx
ja 0x140138470
inc r10
lea eax, [rcx*4]
lea eax, [rax + rax*8]
add ecx, 0x26
xor edx, edx
div cx
movzx r11d, ax
add r11, rbx
inc rsi
mov qword [rsp + 0x30], rsi
add qword [rsp + 0x40], 4
add rbp, 4
dec qword [rsp + 0x50]
dec qword [rsp + 0x48]
inc r12
mov qword [rsp + 0x20], r12
mov eax, 2
mov qword [rsp + 0x28], rax
mov rbx, r15
mov r13, qword [rsp + 0x68]
mov rcx, r10
mov r9d, 0x1a
jmp 0x1401381a1
mov rdi, qword [rsp + 0x70]
test rdi, rdi
mov rsi, qword [rsp + 0x60]
je 0x140138573
lea rdx, str.punycode_0called__Option::unwrap____on_a__None__value
mov r8d, 9
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h5ecc44486261c3d0
mov bpl, 1
test al, al
jne 0x14013855d
mov r8, qword [r14 + 8]
test r8, r8
je 0x140138549
mov rdx, qword [r14]
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h5ecc44486261c3d0
test al, al
jne 0x14013855d
lea rdx, [0x140192571]
mov r8d, 1
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h5ecc44486261c3d0
test al, al
jne 0x14013855d
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
mov r8, rdi
call sym.core::fmt::Formatter::write_str::h5ecc44486261c3d0
test al, al
je 0x140138595
mov eax, ebp
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
mov rcx, rsi
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.core::fmt::Formatter::write_str::h5ecc44486261c3d0
lea rdx, [0x140192572]
mov r8d, 1
jmp 0x14013857a
lea rdi, [rsp + 0x3c]
mov rsi, qword [rsp + 0x60]
lea rbx, [rsp + 0x88]
mov r14, qword [rsp + 0x40]
nop dword [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x3c], eax
mov rcx, rdi
mov rdx, rsi
call sym.__char_as_core::fmt::Display_::fmt::h7470251d63ea72e1
mov ebp, eax
test al, al
jne 0x14013855d
add rbx, 4
add r14, 0xfffffffffffffffc
jne 0x1401385c0
jmp 0x14013855d
lea r8, [0x140192550]
mov edx, pe_nt_image_headers64
mov rcx, r10
call sym.core::panicking::panic_bounds_check::h0dad91106c89e7c9
ud2