Function at 0x40e2e9
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x2130
call fcn.00526980
mov esi, esp
mov dword [esi + 0x2118], ebp
lea eax, [esi + 0x2120]
mov dword [esi + 0x34], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x502890
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
movzx eax, byte [edx + 4]
test eax, eax
jne 0x40e7f9
mov eax, dword [edx]
mov dword [esi + 0x1c], edx
lea ecx, [esi + 0x118]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
and dword [esi + 0x2128], 0
push eax
call fcn.00401238
pop eax
lea ecx, [esi + 0x118]
mov edx, 0x53b0bc
call fcn.004071bb
mov dword [esi + 0x18], eax
lea edi, [esi + 0x118]
mov ecx, edi
call fcn.00500fc4
lea eax, [esi + 0xd0]
mov byte [esi + 0x158], 0
and dword [eax - 0x1c], 0
and dword [eax - 0x20], 0
mov dword [eax - 0x18], 0x67452301
mov dword [eax - 0x14], 0xefcdab89
mov dword [eax - 0x10], 0x98badcfe
mov dword [eax - 0xc], 0x10325476
mov dword [eax - 8], 0xc3d2e1f0
push 0x41
push edi
push eax
call fcn.00527800
add esp, 0xc
lea eax, [esi + 0x60]
mov dword [eax], edi
mov dword [eax + 4], 0x2000
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov edx, dword [esi + 0x18]
lea eax, [esi + 0x60]
mov dword [esi + 0x2128], 1
lea ecx, [esi + 0x20]
push eax
call fcn.004d5780
pop eax
cmp byte [esi + 0x20], 4
jne 0x40e56f
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
mov dword [esi + 4], eax
push eax
call fcn.00401000
pop ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov eax, dword [esi + 8]
test edx, edx
je 0x40e5a1
mov edx, eax
push edi
call fcn.00401000
pop ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
push dword [esi + 4]
call fcn.00401000
pop ecx
mov dword [esi + 0xc], eax
test edx, edx
je 0x40e598
lea eax, [esi + 0xb0]
mov dword [esi + 0x38], eax
mov al, byte [esi + 0x110]
movzx edi, al
push 0x40
pop ecx
sub ecx, edi
mov ebx, edx
mov dword [esi + 8], edx
sub ebx, ecx
jae 0x40e4ae
lea edx, [esi + 0xd0]
mov dword [esi + 4], edi
mov ecx, edi
push 0x5b8c9c
push 0x40
call fcn.0047d17f
pop ecx
pop edi
mov ecx, dword [esi + 8]
mov edi, edx
mov edx, eax
push 0x5b8cac
push edi
call fcn.00426344
pop ecx
pop edi
mov ecx, eax
push 0x5b8cbc
push dword [esi + 8]
push dword [esi + 0xc]
call fcn.00467063
add esp, 0xc
mov eax, dword [esi + 4]
add eax, dword [esi + 8]
mov dword [esi + 4], eax
jmp 0x40e559
test al, al
mov eax, dword [esi + 0xc]
je 0x40e500
lea edx, [esi + 0xd0]
mov dword [esi + 4], ecx
mov dword [esi + 0x10], ebx
mov ecx, edi
push 0x5b8c5c
push 0x40
call fcn.0047d17f
pop ecx
pop edi
mov ecx, eax
push 0x5b8c6c
push dword [esi + 4]
push dword [esi + 0xc]
call fcn.00467063
add esp, 0xc
lea ecx, [esi + 0x38]
lea edx, [esi + 0xd0]
push 1
call fcn.005019b3
pop eax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
add eax, dword [esi + 0xc]
cmp edx, 0x40
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
jb 0x40e51e
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x38]
shr eax, 6
push eax
call fcn.005019b3
pop eax
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0xd0]
and ecx, 0x3f
mov dword [esi + 4], ecx
push 0x5b8c7c
push 0x40
call fcn.00426344
pop ecx
pop edi
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
and ecx, 0xffffffc0
add edi, ecx
mov ecx, eax
push 0x5b8c8c
push dword [esi + 4]
push edi
call fcn.00467063
add esp, 0xc
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
xor edx, edx
add dword [esi + 0xc], ecx
mov byte [esi + 0x110], al
jmp 0x40e436
lea ecx, [esi + 0x20]
call fcn.00401780
test al, al
je 0x40e7bf
movsd xmm0, qword [esi + 0x20]
lea eax, [esi + 0x38]
movsd qword [esi + 0x38], xmm0
push eax
call fcn.00404f4c
pop eax
jmp 0x40e3cd
and dword [esi + 0x68], 0
jmp 0x40e3cd
push 0x68
lea eax, [esi + 0xb0]
push eax
lea eax, [esi + 0x118]
push eax
call fcn.00527800
add esp, 0xc
lea ecx, [esi + 0x4c]
call fcn.00501004
lea edx, [esi + 0x138]
mov eax, dword [edx - 0x20]
movsd xmm0, qword [edx - 0x10]
movzx ecx, byte [edx + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [edx - 8]
movsd qword [esi + 0x28], xmm0
movsd xmm0, qword [edx - 0x18]
mov dword [esi + 8], ecx
mov dword [esi + 0x30], eax
mov eax, dword [edx - 0x1c]
mov byte [esi + ecx + 0x138], 0x80
movsd qword [esi + 0x20], xmm0
inc ecx
mov dword [esi + 4], eax
push 0x5b8ccc
push 0x40
call fcn.0047d17f
pop ecx
pop edi
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 8]
shld ecx, edi, 9
shl edi, 9
lea ebx, [ebx*8]
bswap ecx
or ebx, edi
mov edi, ecx
mov ecx, dword [esi + 8]
bswap ebx
test edx, edx
je 0x40e638
mov byte [eax], 0
inc eax
dec edx
jmp 0x40e62d
not ecx
mov dword [esi + 0x2128], 1
test cl, 0x38
jne 0x40e67f
lea ecx, [esi + 0x20]
lea edx, [esi + 0x138]
mov dword [esi + 8], ebx
mov dword [esi + 4], edi
call fcn.00407a12
lea edi, [esi + 0x60]
mov ecx, edi
call fcn.00500fc4
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov edx, edi
mov dword [edi + 0x38], ecx
lea ecx, [esi + 0x20]
mov dword [edi + 0x3c], eax
call fcn.00407a12
jmp 0x40e699
lea ecx, [esi + 0x20]
lea edx, [esi + 0x138]
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], ebx
call fcn.00407a12
lea ecx, [esi + 0x60]
lea edx, [esi + 0x38]
lea eax, [esi + 0x34]
mov byte [esi + 0x178], 0
mov dword [edx], ecx
and dword [edx + 4], 0
lea ecx, [esi + 0x4c]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x14
mov dword [edx + 0x10], 4
lea ecx, [esi + 0x60]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.00501018
pop eax
pop ecx
mov ecx, dword [esi + 0x74]
mov edi, dword [esi + 0x68]
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x80]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0xc], eax
mov dword [esi + 4], edx
mov dword [esi + 0x14], edi
cmp ecx, dword [esi + 4]
jae 0x40e72b
test edi, edi
je 0x40e72b
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], ecx
mov eax, dword [eax + ecx*4]
imul ecx, edx
add ecx, edi
bswap eax
mov dword [esi + 0x60], eax
push 0x5b92ec
push 4
lea eax, [esi + 0x60]
push eax
call fcn.00467063
add esp, 0xc
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x14]
inc ecx
jmp 0x40e6f0
lea edi, [esi + 0x60]
movsd xmm0, qword [esi + 0x4c]
movsd xmm1, qword [esi + 0x54]
mov eax, dword [esi + 0x5c]
lea edx, [esi + 0x118]
lea ecx, [esi + 0x38]
mov dword [esi + 0x38], edi
xor edi, edi
mov dword [edx], 0x5b82dc
mov dword [esi + 0x3c], 0x401019
inc edi
mov dword [edx + 4], edi
and dword [edx + 0x10], 0
mov dword [edx + 8], ecx
lea ecx, [esi + 0xa4]
mov dword [edx + 0xc], edi
movsd qword [esi + 0x60], xmm0
movsd qword [esi + 0x68], xmm1
mov dword [esi + 0x70], eax
call fcn.00407795
and dword [esi + 0x2128], 0
push dword [esi + 0x18]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x34]
movsd xmm0, qword [esi + 0xa4]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x1c]
movsd qword [ecx], xmm0
mov byte [eax + 4], 1
mov eax, dword [esi + 0x2120]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esi + 0x20]
mov dword [esi + 0x2128], 2
movsd qword [esi + 0x118], xmm0
push 0x2b
pop edx
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x53b0cc
push 0x53aa68
lea eax, [esi + 0x118]
push eax
call fcn.00536370
add esp, 0xc
ud2
cmp eax, 1
jne 0x40e808
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completion
jmp 0x40e810
push 0x22
pop edx
mov ecx, str._async_fn__resumed_after_panickingunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Usersdanya.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.8_srclib.rsqX
push 0x53b0dc
call fcn.005360b0
push ebp
sub esp, 0xc
lea esi, [ebp - 0x212c]
mov ebp, dword [esi + 0x2118]
lea eax, [esi + 0x118]
push eax
call fcn.00404f4c
pop eax
add esp, 0xc
pop ebp
ret