Function at 0x4629c0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e3ab
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4cf06c]
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 dword [ebp - 0x130], edx
mov ebx, ecx
mov dword [ebp - 0x11c], ebx
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4d7044]
cmp eax, dword [ecx + 4]
jg 0x462bd3
mov eax, dword [0x4d7040]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
push str.SIGN
mov ecx, ebx
call fcn.00461520
test al, al
je 0x462ba4
cmp dword [ebp - 0x124], 0x100
jne 0x462ba4
mov esi, dword [ebp - 0x12c]
lea edi, [ebp - 0x110]
mov ecx, 0x40
mov edx, 0x100
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x110]
call fcn.0045c960
mov eax, dword [ebp - 0x11c]
xor bl, bl
mov ecx, eax
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x120], 0
mov esi, dword [eax + 4]
dec esi
push esi
call fcn.00461cf0
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040e260
mov edi, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x11c]
push esi
mov esi, dword [ebp - 0x128]
push esi
push edi
call fcn.004620b0
mov dword [ebp - 0x11c], eax
cmp eax, esi
jbe 0x462aec
int3
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
test ecx, ecx
je 0x462afe
cmp dword [eax + 4], 0
jne 0x462b03
mov ecx, 0x4c2963
mov esi, dword [ebp - 0x118]
lea edx, [ebp - 0x120]
push edx
push 0
push 0
push dword [eax + 8]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x462baa
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0x800c
push esi
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x462b96
push 0
push dword [ebp - 0x11c]
push edi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x462b8a
push 0
push 0
push dword [ebp - 0x120]
lea eax, [ebp - 0x110]
push 0x100
push eax
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x462bac
mov edi, dword [ebp - 0x12c]
xor bl, bl
push edi
call fcn.00486e21
add esp, 4
mov al, bl
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.0047d39f
mov esp, ebp
pop ebp
ret
push 0x4d7044
call fcn.0047d957
add esp, 4
cmp dword [0x4d7044], 0xffffffff
jne 0x462a15
cmp dword [0x4d3d8c], 6
mov ecx, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push 0xf0000000
push 0x18
mov eax, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
mov dword [ebp - 0x118], 0
cmovb eax, ecx
push eax
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov eax, dword [ebp - 0x118]
push 0x4d7044
mov dword [0x4d7040], eax
call fcn.0047d90d
add esp, 4
jmp 0x462a15