Function at 0x4e2210
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c121d
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x68cc00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x18]
push 0x40
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x54]
push 0
push eax
mov dword [ebp - 0x7c], vtable._ckSha1.0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov esi, 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
xor edi, edi
mov dword [ebp - 0x6c], esi
push 0x4e28
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
mov dword [ebp - 0x5c], 0xc3d2e1f0
mov dword [ebp - 0x58], edi
movlpd qword [ebp - 0x74], xmm0
call fcn.0040deb0
add esp, 0x10
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x4e22e2
xor al, al
jmp 0x4e29d6
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x8d], 1
call fcn.004cd600
test al, al
jne 0x4e29b2
nop
push dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x14]
push dword [ebp - 0xa8]
push eax
push 0x4e20
push dword [ebp - 0x9c]
call fcn.004cd860
test al, al
je 0x4e29b2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4e2986
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x4e2352
push eax
push dword [ebp - 0x9c]
call fcn.00435260
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x9c]
mov edx, eax
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], ecx
test edx, edx
je 0x4e296a
nop
test edi, edi
jne 0x4e28f1
cmp edx, 0x40
jb 0x4e28f1
movups xmm0, xmmword [ecx]
xor edx, edx
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [ebp - 0x24], xmm0
movzx ecx, byte [ebp + edx - 0x54]
movzx eax, byte [ebp + edx - 0x53]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + edx - 0x52]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + edx - 0x51]
shl ecx, 8
or ecx, eax
mov dword [ebp + edx - 0x1f0], ecx
add edx, 4
cmp edx, 0x40
jb 0x4e23a2
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x8c], edx
mov edx, 0x40
nop word [eax + eax]
mov ecx, dword [eax + 0x2c]
lea eax, [eax + 4]
xor ecx, dword [eax + 0x14]
xor ecx, dword [eax - 0xc]
xor ecx, dword [eax - 4]
rol ecx, 1
mov dword [eax + 0x34], ecx
sub edx, 1
jne 0x4e2400
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], edx
mov edx, dword [ebp - 0x8c]
mov ecx, eax
mov eax, edi
xor eax, esi
rol ecx, 5
and eax, dword [ebp - 0x84]
xor eax, edi
rol dword [ebp - 0x84], 0x1e
add ecx, eax
mov eax, dword [ebp - 0x88]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x1f0]
mov eax, esi
xor eax, dword [ebp - 0x84]
add edx, ecx
and eax, dword [ebp - 0x80]
mov ecx, edx
rol dword [ebp - 0x80], 0x1e
xor eax, esi
rol ecx, 5
add ecx, eax
mov eax, dword [ebp - 0x88]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x1ec]
mov eax, dword [ebp - 0x84]
add edi, ecx
xor eax, dword [ebp - 0x80]
mov ecx, edi
and eax, edx
rol ecx, 5
xor eax, dword [ebp - 0x84]
add ecx, eax
rol edx, 0x1e
mov eax, dword [ebp - 0x88]
add ecx, 0x5a827999
add ecx, dword [ebp + eax*4 - 0x1e8]
mov eax, edx
xor eax, dword [ebp - 0x80]
add esi, ecx
and eax, edi
mov ecx, esi
xor eax, dword [ebp - 0x80]
rol ecx, 5
add ecx, eax
rol edi, 0x1e
mov eax, dword [ebp - 0x88]
add ecx, dword [ebp + eax*4 - 0x1e4]
mov eax, dword [ebp - 0x84]
add eax, 0x5a827999
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x84], eax
mov eax, edx
rol ecx, 5
xor eax, edi
and eax, esi
rol esi, 0x1e
xor eax, edx
add ecx, eax
mov eax, dword [ebp - 0x88]
add ecx, dword [ebp + eax*4 - 0x1e0]
mov eax, dword [ebp - 0x80]
add eax, 0x5a827999
add eax, ecx
mov ecx, dword [ebp - 0x88]
add ecx, 5
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], ecx
cmp ecx, 0x14
jb 0x4e2428
mov dword [ebp - 0x8c], edx
cmp ecx, 0x28
jae 0x4e263b
nop dword [eax + eax]
mov ecx, eax
mov eax, edi
xor eax, esi
rol ecx, 5
xor eax, dword [ebp - 0x84]
add ecx, eax
rol dword [ebp - 0x84], 0x1e
mov eax, dword [ebp - 0x88]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x1f0]
mov eax, esi
xor eax, dword [ebp - 0x84]
add edx, ecx
xor eax, dword [ebp - 0x80]
mov ecx, edx
rol dword [ebp - 0x80], 0x1e
rol ecx, 5
add ecx, eax
mov eax, dword [ebp - 0x88]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x1ec]
mov eax, edx
xor eax, dword [ebp - 0x84]
add edi, ecx
xor eax, dword [ebp - 0x80]
mov ecx, edi
rol ecx, 5
add ecx, eax
rol edx, 0x1e
mov eax, dword [ebp - 0x88]
add ecx, 0x6ed9eba1
add ecx, dword [ebp + eax*4 - 0x1e8]
mov eax, edx
add esi, ecx
xor eax, edi
xor eax, dword [ebp - 0x80]
mov ecx, esi
rol ecx, 5
add ecx, eax
rol edi, 0x1e
mov eax, dword [ebp - 0x88]
add ecx, dword [ebp + eax*4 - 0x1e4]
mov eax, dword [ebp - 0x84]
add eax, 0x6ed9eba1
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x84], eax
rol ecx, 5
mov eax, edx
xor eax, edi
xor eax, esi
rol esi, 0x1e
add ecx, eax
mov eax, dword [ebp - 0x88]
add ecx, dword [ebp + eax*4 - 0x1e0]
mov eax, dword [ebp - 0x80]
add eax, 0x6ed9eba1
add eax, ecx
mov ecx, dword [ebp - 0x88]
add ecx, 5
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], ecx
cmp ecx, 0x28
jb 0x4e2540
mov dword [ebp - 0x8c], edx
cmp ecx, 0x3c
jae 0x4e2783
mov edx, eax
mov ecx, esi
or ecx, dword [ebp - 0x84]
mov eax, esi
and eax, dword [ebp - 0x84]
and ecx, edi
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 0x88]
add ecx, dword [ebp + eax*4 - 0x1f0]
lea eax, [edx - 0x70e44324]
add ecx, dword [ebp - 0x8c]
add eax, ecx
mov ecx, dword [ebp - 0x84]
rol ecx, 0x1e
mov edx, eax
mov dword [ebp - 0x84], ecx
or ecx, dword [ebp - 0x80]
and ecx, esi
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
and eax, dword [ebp - 0x80]
or ecx, eax
rol dword [ebp - 0x80], 0x1e
mov eax, dword [ebp - 0x88]
rol edx, 5
add ecx, dword [ebp + eax*4 - 0x1ec]
mov eax, dword [ebp - 0x8c]
add ecx, edi
lea edi, [edx - 0x70e44324]
add edi, ecx
mov ecx, eax
or ecx, dword [ebp - 0x80]
mov edx, edi
and ecx, dword [ebp - 0x84]
and eax, dword [ebp - 0x80]
or ecx, eax
rol edx, 5
mov eax, dword [ebp - 0x88]
add ecx, dword [ebp + eax*4 - 0x1e8]
mov eax, dword [ebp - 0x8c]
add ecx, esi
rol eax, 0x1e
lea esi, [edx - 0x70e44324]
add esi, ecx
mov dword [ebp - 0x8c], eax
mov ecx, eax
mov edx, esi
or ecx, edi
rol edx, 5
and ecx, dword [ebp - 0x80]
and eax, edi
or ecx, eax
rol edi, 0x1e
mov eax, dword [ebp - 0x88]
add ecx, dword [ebp + eax*4 - 0x1e4]
lea eax, [edx - 0x70e44324]
add ecx, dword [ebp - 0x84]
add eax, ecx
mov ecx, edi
or ecx, esi
mov dword [ebp - 0x84], eax
and ecx, dword [ebp - 0x8c]
mov edx, eax
mov eax, edi
rol edx, 5
and eax, esi
rol esi, 0x1e
or ecx, eax
mov eax, dword [ebp - 0x88]
add ecx, dword [ebp + eax*4 - 0x1e0]
add ecx, dword [ebp - 0x80]
lea eax, [ecx - 0x70e44324]
mov ecx, dword [ebp - 0x88]
add ecx, 5
add eax, edx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], ecx
cmp ecx, 0x3c
jb 0x4e2644
mov edx, dword [ebp - 0x8c]
cmp ecx, 0x50
jae 0x4e28ab
nop dword [eax]
mov ecx, dword [ebp - 0x88]
rol eax, 5
mov dword [ebp - 0x8c], eax
mov eax, edi
xor eax, esi
xor eax, dword [ebp - 0x84]
add eax, dword [ebp + ecx*4 - 0x1f0]
add eax, edx
rol dword [ebp - 0x84], 0x1e
mov edx, dword [ebp - 0x8c]
add edx, 0xca62c1d6
add edx, eax
mov eax, esi
xor eax, dword [ebp - 0x84]
mov ecx, edx
xor eax, dword [ebp - 0x80]
rol ecx, 5
rol dword [ebp - 0x80], 0x1e
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x88]
add eax, dword [ebp + ecx*4 - 0x1ec]
add eax, edi
mov edi, dword [ebp - 0x8c]
add edi, 0xca62c1d6
add edi, eax
mov eax, edx
xor eax, dword [ebp - 0x84]
mov ecx, edi
xor eax, dword [ebp - 0x80]
rol ecx, 5
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x88]
rol edx, 0x1e
add eax, dword [ebp + ecx*4 - 0x1e8]
add eax, esi
mov esi, dword [ebp - 0x8c]
add esi, 0xca62c1d6
mov dword [ebp - 0x8c], edx
add esi, eax
mov eax, edx
mov edx, dword [ebp - 0x88]
xor eax, edi
xor eax, dword [ebp - 0x80]
mov ecx, esi
rol ecx, 5
add ecx, 0xca62c1d6
rol edi, 0x1e
add eax, dword [ebp + edx*4 - 0x1e4]
add eax, dword [ebp - 0x84]
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x8c]
xor eax, edi
rol ecx, 5
xor eax, esi
add ecx, 0xca62c1d6
add eax, dword [ebp + edx*4 - 0x1e0]
add eax, dword [ebp - 0x80]
add eax, ecx
rol esi, 0x1e
mov ecx, edx
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x8c]
add ecx, 5
mov dword [ebp - 0x88], ecx
cmp ecx, 0x50
jb 0x4e2790
add dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x84]
add dword [ebp - 0x60], edi
add dword [ebp - 0x5c], edx
add dword [ebp - 0x64], esi
add dword [ebp - 0x74], 0x200
mov ecx, dword [ebp - 0x94]
adc dword [ebp - 0x70], 0
add ecx, 0x40
mov edx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x58]
sub edx, 0x40
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], edx
jmp 0x4e295c
mov eax, 0x40
mov esi, edx
sub eax, edi
cmp edx, eax
cmovae esi, eax
lea eax, [ebp - 0x54]
push esi
push ecx
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [ebp - 0x94]
add edi, esi
mov edx, dword [ebp - 0x98]
add ecx, esi
sub edx, esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], edx
cmp edi, 0x40
jne 0x4e295c
lea ecx, [ebp - 0x7c]
call fcn.004e1dd0
add dword [ebp - 0x74], 0x200
mov ecx, dword [ebp - 0x94]
adc dword [ebp - 0x70], 0
xor edi, edi
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x58], edi
mov esi, dword [ebp - 0x6c]
test edx, edx
jne 0x4e2370
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x4e2986
push dword [ebp - 0xa4]
push 0
push eax
call fcn.004a81b0
test al, al
jne 0x4e299b
mov ecx, dword [ebp - 0xa0]
call fcn.004cd600
test al, al
je 0x4e2300
jmp 0x4e29b2
mov ecx, dword [ebp - 0xa4]
push str.Digest_SHA1_aborted_by_application
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [ebp - 0x8d], 0
push dword [ebp - 0x9c]
call fcn.005af626
add esp, 4
lea ecx, [ebp - 0x7c]
push 0
push dword [ebp - 0xb0]
call fcn.004e2c20
mov al, byte [ebp - 0x8d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af618
mov esp, ebp
pop ebp
ret