Function at 0x41f1d9
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esp
push 0
push 1
push 0x440a90
push 0x440a90
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f24d
push 0x24
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41f2b2
mov dword [ebp - 0x1c], esp
push 8
push 1
push 0x440a90
push 0x440a90
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f29b
push 0xb5
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41f2b2
mov eax, 0x440a90
jmp 0x41f6ae
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f2f1
push 0x171
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41f339
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f32f
push 0x1b8
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov eax, 0x440a90
jmp 0x41f6ae
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41f34e
mov eax, 0x440b1e
push eax
push 1
mov ebx, 0x194
call fcn.00420050
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41f37b
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41f3a5
push 0x25a
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41f419
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f3de
push 0x289
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f40f
push 0x2a3
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov eax, 0x440a90
jmp 0x41f6ae
mov dword [ebp - 0x1c], esp
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41f42f
add eax, 8
push eax
push 2
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f45e
push 0x2ff
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.004208e0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f491
push ebx
call fcn.0041f81f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], esp
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x41f4ab
add eax, 8
push eax
push 2
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f4da
push 0x391
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41f54e
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f513
push 0x3d6
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f544
push 0x3f0
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov eax, 0x440a90
jmp 0x41f6ae
push VariantClear
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41f561
mov eax, 0x440b1e
push eax
push 1
mov ebx, 0x194
call fcn.00420050
add esp, 0x10
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41f62d
mov ebx, dword [ebp - 0xc]
call fcn.00401b45
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x41f5b2
push 0x494
push 0x403109b
push 4
call fcn.0041f825
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41f5cf
push 0x494
push 0x403109b
push 1
call fcn.0041f825
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov al, byte [ebx]
and eax, 0xff
push eax
call fcn.0041f6d6
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.00401bf7
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41f60d
push ebx
call fcn.0041f81f
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41f621
push ebx
call fcn.0041f81f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
pop eax
pop ebx
pop ecx
jmp 0x41f57d
add esp, 0xc
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f65c
push 0x4cb
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41f68d
push 0x4e5
push 0x403109b
push 6
call fcn.0041f825
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41f6a9
push eax
mov ebx, eax
call fcn.00401b8c
inc eax
push eax
call fcn.0041f819
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41f6ae
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f6bf
push ebx
call fcn.0041f81f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41f6cf
push ebx
call fcn.0041f81f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4