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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c353d
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x692c00]
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.0040dfe0
add esp, 0x10
mov dword [ebp - 0x9c], eax
test eax, eax
jne 0x4cb822
xor al, al
jmp 0x4cbf16
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x8d], 1
call fcn.004e5950
test al, al
jne 0x4cbef2
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.004e5bb0
test al, al
je 0x4cbef2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4cbec6
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x4cb892
push eax
push dword [ebp - 0x9c]
call fcn.004354f0
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 0x4cbeaa
nop
test edi, edi
jne 0x4cbe31
cmp edx, 0x40
jb 0x4cbe31
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 0x4cb8e2
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 0x4cb940
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 0x4cb968
mov dword [ebp - 0x8c], edx
cmp ecx, 0x28
jae 0x4cbb7b
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 0x4cba80
mov dword [ebp - 0x8c], edx
cmp ecx, 0x3c
jae 0x4cbcc3
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 0x4cbb84
mov edx, dword [ebp - 0x8c]
cmp ecx, 0x50
jae 0x4cbdeb
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 0x4cbcd0
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 0x4cbe9c
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 0x4cbe9c
lea ecx, [ebp - 0x7c]
call fcn.004cb310
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 0x4cb8b0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x4cbec6
push dword [ebp - 0xa4]
push 0
push eax
call fcn.004a8da0
test al, al
jne 0x4cbedb
mov ecx, dword [ebp - 0xa0]
call fcn.004e5950
test al, al
je 0x4cb840
jmp 0x4cbef2
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.005b34d6
add esp, 4
lea ecx, [ebp - 0x7c]
push 0
push dword [ebp - 0xb0]
call fcn.004cc160
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.005b34c8
mov esp, ebp
pop ebp
ret