Function at 0x4556c0
Capabilities:
Hash data via bcrypt

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b536
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x154], eax
test edi, edi
je 0x4557a5
movzx eax, word [esi + edi - 3]
mov ecx, 4
mov dword [ebp - 0x160], ecx
lea edx, [ecx - 2]
cmp ax, 0x2d2d
jne 0x455748
movzx eax, byte [esi + edi - 1]
cmp al, 0x3e
jne 0x455748
mov ecx, 6
mov edx, 3
mov dword [ebp - 0x160], ecx
sub esi, edx
sub esi, ecx
sub esi, 0x80
js 0x4557a5
mov eax, dword [ebp - 0x154]
push 0
push 0
push 0x5ecc6c
mov dword [eax], esi
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x4557a5
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
push 0
test eax, eax
jns 0x4557c5
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push esi
push edi
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
push 0
test eax, eax
jns 0x4557f3
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
jmp 0x4557a5
push 0x20
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x150]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
push 0
test eax, eax
js 0x4557d9
push 0
push str.ECDSA_P256
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
push 0
test eax, eax
js 0x4557d9
movups xmm0, xmmword [0x5ecd00]
push 0x48
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x31534345
movups xmmword [ebp - 0x78], xmm0
push eax
movups xmm0, xmmword [0x5ecd10]
lea eax, [ebp - 0x154]
mov dword [ebp - 0x7c], 0x20
push eax
movups xmmword [ebp - 0x68], xmm0
push str.ECCPUBLICBLOB
movups xmm0, xmmword [0x5ecd20]
push 0
push dword [ebp - 0x158]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [0x5ecd30]
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.bcrypt.dll_BCryptImportKeyPair]
test eax, eax
jns 0x4558b5
push 0
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push 0
push dword [ebp - 0x158]
jmp 0x45579f
push 0x81
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00512700
add esi, edi
add esp, 0xc
add esi, dword [ebp - 0x160]
je 0x4558e4
mov ecx, 0x20
lea edi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
jmp 0x4558f4
call fcn.0052a78a
mov dword [eax], 0x16
call fcn.0052864a
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.00512700
add esp, 0xc
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x148]
push eax
call fcn.00455520
add esp, 4
test al, al
jne 0x4559aa
push 0x615004
call fcn.004f98eb
mov edi, dword [0x6170c0]
add esp, 4
test edi, edi
je 0x455945
lock inc dword [edi + 4]
mov edi, dword [0x6170c0]
mov esi, dword [0x6170bc]
push 0x615004
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x160], edi
call fcn.004f9907
add esp, 4
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
push str.Unable_to_convert_hex_string_into_binary
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4559aa
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4559aa
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax]
call eax
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4559aa
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
push 0
push 0x40
lea eax, [ebp - 0xc0]
push eax
push 0x20
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 0x154]
call dword [sym.imp.bcrypt.dll_BCryptVerifySignature]
test eax, eax
setns byte [ebp - 0x159]
test eax, eax
jns 0x455ad9
push 0x615004
call fcn.004f98eb
mov edi, dword [0x6170c0]
add esp, 4
test edi, edi
je 0x4559fb
lock inc dword [edi + 4]
mov edi, dword [0x6170c0]
mov esi, dword [0x6170bc]
push 0x615004
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x160], edi
call fcn.004f9907
add esp, 4
mov dword [ebp - 4], 1
mov ecx, esi
mov eax, dword [esi]
push str.File_Signature_Verification_failed
mov eax, dword [eax + 4]
call eax
test edi, edi
je 0x455a59
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x455a59
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax]
call eax
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x455a59
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
push 0x615004
call fcn.004f98eb
mov edi, dword [0x6170c0]
add esp, 4
test edi, edi
je 0x455a7a
lock inc dword [edi + 4]
mov edi, dword [0x6170c0]
mov esi, dword [0x6170bc]
push 0x615004
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x160], edi
call fcn.004f9907
add esp, 4
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x148]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test edi, edi
je 0x455ad9
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x455ad9
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax]
call eax
lock xadd dword [edi + 8], esi
dec esi
jne 0x455ad9
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
push 0
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push 0
push dword [ebp - 0x158]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push dword [ebp - 0x154]
call dword [sym.imp.bcrypt.dll_BCryptDestroyKey]
mov al, byte [ebp - 0x159]
jmp 0x4557a7