Function at 0x49bc40
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x6ddc7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x180], eax
push esi
mov dword [ebp - 0x17c], ebx
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp eax, 0x24
jb 0x49bc9e
lea eax, [ecx + 0x24]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x49bc85
mov eax, dword [ebx]
push 0x24
lea esi, [eax + ecx]
push str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
push esi
call fcn.00617c80
add esp, 0xc
mov byte [esi + 0x24], 0
jmp 0x49bcbb
push 0x24
push str.258EAFA5_E914_47DA_95CA_C5AB0DC85B11
mov byte [ebp - 0x174], 0
mov ecx, ebx
push dword [ebp - 0x174]
push 0x24
call fcn.0044ebc0
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x178], ebx
jb 0x49bcda
mov edx, dword [ebx]
mov dword [ebp - 0x178], edx
xor esi, esi
mov dword [ebp - 0x2c], 0x67452301
mov dword [ebp - 0x28], 0xefcdab89
mov dword [ebp - 0x24], 0x98badcfe
mov dword [ebp - 0x20], 0x10325476
mov dword [ebp - 0x1c], 0xc3d2e1f0
push edi
cmp eax, 0x40
jb 0x49bd7c
mov ebx, dword [ebp - 0x178]
nop dword [eax + eax]
lea edi, [esi + 0x40]
cmp esi, edi
jae 0x49bd4f
lea edx, [ebp - 0x170]
nop dword [eax]
movzx ecx, byte [ebx + esi]
lea edx, [edx + 4]
movzx eax, byte [ebx + esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + esi + 3]
shl ecx, 8
add esi, 4
or ecx, eax
mov dword [edx - 4], ecx
cmp esi, edi
jb 0x49bd20
lea edx, [ebp - 0x170]
lea ecx, [ebp - 0x2c]
call fcn.00479d70
mov eax, dword [ebp - 0x174]
add eax, 0xffffffc0
cmp esi, eax
jbe 0x49bd10
mov ebx, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x174]
mov ecx, eax
mov eax, 0xf
sub ecx, esi
mov dword [ebp - 0x174], ecx
nop dword [eax + eax]
mov dword [ebp + eax*4 - 0x170], 0
sub eax, 1
jns 0x49bd90
xor edi, edi
test ecx, ecx
je 0x49bdf5
lea eax, [esi + edx]
mov esi, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
lea ebx, [edi + 3]
nop dword [eax + eax]
mov eax, edi
lea edx, [ebp - 0x170]
shr eax, 2
mov ecx, ebx
lea edx, [edx + eax*4]
mov eax, edi
and eax, 3
sub ecx, eax
mov eax, dword [ebp - 0x178]
shl ecx, 3
movzx eax, byte [eax + edi]
inc edi
shl eax, cl
or dword [edx], eax
cmp edi, esi
jb 0x49bdc0
mov ebx, dword [ebp - 0x17c]
jmp 0x49bdfb
mov esi, dword [ebp - 0x174]
mov eax, edi
lea edx, [ebp - 0x170]
shr eax, 2
and edi, 3
mov ecx, 3
lea edx, [edx + eax*4]
sub ecx, edi
mov eax, 0x80
shl ecx, 3
shl eax, cl
or dword [edx], eax
pop edi
cmp esi, 0x38
jb 0x49be50
lea edx, [ebp - 0x170]
lea ecx, [ebp - 0x2c]
call fcn.00479d70
mov eax, 0xf
nop dword [eax + eax]
mov dword [ebp + eax*4 - 0x170], 0
sub eax, 1
jns 0x49be40
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x170]
shl eax, 3
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x134], eax
call fcn.00479d70
mov edx, 0x13
nop
mov eax, edx
mov ecx, edx
sar eax, 2
not ecx
and ecx, 3
shl ecx, 3
mov eax, dword [ebp + eax*4 - 0x2c]
shr eax, cl
mov byte [ebp + edx - 0x18], al
sub edx, 1
jns 0x49be70
push 0x14
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00478640
mov esi, eax
add esp, 4
cmp ebx, esi
je 0x49becc
mov ecx, ebx
call fcn.0044e190
movups xmm0, xmmword [esi]
movups xmmword [ebx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebx + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x49befc
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49bef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49bf3e
push edx
push ecx
call fcn.005ff7fe
add esp, 8
mov ebx, dword [ebp - 0x180]
push 0x6eb974
push 0x450a50
push 0x6eb9ac
mov dword [ebx], 0
call fcn.005fbcbd
add esp, 0xc
test eax, eax
je 0x49bf43
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
mov dword [ebx + 4], 0x6eb974
xor ecx, ebp
pop ebx
call fcn.005ff7bd
mov esp, ebp
pop ebp
ret 8
call fcn.0061f5be
call fcn.0061f60e
int3