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

Disassembly:
push 0xffffffffffffffff
push 0x5d1498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
xor eax, eax
push ebx
mov dword [esp + 0x15], eax
xor ebx, ebx
mov dword [esp + 0x19], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1d], eax
push esi
mov word [esp + 0x25], ax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov byte [esp + 0x18], bl
mov byte [esp + 0x27], al
mov dword [esp + 0x14], 0x10
mov dword [esp + 8], ebx
mov eax, dword [0x87e4b4]
mov esi, 0x21
cmp eax, esi
mov dword [esp + 0x44], ebx
jne 0x57d2c3
xor esi, esi
push edi
push ebx
push esi
lea ecx, [esp + 0x14]
call fcn.00563df0
mov ecx, dword [esp + 0xc]
mov dword [ecx], esi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x57d2e2
mov edi, dword [eax + 8]
jmp 0x57d2e4
xor edi, edi
mov ecx, dword [0x929374]
mov edx, dword [str.0123456789ABCDEF]
mov eax, dword [0x929370]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
mov dword [esp + 0x38], ecx
push 1
mov dword [esp + 0x34], edx
mov edx, dword [0x929378]
mov dword [esp + 0x38], eax
mov al, byte [0x92937c]
push ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov dword [esp + 0x4c], edx
mov byte [esp + 0x50], al
call esi
test eax, eax
jne 0x57d353
push ebx
push 1
push ebx
lea edx, [esp + 0x1c]
push ebx
push edx
call esi
test eax, eax
jne 0x57d353
push 8
push 1
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call esi
test eax, eax
je 0x57d3d6
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x57d3d6
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x57d3d6
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push ebx
lea ecx, [esp + 0x20]
push eax
push ecx
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x57d3d6
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebx
jbe 0x57d3d6
mov ecx, edi
xor eax, eax
add ecx, 2
mov al, byte [esp + esi + 0x1c]
mov edx, eax
and eax, 0xf
sar edx, 4
mov al, byte [esp + eax + 0x2c]
inc esi
mov dl, byte [esp + edx + 0x2c]
mov byte [ecx - 2], dl
mov byte [ecx - 1], al
cmp esi, dword [esp + 0x18]
jb 0x57d3b0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x57d3e5
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x57d3f5
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
pop edi
jne 0x57d428
cmp esi, dword [0x87e4b4]
jne 0x57d411
xor esi, esi
push ebx
push esi
lea ecx, [esp + 0x10]
call fcn.00563df0
mov ecx, dword [esp + 8]
mov dword [ecx], esi
mov eax, dword [esp + 8]
jmp 0x57d463
mov ecx, dword [eax + 0xc]
cmp ecx, esi
jae 0x57d445
lea edx, [ecx + esi + 0x1000]
push ebx
push edx
lea ecx, [esp + 0x10]
call fcn.00563df0
mov eax, dword [esp + 8]
mov dword [eax], esi
mov eax, dword [esp + 8]
mov ecx, esi
cmp esi, dword [eax + 0xc]
jae 0x57d463
mov eax, dword [eax + 8]
inc ecx
mov byte [eax + ecx - 1], bl
mov eax, dword [esp + 8]
cmp ecx, dword [eax + 0xc]
jb 0x57d452
cmp eax, ebx
je 0x57d472
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x4c]
cmp eax, ebx
mov dword [esi], ebx
je 0x57d48d
cmp dword [eax + 4], 1
jle 0x57d486
mov dword [esi], eax
jmp 0x57d49e
mov ecx, dword [eax]
mov eax, dword [eax + 8]
jmp 0x57d491
xor ecx, ecx
xor eax, eax
push ecx
push eax
mov ecx, esi
call fcn.00564240
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x57d4bb
mov edx, dword [eax + 4]
dec edx
mov dword [eax + 4], edx
mov eax, dword [esp + 8]
cmp dword [eax + 4], ebx
jne 0x57d4bb
push eax
call fcn.005ad4ce
add esp, 4
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc