Function at 0x511cd0
Capabilities:
Authenticate hmac
Encode data using xor
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568141
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x108]
mov dword [ebp - method.HashAlgorithmMD5.virtual_0], vtable.HashAlgorithmMD5.0
test ecx, ecx
je 0x511d69
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x108], 0x67452301
mov dword [ebp - 0x104], 0xefcdab89
mov dword [ebp - 0x100], 0x98badcfe
mov dword [ebp - 0xfc], 0x10325476
mov dword [ebp - 4], 1
cmp esi, 0x40
jbe 0x511e16
lea ecx, [ebp - 0x108]
test ecx, ecx
je 0x511dbf
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x108], 0x67452301
mov dword [ebp - 0x104], 0xefcdab89
mov dword [ebp - 0x100], 0x98badcfe
mov dword [ebp - 0xfc], 0x10325476
test esi, esi
je 0x511dd6
push esi
push 0
push eax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
call dword [eax + 8]
push ecx
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x108]
call fcn.004d6f20
mov eax, dword [ebp - 0xb0]
add esp, 4
mov dword [ebp - 0x60], eax
mov esi, 0x10
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
jmp 0x511e24
push esi
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov eax, 0x40
sub eax, esi
push eax
lea eax, [ebp - 0x60]
add eax, esi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
xor edx, edx
mov edi, edi
mov cl, byte [ebp + edx - 0x60]
mov al, cl
xor cl, 0x36
xor al, 0x5c
mov byte [ebp + edx - 0x60], cl
mov byte [ebp + edx - 0xa0], al
inc edx
cmp edx, 0x40
jb 0x511e40
lea eax, [ebp - 0x108]
test eax, eax
je 0x511ea2
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x108], 0x67452301
mov dword [ebp - 0x104], 0xefcdab89
mov dword [ebp - 0x100], 0x98badcfe
mov dword [ebp - 0xfc], 0x10325476
push 0x40
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x108]
call fcn.004d6e80
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x511ecf
push eax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
push 0
push ebx
call dword [eax + 8]
push ecx
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x108]
call fcn.004d6f20
mov eax, dword [ebp - 0xb0]
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x108]
test eax, eax
je 0x511f4e
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x108], 0x67452301
mov dword [ebp - 0x104], 0xefcdab89
mov dword [ebp - 0x100], 0x98badcfe
mov dword [ebp - 0xfc], 0x10325476
push 0x40
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x108]
call fcn.004d6e80
add esp, 4
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x10c]
push 0x10
push 0
push eax
mov eax, dword [ebp - 0x10c]
call dword [eax + 8]
push ecx
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x108]
call fcn.004d6f20
mov eax, dword [ebp - 0xb0]
add esp, 4
mov dword [edi], eax
mov eax, dword [ebp - 0xac]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.HashAlgorithmMD5.virtual_0], vtable.HashAlgorithmMD5.0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.HashAlgorithm.virtual_0], vtable.HashAlgorithm.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret