Function at 0x469b40
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4e362c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x88], edi
cmp eax, 8
je 0x469b8c
cmp eax, 7
je 0x469b8c
pop edi
mov eax, 0x402
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d700
mov esp, ebp
pop ebp
ret
push ebx
test esi, esi
je 0x46a065
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x8c], ebx
test ebx, ebx
je 0x469baa
test edi, edi
je 0x46a065
mov edx, dword [ebp + 0x1c]
mov ecx, edx
and ecx, 2
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], ecx
je 0x469bcd
cmp dword [ebp - 0xc4], 0
je 0x46a065
test dl, 1
je 0x469e77
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x469d7c
cmp eax, 8
jne 0x469c76
mov eax, 0x137e2179
mov dword [ebp - 0xbc], 0x1f83d9ab
mov ecx, 0x5be0cd19
mov dword [ebp - 0xb4], 0x2b3e6c1f
mov edx, 0xfb41bd6b
mov dword [ebp - 0xb8], 0x9b05688c
mov dword [ebp - 0xb0], 0x510e527f
mov edi, 0xade682d1
mov dword [ebp - 0xa8], 0x5f1d36f1
mov ebx, 0xfe94f82b
mov dword [ebp - 0xac], 0xa54ff53a
mov dword [ebp - 0xa4], 0x3c6ef372
mov dword [ebp - 0x9c], 0x84caa73b
mov dword [ebp - 0xa0], 0xbb67ae85
mov dword [ebp - 0x94], 0xf3bcc908
mov dword [ebp - 0x98], 0x6a09e667
jmp 0x469cfd
mov eax, 0xbefa4fa4
mov dword [ebp - 0xbc], 0xdb0c2e0d
mov ecx, 0x47b5481d
mov dword [ebp - 0xb4], 0x68581511
mov edx, 0x64f98fa7
mov dword [ebp - 0xb8], 0x8eb44a87
mov edi, 0xffc00b31
mov dword [ebp - 0xb0], 0x67332667
mov dword [ebp - 0xa8], 0xf70e5939
mov ebx, 0x3070dd17
mov dword [ebp - 0xac], 0x152fecd8
mov dword [ebp - 0xa4], 0x9159015a
mov dword [ebp - 0x9c], 0x367cd507
mov dword [ebp - 0xa0], 0x629a292a
mov dword [ebp - 0x94], 0xc1059ed8
mov dword [ebp - 0x98], 0xcbbb9d5d
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x94]
mov dword [esi], eax
mov eax, dword [ebp - 0x98]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x10], ebx
mov ebx, dword [ebp - 0xa4]
mov dword [esi + 0x14], ebx
mov ebx, dword [ebp - 0xa8]
mov dword [esi + 0x18], ebx
mov ebx, dword [ebp - 0xac]
mov dword [esi + 0x1c], ebx
mov ebx, dword [ebp - 0x8c]
mov dword [esi + 0x20], edi
mov edi, dword [ebp - 0xb0]
mov dword [esi + 0x24], edi
mov edi, dword [ebp - 0xb4]
mov dword [esi + 0x28], edi
mov edi, dword [ebp - 0xb8]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edx
mov edx, dword [ebp - 0xbc]
mov dword [esi + 0x34], edx
jmp 0x469dd4
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x3c]
mov dword [esi + 0x38], eax
xor edx, edx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0xd0], 0
mov eax, 0x80
mov ecx, eax
sub ecx, edx
test ebx, ebx
je 0x469f50
xor eax, eax
mov edi, ebx
shld eax, edi, 3
shl edi, 3
add dword [esi + 0x40], edi
mov dword [ebp - 0x90], edi
adc dword [esi + 0x44], eax
mov edi, dword [ebp - 0x88]
cmp dword [esi + 0x44], eax
ja 0x469e98
jb 0x469e42
mov eax, dword [esi + 0x40]
cmp eax, dword [ebp - 0x90]
jae 0x469e98
add dword [esi + 0x48], 1
mov eax, dword [esi + 0x48]
adc dword [esi + 0x4c], 0
or eax, dword [esi + 0x4c]
jne 0x469e98
push 0xd8
push eax
push esi
call fcn.00470010
add esp, 0xc
mov eax, 0x403
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d700
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0xd0]
cmp edx, 0x7f
jbe 0x469e02
pop ebx
pop edi
mov eax, 0x401
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d700
mov esp, ebp
pop ebp
ret
cmp ebx, ecx
jae 0x469ebd
push ebx
lea eax, [edx + 0x50]
add eax, esi
push edi
push eax
call fcn.00470170
add esp, 0xc
add dword [esi + 0xd0], ebx
mov edx, dword [esi + 0xd0]
jmp 0x469f4b
sub ebx, ecx
mov dword [ebp - 0x8c], ebx
test ecx, ecx
je 0x469edc
sub edx, edi
add edx, esi
nop dword [eax]
mov al, byte [edi]
mov byte [edx + edi + 0x50], al
inc edi
sub ecx, 1
jne 0x469ed0
lea eax, [esi + 0x50]
push 0x10
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0046d4a0
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.004611b0
shr ebx, 7
add esp, 0x14
test ebx, ebx
je 0x469f2c
push 0x10
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.0046d4a0
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.004611b0
add esp, 0x14
sub edi, 0xffffff80
sub ebx, 1
jne 0x469f05
mov ebx, dword [ebp - 0x8c]
lea eax, [esi + 0x50]
and ebx, 0x7f
push ebx
push edi
push eax
call fcn.00470170
add esp, 0xc
mov dword [esi + 0xd0], ebx
mov edx, ebx
mov eax, 0x80
cmp dword [ebp - 0xc8], 0
je 0x46a052
sub eax, edx
add edx, 0x50
add edx, esi
test byte [ebp - 0xcc], 4
jne 0x469ffa
mov byte [edx], 0x80
dec eax
inc edx
cmp eax, 0x10
jae 0x469fb2
push eax
push 0
push edx
call fcn.00470010
push 0x10
lea edi, [esi + 0x50]
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.0046d4a0
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.004611b0
push 0x70
push 0
push edi
call fcn.00470010
add esp, 0x2c
jmp 0x469fcb
lea ecx, [eax - 0x10]
test ecx, ecx
je 0x469fcb
mov edi, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0xe
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0046d4a0
mov eax, dword [esi + 0x48]
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 8], eax
jmp 0x46a018
push eax
push 0
push edx
call fcn.00470010
push 0x10
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0046d4a0
add esp, 0x18
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.004611b0
xor eax, eax
cmp dword [ebp + 8], 8
sete al
lea eax, [eax*2 + 6]
push eax
push esi
push dword [ebp - 0xc4]
call fcn.0046d5c0
push 0xd8
push 0
push esi
call fcn.00470010
add esp, 0x20
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d700
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x402
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0046d700
mov esp, ebp
pop ebp
ret