Function at 0x43e490
Capabilities:
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558301
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x654], ebx
mov dword [ebp - 0x65c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x650], eax
mov byte [eax], 0
test ebx, ebx
je 0x43e84f
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 0xf
mov dword [ebp - 0x630], 0x575378
mov byte [ebp - 0x648], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x634]
mov eax, dword [ebp - 0x648]
mov ecx, eax
cmp edx, 0x10
jae 0x43e525
lea ecx, [ebp - 0x648]
mov esi, dword [ebp - 0x638]
add ecx, esi
cmp edx, 0x10
jae 0x43e538
lea eax, [ebp - 0x648]
push 0x5762fe
push 0x5762fc
push ecx
add eax, esi
lea ecx, [ebp - 0x648]
push eax
call fcn.00422640
mov esi, dword [ebp - 0x634]
mov eax, dword [ebp - 0x648]
mov ecx, eax
cmp esi, 0x10
jae 0x43e56a
lea ecx, [ebp - 0x648]
mov edx, dword [ebp - 0x638]
add ecx, edx
cmp esi, 0x10
jae 0x43e57d
lea eax, [ebp - 0x648]
push 0x576319
push str.::_SIG_::_signature_block
push ecx
add eax, edx
lea ecx, [ebp - 0x648]
push eax
call fcn.00422640
cmp dword [ebp - 0x634], 0x10
mov eax, dword [ebp - 0x648]
jae 0x43e5ab
lea eax, [ebp - 0x648]
push eax
push ebx
call dword [sym.imp.MSVCR120.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x43e82b
sub eax, ebx
push 0x400
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x45c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x64c]
xor ebx, ebx
mov edx, 0x5762fc
mov ecx, esi
mov dword [ebp - 0x64c], ebx
xor edi, edi
push eax
call fcn.00530670
mov esi, eax
add esp, 4
test esi, esi
je 0x43e6b2
test edi, edi
jne 0x43e63e
mov ecx, str.::_SIG_::_signature_block
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43e633
test dl, dl
je 0x43e62f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43e633
add eax, 2
add ecx, 2
test dl, dl
jne 0x43e613
xor eax, eax
jmp 0x43e638
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43e6b2
jmp 0x43e681
push 3
push 0x5762f8
push esi
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x43e82b
lea eax, [esi + 3]
mov edx, 0x400
push eax
lea ecx, [ebp - 0x45c]
call fcn.0052fa60
mov ecx, esi
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e673
sub ecx, edx
add ebx, 0xfffffffd
add ebx, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x43e684
sub esi, ecx
lea eax, [ebp - 0x64c]
add esi, 2
mov edx, 0x5762fc
push eax
xor ecx, ecx
add edi, esi
call fcn.00530670
mov esi, eax
add esp, 4
test esi, esi
jne 0x43e608
push 0x80
lea eax, [ebp - 0x4dc]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x64c]
mov edx, ebx
lea ecx, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x4dc]
push 0x80
push eax
call fcn.004d1890
add esp, 0xc
test al, al
je 0x43e82b
mov edx, 0x58e840
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x62c]
call fcn.004d8e90
push dword [ebp - 0x658]
mov edx, dword [ebp - 0x654]
call fcn.004d8db0
add esp, 4
test eax, eax
jne 0x43e82b
push ecx
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x62c]
call fcn.004d90d0
add esp, 4
test eax, eax
jne 0x43e82b
lea ecx, [ebp - 0x670]
call fcn.004d4a40
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x670]
call fcn.004d4d50
push 0x41
lea eax, [ebp - 0x5c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4dc]
lea ecx, [ebp - 0x670]
push 0x4d5830
push 0x80
push eax
call fcn.004d4c40
xor edi, edi
xor esi, esi
xor ecx, ecx
lea ecx, [ecx]
mov eax, dword [ebp + ecx*4 - 0x4dc]
mov edx, 1
shl edx, cl
inc esi
and eax, edx
movsx ecx, si
or edi, eax
cmp ecx, 0x20
jb 0x43e790
cmp edi, dword [ebp - 0x65c]
jne 0x43e7bc
mov eax, dword [ebp - 0x650]
mov byte [eax], 1
mov byte [ebp - 4], 0
mov dword [ebp - fcn.004d4d50], vtable.Aes256.0
mov byte [ebp - 4], 2
push dword [ebp - 0x668]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
call esi
add esp, 4
push dword [ebp - 0x664]
call esi
add esp, 4
push dword [ebp - 0x660]
call esi
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - method.RefCountBase.virtual_0], vtable.ICipher.0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x634], 0x10
jb 0x43e827
mov eax, dword [ebp - 0x630]
push dword [ebp - 0x648]
mov eax, dword [eax + 8]
call eax
add esp, 4
mov al, 1
jmp 0x43e851
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x634], 0x10
jb 0x43e84f
mov eax, dword [ebp - 0x630]
push dword [ebp - 0x648]
mov eax, dword [eax + 8]
call eax
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret