Function at 0x140032850
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 rdi, rcx
lea rcx, [rsp + 0x88]
mov r8d, 0x200
xor edx, edx
call fcn.14005e900
mov rcx, qword [rdi + 0x18]
mov rax, rcx
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1400329b6
mov qword [rsp + 0x60], rsi
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x58], rax
movzx r12d, byte [rax]
mov rax, qword [rdi + 8]
test rax, rax
mov qword [rsp + 0x80], rdi
je 0x1400329d8
mov rcx, qword [rdi]
add rax, rcx
xor r14d, r14d
nop word cs:[rax + rax]
movzx r10d, byte [rcx]
movzx edx, r10b
test dl, dl
js 0x140032900
inc rcx
cmp r14, 0x80
jne 0x1400329a0
jmp 0x140032db9
mov r8d, edx
and r8d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp dl, 0xdf
jbe 0x140032962
movzx r9d, byte [rcx + 2]
shl r11d, 6
and r9d, 0x3f
or r9d, r11d
cmp r10b, 0xf0
jb 0x14003297e
movzx edx, byte [rcx + 3]
and r8d, 7
shl r8d, 0x12
shl r9d, 6
and edx, 0x3f
or edx, r9d
or edx, r8d
cmp edx, 0x110000
je 0x1400329db
add rcx, 4
cmp r14, 0x80
jne 0x1400329a0
jmp 0x140032db9
add rcx, 2
shl r8d, 6
or r8d, r11d
mov edx, r8d
cmp r14, 0x80
jne 0x1400329a0
jmp 0x140032db9
add rcx, 3
shl r8d, 0xc
or r9d, r8d
mov edx, r9d
cmp r14, 0x80
je 0x140032db9
nop dword [rax]
mov dword [rsp + r14*4 + 0x88], edx
inc r14
cmp rcx, rax
jne 0x1400328d0
jmp 0x1400329db
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
mov rcx, rsi
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140057e10
xor r14d, r14d
mov rax, qword [rsp + 0x68]
mov r13, qword [rsp + 0x58]
add rax, r13
mov qword [rsp + 0x70], rax
lea rax, [r14 - 1]
mov qword [rsp + 0x78], rax
lea rax, [r14*4 + 4]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + r14*4]
add rbx, 0x88
mov rax, r14
neg rax
mov qword [rsp + 0x40], rax
mov ecx, r14d
xor cl, 3
lea rax, [r14 + 1]
mov qword [rsp + 0x50], rax
mov eax, 0x2bc
mov qword [rsp + 0x28], rax
mov r15d, 0x48
mov eax, 0x80
mov qword [rsp + 0x20], rax
mov r10d, 1
mov r11d, 0x1a
xor eax, eax
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov edx, 0x24
sub rdx, r15
mov eax, 0
cmovae rax, rdx
cmp rax, 2
cmovb rax, r10
cmp rax, 0x1a
cmovae rax, r11
lea edx, [r12 - 0x61]
cmp dl, 0x1a
jb 0x140032a98
lea edx, [r12 - 0x30]
cmp dl, 9
ja 0x140032db9
add r12b, 0xea
mov edx, r12d
mov edi, 0x1a
inc r13
movzx r10d, dl
cmp rax, r10
jbe 0x140032ae0
add r9, r10
cmovae r8, r9
jb 0x140032db9
lea rbp, [r14 + 1]
mov rax, r8
or rax, rbp
shr rax, 0x20
je 0x140032b82
mov rax, r8
xor edx, edx
div rbp
mov r9, rdx
jmp 0x140032b8c
mov r11d, 0x24
sub r11, rax
mov ebp, 0x48
nop
mov rax, rbp
sub rax, r15
mov esi, 0
cmovae rsi, rax
cmp rsi, 2
mov eax, 1
cmovb rsi, rax
cmp rsi, 0x1a
cmovae rsi, rdi
cmp r13, qword [rsp + 0x70]
je 0x140032db9
movzx eax, byte [r13]
lea edx, [rax - 0x61]
cmp dl, 0x1a
jb 0x140032b3c
lea edx, [rax - 0x30]
cmp dl, 0xa
jae 0x140032db9
add al, 0xea
mov edx, eax
movzx r12d, dl
mov rax, r12
mul r11
jo 0x140032db9
add r10, rax
jb 0x140032db9
inc r13
cmp rsi, r12
ja 0x140032aa9
mov r12d, 0x24
sub r12, rsi
add rbp, 0x24
mov rax, r11
mul r12
mov r11, rax
jno 0x140032af0
jmp 0x140032db9
mov eax, r8d
xor edx, edx
div ebp
mov r9d, edx
mov r11, qword [rsp + 0x20]
mov rdx, r11
add rdx, rax
cmovae r11, rdx
mov qword [rsp + 0x20], r11
jb 0x140032db9
mov rax, qword [rsp + 0x20]
shr rax, 0x20
jne 0x140032db9
mov rax, qword [rsp + 0x20]
xor eax, 0xd800
add eax, 0xfffff800
cmp eax, 0x10f7ff
ja 0x140032db9
cmp dword [rsp + 0x20], 0x110000
je 0x140032db9
cmp r14, 0x7f
ja 0x140032db9
cmp r14, r9
jbe 0x140032c98
mov rax, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x48]
lea r11, [rax + rdx]
mov eax, r14d
sub eax, r9d
sub r11, r9
test al, 3
mov rsi, qword [rsp + 0x50]
je 0x140032c6b
mov rax, r8
or rax, rsi
shr rax, 0x20
je 0x140032c29
mov rax, r8
xor edx, edx
div rsi
mov rdx, rax
jmp 0x140032c32
mov eax, r8d
xor edx, edx
div esi
mov edx, eax
xor esi, esi
nop word cs:[rax + rax]
mov eax, dword [rbx + rsi*4 - 4]
mov dword [rbx + rsi*4], eax
dec rsi
mov eax, ecx
mul dl
add al, r8b
mov r15d, r14d
sub r15b, al
movzx eax, r15b
and eax, 3
add rax, rsi
jne 0x140032c40
sub rsi, qword [rsp + 0x40]
mov r14, rsi
cmp r11, 3
jb 0x140032c98
nop word cs:[rax + rax]
movups xmm0, xmmword [rsp + r14*4 + 0x78]
movups xmmword [rsp + r14*4 + 0x7c], xmm0
lea rax, [r14 - 4]
mov r14, rax
cmp rax, r9
ja 0x140032c80
cmp r9, 0x80
jae 0x140032e93
mov rax, qword [rsp + 0x20]
mov dword [rsp + r9*4 + 0x88], eax
cmp r13, qword [rsp + 0x70]
je 0x140032e51
movzx r12d, byte [r13]
mov rax, r10
shr rax, 0x20
mov r14, qword [rsp + 0x30]
je 0x140032cdf
mov rax, r10
xor edx, edx
div qword [rsp + 0x28]
mov r11, rax
jmp 0x140032ceb
mov eax, r10d
xor edx, edx
div dword [rsp + 0x28]
mov r11d, eax
movabs rdi, 0xea0ea0ea0ea0ea0f
mov rax, r11
or rax, rbp
shr rax, 0x20
je 0x140032d1c
mov rax, r11
xor edx, edx
div rbp
mov r10, rax
add r10, r11
xor esi, esi
cmp r10, 0x1c8
jae 0x140032d34
jmp 0x140032d5d
mov eax, r11d
xor edx, edx
div ebp
mov r10d, eax
add r10, r11
xor esi, esi
cmp r10, 0x1c8
jb 0x140032d5d
mov r11, r10
nop word [rax + rax]
mov rax, r11
mul rdi
mov r10, rdx
shr r10, 5
add rsi, 0x24
cmp r11, 0x3e57
mov r11, r10
ja 0x140032d40
inc r9
lea eax, [r10*4]
lea eax, [rax + rax*8]
add r10d, 0x26
xor edx, edx
div r10w
movzx r15d, ax
add r15, rsi
inc qword [rsp + 0x48]
add r14, 4
mov qword [rsp + 0x30], r14
add rbx, 4
dec qword [rsp + 0x40]
add cl, 3
inc qword [rsp + 0x50]
mov eax, 2
mov qword [rsp + 0x28], rax
mov r14, rbp
mov r10d, 1
mov r11d, 0x1a
jmp 0x140032a58
lea rdx, str.punycode_0called__Option::unwrap____on_a__None__value
mov r8d, 9
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140057e10
mov bpl, 1
test al, al
jne 0x140032e29
mov rax, qword [rsp + 0x80]
mov r8, qword [rax + 8]
test r8, r8
je 0x140032e13
mov rdx, qword [rax]
mov rcx, rsi
call fcn.140057e10
test al, al
jne 0x140032e29
lea rdx, [0x140073db9]
mov r8d, 1
mov rcx, rsi
call fcn.140057e10
test al, al
jne 0x140032e29
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
call fcn.140057e10
test al, al
je 0x140032e3f
mov eax, ebp
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [0x140073dba]
mov r8d, 1
jmp 0x1400329bd
lea rdi, [rsp + 0x3c]
mov rsi, qword [rsp + 0x60]
lea rbx, [rsp + 0x88]
mov r14, qword [rsp + 0x30]
nop dword [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x3c], eax
mov rcx, rdi
mov rdx, rsi
call fcn.140058970
mov ebp, eax
test al, al
jne 0x140032e29
add rbx, 4
add r14, 0xfffffffffffffffc
jne 0x140032e70
jmp 0x140032e29
lea r8, str.C:.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rustc_demangle_0.1.21_src_v0.rs
mov edx, 0x80
mov rcx, r9
call fcn.14006cc80
ud2