Function at 0x635740
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, 0x10
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
push 0
push 1
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push 0x76c984
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x6357f7
push 8
push 1
push eax
push 0x76c984
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x6357f7
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x6357ed
mov esi, dword [0x853a78]
test esi, esi
je 0x6357e0
push str.Failed_in__acquire_context_in_getSignatureOfData
push str.getSignatureOfData
push 0x75b10c
push str.Type1Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x853a7c]
test eax, eax
je 0x6359b9
push str.Failed_in__acquire_context_in_getSignatureOfData
jmp 0x63599a
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
jne 0x635881
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x635877
mov esi, dword [0x853a78]
test esi, esi
je 0x63586a
push str.Failed_in_creating_hash_in_getSignatureOfData
push str.getSignatureOfData
push 0x75b10c
push str.Type1Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x853a7c]
test eax, eax
je 0x6359b9
push str.Failed_in_creating_hash_in_getSignatureOfData
jmp 0x63599a
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x63590d
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x635903
mov esi, dword [0x853a78]
test esi, esi
je 0x6358f6
push str.Failed_in_creating_hash_data_in_getSignatureOfData
push str.getSignatureOfData
push 0x75b10c
push str.Type1Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x853a7c]
test eax, eax
je 0x6359b9
push str.Failed_in_creating_hash_data_in_getSignatureOfData
jmp 0x63599a
push 0
push ebx
push edi
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x6359ce
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x635995
mov esi, dword [0x853a78]
test esi, esi
je 0x63598c
push str.Failed_in_getting_hash_param_in_getSignatureOfData
push str.getSignatureOfData
push 0x75b10c
push str.Type1Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x853a7c]
test eax, eax
je 0x6359b9
push str.Failed_in_getting_hash_param_in_getSignatureOfData
mov esi, dword [eax]
push str.Type1Validator
push str.getSignatureOfData
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x747368]
call esi
add esp, 0x14
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x6359dc
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x6359ec
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0x10