Function at 0x42ab67
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt
Reference public rsa key

Disassembly:
push ebp
xor eax, eax
mov ecx, 0x45
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x12c]
mov esi, 0x492780
push ebx
sub esp, 0x14c
mov dword [ebp - 0x138], eax
mov ebx, dword [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x134], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [ebp - 0x138]
mov dword [esp + 0x10], 0xf0000008
mov dword [esp + 0xc], 0x18
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
sub esp, 0x14
test eax, eax
jne 0x42abd8
call fcn.004299e8
mov dword [esp], str.PKI:_Could_not_create_the_default_key_container:__s
mov dword [esp + 4], eax
jmp 0x42ac3a
mov eax, 0x100
lea edx, [ebp - 0x12c]
mov cl, byte [eax + 0x4a4440]
mov esi, eax
neg esi
mov byte [ebp + esi - 0x18], cl
dec eax
jne 0x42abe3
lea eax, [ebp - 0x130]
mov dword [esp + 8], 0x114
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
sub esp, 0x18
test eax, eax
jne 0x42ac46
call fcn.004299e8
mov dword [esp], str.PKI:_Could_not_import_public_key:__s
mov dword [esp + 4], eax
call fcn.0043efa9
xor ebx, ebx
jmp 0x42ad3c
lea eax, [ebp - 0x134]
mov dword [esp + 4], 0x800c
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
sub esp, 0x14
test eax, eax
jne 0x42ac8a
call fcn.004299e8
mov dword [esp], str.PKI:_Could_not_create_empty_hash:__s
mov dword [esp + 4], eax
jmp 0x42ac3a
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
sub esp, 0x10
test eax, eax
jne 0x42acc9
call fcn.004299e8
mov dword [esp], str.PKI:_Could_not_hash_data:__s
mov dword [esp + 4], eax
jmp 0x42ac3a
mov eax, dword [ebp + 0x14]
xor edx, edx
dec eax
cmp edx, eax
jge 0x42ace6
movzx edi, byte [ebx + edx]
mov cl, byte [ebx + eax]
mov byte [ebx + edx], cl
mov ecx, edi
inc edx
mov byte [ebx + eax], cl
dec eax
jmp 0x42accf
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x130]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x42ad3c
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor eax, eax
rep stosb byte es:[edi], al
call fcn.004299e8
mov dword [esp], str.Signature_validation_failed:__s
mov dword [esp + 4], eax
call fcn.0043efa9
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x42ad50
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x42ad6b
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ecx
push ecx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret