Function at 0x4e1c40
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov esi, edx
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 4]
mov edi, dword [edx + 8]
cmp ebx, edi
jb 0x4e21c5
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], edi
add ecx, edi
sub ebx, edi
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x38], ecx
je 0x4e1c81
push ebx
push 0
push dword [ebp - 0x38]
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x34], ebx
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x30]
mov dword [ebp - 0x10], esi
cmp ebx, edi
jb 0x4e218d
lea eax, [esi + 0x80]
lea ecx, [esi + 0x28]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
jmp 0x4e1ccd
mov esi, dword [ebp - 0x10]
mov eax, ebx
sub edi, eax
xor eax, eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], edi
mov dword [esi + 0xac], eax
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x30]
cmp ebx, edi
jb 0x4e218d
cmp ebx, edi
jne 0x4e204f
lea ecx, [ebp - 0x6c]
mov edx, esi
call sym.schannel::tls_stream::TlsStream_LT_S_GT_::initialize::hd75e8e15815fb648
mov eax, dword [ebp - 0x6c]
cmp eax, 2
je 0x4e1fce
mov esi, dword [ebp - 0x10]
cmp eax, 1
jne 0x4e204f
cmp dword [esi + 0xac], 0
je 0x4e1d2e
lea ecx, [ebp - 0x6c]
mov edx, esi
call sym.schannel::tls_stream::TlsStream_LT_S_GT_::read_in::hc6e92e59be9e1d11
movzx ecx, byte [ebp - 0x6c]
cmp ecx, 4
jne 0x4e2021
cmp dword [ebp - 0x68], 0
mov esi, dword [ebp - 0x10]
je 0x4e204f
mov dword [esi + 0xac], 0
mov ebx, dword [esi + 0x38]
mov edx, dword [esi + 0x48]
cmp edx, ebx
jb 0x4e21a3
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], 1
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 4
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x60]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm0
mov dword [eax + 0x20], 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], eax
push 0
push 0
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x14]
call sub.secur32.dll_DecryptMessage
cmp eax, 0x90316
jg 0x4e1e20
cmp eax, 0x80090318
je 0x4e1eb0
test eax, eax
jne 0x4e20d7
mov eax, dword [ebp - 0x58]
mov ecx, dword [esi + 0x44]
sub eax, ecx
jb 0x4e21ac
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], eax
add esi, eax
jb 0x4e21be
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], 0x5b0f4c
mov edx, dword [eax + 0x30]
mov ebx, dword [eax + 0x20]
mov edi, edx
sub edi, ebx
jb 0x4e2201
test ebx, ebx
mov dword [eax + 0x30], 0
je 0x4e1ec7
cmp edx, ebx
je 0x4e1ecb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
add ebx, eax
push edi
push ebx
push eax
call sub.msvcrt.dll_memmove
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x4e1ed8
cmp eax, 0x90321
jne 0x4e2044
mov dword [esi + 0x68], 0x10000
mov byte [esi + 0x6c], 0
cmp dword [ebp - 0x44], 5
mov edi, dword [esi + 0x38]
mov eax, edi
jne 0x4e1cab
mov eax, dword [ebp - 0x48]
mov ebx, edi
sub ebx, eax
jb 0x4e21d3
test eax, eax
je 0x4e1ca6
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x48]
mov ecx, edx
sub ecx, ebx
jb 0x4e21fa
test ebx, ebx
mov dword [eax + 0x48], 0
je 0x4e1f8f
cmp edx, ebx
je 0x4e1ca6
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov eax, dword [esi + 0x44]
lea ecx, [eax + ebx]
push dword [ebp - 0x1c]
push ecx
push eax
call sub.msvcrt.dll_memmove
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x4e1f9c
cmp dword [ebp - 0x5c], 4
mov eax, 1
jne 0x4e1cb9
mov eax, dword [ebp - 0x60]
jmp 0x4e1cb9
cmp edx, ebx
jne 0x4e1ed5
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor edi, edi
jmp 0x4e1ede
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0x30], edi
mov edx, dword [edx + 0x48]
cmp esi, edx
ja 0x4e21b3
mov eax, dword [ecx]
sub esi, dword [ebp - 0x1c]
sub eax, edi
cmp eax, esi
jae 0x4e1f0b
mov edx, edi
push 1
push 1
push esi
call sym.alloc::raw_vec::RawVecInner_LT_A_GT_::reserve::do_reserve_and_handle::h35901dc27c78f3f2
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x30]
jmp 0x4e1f0e
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x2c]
add ecx, dword [ebp - 0x1c]
add eax, edi
push esi
push ecx
push eax
call sym._memcpy
add esp, 0xc
add edi, esi
cmp dword [ebp - 0x44], 5
mov eax, 1
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x20], 0
mov esi, dword [ebx + 0x38]
jne 0x4e1f8b
mov ecx, dword [ebp - 0x48]
mov ebx, esi
sub ebx, ecx
jb 0x4e21da
test ecx, ecx
je 0x4e1fb8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x48]
mov edi, edx
sub edi, ebx
jb 0x4e2201
test ebx, ebx
mov dword [eax + 0x48], 0
je 0x4e1fa6
cmp edx, ebx
je 0x4e1fb6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
lea ecx, [eax + ebx]
push edi
push ecx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
jmp 0x4e1fb0
mov ebx, esi
jmp 0x4e1fb8
mov esi, dword [ebp - 0x10]
xor eax, eax
cmp edx, ebx
je 0x4e1cab
mov eax, ebx
mov dword [esi + 0x48], ecx
jmp 0x4e1cab
cmp edx, ebx
jne 0x4e1fb0
xor eax, eax
xor ebx, ebx
jmp 0x4e1fb8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x48], edi
xor eax, eax
mov ecx, dword [ebp - 0x10]
sub esi, ebx
mov dword [ecx + 0x38], esi
mov esi, ecx
mov dword [ecx + 0x3c], 0
jmp 0x4e1cb9
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x10]
cmp al, 4
jne 0x4e203d
mov ecx, edi
cmp edi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
jbe 0x4e20ac
mov dword [ebp - 0x6c], str.filled_must_not_become_larger_than_initialized
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x6c]
mov edx, 0x5aa27c
call sym.core::panicking::panic_fmt::hced28cb7137b21e1
jmp 0x4e2233
movzx eax, byte [ebp - 0x69]
movzx edx, word [ebp - 0x6b]
mov edi, dword [ebp - 0x68]
shl edx, 8
shl eax, 0x18
or eax, edx
or eax, ecx
mov esi, dword [ebp - 0x10]
cmp al, 4
je 0x4e1fdb
mov ebx, eax
jmp 0x4e20dd
cmp eax, 0x90317
jne 0x4e20d7
mov ebx, dword [esi + 0x30]
mov edi, dword [esi + 0x20]
mov edx, ebx
sub edx, edi
jb 0x4e218d
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x34]
mov esi, dword [esi + 0x24]
add eax, edi
cmp ecx, edx
cmovb edx, ecx
mov dword [ebp - 0x14], edx
push edx
push eax
push dword [ebp - 0x38]
call sym._memcpy
add esp, 0xc
mov eax, dword [ebp - 0x14]
add edi, eax
adc esi, 0
jb 0x4e2210
mov ecx, eax
xor eax, eax
cmp ebx, edi
sbb eax, esi
jb 0x4e221c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x20], edi
mov edi, dword [ebp - 0x18]
mov dword [eax + 0x24], esi
mov esi, eax
mov dword [esi + 0x1c], 0
add edx, ecx
jb 0x4e21e6
mov ecx, dword [ebp + 0xc]
mov byte [edi], 4
mov dword [ecx + 8], edx
mov eax, dword [ecx + 0xc]
cmp edx, eax
cmova eax, edx
mov dword [ecx + 0xc], eax
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, eax
xor ebx, ebx
xor eax, eax
mov ecx, eax
shr eax, 0x18
mov byte [ebp - 0x30], bl
shr ecx, 8
mov byte [ebp - 0x2d], al
mov word [ebp - 0x2f], cx
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x30]
call sym.std::io::error::Error::kind::hed2cab29b561864c
cmp al, 0xd
jne 0x4e214d
cmp bl, 3
mov dword [esi + 0x1c], 0
jne 0x4e2146
mov ebx, dword [edi + 4]
mov esi, dword [edi]
mov eax, dword [ebx]
test eax, eax
je 0x4e211b
push esi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4e2138
cmp dword [ebx + 8], 9
jb 0x4e212a
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
push edi
push 0
push dword [0x5e1120]
call sub.kernel32.dll_HeapFree
mov edi, dword [ebp - 0x18]
mov al, 5
jmp 0x4e2177
mov eax, dword [ebp - 0x30]
mov ecx, esi
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x1c], 0
xor ecx, ecx
cmp al, 4
je 0x4e20b3
mov ecx, esi
mov edx, eax
shr ecx, 8
shrd edx, esi, 8
shld ecx, edx, 8
shl edx, 8
movzx eax, al
or eax, edx
mov dword [edi + 4], ecx
mov dword [edi], eax
jmp 0x4e20cf
mov edx, ebx
mov ecx, edi
push 0x5a9ee8
call sym.core::slice::index::slice_start_index_len_fail::hb6088e54b0b075d5
add esp, 4
jmp 0x4e2233
mov dword [ebp - 0x20], str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsPoolDisabledCheckoutNoLongerWantedCheckedOutClosedValue_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.8.0_src_buf_take.rsassertion_failed:_cnt___self.limit
jmp 0x4e2201
mov ecx, 0x5aa31c
jmp 0x4e21df
mov dword [ebp - 0x20], str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsPoolDisabledCheckoutNoLongerWantedCheckedOutClosedValue_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.8.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov ebx, esi
jmp 0x4e2201
mov ecx, 0x5aa32c
jmp 0x4e2215
mov ecx, edi
mov edx, ebx
push 0x5a9f08
call sym.core::slice::index::slice_start_index_len_fail::hb6088e54b0b075d5
mov ecx, 0x5aa35c
jmp 0x4e21df
mov ecx, 0x5aa34c
call sym.core::panicking::panic_const::panic_const_sub_overflow::h31f5191bdbee8bd5
jmp 0x4e2233
mov ecx, str.overflow_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_1.5.1_src_rt_io.rs
mov edx, 8
push 0x5a8d30
call sym.core::option::expect_failed::hd8e256290d73f0e2
mov dword [ebp - 0x20], 0x5b0f4c
mov ecx, ebx
push dword [ebp - 0x20]
call sym.core::slice::index::slice_end_index_len_fail::h31017dc9c470f2c8
add esp, 4
jmp 0x4e2233
mov ecx, 0x5a9e8c
call sym.core::panicking::panic_const::panic_const_add_overflow::hf3b41c4c75c49a6d
jmp 0x4e2233
mov edx, 0x3b
mov ecx, str.assertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
push 0x5a9ed8
call sym.core::panicking::panic::hf6244c8fb5815825
add esp, 4
ud2