Function at 0x4adcb0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0xa4], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x94], edi
test edx, edx
je 0x4ae3d4
cmp word [eax], 0x40
jne 0x4ae3d4
cmp word [eax + edx*2 - 2], 0
jne 0x4ae3d4
push 0x3d
push eax
call fcn.004d644c
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4ae3d4
add ecx, 2
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4add21
sub edx, esi
lea eax, [ebp - 0x18]
push 0x14
sar edx, 1
push eax
call fcn.00453ba0
add esp, 8
test eax, eax
jne 0x4ae3d4
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x480]
mov dword [ebp - 0x8c], eax
test ebx, ebx
je 0x4addfc
mov edi, 0x28
mov dword [ebp - 0x68], 0
xor ecx, ecx
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
xor edx, edx
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
mov dword [ebp - 0x70], 0xc3d2e1f0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x6c], edi
nop word [eax + eax]
mov eax, 0x40
mov esi, edi
sub eax, ecx
cmp edi, eax
cmovae esi, eax
lea eax, [ebp - 0x60]
push esi
add eax, edx
push ebx
push eax
call fcn.004d6950
mov ecx, dword [ebp - 0x20]
add ebx, esi
add ecx, esi
sub edi, esi
mov esi, dword [ebp - 0x8c]
add esp, 0xc
mov dword [ebp - 0x20], ecx
mov edx, ecx
cmp ecx, 0x40
jne 0x4added
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.004b2a40
xor ecx, ecx
mov dword [ebp - 0x20], 0
xor edx, edx
test edi, edi
jne 0x4adda0
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.004b2720
xor ecx, ecx
nop
mov eax, dword [ebp + ecx - 0x18]
cmp eax, dword [ebp + ecx - 0x80]
jne 0x4ae3d4
add ecx, 4
cmp ecx, 0x14
jb 0x4ade00
xor ecx, ecx
nop dword [eax + eax]
cmp dword [ecx*8 + 0x50c190], 0x2c6
je 0x4adebb
inc ecx
cmp ecx, 0x43
jb 0x4ade20
mov ebx, dword [ebp - 0xac]
push 0x28
push dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ebx
push 0x2c6
push ebx
call fcn.004bba30
test eax, eax
je 0x4adf02
test ebx, ebx
je 0x4adea3
mov ecx, dword [ebx + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
test ecx, ecx
je 0x4ade7b
call fcn.004c2a10
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x4ade9a
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4ade91
push esi
call eax
add esp, 4
push esi
call fcn.004d9a63
add esp, 4
push ebx
call fcn.004d9a63
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ecx*8 + 0x50c194]
call fcn.004c3150
mov edi, eax
test edi, edi
je 0x4ade37
mov dword [edi + 0x30], 0x2c6
mov esi, dword [edi + 0x4c]
push 0x10
shl esi, 5
call fcn.004d9a7e
mov ebx, eax
add esp, 4
mov dword [ebx], 0x2c6
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], 0
jmp 0x4ade3d
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x480]
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4adf6d
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], 0
push ecx
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x6c], 0
push eax
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
mov dword [ebp - 0x70], 0xc3d2e1f0
mov dword [ebp - 0x20], 0
call fcn.004b22d0
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.004b2720
test ebx, ebx
je 0x4ae36f
cmp dword [ebp + 0x1c], 0
je 0x4ae36f
cmp dword [ebx + 8], 0
lea eax, [ebx + 8]
je 0x4ae368
cmp dword [ebx + 0xc], 0
je 0x4ae368
call fcn.004be740
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x98], esi
call fcn.004be890
mov ecx, esi
call fcn.004be9b0
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x84], edi
call fcn.004be9b0
mov ecx, esi
mov dword [ebp - 0x8c], eax
call fcn.004be9b0
mov ecx, esi
mov dword [ebp - 0x9c], eax
call fcn.004be9b0
mov ecx, esi
mov dword [ebp - 0xa4], eax
call fcn.004be9b0
mov dword [ebp - 0x94], eax
test eax, eax
jne 0x4ae00c
mov ecx, esi
mov edi, 1
call fcn.004be940
mov ecx, esi
call fcn.004be7a0
lea eax, [ebx + 8]
jmp 0x4ae37b
push ecx
mov ecx, dword [ebx + 8]
mov edx, edi
call fcn.004c2e40
add esp, 4
test eax, eax
je 0x4adff1
mov ecx, edi
call fcn.004bfe00
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 0x14
jb 0x4adff1
call fcn.004bfef0
push 0x14
mov dword [ebp - 0x88], eax
call fcn.004d9a7e
mov edx, dword [ebp + 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x88]
add esp, 4
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x90], edi
mov ecx, dword [edx]
mov dword [edi], ecx
xor ecx, ecx
mov dword [eax], edi
mov dword [eax + 4], 5
mov dword [eax + 8], 5
mov dword [eax + 0xc], 0
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
lea edx, [ecx + 5]
mov dword [edi + 0x10], eax
mov eax, 0x14
nop
cmp dword [edi + eax - 4], 0
jne 0x4ae0b4
dec edx
inc ecx
sub eax, 4
mov dword [ebx + 4], edx
cmp ecx, 5
jb 0x4ae0a0
call fcn.004bfef0
push 0x14
mov dword [ebp - 0xa0], eax
call fcn.004d9a7e
mov edx, dword [ebp + 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0xa0]
add esp, 4
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], ebx
mov ecx, dword [edx + 0x14]
mov edi, dword [ebp - 0xb0]
mov dword [ebx], ecx
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], 5
mov dword [eax + 8], 5
mov dword [eax + 0xc], 0
mov eax, dword [edx + 0x18]
mov dword [ebx + 4], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [edx + 0x20]
mov dword [ebx + 0xc], eax
mov eax, dword [edx + 0x24]
lea edx, [ecx + 5]
mov dword [ebx + 0x10], eax
mov eax, 0x14
mov ebx, dword [ebp - 0xa8]
nop word [eax + eax]
cmp dword [eax + edi - 4], 0
jne 0x4ae144
dec edx
inc ecx
sub eax, 4
mov dword [esi + 4], edx
cmp ecx, 5
jb 0x4ae130
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x90]
mov edx, dword [eax + 4]
test edx, edx
je 0x4ae19f
mov ecx, dword [ebp - 0x84]
mov eax, edx
sub eax, dword [ecx + 4]
jne 0x4ae1e8
mov eax, dword [ecx]
lea ecx, [edx - 1]
mov dword [ebp - 0x98], eax
test ecx, ecx
js 0x4ae19f
sub edi, dword [ebp - 0x98]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x90], edi
mov edx, dword [eax + edi]
mov edi, dword [eax]
cmp edi, edx
jne 0x4ae1dc
mov edi, dword [ebp - 0x90]
sub eax, 4
sub ecx, 1
jns 0x4ae188
mov ecx, esi
mov edi, 1
call fcn.004be940
mov ecx, esi
call fcn.004be7a0
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x4ae1c3
mov ecx, eax
call fcn.004bfe20
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4ae1d4
mov ecx, eax
call fcn.004bfe20
lea eax, [ebx + 8]
jmp 0x4ae37b
mov ecx, dword [ebp - 0x84]
sbb eax, eax
and eax, 2
dec eax
test eax, eax
jns 0x4ae19f
mov edi, dword [ebp - 0xa0]
cmp dword [edi + 4], 0
je 0x4ae19f
mov edx, ecx
mov ecx, edi
call fcn.004c03c0
test eax, eax
jns 0x4ae19f
mov ecx, dword [ebp - 0x9c]
mov edx, edi
push esi
push dword [ebp - 0x84]
call fcn.004bec90
add esp, 8
test eax, eax
je 0x4ae19f
push dword [ebp - 0xa4]
mov edx, 0x14
lea ecx, [ebp - 0x80]
call fcn.004c0210
add esp, 4
test eax, eax
je 0x4ae19f
mov edi, dword [ebp - 0x84]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x8c]
push esi
push edi
push dword [ebp - 0x9c]
call fcn.004c2410
add esp, 0xc
test eax, eax
je 0x4ae19f
mov eax, dword [ebp - 0x9c]
mov ecx, eax
mov edx, dword [ebp - 0x88]
push esi
push edi
push eax
call fcn.004c2410
add esp, 0xc
test eax, eax
je 0x4ae19f
mov ecx, dword [ebx + 8]
call fcn.004c2e60
mov edi, eax
mov dword [ebp - 0x98], edi
test edi, edi
je 0x4ae19f
mov ecx, dword [ebx + 8]
mov edx, edi
push esi
push dword [ebp - 0x9c]
push dword [ebx + 0xc]
push dword [ebp - 0x8c]
call fcn.004c30e0
add esp, 0x10
test eax, eax
jne 0x4ae2cb
lea edi, [eax + 1]
jmp 0x4ae331
mov ecx, dword [ebx + 8]
mov edx, edi
push esi
push 0
push dword [ebp - 0x94]
mov eax, dword [ecx]
cmp dword [eax], 0x196
jne 0x4ae2f6
call fcn.004c2fb0
add esp, 0xc
test eax, eax
jne 0x4ae2fd
mov edi, 1
jmp 0x4ae331
call fcn.004c2fb0
jmp 0x4ae2e8
mov edi, dword [ebp - 0x8c]
mov ecx, edi
mov edx, dword [ebp - 0x94]
push esi
push dword [ebp - 0x84]
call fcn.004c2340
add esp, 8
test eax, eax
je 0x4ae2ef
mov edx, dword [ebp - 0x88]
mov ecx, edi
call fcn.004c03c0
neg eax
sbb edi, edi
neg edi
mov ecx, esi
mov dword [ebp - 0x84], esi
call fcn.004be940
mov ecx, esi
call fcn.004be7a0
mov esi, dword [ebp - 0x98]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4ae35a
push esi
call eax
add esp, 4
push esi
call fcn.004d9a63
add esp, 4
jmp 0x4ae1b2
mov edi, 1
jmp 0x4ae37b
lea eax, [ebx + 8]
mov edi, 1
test ebx, ebx
je 0x4ae3d4
mov ecx, dword [eax]
mov dword [ebx], 0
mov dword [ebx + 4], 0
test ecx, ecx
je 0x4ae393
call fcn.004c2a10
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x4ae3b2
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4ae3a9
push esi
call eax
add esp, 4
push esi
call fcn.004d9a63
add esp, 4
push ebx
call fcn.004d9a63
add esp, 4
test edi, edi
jne 0x4ae3d4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x18