Function at 0x40e499
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.00527420
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], 0x503370
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
movzx eax, byte [edx + 4]
test eax, eax
jne 0x40e9a9
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, 0x53c0bc
call fcn.0040736e
mov dword [esi + 0x18], eax
lea edi, [esi + 0x118]
mov ecx, edi
call fcn.00501aa4
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.005282a0
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.004d6250
pop eax
cmp byte [esi + 0x20], 4
jne 0x40e71f
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 0x40e751
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 0x40e748
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 0x40e65e
lea edx, [esi + 0xd0]
mov dword [esi + 4], edi
mov ecx, edi
push 0x5b9bcc
push 0x40
call fcn.0047dc4f
pop ecx
pop edi
mov ecx, dword [esi + 8]
mov edi, edx
mov edx, eax
push 0x5b9bdc
push edi
call fcn.00426e24
pop ecx
pop edi
mov ecx, eax
push 0x5b9bec
push dword [esi + 8]
push dword [esi + 0xc]
call fcn.00467b33
add esp, 0xc
mov eax, dword [esi + 4]
add eax, dword [esi + 8]
mov dword [esi + 4], eax
jmp 0x40e709
test al, al
mov eax, dword [esi + 0xc]
je 0x40e6b0
lea edx, [esi + 0xd0]
mov dword [esi + 4], ecx
mov dword [esi + 0x10], ebx
mov ecx, edi
push 0x5b9b8c
push 0x40
call fcn.0047dc4f
pop ecx
pop edi
mov ecx, eax
push 0x5b9b9c
push dword [esi + 4]
push dword [esi + 0xc]
call fcn.00467b33
add esp, 0xc
lea ecx, [esi + 0x38]
lea edx, [esi + 0xd0]
push 1
call fcn.00502493
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 0x40e6ce
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x38]
shr eax, 6
push eax
call fcn.00502493
pop eax
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0xd0]
and ecx, 0x3f
mov dword [esi + 4], ecx
push 0x5b9bac
push 0x40
call fcn.00426e24
pop ecx
pop edi
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
and ecx, 0xffffffc0
add edi, ecx
mov ecx, eax
push 0x5b9bbc
push dword [esi + 4]
push edi
call fcn.00467b33
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 0x40e5e6
lea ecx, [esi + 0x20]
call fcn.00401780
test al, al
je 0x40e96f
movsd xmm0, qword [esi + 0x20]
lea eax, [esi + 0x38]
movsd qword [esi + 0x38], xmm0
push eax
call fcn.00404f4c
pop eax
jmp 0x40e57d
and dword [esi + 0x68], 0
jmp 0x40e57d
push 0x68
lea eax, [esi + 0xb0]
push eax
lea eax, [esi + 0x118]
push eax
call fcn.005282a0
add esp, 0xc
lea ecx, [esi + 0x4c]
call fcn.00501ae4
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 0x5b9bfc
push 0x40
call fcn.0047dc4f
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 0x40e7e8
mov byte [eax], 0
inc eax
dec edx
jmp 0x40e7dd
not ecx
mov dword [esi + 0x2128], 1
test cl, 0x38
jne 0x40e82f
lea ecx, [esi + 0x20]
lea edx, [esi + 0x138]
mov dword [esi + 8], ebx
mov dword [esi + 4], edi
call fcn.00407bc2
lea edi, [esi + 0x60]
mov ecx, edi
call fcn.00501aa4
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.00407bc2
jmp 0x40e849
lea ecx, [esi + 0x20]
lea edx, [esi + 0x138]
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], ebx
call fcn.00407bc2
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.00501af8
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 0x40e8db
test edi, edi
je 0x40e8db
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 0x5ba21c
push 4
lea eax, [esi + 0x60]
push eax
call fcn.00467b33
add esp, 0xc
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0x14]
inc ecx
jmp 0x40e8a0
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], 0x5b920c
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.00407945
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 0x53c0cc
push 0x53ba68
lea eax, [esi + 0x118]
push eax
call fcn.00537670
add esp, 0xc
ud2
cmp eax, 1
jne 0x40e9b8
push 0x23
pop edx
mov ecx, str._async_fn__resumed_after_completion
jmp 0x40e9c0
push 0x22
pop edx
mov ecx, str._async_fn__resumed_after_panickingunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:UsersLeah.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.8_srclib.rs
push 0x53c0dc
call fcn.005373b0
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