Function at 0x1400d15a0
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, 0x298
mov rsi, rdx
mov r12, rcx
lea rcx, [rsp + 0x98]
mov r8d, 0x200
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, qword [r12 + 0x18]
mov rax, rcx
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x1400d16f6
mov qword [rsp + 0x60], rsi
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x58], rax
movzx r8d, byte [rax]
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
test rax, rax
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rax
je 0x1400d171a
add rax, rcx
xor r12d, r12d
nop
movzx edx, byte [rcx]
test dl, dl
js 0x1400d1640
inc rcx
cmp r12, 0x80
jne 0x1400d16e0
jmp 0x1400d1aed
mov r9d, edx
and r9d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp dl, 0xdf
jbe 0x1400d16a1
movzx r10d, byte [rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp dl, 0xf0
jb 0x1400d16bd
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 0x1400d171d
add rcx, 4
cmp r12, 0x80
jne 0x1400d16e0
jmp 0x1400d1aed
add rcx, 2
shl r9d, 6
or r9d, r11d
mov edx, r9d
cmp r12, 0x80
jne 0x1400d16e0
jmp 0x1400d1aed
add rcx, 3
shl r9d, 0xc
or r10d, r9d
mov edx, r10d
cmp r12, 0x80
je 0x1400d1aed
nop dword [rax + rax]
mov dword [rsp + r12*4 + 0x98], edx
inc r12
cmp rcx, rax
jne 0x1400d1620
jmp 0x1400d171d
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
mov rcx, rsi
add rsp, 0x298
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.core::fmt::Formatter::write_str::h8a240a9ba7535646
xor r12d, r12d
mov rax, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
add rax, rdi
mov qword [rsp + 0x78], rax
lea rax, [r12 - 1]
mov qword [rsp + 0x80], rax
lea rax, [r12*4 + 4]
mov qword [rsp + 0x40], rax
lea rbp, [rsp + r12*4]
add rbp, 0x98
mov rax, r12
neg rax
mov qword [rsp + 0x50], rax
mov rax, r12
not rax
mov qword [rsp + 0x48], rax
lea rax, [r12 + 1]
mov qword [rsp + 0x20], rax
mov eax, 0x2bc
mov qword [rsp + 0x28], rax
mov r14d, 0x48
mov ebx, pe_nt_image_headers64
mov r9d, 0x1a
movabs rsi, 0xea0ea0ea0ea0ea0f
xor eax, eax
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov edx, 0x24
sub rdx, r14
mov eax, 0
cmovae rax, rdx
cmp rax, 1
adc rax, 0
cmp rax, 0x1a
mov r15d, 0x1a
cmovae rax, r9
lea edx, [r8 - 0x61]
cmp dl, 0x1a
jb 0x1400d17e6
lea edx, [r8 - 0x30]
cmp dl, 9
ja 0x1400d1aed
add r8b, 0xea
mov edx, r8d
inc rdi
movzx r9d, dl
cmp rax, r9
jbe 0x1400d1820
add rcx, r9
jb 0x1400d1aed
lea r13, [r12 + 1]
mov rax, rcx
or rax, r13
shr rax, 0x20
je 0x1400d18bb
mov rax, rcx
xor edx, edx
div r13
mov r10, rdx
jmp 0x1400d18c5
mov r8d, 0x24
sub r8, rax
mov r13d, 0x48
nop
mov rax, r13
sub rax, r14
mov r11d, 0
cmovae r11, rax
cmp r11, 1
adc r11, 0
cmp r11, 0x1a
cmovae r11, r15
cmp rdi, qword [rsp + 0x78]
je 0x1400d1aed
movzx eax, byte [rdi]
lea edx, [rax - 0x61]
cmp dl, 0x1a
jb 0x1400d1876
lea edx, [rax - 0x30]
cmp dl, 9
ja 0x1400d1aed
add al, 0xea
mov edx, eax
movzx r10d, dl
mov rax, r10
mul r8
jo 0x1400d1aed
add r9, rax
jb 0x1400d1aed
inc rdi
cmp r11, r10
ja 0x1400d17f2
mov edx, 0x24
sub rdx, r11
add r13, 0x24
mov rax, r8
mul rdx
mov r8, rax
jno 0x1400d1830
jmp 0x1400d1aed
mov eax, ecx
xor edx, edx
div r13d
mov r10d, edx
add rbx, rax
mov rax, qword [rsp + 0x68]
cmovae rax, rbx
mov qword [rsp + 0x68], rax
jb 0x1400d1aed
mov rax, rbx
shr rax, 0x20
jne 0x1400d1aed
cmp ebx, 0x110000
je 0x1400d1aed
mov eax, ebx
xor eax, 0xd800
add eax, 0xfffff800
cmp eax, 0x10f7ff
ja 0x1400d1aed
cmp r12, 0x7f
ja 0x1400d1aed
cmp r12, r10
jbe 0x1400d1950
mov eax, r12d
sub eax, r10d
test al, 3
mov r15, qword [rsp + 0x30]
je 0x1400d19a3
mov rax, rcx
mov r8, qword [rsp + 0x20]
or rax, r8
shr rax, 0x20
je 0x1400d1967
mov rax, rcx
xor edx, edx
div r8
jmp 0x1400d196e
cmp r10, 0x80
mov r15, qword [rsp + 0x30]
jb 0x1400d19df
jmp 0x1400d1bc3
mov eax, ecx
xor edx, edx
div r8d
imul rax, qword [rsp + 0x48]
add rcx, rax
xor eax, eax
nop dword [rax]
mov edx, dword [rbp + rax*4 - 4]
mov dword [rbp + rax*4], edx
dec rax
mov edx, r12d
sub dl, cl
movzx edx, dl
and edx, 3
add rdx, rax
jne 0x1400d1980
sub rax, qword [rsp + 0x50]
mov r12, rax
mov rax, qword [rsp + 0x80]
add rax, r15
sub rax, r10
cmp rax, 3
jb 0x1400d19df
nop word [rax + rax]
movups xmm0, xmmword [rsp + r12*4 + 0x88]
movups xmmword [rsp + r12*4 + 0x8c], xmm0
lea rax, [r12 - 4]
mov r12, rax
cmp rax, r10
ja 0x1400d19c0
mov dword [rsp + r10*4 + 0x98], ebx
cmp rdi, qword [rsp + 0x78]
je 0x1400d1b86
movzx r8d, byte [rdi]
mov rax, r9
shr rax, 0x20
je 0x1400d1a0e
mov rax, r9
xor edx, edx
div qword [rsp + 0x28]
mov r9, rax
jmp 0x1400d1a1a
mov eax, r9d
xor edx, edx
div dword [rsp + 0x28]
mov r9d, eax
mov rbx, qword [rsp + 0x20]
mov rax, r9
or rax, r13
shr rax, 0x20
je 0x1400d1a47
mov rax, r9
xor edx, edx
div r13
mov rcx, rax
add rcx, r9
xor r11d, r11d
cmp rcx, 0x1c8
jae 0x1400d1a60
jmp 0x1400d1a8d
mov eax, r9d
xor edx, edx
div r13d
mov ecx, eax
add rcx, r9
xor r11d, r11d
cmp rcx, 0x1c8
jb 0x1400d1a8d
mov r9, rcx
nop word cs:[rax + rax]
mov rax, r9
mul rsi
mov rcx, rdx
shr rcx, 5
add r11, 0x24
cmp r9, 0x3e57
mov r9, rcx
ja 0x1400d1a70
inc r10
lea eax, [rcx*4]
lea eax, [rax + rax*8]
add ecx, 0x26
xor edx, edx
div cx
movzx r14d, ax
add r14, r11
inc r15
mov qword [rsp + 0x30], r15
add qword [rsp + 0x40], 4
add rbp, 4
dec qword [rsp + 0x50]
dec qword [rsp + 0x48]
inc rbx
mov qword [rsp + 0x20], rbx
mov eax, 2
mov qword [rsp + 0x28], rax
mov r12, r13
mov rbx, qword [rsp + 0x68]
mov rcx, r10
mov r9d, 0x1a
jmp 0x1400d17a2
lea rdx, str.punycode_0
mov r8d, 9
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h8a240a9ba7535646
mov bpl, 1
test al, al
jne 0x1400d1b5e
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x1400d1b48
mov rcx, rsi
mov rdx, qword [rsp + 0x88]
call sym.core::fmt::Formatter::write_str::h8a240a9ba7535646
test al, al
jne 0x1400d1b5e
lea rdx, [0x14011da31]
mov r8d, 1
mov rcx, rsi
call sym.core::fmt::Formatter::write_str::h8a240a9ba7535646
test al, al
jne 0x1400d1b5e
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x70]
call sym.core::fmt::Formatter::write_str::h8a240a9ba7535646
test al, al
je 0x1400d1b74
mov eax, ebp
add rsp, 0x298
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [0x14011da32]
mov r8d, 1
jmp 0x1400d16ff
lea rdi, [rsp + 0x3c]
mov rsi, qword [rsp + 0x60]
lea rbx, [rsp + 0x98]
mov r14, qword [rsp + 0x40]
nop dword [rax]
mov eax, dword [rbx]
mov dword [rsp + 0x3c], eax
mov rcx, rdi
mov rdx, rsi
call sym.__char_as_core::fmt::Display_::fmt::h993d8124c6a9a257
mov ebp, eax
test al, al
jne 0x1400d1b5e
add rbx, 4
add r14, 0xfffffffffffffffc
jne 0x1400d1ba0
jmp 0x1400d1b5e
lea r8, [0x14011da10]
mov edx, pe_nt_image_headers64
mov rcx, r10
call dbg.panic_bounds_check
int3