Function at 0x542840
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x717f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
push 0x4e28
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], eax
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0xc3d2e1f0
mov dword [esi + 0x50], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00477830
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x5428d6
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], 0
mov byte [ebp - 9], 1
call fcn.005688c0
test al, al
jne 0x542a11
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 8]
push ebx
push eax
push 0x4e20
push edi
call fcn.00568b20
mov byte [ebp - 9], al
test al, al
je 0x542a11
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x542a3a
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x542930
push ebx
push edi
mov ecx, eax
call fcn.0049f210
mov ebx, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 0x10], ecx
test ebx, ebx
je 0x5429e6
nop dword [eax]
mov edx, dword [esi + 0x50]
test edx, edx
jne 0x54298b
cmp ebx, 0x40
jb 0x54298b
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [ecx + 0x30]
mov ecx, esi
movups xmmword [esi + 0x40], xmm0
call fcn.00541550
add dword [esi + 8], 0x200
mov ecx, dword [ebp - 0x10]
adc dword [esi + 0xc], 0
add ecx, 0x40
mov dword [ebp - 0x10], ecx
sub ebx, 0x40
jmp 0x5429d8
mov eax, 0x40
mov edi, ebx
sub eax, edx
cmp ebx, eax
cmovae edi, eax
lea eax, [esi + 0x10]
push edi
push ecx
add eax, edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add dword [esi + 0x50], edi
add ecx, edi
sub ebx, edi
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0x50], 0x40
jne 0x5429d8
mov ecx, esi
call fcn.00541550
add dword [esi + 8], 0x200
mov ecx, dword [ebp - 0x10]
adc dword [esi + 0xc], 0
mov dword [esi + 0x50], 0
test ebx, ebx
jne 0x542940
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x24]
cmp dword [ebp - 0x14], 0
je 0x542a3a
push dword [ebp - 0x1c]
push 0
push ebx
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.00518bd0
test al, al
je 0x542a3d
mov ecx, dword [ebp - 0x1c]
push str.RIPEMD128_aborted_by_application
mov eax, dword [ecx]
call dword [eax + 0x14]
mov byte [ebp - 9], 0
push edi
call fcn.00622535
add esp, 4
mov ecx, esi
push dword [ebp - 0x28]
call fcn.00542a50
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00622073
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.005688c0
test al, al
je 0x5428f1
jmp 0x542a11