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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bf36
mov eax, dword fs:[0]
push eax
sub esp, 0x154
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 - 0x14c], edx
mov ebx, ecx
cmp dword [0x4d3d8c], 6
mov ecx, 0x4b8068
mov esi, dword [ebp + 0xc]
mov eax, 0x4b8030
push 0xf0000000
push 0x18
cmovb eax, ecx
mov dword [ebp - 0x118], 0
push eax
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x15c]
call fcn.00418a50
mov dword [ebp - 4], 0
mov edi, dword [ebx + 8]
cmp edi, 0x100
sbb eax, eax
and eax, 0xffffff80
add eax, 0x100
push eax
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0047f730
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x110]
add esp, 0xc
call fcn.0045c960
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
cmp edi, 0x100
mov byte [ebp - 4], 1
lea eax, [ebp - 0x140]
sbb edx, edx
and edx, 0xffffff80
push eax
push ecx
add edx, 0x100
mov eax, 0x4cfcb8
cmp edi, 0x100
mov ecx, 0x4d0758
cmovb ecx, eax
call fcn.0045a3d0
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x12c], 0
call fcn.0045f6b0
and eax, 1
xor edx, edx
or eax, edx
mov eax, dword [ebx]
je 0x42ad06
mov edi, dword [ebp - 0x140]
mov cl, 1
mov byte [ebp - 0x111], cl
mov dword [ebp - 0x134], edi
test eax, eax
je 0x42aceb
mov dword [ebp - 0x130], eax
cmp dword [ebx + 4], edx
jne 0x42acf5
mov dword [ebp - 0x130], 0x4c2963
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x154], eax
mov eax, dword [ebx + 8]
jmp 0x42ad42
xor cl, cl
mov byte [ebp - 0x111], cl
test eax, eax
je 0x42ad1d
mov dword [ebp - 0x134], eax
cmp dword [ebx + 4], edx
jne 0x42ad27
mov dword [ebp - 0x134], 0x4c2963
mov eax, dword [ebx + 8]
mov edi, dword [ebp - 0x140]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x130], edi
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptImportKey]
lea edx, [ebp - 0x124]
mov dword [ebp - 0x150], eax
test cl, cl
lea eax, [ebp - 0x128]
cmove eax, edx
mov dword [ebp - 0x148], eax
mov eax, edx
lea edx, [ebp - 0x128]
cmove eax, edx
xor esi, esi
mov dword [ebp - 0x144], eax
nop dword [eax + eax]
push dword [ebp + esi - 0x148]
push 0
push 0
push dword [ebp + esi - 0x154]
push dword [ebp + esi - 0x134]
push dword [ebp - 0x118]
call ebx
test eax, eax
je 0x42ae6c
add esi, 4
cmp esi, 8
jl 0x42ad80
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x42ae4e
push 0
push dword [ebp + 8]
push dword [ebp - 0x14c]
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42ae42
movzx eax, byte [ebp - 0x111]
lea edx, [ebp - 0x110]
mov ecx, dword [ebp - 0x11c]
xor eax, 1
mov eax, dword [ebp + eax*4 - 0x148]
push dword [eax]
movzx eax, byte [ebp - 0x111]
mov eax, dword [ebp + eax*4 - 0x148]
push dword [eax]
push dword [ebp - 0x120]
call fcn.0042a9f0
mov ecx, dword [ebp - 0x12c]
add esp, 0xc
test al, al
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x12c], ecx
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [ebp - 0x124]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call esi
push dword [ebp - 0x128]
call esi
mov ebx, dword [ebp - 0x12c]
jmp 0x42ae6e
xor bl, bl
push edi
call fcn.00486e21
add esp, 4
cmp byte [ebp - 0x158], 0
je 0x42ae90
mov ecx, dword [ebp - 0x15c]
push 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
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