Function at 0x51b380
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x68d9ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x54]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
cmp dword [eax + 0x1005c], 2
push ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x1c8], ebx
push dword [ebp + 0xc]
push eax
jne 0x51b404
call fcn.0051b920
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push 0x20
push eax
call fcn.005550c0
add esp, 0x1c
mov esi, 0xfa1
lea eax, [ebp - 0x34]
push eax
push 0x20
push eax
call fcn.005550c0
add esp, 0xc
sub esi, 1
jne 0x51b3d1
push 0x20
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.005e2740
add esp, 0xc
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f9a43
mov esp, ebp
pop ebp
ret
call fcn.0051b920
xor ecx, ecx
add esp, 0x10
cmp ecx, 0x20
jge 0x51b423
mov al, byte [ecx + 0x6937ec]
mov byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0x20
jl 0x51b413
push 0x20
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1bc], 0x67452301
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b8], 0xefcdab89
push eax
mov dword [ebp - 0x1b4], 0x98badcfe
mov dword [ebp - 0x1b0], 0x10325476
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.0051c0a0
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0051b980
add esp, 0x14
mov esi, 0x32
nop dword [eax]
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1bc], 0x67452301
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b8], 0xefcdab89
push eax
mov dword [ebp - 0x1b4], 0x98badcfe
mov dword [ebp - 0x1b0], 0x10325476
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.0051c0a0
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0051b980
add esp, 0x14
sub esi, 1
jne 0x51b490
movups xmm0, xmmword [ebp - 0x54]
xor eax, eax
movups xmm1, xmmword [ebp - 0x14]
mov dword [ebp - 0x1c0], eax
movups xmmword [ebp - 0x34], xmm0
push edi
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ebp - 0x24], xmm0
movsx eax, al
xor ebx, ebx
movd xmm0, eax
xor eax, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pxor xmm0, xmm1
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp + eax - 0x164], al
inc eax
cmp eax, 0x100
jl 0x51b533
xor edi, edi
xor esi, esi
nop word [eax + eax]
mov dl, byte [ebp + esi - 0x164]
mov eax, esi
and eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x51b565
dec eax
or eax, 0xfffffff0
inc eax
movzx eax, byte [ebp + eax - 0x64]
add eax, edi
movzx ecx, dl
add ecx, eax
mov edi, ecx
and edi, 0x800000ff
jns 0x51b583
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x164]
mov byte [ebp + esi - 0x164], al
inc esi
mov byte [ebp + edi - 0x164], dl
cmp esi, 0x100
jl 0x51b550
xor esi, esi
mov edi, ebx
inc ebx
and ebx, 0x800000ff
jns 0x51b5b6
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [ebp + ebx - 0x164]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x51b5d2
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + edi - 0x164]
mov byte [ebp + ebx - 0x164], al
mov byte [ebp + edi - 0x164], cl
movzx eax, byte [ebp + ebx - 0x164]
add eax, edx
movzx eax, al
movzx eax, byte [ebp + eax - 0x164]
xor byte [ebp + esi - 0x34], al
inc esi
cmp esi, 0x20
jl 0x51b5a5
mov eax, dword [ebp - 0x1c0]
inc eax
mov dword [ebp - 0x1c0], eax
cmp eax, 0x14
jl 0x51b513
push 0x20
lea eax, [ebp - 0x54]
mov dword [ebp - 0x1bc], 0x67452301
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b8], 0xefcdab89
push eax
mov dword [ebp - 0x1b4], 0x98badcfe
mov dword [ebp - 0x1b0], 0x10325476
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.0051c0a0
push 0x20
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.0051c0a0
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0051b980
add esp, 0x20
mov esi, 0x32
pop edi
nop word [eax + eax]
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1bc], 0x67452301
push eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1b8], 0xefcdab89
push eax
mov dword [ebp - 0x1b4], 0x98badcfe
mov dword [ebp - 0x1b0], 0x10325476
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
call fcn.0051c0a0
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0051b980
add esp, 0x14
sub esi, 1
jne 0x51b6a0
mov eax, dword [ebp - 0x1c8]
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
movups xmmword [eax], xmm0
pop ebx
call fcn.004f9a43
mov esp, ebp
pop ebp
ret