Function at 0x420432
Capabilities:
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
mov dword [esp + 8], 0x40
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._memcpy
lea eax, [ebp - 0xa8]
add eax, 0x40
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0x463560
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
xor eax, dword [ebp - 0xb8]
xor edx, dword [ebp - 0xb4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
xor eax, dword [ebp - 0xb0]
xor edx, dword [ebp - 0xac]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x20]
mov edx, 0
neg eax
adc edx, 0
neg edx
xor eax, ecx
xor edx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x1c], 0
jmp 0x4208ca
mov eax, dword [ebp - 0x1c]
shl eax, 4
add eax, 0x4635a0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 1
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xc
mov dword [esp + 0xc], 8
mov dword [esp + 8], 4
mov dword [esp + 4], 0
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._g
mov eax, dword [ebp - 0x24]
add eax, 3
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 2
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xd
mov dword [esp + 0xc], 9
mov dword [esp + 8], 5
mov dword [esp + 4], 1
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._g
mov eax, dword [ebp - 0x24]
add eax, 5
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 4
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xe
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 6
mov dword [esp + 4], 2
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._g
mov eax, dword [ebp - 0x24]
add eax, 7
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 6
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xf
mov dword [esp + 0xc], 0xb
mov dword [esp + 8], 7
mov dword [esp + 4], 3
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._g
mov eax, dword [ebp - 0x24]
add eax, 9
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 8
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xf
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 5
mov dword [esp + 4], 0
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._g
mov eax, dword [ebp - 0x24]
add eax, 0xb
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 0xa
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xc
mov dword [esp + 0xc], 0xb
mov dword [esp + 8], 6
mov dword [esp + 4], 1
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._g
mov eax, dword [ebp - 0x24]
add eax, 0xd
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 0xc
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xd
mov dword [esp + 0xc], 8
mov dword [esp + 8], 7
mov dword [esp + 4], 2
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._g
mov eax, dword [ebp - 0x24]
add eax, 0xf
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
add eax, 0xe
movzx eax, byte [eax]
movzx eax, al
lea edx, [eax*8]
mov eax, dword [ebp + 0xc]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0xe
mov dword [esp + 0xc], 9
mov dword [esp + 8], 4
mov dword [esp + 4], 3
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._g
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0xb
jbe 0x4204fb
mov dword [ebp - 0x20], 0
jmp 0x420936
mov eax, dword [ebp - 0x20]
lea edx, [eax*8]
mov eax, dword [ebp + 8]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp + ecx*8 - 0xa8]
mov edi, dword [ebp + ecx*8 - 0xa4]
mov ecx, dword [ebp - 0x20]
add ecx, 8
mov ebx, dword [ebp + ecx*8 - 0xa4]
mov ecx, dword [ebp + ecx*8 - 0xa8]
xor ecx, esi
xor ebx, edi
mov esi, dword [ebp - 0x20]
lea edi, [esi*8]
mov esi, dword [ebp + 8]
add esi, edi
xor eax, ecx
xor edx, ebx
mov dword [esi], eax
mov dword [esi + 4], edx
add dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 7
jbe 0x4208dd
mov dword [esp + 4], pe_nt_image_headers32
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sym._smemclr
nop
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret