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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4618cd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x472008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebx]
cmp ecx, 0x3f
jne 0x42302f
xor edx, edx
cmp dword [ebx + 4], edx
jbe 0x422fe0
lea ecx, [ebx + 0x20]
mov al, byte [ecx - 0x18]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
cmp edx, dword [ebx + 4]
jb 0x422fd1
xor ecx, ecx
cmp dword [ebx + 0x1c], ecx
jbe 0x423009
lea esi, [ebx + 0x20]
add esi, edx
lea esp, [esp]
cmp edx, 0x20
jae 0x423357
mov eax, dword [ebx + 0x18]
inc edx
mov al, byte [ecx + eax]
inc ecx
mov byte [esi], al
inc esi
cmp ecx, dword [ebx + 0x1c]
jb 0x422ff0
cmp edx, 0x20
jae 0x423357
mov eax, 0x20
lea ecx, [ebx + 0x20]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x423357
cmp ecx, 6
jbe 0x423039
mov ecx, 6
mov eax, dword [ebx + 4]
mov edx, 1
shl edx, cl
mov ecx, dword [ebx + 0x1c]
add ecx, 8
mov dword [ebp - 0x14], 0
add eax, ecx
mov dword [ebp - 0x34], edx
mov ecx, eax
mov dword [ebp - 0x1c], eax
imul ecx, edx
add eax, 0x40
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], ecx
lea esi, [ecx + eax*2]
push esi
push 0x4659b0
mov dword [ebp - 0x40], esi
call fcn.00403870
mov edi, eax
add esp, 8
mov dword [ebp - 0x18], edi
test edi, edi
je 0x423373
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebx + 8]
push dword [ebx + 4]
lea esi, [edi + 0x80]
push eax
push esi
mov dword [ebp - 0x24], esi
call sub.msvcrt.dll_memcpy
push dword [ebx + 0x1c]
mov eax, dword [ebx + 4]
push dword [ebx + 0x18]
add eax, esi
push eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
add esp, 0x18
lea eax, [edx - 8]
add eax, esi
mov dword [ebp - 0x38], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [0x47203c]
mov dword [edi], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x20], 0x6a09e667
mov dword [edi + 0x24], 0xbb67ae85
mov dword [edi + 0x28], 0x3c6ef372
mov dword [edi + 0x2c], 0xa54ff53a
mov dword [edi + 0x30], 0x510e527f
mov dword [edi + 0x34], 0x9b05688c
mov dword [edi + 0x38], 0x1f83d9ab
mov dword [edi + 0x3c], 0x5be0cd19
cmp eax, 1
jbe 0x42314b
lea ebx, [eax - 1]
mov edi, esi
lea ebx, [ebx]
push edx
add esi, edx
push edi
push esi
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x1c]
add esp, 0xc
sub ebx, 1
jne 0x423130
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx]
mov eax, 1
mov ebx, dword [ebp - 0x20]
shl eax, cl
xor esi, esi
mov dword [ebp - 0x3c], eax
lea esp, [esp]
mov ecx, dword [ebp - 0x38]
mov eax, esi
add esi, dword [ebp - 0x34]
mov dword [ebp - 0x24], esi
jmp 0x423170
mov dword [ecx], eax
inc eax
add ecx, edx
cmp eax, esi
jb 0x423170
lea eax, [edi + 0x80]
mov ecx, ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x423244
mov eax, dword [edi + 8]
mov edx, 0x40
and eax, 0x3f
add dword [edi + 8], ebx
adc dword [edi + 0xc], 0
sub edx, eax
mov dword [ebp - 0x30], edx
cmp edx, ebx
jbe 0x4231c2
push ebx
lea ecx, [edi + 0x80]
add eax, 0x40
push ecx
add eax, edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x423241
test eax, eax
je 0x423202
push edx
add eax, 0x40
lea esi, [edi + 0x80]
mov ecx, ebx
add eax, edi
sub ecx, edx
push esi
push eax
mov dword [ebp - 0x2c], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x30]
add esp, 0xc
add eax, esi
mov esi, dword [edi]
mov ecx, esi
mov dword [ebp - 0x20], eax
push 1
call dword [0x4642a0]
lea edx, [edi + 0x40]
lea ecx, [edi + 0x20]
call esi
mov ecx, dword [ebp - 0x2c]
mov esi, dword [edi]
mov eax, ecx
shr eax, 6
mov ecx, esi
push eax
mov dword [ebp - 0x30], eax
call dword [0x4642a0]
mov edx, dword [ebp - 0x20]
lea ecx, [edi + 0x20]
call esi
mov ecx, dword [ebp - 0x2c]
and ecx, 0x3f
je 0x42323e
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
shl eax, 6
add edx, eax
lea eax, [edi + 0x40]
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x3c]
jb 0x423160
mov ecx, dword [edi + 8]
mov ebx, dword [ebp - 0x28]
and ecx, 0x3f
add ebx, 0x20
mov byte [ecx + edi + 0x40], 0x80
inc ecx
cmp ecx, 0x38
jbe 0x423297
cmp ecx, 0x40
je 0x423281
mov edx, 0x40
lea eax, [edi + 0x40]
sub edx, ecx
add eax, ecx
push edx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, dword [edi]
mov ecx, esi
push 1
call dword [0x4642a0]
lea edx, [edi + 0x40]
lea ecx, [edi + 0x20]
call esi
xor ecx, ecx
mov eax, 0x38
sub eax, ecx
push eax
lea eax, [ecx + 0x40]
add eax, edi
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [edi + 8]
add esp, 0xc
mov eax, dword [edi + 0xc]
mov esi, dword [edi]
shld eax, ecx, 3
push 1
shl ecx, 3
bswap ecx
bswap eax
mov dword [edi + 0x7c], ecx
mov ecx, esi
mov dword [edi + 0x78], eax
call dword [0x4642a0]
lea edx, [edi + 0x40]
lea ecx, [edi + 0x20]
call esi
lea edx, [edi + 0x24]
mov esi, 4
mov eax, dword [edx - 4]
lea ebx, [ebx + 8]
mov ecx, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [ebx - 8], eax
bswap ecx
mov dword [ebx - 4], ecx
sub esi, 1
jne 0x4232e2
push dword [ebp - 0x40]
mov dword [edi + 8], esi
push esi
push edi
mov dword [edi + 0xc], esi
mov dword [edi + 0x20], 0x6a09e667
mov dword [edi + 0x24], 0xbb67ae85
mov dword [edi + 0x28], 0x3c6ef372
mov dword [edi + 0x2c], 0xa54ff53a
mov dword [edi + 0x30], 0x510e527f
mov dword [edi + 0x34], 0x9b05688c
mov dword [edi + 0x38], 0x1f83d9ab
mov dword [edi + 0x3c], 0x5be0cd19
call sub.msvcrt.dll_memset
mov dword [ebp - 4], 1
push dword [edi - 4]
call dword [sym.imp.msvcrt.dll_free]
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045e090
mov esp, ebp
pop ebp
ret
push 0x470de4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 1
push eax
call sub.msvcrt.dll__CxxThrowException
int3