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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
push ebx
push esi
push edi
lea edi, [ebp - 0x868]
mov ecx, 0x21a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x4293d8
mov eax, dword [ebp + 8]
push eax
call fcn.0041d7a4
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40650f
xor al, al
jmp 0x4068ad
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0041deba
add esp, 0xc
mov dword [ebp - 8], 6
push 1
mov eax, dword [ebp - 8]
neg eax
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041deba
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
push 1
push 2
lea ecx, [ebp - 0xa]
push ecx
call fcn.0041dda3
add esp, 0x10
xor eax, eax
mov ax, word [ebp - 0xa]
add eax, 2
mov dword [ebp - 8], eax
push 1
mov eax, dword [ebp - 8]
neg eax
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041deba
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.0041dc21
add esp, 4
mov dword [ebp - 0x10], eax
xor eax, eax
mov ax, word [ebp - 0xa]
cmp eax, 0x400
jle 0x4065a7
movsx ecx, word [0x42e188]
add ecx, 0x1c
push ecx
push str.c:development_reflexivearcade_sdk_developmentlib_ra_apifunctions.cpp
push str.SignatureLength___MAX_SIGNATURE_LENGTH
call fcn.0041d943
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
xor ecx, ecx
mov cx, word [ebp - 0xa]
push ecx
push 1
lea edx, [ebp - 0x410]
push edx
call fcn.0041dda3
add esp, 0x10
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0041deba
add esp, 0xc
mov esi, esp
push 0xf0000000
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.0041df73
test eax, eax
jne 0x406636
mov esi, esp
push 0xf0000008
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.0041df73
test eax, eax
jne 0x406636
mov eax, dword [ebp - 4]
push eax
call fcn.0041d6ba
add esp, 4
xor al, al
jmp 0x4068ad
mov esi, esp
lea eax, [ebp - 0x818]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x414]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.0041df73
test eax, eax
jne 0x40668b
mov eax, dword [ebp - 4]
push eax
call fcn.0041d6ba
add esp, 4
mov esi, esp
push 0
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.0041df73
xor al, al
jmp 0x4068ad
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x81c], eax
mov byte [ebp - 0x81d], 0
xor eax, eax
mov al, byte [ebp - 0x81d]
test eax, eax
jne 0x406772
mov dword [ebp - 0x824], 0x400
cmp dword [ebp - 0x81c], 0x400
jge 0x4066d4
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 0x824], eax
mov byte [ebp - 0x81d], 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x824]
push ecx
push 1
lea edx, [ebp - 0x814]
push edx
call fcn.0041dda3
add esp, 0x10
mov esi, esp
push 0
mov eax, dword [ebp - 0x824]
push eax
lea ecx, [ebp - 0x814]
push ecx
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp esi, esp
call fcn.0041df73
test eax, eax
jne 0x40675b
mov eax, dword [ebp - 4]
push eax
call fcn.0041d6ba
add esp, 4
mov esi, esp
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.0041df73
mov esi, esp
push 0
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.0041df73
xor al, al
jmp 0x4068ad
mov eax, dword [ebp - 0x81c]
sub eax, dword [ebp - 0x824]
mov dword [ebp - 0x81c], eax
jmp 0x40669b
mov eax, dword [ebp - 4]
push eax
call fcn.0041d6ba
add esp, 4
mov dword [ebp - 0x828], 0
mov esi, esp
lea eax, [ebp - 0x828]
push eax
push 0
push 0
push 0x54
push 0x42e118
mov ecx, dword [ebp - 0x414]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
cmp esi, esp
call fcn.0041df73
test eax, eax
jne 0x4067e9
mov esi, esp
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.0041df73
mov esi, esp
push 0
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.0041df73
xor al, al
jmp 0x4068ad
mov esi, esp
push 0
push str.ReflexiveArcade_DLL_Signature
mov eax, dword [ebp - 0x828]
push eax
xor ecx, ecx
mov cx, word [ebp - 0xa]
push ecx
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
cmp esi, esp
call fcn.0041df73
test eax, eax
jne 0x406867
mov esi, esp
mov eax, dword [ebp - 0x828]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp esi, esp
call fcn.0041df73
mov esi, esp
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.0041df73
mov esi, esp
push 0
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.0041df73
xor al, al
jmp 0x4068ad
mov esi, esp
mov eax, dword [ebp - 0x828]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp esi, esp
call fcn.0041df73
mov esi, esp
mov eax, dword [ebp - 0x818]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.0041df73
mov esi, esp
push 0
mov eax, dword [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.0041df73
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x868
cmp ebp, esp
call fcn.0041df73
mov esp, ebp
pop ebp
ret