Function at 0x410340
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a754
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x47802c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xbc], ecx
xor edi, edi
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 4], edi
xor esi, esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 1
push 0
inc esi
lea ecx, [ebp - 0x8c]
push 0x46e3c9
mov dword [ebp - 0xdc], esi
call fcn.004314f0
push 0xf0000020
push 1
push 0
push 0
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x41077a
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x41077a
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x41077a
push 0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x74]
push eax
push 2
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x41077a
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
push 0x10
cmovae eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x7c], 0
push 0x46e4bc
mov dword [ebp - 0x9c], 0
mov byte [eax], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
call fcn.004314f0
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0xd8], eax
nop word [eax + eax]
lea esi, [ebp - 0x74]
mov dword [ebp - 0xc4], 0
add esi, eax
mov dword [ebp - 0xc0], 0xf
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xe4], esi
mov byte [ebp - 0xd4], 0
movzx edx, byte [esi]
shr edx, 4
cmp eax, edx
jb 0x4108a1
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x98], 0x10
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push ecx
add eax, edx
lea ecx, [ebp - 0xd4]
push eax
call fcn.004314f0
or edi, 2
mov dword [ebp - 0xb4], edi
mov byte [ebp - 4], 3
lea edx, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 0x10
mov ecx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0xd4]
cmovae edx, edi
mov eax, dword [ebp - 0x78]
sub eax, ecx
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0xc4]
push ecx
push edx
cmp ecx, eax
ja 0x41058d
mov eax, dword [ebp - 0xb8]
lea esi, [ebp - 0x8c]
add eax, ecx
cmp dword [ebp - 0x78], 0x10
mov dword [ebp - 0x7c], eax
cmovae esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xb8]
add eax, esi
push eax
call fcn.0043ccc0
mov eax, dword [ebp - 0xc4]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0xb8]
mov byte [eax + esi], 0
mov esi, dword [ebp - 0xe4]
jmp 0x4105ac
mov byte [ebp - 0xe8], 0
push dword [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00433b20
mov edi, dword [ebp - 0xd4]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x4105e6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4105dc
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41089c
push ecx
push edi
call fcn.0043a86a
add esp, 8
movzx edx, byte [esi]
mov eax, dword [ebp - 0x9c]
and edx, 0xf
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
cmp eax, edx
jb 0x4108a1
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x98], 0x10
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push ecx
add eax, edx
lea ecx, [ebp - 0xd4]
push eax
call fcn.004314f0
or dword [ebp - 0xb4], 4
mov byte [ebp - 4], 4
lea edx, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 0x10
mov esi, dword [ebp - 0xd4]
mov edi, dword [ebp - 0x7c]
cmovae edx, esi
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc4]
sub eax, edi
mov dword [ebp - 0xb8], edi
push ecx
push edx
cmp ecx, eax
ja 0x4106bb
cmp dword [ebp - 0x78], 0x10
lea eax, [edi + ecx]
mov dword [ebp - 0x7c], eax
lea edi, [ebp - 0x8c]
cmovae edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xb8]
add eax, edi
push eax
call fcn.0043ccc0
mov eax, dword [ebp - 0xc4]
add esp, 0xc
mov ecx, dword [ebp - 0xb8]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x4106da
mov byte [ebp - 0xbc], 0
push dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00433b20
mov esi, dword [ebp - 0xd4]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x410714
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x41070a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41089c
push ecx
push esi
call fcn.0043a86a
add esp, 8
mov eax, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xd8], eax
cmp eax, 0x10
jl 0x4104a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x41076e
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410764
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41089c
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov esi, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xb4]
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp - 0x7c], 0
jne 0x410835
cmp esi, 3
jl 0x4103a1
mov esi, dword [ebp - 0xe0]
movups xmm0, xmmword [ebp - 0x8c]
mov edx, dword [ebp + 0x1c]
mov byte [ebp - 0x8c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
cmp edx, 0x10
jb 0x410818
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41080e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41089c
push edx
push ecx
call fcn.0043a86a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a313
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xe0]
movups xmm0, xmmword [ebp - 0x8c]
mov edx, dword [ebp + 0x1c]
mov byte [ebp - 0x8c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
cmp edx, 0x10
jb 0x410818
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41080e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41080e
call fcn.0044532a
call fcn.00431ac0
int3