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

Disassembly:
push 0xffffffffffffffff
push 0x45641b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [0x476a54]
xor eax, dword [esp + 0x98]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [0x477958]
mov edx, dword [ecx + 0x6fc]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x48]
push esi
push edi
mov edi, dword [edx + eax*4 + 0x68]
mov eax, dword [ebp + 0x4c]
lea ebx, [ebp + 0x4c]
push 0x45a67d
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], edi
call fcn.0043c80d
add esp, 8
test eax, eax
jne 0x409006
mov eax, str.mystery_player
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408ff0
sub eax, edx
push eax
push str.mystery_player
mov ecx, ebx
call fcn.004021a0
mov eax, dword [ebp + 0x50]
mov edx, 8
cmp eax, edx
jg 0x409049
mov eax, 0x4e0
jmp 0x409020
mov ecx, dword [0x477958]
lea esi, [eax + ecx + 0x50]
lea edi, [eax + ecx + 0xec]
mov ecx, 0x27
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x50]
dec edx
sub eax, 0x9c
cmp edx, ecx
jge 0x409020
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0x50]
mov edx, dword [0x477958]
imul eax, eax, 0x9c
mov ecx, dword [ebx]
lea edx, [eax + edx + 0x50]
mov edi, edi
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x409060
lea esi, [edi + 0x138]
mov ecx, esi
call fcn.00421650
mov ecx, dword [ebp + 0x50]
mov edx, dword [0x477958]
imul ecx, ecx, 0x9c
mov dword [ecx + edx + 0x60], eax
mov edx, dword [ebp + 0x50]
mov eax, dword [0x477958]
imul edx, edx, 0x9c
mov ecx, dword [eax + 0x6fc]
mov ecx, dword [ecx + 0x98]
mov dword [edx + eax + 0xe4], ecx
add edi, 0x8a8
mov ecx, edi
call fcn.00421650
mov edx, dword [ebp + 0x50]
mov ecx, dword [0x477958]
imul edx, edx, 0x9c
mov dword [edx + ecx + 0xe8], eax
mov ecx, dword [esp + 0x14]
add ecx, 0x7a0
call fcn.00421650
mov ecx, 1
cmp eax, ecx
jne 0x40910d
xor eax, eax
jmp 0x4090f0
mov edx, dword [ebp + 0x50]
mov esi, dword [0x477958]
imul edx, edx, 0x27
add edx, eax
inc eax
cmp eax, 0x20
mov dword [esi + edx*4 + 0x64], ecx
jl 0x4090f0
jmp 0x4095f8
xor ebp, ebp
nop
mov ecx, dword [0x477958]
add ecx, 0x20
call fcn.004397b0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x477958]
imul edx, edx, 0x27
add edx, ebp
inc ebp
cmp ebp, 0x20
mov dword [ecx + edx*4 + 0x64], eax
jl 0x409110
push 0xf0000000
xor ebp, ebp
push 1
push ebp
push ebp
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0x6368d9
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x45af18
call fcn.004022f0
mov eax, dword [0x477970]
lea edx, [esp + 0x50]
push edx
push eax
call fcn.004250e0
add esp, 0x10
push eax
mov ecx, edi
mov dword [esp + 0xa8], ebp
call fcn.00421650
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x45af18
call fcn.004022f0
mov edx, dword [0x477970]
lea ecx, [esp + 0x4c]
push ecx
push edx
call fcn.004250e0
add esp, 0x10
push eax
mov eax, dword [0x477958]
mov ecx, dword [eax + 0x6fc]
mov edx, dword [ecx + 0x98]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x45af18
mov byte [esp + 0xb8], 1
call fcn.004022f0
mov ecx, dword [0x477970]
lea eax, [esp + 0x48]
push eax
push ecx
call fcn.004250e0
add esp, 0x10
push eax
mov ecx, esi
mov byte [esp + 0xb0], 2
call fcn.00421650
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x45af18
call fcn.004022f0
mov eax, dword [0x477970]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.004250e0
add esp, 0x10
mov ecx, dword [0x477958]
push eax
push ebx
add ecx, 0x40
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x45af14
mov byte [esp + 0xc4], 3
call fcn.004022f0
mov eax, dword [0x477970]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.004250e0
add esp, 0x10
mov ecx, dword [0x477958]
push eax
add ecx, 0x20
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x45af14
mov byte [esp + 0xc8], 4
call fcn.004022f0
mov eax, dword [0x477970]
lea edx, [esp + 0x6c]
push edx
push eax
call fcn.004250e0
add esp, 0x10
mov esi, eax
push str.venus
lea ecx, [esp + 0x58]
mov byte [esp + 0xc0], 5
call fcn.004022f0
push esi
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0xc8], 6
call fcn.00408a60
add esp, 0xc
push eax
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0xc4], 7
call fcn.00408a60
add esp, 0xc
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xc0], 8
call fcn.00408a60
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0xbc], 9
call fcn.00408a60
add esp, 0xc
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0xb8], 0xa
call fcn.00408a60
add esp, 0xc
mov bl, 0xb
mov byte [esp + 0xac], bl
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00408a60
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb0], 0xc
call fcn.00408a60
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0xa4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40938a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409422
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409448
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40946e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409506
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0xa4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40952c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409555
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
mov ecx, dword [esp + 0x18]
push ebp
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0x18]
push ebp
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x60]
push eax
push 2
push ecx
mov dword [esp + 0x30], 0x40
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, ebp
jbe 0x4095c7
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x50]
movzx edx, byte [esp + esi + 0x58]
imul ecx, ecx, 0x4e
push edx
mov edx, dword [0x477958]
add ecx, esi
lea eax, [edx + ecx*2 + 0x64]
push str._02x
push eax
call fcn.0043c8a1
mov eax, dword [esp + 0x28]
add esp, 0xc
inc esi
cmp esi, eax
jb 0x409594
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [esp + 0x14]
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x90]
xor ecx, dword [esp + 0xa0]
pop ebp
pop ebx
add esp, 0x98
jmp fcn.0043c4b6