Function at 0x40cf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], edx
push 6
push str..llvm.C:Users_runneradmin.cargo_registry_srcindex.crates.io_1cd66030c949c28d_rustc_demangle_0.1.21_srclib.rs
push dword [ebp + 8]
call fcn.00407470
add esp, 0xc
cmp dword [esp + 0x40], 0
je 0x40d104
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
cmp ecx, 0xffffffff
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 4], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ecx
je 0x40d13c
mov eax, dword [esp + 0x5c]
mov esi, edx
lea ecx, [eax + edi - 1]
mov edx, eax
mov eax, dword [esp + 0x14]
cmp ecx, esi
jae 0x40d3a3
lea esi, [edi - 1]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], ebx
mov dword [esp + 8], esi
mov esi, edi
sub esi, ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x38], ebx
neg esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x18], esi
jmp 0x40d023
mov esi, edx
mov dword [esp + 0xc], 0
add esi, edi
mov eax, dword [esp + 0x34]
mov edx, esi
lea ecx, [esi + eax]
mov eax, dword [esp + 0x14]
cmp ecx, dword [esp + 4]
jae 0x40d3a3
movzx ecx, byte [eax + ecx]
xor esi, esi
mov ebx, 1
shld esi, ebx, cl
mov ebx, eax
mov eax, 1
shl eax, cl
test cl, 0x20
mov ecx, 0
cmovne esi, eax
cmovne eax, ecx
and esi, dword [esp + 0x38]
and eax, dword [esp + 0x18]
or eax, esi
je 0x40d000
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea esi, [ebx + edx]
cmp ecx, eax
cmova eax, ecx
cmp eax, edi
mov ecx, eax
mov dword [esp + 0x30], eax
cmova edi, eax
nop
cmp edi, ecx
je 0x40d0b0
lea eax, [edx + ecx]
cmp eax, dword [esp + 4]
jae 0x40da43
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
movzx ebx, byte [ebx + ecx]
cmp bl, byte [esi + ecx]
mov ecx, eax
je 0x40d070
mov esi, edx
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
add esi, dword [esp + 0x2c]
add esi, eax
jmp 0x40d00c
mov esi, edx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
nop word [eax + eax]
cmp dword [esp + 0xc], ecx
mov eax, dword [esp + 0x1c]
jae 0x40d134
dec ecx
cmp ecx, eax
jae 0x40da61
lea edi, [ecx + esi]
cmp edi, edx
jae 0x40da6a
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
movzx eax, byte [eax + ecx]
cmp al, byte [ebx + edi]
je 0x40d0c0
mov eax, dword [esp + 0x28]
add esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
jmp 0x40d00c
lea ebx, [esp + 0x88]
lea edi, [esp + 0x40]
nop
mov ecx, ebx
mov edx, edi
call fcn.0040bcc0
mov eax, dword [esp + 0x88]
cmp eax, 1
je 0x40d110
test eax, eax
jne 0x40d3a3
mov esi, dword [esp + 0x8c]
mov edx, dword [ebp + 8]
jmp 0x40d29a
mov ecx, dword [esp + 0x5c]
mov eax, ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 8], ecx
lea ecx, [ecx + edi - 1]
cmp ecx, edx
jae 0x40d3a3
mov esi, dword [esp + 0x50]
mov edx, edi
cmp esi, edi
cmova edx, esi
mov dword [esp + 0x18], edx
lea edx, [esi - 1]
cmp edx, edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
lea edi, [edi - 1]
setb byte [esp + 0x2c]
mov dword [esp + 0x30], edi
lea ebx, [edx + esi - 1]
add edx, esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x84], edx
lea edx, [eax + esi]
mov dword [esp + 0xc], edx
jmp 0x40d1d0
mov eax, dword [esp + 8]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
add ecx, eax
mov eax, dword [esp + 0x14]
cmp ecx, dword [esp + 4]
jae 0x40d3a3
movzx ecx, byte [eax + ecx]
xor edi, edi
mov eax, 1
mov ebx, dword [esp + 0x20]
shld edi, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, 0
cmovne edi, eax
cmovne eax, ecx
mov ecx, dword [esp + 0x18]
and edi, dword [esp + 0x34]
and eax, dword [esp + 0x38]
or eax, edi
mov edi, dword [esp + 8]
je 0x40d1b0
nop word cs:[eax + eax]
cmp esi, ecx
je 0x40d236
lea eax, [esi + edi]
cmp eax, dword [esp + 4]
jae 0x40da4b
movzx eax, byte [ebx]
mov edx, dword [esp + 0xc]
inc ebx
dec ecx
cmp al, byte [edx + edi]
lea eax, [edi + 1]
mov edi, eax
je 0x40d210
jmp 0x40d1b8
test byte [esp + 0x2c], 1
je 0x40da93
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, esi
add ecx, eax
nop word cs:[eax + eax]
nop dword [eax + eax]
sub ebx, 1
jb 0x40d293
cmp ecx, dword [esp + 4]
jae 0x40da80
movzx edx, byte [edi]
mov eax, esi
mov esi, dword [esp + 0x14]
dec edi
cmp dl, byte [esi + ecx]
mov esi, eax
lea ecx, [ecx - 1]
je 0x40d260
mov eax, dword [esp + 8]
add eax, dword [esp + 0x84]
jmp 0x40d1b8
mov edx, dword [ebp + 8]
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], esi
add esi, 6
je 0x40d2bf
cmp esi, edx
jae 0x40d2bd
cmp byte [ecx + esi], 0xbf
jg 0x40d2bf
push 0x438d28
push edx
push esi
jmp 0x40daee
jne 0x40d2b1
cmp esi, edx
jne 0x40d2ef
mov eax, dword [esp + 8]
test eax, eax
je 0x40da02
mov edx, dword [ebp + 8]
cmp eax, edx
jae 0x40d43f
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax], 0xbf
jle 0x40d449
mov edx, eax
jmp 0x40d3aa
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, eax
add esi, eax
jmp 0x40d304
cmp esi, ecx
je 0x40d2c3
movzx ebx, byte [esi]
movzx edx, bl
test bl, bl
js 0x40d320
inc esi
jmp 0x40d380
movzx edi, byte [esi + 1]
and edx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x40d369
movzx eax, byte [esi + 2]
shl edi, 6
and eax, 0x3f
or eax, edi
cmp bl, 0xf0
jb 0x40d373
movzx edi, byte [esi + 3]
and edx, 7
shl eax, 6
mov ebx, edx
shl ebx, 0x12
and edi, 0x3f
or edi, eax
mov edx, edi
or edx, ebx
cmp edx, 0x110000
je 0x40d2c3
add esi, 4
jmp 0x40d380
shl edx, 6
add esi, 2
or edx, edi
jmp 0x40d380
shl edx, 0xc
add esi, 3
or edx, eax
nop dword [eax + eax]
lea eax, [edx - 0x41]
cmp eax, 6
jb 0x40d300
cmp edx, 0x30
jb 0x40d3a3
cmp edx, 0x3a
jb 0x40d300
cmp edx, 0x40
je 0x40d300
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
cmp edx, 3
jae 0x40d3da
mov esi, 2
cmp edx, 2
jne 0x40da07
movzx eax, word [ecx]
cmp eax, 0x4e5a
jne 0x40d5b0
mov edx, 0xfffffffe
mov eax, 2
jmp 0x40d473
movzx eax, word [ecx]
mov edi, edx
movzx edx, byte [ecx + 2]
xor eax, 0x5a5f
xor edx, 0x4e
or dx, ax
je 0x40d41b
movzx eax, word [ecx]
cmp eax, 0x4e5a
je 0x40d456
mov edx, 3
cmp edi, 4
jb 0x40d561
cmp dword [ecx], 0x4e5a5f5f
je 0x40d4fb
mov edx, edi
jmp 0x40d561
mov edx, 0xfffffffd
mov esi, 3
cmp edi, 4
jb 0x40d46e
cmp byte [ecx + 3], 0xbf
jg 0x40d46a
mov edx, edi
push 0x438848
push edi
push 3
jmp 0x40daee
mov ecx, dword [esp + 0x10]
je 0x40d3aa
push 0x438d38
push eax
push 0
jmp 0x40daee
cmp byte [ecx + 2], 0xbf
jle 0x40dae4
mov edx, 0xfffffffe
mov esi, 2
mov eax, edi
jmp 0x40d473
mov eax, 3
add esi, ecx
add edx, eax
mov dword [esp + 0x20], eax
lea eax, [esi + edx]
mov ecx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 4], eax
mov eax, edx
nop
test eax, eax
je 0x40d4a2
dec eax
cmp byte [ecx], 0
lea ecx, [ecx + 1]
jns 0x40d490
jmp 0x40d554
cmp dword [esp + 0x14], 0
je 0x40d554
mov edi, dword [esp + 0x1c]
movzx ecx, byte [edi]
movzx edx, cl
test cl, cl
js 0x40d4c0
lea ecx, [edi + 1]
jmp 0x40d53f
movzx esi, byte [edi + 1]
and edx, 0x1f
and esi, 0x3f
cmp cl, 0xdf
jbe 0x40d523
movzx eax, byte [edi + 2]
shl esi, 6
and eax, 0x3f
or eax, esi
cmp cl, 0xf0
jb 0x40d537
movzx ecx, byte [edi + 3]
and edx, 7
shl eax, 6
lea esi, [edi + 4]
shl edx, 0x12
and ecx, 0x3f
or ecx, eax
or edx, ecx
mov ecx, esi
jmp 0x40d53f
mov edx, 0xfffffffc
mov esi, 4
cmp edi, 5
jb 0x40d52d
cmp byte [ecx + 4], 0xbf
jg 0x40d46a
mov edx, edi
push 0x438868
push edi
push 4
jmp 0x40daee
shl edx, 6
lea ecx, [edi + 2]
or edx, esi
jmp 0x40d53f
mov eax, 4
jmp 0x40d473
shl edx, 0xc
lea ecx, [edi + 3]
or edx, eax
cmp edx, 0x45
je 0x40d73f
cmp edx, 0x110000
jne 0x40d754
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp edx, 3
jb 0x40d5b0
movzx eax, word [ecx]
cmp eax, 0x525f
je 0x40d5d9
cmp byte [ecx], 0x52
je 0x40d5c3
cmp edx, 3
jbe 0x40da02
movzx eax, word [ecx]
mov esi, edx
movzx edx, byte [ecx + 2]
xor eax, 0x5f5f
xor edx, 0x52
or dx, ax
mov edx, esi
mov esi, 2
jne 0x40da07
movzx eax, byte [ecx + 3]
cmp al, 0xbf
jle 0x40daf8
lea ebx, [ecx + 3]
mov edi, 0xfffffffd
jmp 0x40d5ed
cmp byte [ecx], 0x52
mov edx, 2
mov esi, 2
jne 0x40da07
movzx eax, byte [ecx + 1]
cmp al, 0xbf
jle 0x40daac
lea ebx, [ecx + 1]
mov edi, 0xffffffff
jmp 0x40d5ed
movzx eax, byte [ecx + 2]
cmp al, 0xbf
jle 0x40dab6
lea ebx, [ecx + 2]
mov edi, 0xfffffffe
add al, 0xbf
cmp al, 0x19
ja 0x40da02
add edi, edx
xor eax, eax
nop dword [eax + eax]
cmp edi, eax
je 0x40d612
cmp byte [ebx + eax], 0
lea eax, [eax + 1]
jns 0x40d600
jmp 0x40da02
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x40]
xor edx, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
call fcn.00408570
test al, al
jne 0x40dabe
mov esi, dword [esp + 0x40]
test esi, esi
je 0x40da02
movzx ecx, byte [esp + 0x47]
movzx edx, word [esp + 0x45]
movzx eax, byte [esp + 0x44]
movq xmm0, qword [esp + 0x48]
shl ecx, 0x10
or edx, ecx
shl edx, 8
or edx, eax
movd eax, xmm0
cmp eax, edx
mov dword [esp + 4], edx
jae 0x40d70d
movzx ecx, byte [esi + eax]
add cl, 0xbf
cmp cl, 0x1a
jae 0x40d70d
mov eax, dword [esp + 4]
lea ecx, [esp + 0x40]
xor edx, edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00408570
test al, al
jne 0x40dabe
mov ecx, dword [esp + 0x40]
mov esi, 2
test ecx, ecx
je 0x40da07
movzx edx, byte [esp + 0x47]
mov dword [esp + 0xc], ecx
movzx ecx, word [esp + 0x45]
movzx esi, byte [esp + 0x44]
mov eax, dword [esp + 0x48]
shl edx, 0x10
or ecx, edx
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, esi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc]
jmp 0x40d713
mov edx, dword [esp + 0x10]
mov ecx, esi
test eax, eax
je 0x40d8dc
cmp dword [esp + 4], eax
jbe 0x40d8d6
cmp byte [ecx + eax], 0xbf
jg 0x40d8dc
mov edx, dword [esp + 4]
push 0x438a20
push edx
push eax
jmp 0x40daee
xor edi, edi
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
sub eax, ecx
jmp 0x40d8ee
xor edi, edi
add edx, 0xffffffd0
mov dword [esp + 8], edi
cmp edx, 9
ja 0x40d554
xor eax, eax
jmp 0x40d77d
inc ecx
lea edx, [esi - 0x30]
cmp edx, 0xa
jae 0x40d836
mov edi, edx
mov edx, 0xa
mov ebx, eax
mul edx
jo 0x40d554
add eax, edi
jb 0x40d554
cmp ecx, dword [esp + 4]
je 0x40d554
movzx edx, byte [ecx]
movzx esi, dl
test dl, dl
jns 0x40d770
mov dword [esp + 0xc], ecx
movzx ecx, byte [ecx + 1]
and esi, 0x1f
and ecx, 0x3f
cmp dl, 0xdf
jbe 0x40d80e
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xc]
shl ecx, 6
movzx edi, byte [edi + 2]
and edi, 0x3f
or edi, ecx
cmp dl, 0xf0
jb 0x40d821
mov ecx, dword [esp + 0xc]
shl edi, 6
and esi, 7
mov edx, esi
shl edx, 0x12
movzx ecx, byte [ecx + 3]
and ecx, 0x3f
or ecx, edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov ecx, dword [esp + 0xc]
or esi, edx
cmp esi, 0x110000
je 0x40d554
add ecx, 4
jmp 0x40d771
mov edx, dword [esp + 0xc]
shl esi, 6
or esi, ecx
add edx, 2
mov ecx, edx
jmp 0x40d771
mov ecx, dword [esp + 0xc]
shl esi, 0xc
or esi, edi
mov edi, dword [esp + 0x18]
add ecx, 3
jmp 0x40d771
test eax, eax
je 0x40d8c1
lea eax, [ebx + ebx*4]
lea eax, [edi + eax*2]
jmp 0x40d84a
inc ecx
dec eax
je 0x40d8c1
cmp ecx, dword [esp + 4]
je 0x40d554
movzx ebx, byte [ecx]
movzx esi, bl
test bl, bl
jns 0x40d846
mov edi, ecx
movzx ecx, byte [ecx + 1]
and esi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x40d8ab
movzx edx, byte [edi + 2]
shl ecx, 6
and edx, 0x3f
or edx, ecx
cmp bl, 0xf0
jb 0x40d8b5
movzx ecx, byte [edi + 3]
and esi, 7
shl edx, 6
mov ebx, esi
shl ebx, 0x12
and ecx, 0x3f
or ecx, edx
mov esi, ecx
or esi, ebx
cmp esi, 0x110000
je 0x40d554
mov ecx, edi
add ecx, 4
jmp 0x40d847
shl esi, 6
add edi, 2
or esi, ecx
jmp 0x40d8bd
shl esi, 0xc
add edi, 3
or esi, edx
mov ecx, edi
jmp 0x40d847
mov edi, dword [esp + 8]
mov edx, esi
inc edi
cmp esi, 0x45
jne 0x40d756
jmp 0x40d741
jne 0x40d72f
mov esi, dword [esp + 4]
add ecx, eax
mov dword [esp + 0x1c], 0
sub esi, eax
mov eax, esi
test eax, eax
mov dword [esp + 0xc], ecx
je 0x40da15
cmp byte [ecx], 0x2e
jne 0x40da02
lea esi, [ecx + eax]
mov dword [esp + 4], eax
mov edx, ecx
mov al, 0x2e
mov dword [esp + 0x14], ebx
mov dword [esp + 8], edi
mov ecx, esi
mov dword [esp + 0x18], esi
test al, al
jns 0x40d9b0
jmp 0x40d937
movzx eax, byte [edx]
test al, al
jns 0x40d9b0
mov ecx, eax
and cl, 0x1f
movzx edi, cl
movzx ecx, byte [edx + 1]
and ecx, 0x3f
cmp al, 0xdf
jbe 0x40d98b
movzx ebx, byte [edx + 2]
shl ecx, 6
and ebx, 0x3f
or ebx, ecx
cmp al, 0xf0
jb 0x40d997
movzx esi, byte [edx + 3]
and edi, 7
shl ebx, 6
mov ecx, dword [esp + 0x18]
shl edi, 0x12
and esi, 0x3f
or esi, ebx
or esi, edi
cmp esi, 0x110000
je 0x40da6e
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 8]
add edx, 4
jmp 0x40d9b4
shl edi, 6
add edx, 2
or edi, ecx
mov esi, edi
jmp 0x40d9a5
shl edi, 0xc
add edx, 3
or ebx, edi
mov esi, ebx
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x18]
jmp 0x40d9b4
inc edx
movzx esi, al
lea eax, [esi - 0x21]
cmp eax, 0x19
jb 0x40d9f0
mov eax, esi
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp eax, 0x1a
jb 0x40d9f0
lea eax, [esi - 0x3a]
cmp eax, 7
jb 0x40d9f0
lea eax, [esi - 0x5b]
cmp eax, 6
jb 0x40d9f0
add esi, 0xffffff85
cmp esi, 3
ja 0x40da02
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp edx, ecx
jne 0x40d930
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 4]
jmp 0x40da17
mov esi, 2
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], esi
mov esi, 1
jmp 0x40da07
mov ecx, dword [esp + 0x30]
add ecx, edx
jmp 0x40da51
mov ecx, dword [esp + 8]
add ecx, esi
mov edx, dword [esp + 4]
cmp edx, ecx
cmova ecx, edx
push 0x438fa0
jmp 0x40da89
mov edx, eax
push 0x438fb0
jmp 0x40da89
mov ecx, edi
jmp 0x40da84
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
jmp 0x40da17
mov edx, dword [esp + 4]
push 0x438fc0
call fcn.00435270
add esp, 4
ud2
test esi, esi
mov edx, dword [ebp + 8]
mov esi, dword [esp + 8]
je 0x40d29a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x40da63
push 0x438a00
push edx
push 1
jmp 0x40daee
push 0x4389f0
push edx
jmp 0x40daec
lea eax, [esp + 0x88]
mov ecx, str._fmt::Error_s_should_be_impossible_without_a__fmt::Formatter_
mov edx, 0x3d
push 0x438a70
push 0x438798
push eax
call fcn.004354b0
add esp, 0xc
ud2
mov edx, edi
push 0x438858
push edi
push 2
call fcn.00435660
add esp, 0xc
ud2
push 0x438a10
push edx
push 3
jmp 0x40daee