Function at 0x404a40
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424651
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x430510]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x180], eax
xor eax, eax
mov dword [ebp - 4], eax
push 0x41
push eax
lea edx, [ebp - 0x83]
push edx
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 0x38], al
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov word [ebp - 0x1b], ax
mov byte [ebp - 0x19], al
mov byte [ebp - 0x84], al
call fcn.0041a000
lea edi, [ebp - 0x114]
neg edi
xor eax, eax
mov ecx, 0x10
and edi, 0xf
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x11c], ecx
mov al, 1
mov dword [ebp - 0xc4], ecx
lea edi, [ebp + edi - 0x114]
lea edx, [ebp - 0x164]
mov ecx, 8
mov esi, 0x429788
mov byte [ebp - 0x123], al
mov dword [ebp - 0x118], edx
mov byte [ebp - 0xcb], al
mov dword [ebp - 0xc0], edi
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov dword [ebp - 0x174], 0x429440
mov eax, dword [ebp - 0x180]
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x174]
call dword [0x42944c]
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edx + 0x14]
lea ecx, [ebp - 0x174]
call eax
xor esi, esi
lea esp, [esp]
cmp esi, 0x20
jae 0x404b85
movzx ecx, byte [ebp + esi - 0x38]
push ecx
push str._.2X
lea edx, [ebp + esi*2 - 0x84]
push 3
push edx
call fcn.0041474c
add esp, 0x10
inc esi
jmp 0x404b60
lea eax, [ebp - 0x84]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404bb0
sub eax, edx
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00408e20
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xa0]
cmp ecx, 0x10
jae 0x404be7
lea eax, [ebp - 0xa0]
add eax, dword [ebp - 0x90]
cmp ecx, 0x10
mov ecx, dword [ebp - 0xa0]
jae 0x404bfe
lea ecx, [ebp - 0xa0]
xor edx, edx
mov word [ebp - 0xbc], dx
mov edx, dword [ebp - 0x17c]
push edx
push eax
push ecx
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
call fcn.0040ae60
push 0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
push ecx
mov ecx, dword [ebp - 0x17c]
or eax, 0xffffffff
call fcn.00409060
cmp dword [ebp - 0xa8], 8
mov byte [ebp - 0x175], 1
jb 0x404c6a
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004140b8
add esp, 4
cmp dword [ebp - 0x8c], 0x10
jb 0x404c82
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004140b8
add esp, 4
mov edi, dword [ebp - 0xc0]
lea ecx, [ebp - 0x114]
neg ecx
and ecx, 0xf
lea edx, [ebp + ecx - 0x114]
cmp edi, edx
jne 0x404ca8
mov ecx, dword [ebp - 0xc4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x118]
lea eax, [ebp - 0x164]
cmp edi, eax
jne 0x404cc2
mov ecx, dword [ebp - 0x11c]
xor eax, eax
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x175]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004140c3
mov esp, ebp
pop ebp
ret