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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x48]
push 6
push str..llvm.C:UsersTomashu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rustc_demangle_0.1.24_src_lib.rsB
push edi
push dword [ebp + 0xc]
push eax
call fcn.00413da0
add esp, 0x14
test byte [esp + 0x48], 1
je 0x40c3ab
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
cmp ecx, 0xffffffff
mov ecx, dword [esp + 0x80]
lea esi, [edx - 1]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 0x14], ecx
je 0x40c3e9
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
lea ecx, [edx + esi]
cmp ecx, ebx
jae 0x40c52f
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xc]
sub ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ecx, byte [eax + ecx]
mov ebx, eax
xor eax, eax
mov esi, 1
shld eax, esi, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
and eax, dword [esp + 0x28]
and esi, dword [esp + 0x2c]
or esi, eax
je 0x40c330
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov esi, edx
add ebx, edx
cmp ecx, eax
mov edi, eax
mov eax, dword [esp + 0xc]
cmova edi, ecx
mov ecx, edi
mov dword [esp + 0x24], edi
cmp edi, eax
cmova eax, edi
nop
cmp eax, ecx
je 0x40c340
lea edi, [esi + ecx]
cmp edi, dword [esp]
jae 0x40c87c
mov edx, dword [esp + 0x14]
lea edi, [ecx + 1]
movzx edx, byte [edx + ecx]
cmp dl, byte [ebx + ecx]
mov ecx, edi
je 0x40c2e0
mov edx, esi
mov ebx, dword [esp]
mov eax, dword [esp + 0x10]
mov dword [esp + 8], 0
sub edx, dword [esp + 4]
add edx, edi
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x18]
lea ecx, [edx + esi]
cmp ecx, ebx
jb 0x40c290
jmp 0x40c52f
add edx, dword [esp + 0xc]
mov eax, ebx
mov dword [esp + 8], 0
jmp 0x40c394
mov ecx, dword [esp + 4]
mov edi, dword [ebp + 0x10]
nop word [eax + eax]
cmp dword [esp + 8], ecx
mov ebx, esi
jae 0x40c537
dec ecx
cmp ecx, dword [esp + 0xc]
jae 0x40c86d
lea eax, [ecx + ebx]
cmp eax, dword [esp]
jae 0x40c8b0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx + ecx]
mov edx, dword [esp + 0x10]
cmp bl, byte [edx + eax]
je 0x40c350
mov eax, edx
mov edx, esi
mov ecx, dword [esp + 0x20]
add edx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov ebx, dword [esp]
mov esi, dword [esp + 0x18]
lea ecx, [edx + esi]
cmp ecx, ebx
jb 0x40c290
jmp 0x40c52f
lea esi, [esp + 0x38]
lea edi, [esp + 0x48]
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, esi
mov edx, edi
call fcn.0040bdc0
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x40c3c0
test eax, eax
jne 0x40c5ff
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
jmp 0x40c543
mov edx, dword [esp + 0x64]
lea ecx, [edx + esi]
cmp ecx, ebx
jae 0x40c52f
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
cmp ebx, eax
mov edi, eax
mov eax, dword [esp + 0x10]
cmova edi, ebx
mov dword [esp + 0x1c], edi
lea edi, [ebx - 1]
mov dword [esp + 0x20], edi
lea edi, [eax + ebx]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x14]
lea edi, [edi + ebx - 1]
mov dword [esp + 0x34], edi
jmp 0x40c46c
mov edi, dword [esp + 4]
add edi, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov edx, edi
mov eax, dword [esp + 0x10]
lea ecx, [edi + esi]
mov edi, dword [ebp + 0x10]
cmp ecx, dword [esp]
jae 0x40c52f
movzx ecx, byte [eax + ecx]
mov edi, 1
xor eax, eax
mov esi, 1
mov ebx, dword [esp + 0x14]
mov dword [esp + 4], edx
shld eax, esi, cl
shl edi, cl
test cl, 0x20
mov ecx, 0
mov esi, dword [esp + 0x2c]
cmovne eax, edi
cmovne edi, ecx
mov ecx, dword [esp + 0x1c]
and eax, dword [esp + 0x24]
and edi, dword [esp + 0x28]
or edi, eax
mov eax, edx
je 0x40c44b
nop dword [eax]
cmp esi, ecx
je 0x40c4d9
lea edx, [esi + eax]
cmp edx, dword [esp]
jae 0x40c896
movzx edx, byte [ebx + esi]
mov edi, dword [esp + 8]
inc ebx
dec ecx
cmp dl, byte [edi + eax]
lea edi, [eax + 1]
mov eax, edi
je 0x40c4b0
jmp 0x40c453
mov ecx, dword [esp + 0x20]
mov edi, dword [ebp + 0x10]
cmp ecx, dword [esp + 0xc]
jae 0x40c85e
mov eax, dword [esp + 4]
mov ebx, esi
add ecx, eax
mov eax, dword [esp + 0x34]
nop word cs:[eax + eax]
sub ebx, 1
jb 0x40c53c
cmp ecx, dword [esp]
jae 0x40c8bf
mov esi, edi
movzx edx, byte [eax]
mov edi, dword [esp + 0x10]
dec eax
cmp dl, byte [edi + ecx]
lea ecx, [ecx - 1]
mov edi, esi
je 0x40c500
mov edi, dword [esp + 4]
add edi, dword [esp + 0x30]
jmp 0x40c453
mov eax, dword [ebp + 0xc]
jmp 0x40c605
mov eax, dword [ebp + 0xc]
jmp 0x40c543
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 4]
mov ecx, ebx
add ecx, 6
je 0x40c564
cmp ecx, edi
jae 0x40c562
cmp byte [eax + ecx], 0xbf
jg 0x40c564
push 0x428940
push edi
push ecx
push edi
push eax
call fcn.00425650
jne 0x40c554
add ecx, eax
lea edx, [eax + edi]
mov dword [esp + 4], ebx
jmp 0x40c589
inc ecx
mov edi, esi
lea eax, [edi - 0x30]
cmp eax, 0xa
setb al
add edi, 0xffffffc0
cmp edi, 7
setb ah
or ah, al
je 0x40c5ff
cmp ecx, edx
je 0x40c7b5
movzx eax, byte [ecx]
movzx esi, al
test al, al
jns 0x40c570
movzx edi, byte [ecx + 1]
and esi, 0x1f
and edi, 0x3f
cmp al, 0xdf
jbe 0x40c5e2
movzx ebx, byte [ecx + 2]
shl edi, 6
and ebx, 0x3f
or ebx, edi
cmp al, 0xf0
jb 0x40c5ec
movzx edi, byte [ecx + 3]
shl ebx, 6
and esi, 7
shl esi, 0x12
and edi, 0x3f
or edi, ebx
mov ebx, dword [esp + 4]
or edi, esi
cmp edi, 0x110000
je 0x40c7b5
add ecx, 4
jmp 0x40c573
shl esi, 6
add ecx, 2
or esi, edi
jmp 0x40c571
shl esi, 0xc
add ecx, 3
or ebx, esi
mov edi, ebx
mov ebx, dword [esp + 4]
jmp 0x40c573
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push edi
push eax
lea ecx, [esp + 0x50]
push ecx
mov esi, eax
call fcn.0040cb40
add esp, 0xc
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x40c756
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
test ebx, ebx
je 0x40c7f5
cmp byte [eax], 0x2e
jne 0x40c78f
mov dword [esp + 4], edx
lea edx, [eax + ebx]
mov dword [esp + 8], ecx
mov dword [esp + 0x18], ebx
mov dword [esp], edx
mov edx, eax
mov al, 0x2e
mov dword [esp + 0x14], edx
test al, al
jns 0x40c6e0
nop dword [eax]
movzx esi, byte [edx + 1]
mov ecx, eax
and cl, 0x1f
movzx ecx, cl
and esi, 0x3f
cmp al, 0xdf
jbe 0x40c6c0
mov ebx, edi
movzx edi, byte [edx + 2]
shl esi, 6
and edi, 0x3f
or edi, esi
cmp al, 0xf0
jb 0x40c6d0
movzx eax, byte [edx + 3]
and ecx, 7
shl edi, 6
shl ecx, 0x12
and eax, 0x3f
or eax, edi
or eax, ecx
cmp eax, 0x110000
je 0x40c850
add edx, 4
jmp 0x40c6da
shl ecx, 6
add edx, 2
or ecx, esi
mov eax, ecx
jmp 0x40c6e4
shl ecx, 0xc
add edx, 3
or edi, ecx
mov eax, edi
mov edi, ebx
jmp 0x40c6e4
inc edx
movzx eax, al
mov ecx, eax
lea esi, [eax - 0x30]
and ecx, 0x1fffdf
add ecx, 0xffffffbf
cmp ecx, 0x1a
setb cl
cmp esi, 0xa
lea esi, [eax - 0x21]
setb ch
cmp esi, 0xf
setb bl
or bl, ch
or bl, cl
jne 0x40c71d
lea ecx, [eax - 0x3a]
cmp ecx, 7
jb 0x40c71d
lea ecx, [eax - 0x5b]
cmp ecx, 6
jae 0x40c72e
cmp edx, dword [esp]
je 0x40c7a1
movzx eax, byte [edx]
test al, al
jns 0x40c6e0
jmp 0x40c670
add eax, 0xffffff81
cmp eax, 0xfffffffc
jae 0x40c71d
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 1
jmp 0x40c7f9
mov dword [esp + 8], ecx
lea eax, [esp + 0x38]
push edi
push esi
push eax
call fcn.0040e010
add esp, 0xc
mov edx, dword [esp + 0x38]
test edx, edx
je 0x40c7d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
jmp 0x40c7e2
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 1
jmp 0x40c7f9
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 0xc]
mov dword [esp], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
jmp 0x40c800
test ebx, ebx
je 0x40c831
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
cmp ebx, edi
jae 0x40c83b
cmp byte [eax + ebx], 0xbf
jle 0x40c841
mov edi, ebx
jmp 0x40c605
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x14]
test ebx, ebx
jne 0x40c646
mov dword [esp + 0x14], eax
mov dword [esp], 0
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x10]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp]
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
xor edi, edi
jmp 0x40c605
je 0x40c605
push 0x428950
push ebx
push 0
push edi
push eax
call fcn.00425650
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 0xc]
mov edi, ebx
jmp 0x40c7a8
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 4]
test esi, esi
je 0x40c543
push 0x4287f4
push dword [esp + 0x10]
push ecx
call fcn.004254d9
mov ecx, dword [esp + 0x24]
mov eax, dword [esp]
add ecx, esi
cmp eax, ecx
cmova ecx, eax
push 0x428814
push eax
push ecx
call fcn.004254d9
mov eax, dword [esp + 4]
mov ecx, dword [esp]
add eax, esi
cmp ecx, eax
cmova eax, ecx
push 0x428814
push ecx
push eax
call fcn.004254d9
push 0x428804
push dword [esp + 4]
push eax
call fcn.004254d9
push 0x428804
push dword [esp + 4]
push ecx
call fcn.004254d9
int3