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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
push edi
push 0xa0
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.005d6d60
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049dff0
lea eax, [ebp - 0x244]
mov ecx, 0x28
push eax
push dword [ebp + 0x14]
lea esi, [ebp - 0x1a4]
push dword [ebp + 0x10]
lea edi, [ebp - 0x244]
rep movsd dword es:[edi], dword [esi]
call fcn.0049de10
mov ecx, dword [ebp + 0x20]
mov eax, 0xcccccccd
dec ecx
add esp, 0x24
mul ecx
mov eax, edx
shr eax, 4
add eax, 1
mov dword [ebp - 0x18], eax
je 0x49dd91
mov edx, 1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
nop dword [eax]
mov eax, edx
mov dword [ebp - 0x14], edx
shr eax, 0x18
lea esi, [ebp - 0x244]
mov byte [ebp - 0x2c], al
lea edi, [ebp - 0xe0]
mov eax, edx
mov dword [ebp - 0x30], 0
shr eax, 0x10
mov ecx, 0x28
mov byte [ebp - 0x2b], al
xorps xmm0, xmm0
mov eax, edx
mov byte [ebp - 0x29], dl
shr eax, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x18]
mov byte [ebp - 0x2a], al
mov eax, 4
movups xmmword [ebp - 0x104], xmm0
movups xmmword [ebp - 0x40], xmm0
test ecx, ecx
je 0x49dd57
mov dword [ebp - 8], ecx
nop dword [eax]
lea ecx, [ebp - 0xe0]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0049de10
mov ecx, dword [ebp - 0x44]
add esp, 0xc
cmp ecx, 0xffffffff
je 0x49dbff
cmp ecx, 0x40
jbe 0x49db25
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0049e250
mov ecx, 0x14
add esp, 8
mov dword [ebp - 0x44], ecx
jmp 0x49db27
jae 0x49db42
mov eax, 0x40
sub eax, ecx
push eax
lea eax, [ebp - 0xe0]
add eax, ecx
push 0
push eax
call fcn.005d6d60
add esp, 0xc
movaps xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_s_04d__02d__02d]
lea eax, [ebp - 0xa0]
movups xmm0, xmmword [ebp - 0xe0]
mov dword [ebp - 0x9c], 0
movaps xmm1, xmm2
mov dword [ebp - 0xa0], 0
pxor xmm1, xmm0
mov dword [ebp - 0x98], 0x67452301
movups xmm0, xmmword [ebp - 0xd0]
push eax
movups xmmword [ebp - 0xe0], xmm1
mov dword [ebp - 0x94], 0xefcdab89
lea eax, [ebp - 0xe0]
movaps xmm1, xmm2
mov dword [ebp - 0x90], 0x98badcfe
pxor xmm1, xmm0
mov dword [ebp - 0x8c], 0x10325476
movups xmm0, xmmword [ebp - 0xc0]
push 0x40
movups xmmword [ebp - 0xd0], xmm1
mov dword [ebp - 0x88], 0xc3d2e1f0
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0xb0]
push eax
movups xmmword [ebp - 0xc0], xmm1
pxor xmm2, xmm0
movups xmmword [ebp - 0xb0], xmm2
call fcn.0049e360
add esp, 0xc
mov dword [ebp - 0x44], 0xffffffff
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0049e250
movaps xmm2, xmmword [0x607e20]
lea eax, [ebp - 0xa0]
movups xmm0, xmmword [ebp - 0xe0]
mov dword [ebp - 0x9c], 0
movaps xmm1, xmm2
mov dword [ebp - 0xa0], 0
pxor xmm1, xmm0
mov dword [ebp - 0x98], 0x67452301
movups xmm0, xmmword [ebp - 0xd0]
push eax
movups xmmword [ebp - 0xe0], xmm1
mov dword [ebp - 0x94], 0xefcdab89
lea eax, [ebp - 0xe0]
movaps xmm1, xmm2
mov dword [ebp - 0x90], 0x98badcfe
pxor xmm1, xmm0
mov dword [ebp - 0x8c], 0x10325476
movups xmm0, xmmword [ebp - 0xc0]
push 0x40
movups xmmword [ebp - 0xd0], xmm1
mov dword [ebp - 0x88], 0xc3d2e1f0
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0xb0]
push eax
movups xmmword [ebp - 0xc0], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp - 0xb0], xmm1
call fcn.0049e360
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xf4]
push 0x14
push eax
call fcn.0049e360
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0049e250
movups xmm0, xmmword [ebp - 0xf4]
mov eax, dword [ebp - 0xe4]
add esp, 0x28
movups xmm1, xmmword [ebp - 0x104]
mov dword [ebp - 0x1c], eax
mov eax, 0x10
movups xmmword [ebp - 0x2c], xmm0
pxor xmm1, xmm0
movups xmmword [ebp - 0x40], xmm1
nop dword [eax + eax]
mov cl, byte [ebp + eax - 0x2c]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp eax, 0x14
jb 0x49dd20
sub dword [ebp - 8], 1
lea esi, [ebp - 0x1a4]
mov ecx, 0x28
lea edi, [ebp - 0xe0]
rep movsd dword es:[edi], dword [esi]
je 0x49dd57
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x104], xmm0
jmp 0x49dae0
mov ecx, dword [ebp - 4]
xor edx, edx
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0x1c]
cmp ecx, dword [ebp + 0x20]
jae 0x49dd74
mov al, byte [esi + ecx]
inc edx
mov byte [ecx + edi], al
inc ecx
cmp edx, 0x14
jb 0x49dd62
mov edx, dword [ebp - 0xc]
sub esi, 0x14
add dword [ebp - 4], 0x14
inc edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp eax, dword [ebp - 0x18]
jb 0x49da80
pop edi
pop esi
mov esp, ebp
pop ebp
ret