Function at 0x422610
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
mov eax, dword [0x51e080]
xor eax, esp
mov dword [esp + 0x1c0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [esp + 4], eax
mov ebx, ecx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xb4]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [eax + 0x4c8]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
call fcn.0047ac20
test eax, eax
je 0x42269e
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.0047acd0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4229e7
test edi, edi
je 0x4229e7
cmp dword [ebp + 0x10], 0
je 0x4229e7
mov eax, dword [ebx + 0xb4]
lea edx, [ebp + 0x10]
push dword [eax + 0x32c]
call fcn.00452270
mov ecx, edi
add esp, 4
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4226e0
sub ecx, edx
sar ecx, 1
mov dword [esp + 0x10], ecx
jne 0x4226f9
xor esi, esi
jmp 0x422718
mov eax, dword [ebx + 0xb4]
lea edx, [esp + 0x10]
mov ecx, edi
push dword [eax + 0x32c]
call fcn.00453850
mov esi, dword [esp + 0x14]
add esp, 4
inc esi
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], esi
test edx, edx
jne 0x422728
xor eax, eax
jmp 0x42279b
mov edi, dword [esp + 0x24]
test edi, edi
je 0x4229e7
cmp dword [esp + 0x2c], 0
je 0x4229e7
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0xc], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422750
sub ecx, dword [esp + 0xc]
sar ecx, 1
lea eax, [ecx + 1]
cmp eax, 0x11
ja 0x4229e7
push ecx
mov ecx, dword [ebx + 0xb4]
lea eax, [esp + 0x14]
push edi
push edx
push eax
mov ecx, dword [ecx + 0x4ec]
lea eax, [esp + 0x170]
push eax
mov dword [esp + 0x24], 0x32
call fcn.004797e0
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x20], eax
add eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
cmp eax, 0x100
ja 0x4229e7
cmp esi, 0x100
ja 0x4229e7
mov eax, dword [ebx + 0xc8]
cmp dword [eax + 0x34], 0
je 0x422b3c
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xa0], 0
je 0x422b3c
push 0x568
call fcn.004d9a7e
mov dword [esp + 0x14], eax
add esp, 4
lea edi, [eax + 4]
mov dword [eax], 2
mov eax, dword [esp + 0xc]
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp + 0x10]
lea esi, [eax + eax]
push esi
push dword [esp + 0x1c]
push edi
call fcn.004d6950
lea eax, [esi + 8]
add esp, 0xc
mov dword [esp + 0x18], eax
add edi, esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42284d
lea esi, [eax + eax]
mov dword [esp + 0xc], 1
push esi
lea eax, [esp + 0x164]
push eax
push edi
call fcn.004d6950
add esp, 0xc
add edi, esi
add dword [esp + 0x18], esi
jmp 0x422855
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x1c]
mov dword [edi], 0
mov dword [edi + 4], esi
add esi, esi
push esi
push dword [esp + 0x18]
add edi, 8
push edi
call fcn.004d6950
mov eax, dword [esp + 0x18]
add edi, esi
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0x1c
add ecx, esi
mov dword [edi], eax
mov dword [edi + 4], 0
mov eax, dword [ebx + 0xb4]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x28c]
and eax, 0xffff0000
mov dword [edi + 0x10], 0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
add edi, 0x14
cmp dword [esp + 0x20], 0
je 0x422a11
mov eax, dword [ebx + 0xb4]
mov ebx, dword [esp + 0x10]
mov esi, dword [eax + 0x480]
lea eax, [esp + 0x60]
push eax
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x6c], 0x67452301
mov dword [esp + 0x70], 0xefcdab89
mov dword [esp + 0x74], 0x98badcfe
mov dword [esp + 0x78], 0x10325476
mov dword [esp + 0x7c], 0xc3d2e1f0
mov dword [esp + 0xcc], 0
call fcn.004b22d0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.004b2720
mov eax, dword [esp + 0x24]
push 0x2c6
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [eax + 0x20]
lea eax, [esp + 0x18]
movq qword [edi + 0x20], xmm0
add edi, 0x28
push eax
mov dword [esp + 0x14], edi
call fcn.004bd020
mov esi, dword [esp + 0x14]
push 0x14
push dword [esp + 0x30]
push 0x2c6
push esi
call fcn.004bbdb0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x28
push eax
push edi
push ecx
lea eax, [esp + 0x6c]
push eax
push esi
call fcn.004bc800
push esi
call fcn.004bd0e0
push 0x2c6
lea eax, [esp + 0x18]
push eax
call fcn.004bd020
mov edi, dword [esp + 0x24]
push 0x28
push edi
mov edi, dword [esp + 0x1c]
push 0x2c6
push edi
call fcn.004bba30
push 0x28
push dword [esp + 0x10]
lea eax, [esp + 0x68]
push ecx
push eax
push edi
call fcn.004bbeb0
push edi
mov esi, eax
call fcn.004bd080
test esi, esi
je 0x422a03
push ebx
call fcn.004d9a63
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
add edi, 0x28
add ecx, 0x50
mov eax, dword [esp + 0x28]
lea ebx, [ecx + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [edi], 0
mov dword [edi + 4], eax
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0x18], eax
lea eax, [esp + 0xe8]
push eax
push ecx
push esi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004b29c0
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.004ae8f0
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc8]
push eax
push ebx
push esi
mov ecx, dword [ecx + 0xb4]
mov ecx, dword [ecx + 0x4a0]
call fcn.004ac340
lea eax, [ebx + 0x20]
push eax
call fcn.004d9a7e
mov edi, eax
add esp, 4
mov dword [edi], 0xe65fb785
lea esi, [edi + 0x20]
mov dword [edi + 4], 2
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
push ebx
mov dword [edi + 0x10], ebx
mov ebx, dword [esp + 0x14]
push ebx
push esi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.004d6950
add esp, 0xc
mov dword [esp + 0x34], 0x19e02bd4
lea eax, [esp + 0xc8]
mov dword [esp + 0x3c], 0x20
mov dword [esp + 0x38], eax
sub esi, edi
add esi, dword [edi + 0x10]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0x58], 0
mov ecx, dword [ecx + 0x470]
call fcn.004039d0
push edi
call fcn.004d9a63
add esp, 4
push ebx
call fcn.004d9a63
add esp, 4
mov ecx, dword [esp + 0x1cc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x1c