Function at 0x420900
Capabilities:
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45988d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp eax, 0x3f
jne 0x4209ac
xor edx, edx
cmp dword [edi + 4], edx
jbe 0x42094f
lea ecx, [edi + 0x20]
nop
mov al, byte [ecx - 0x18]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
cmp edx, dword [edi + 4]
jb 0x420940
xor ecx, ecx
cmp dword [edi + 0x1c], ecx
jbe 0x420979
lea esi, [edi + 0x20]
add esi, edx
nop dword [eax + eax]
cmp edx, 0x20
jae 0x420b33
mov eax, dword [edi + 0x18]
inc edx
mov al, byte [ecx + eax]
inc ecx
mov byte [esi], al
inc esi
cmp ecx, dword [edi + 0x1c]
jb 0x420960
cmp edx, 0x20
jae 0x420b33
mov eax, 0x20
lea ecx, [edi + 0x20]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.0044bbc0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi + 4]
mov ecx, 6
cmp eax, ecx
mov dword [ebp - 0x28], 0
mov edx, 1
cmovbe ecx, eax
shl edx, cl
mov ecx, dword [edi + 0x1c]
add ecx, 8
mov dword [ebp - 0x14], edx
add ebx, ecx
mov eax, ebx
imul eax, edx
mov dword [ebp - 0x24], eax
lea eax, [eax + ebx*2]
sub eax, 0xffffff80
push eax
push 0x461320
mov dword [ebp - 0x1c], eax
call fcn.004025a0
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x420b45
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea eax, [edi + 8]
push dword [edi + 4]
lea ecx, [esi + 0x80]
push eax
push ecx
mov dword [ebp - 0x10], ecx
call fcn.0044b640
push dword [edi + 0x1c]
mov eax, dword [edi + 4]
lea ecx, [esi + 0x80]
push dword [edi + 0x18]
add eax, ecx
push eax
call fcn.0044b640
push 8
lea eax, [ebx + 0x78]
add eax, esi
push 0
push eax
mov dword [ebp - 0x20], eax
call fcn.0044bbc0
mov eax, dword [0x46c888]
lea edx, [esi + 0x80]
mov dword [esi], eax
add esp, 0x24
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
mov esi, edx
cmp eax, 1
jbe 0x420ac8
lea edi, [eax - 1]
nop word [eax + eax]
push ebx
push edx
add esi, ebx
push esi
call fcn.0044b640
mov edx, dword [ebp - 0x10]
add esp, 0xc
sub edi, 1
jne 0x420ab0
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi]
mov eax, 1
mov edi, dword [ebp - 0x2c]
shl eax, cl
xor esi, esi
mov dword [ebp - 0x10], eax
nop dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, esi
add esi, dword [ebp - 0x14]
mov dword [ecx], eax
inc eax
add ecx, ebx
cmp eax, esi
jb 0x420ae8
push dword [ebp - 0x24]
mov ecx, edi
call fcn.00409380
lea edx, [edi + 0x80]
cmp esi, dword [ebp - 0x10]
jb 0x420ae0
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
lea edx, [edx + 0x20]
call fcn.00409430
push dword [ebp - 0x1c]
push 0
push ebx
call fcn.0044bbc0
mov dword [ebp - 4], 1
push dword [ebx - 4]
call fcn.0044f27e
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x46a740
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
call fcn.0044d691
int3