Function at 0x6ebd8a10
Capabilities:
Hash data with md5

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
test ebx, ebx
je 0x6ebd8c79
test ebp, ebp
je 0x6ebd8c5d
mov ecx, dword [ebx + 0x18]
mov eax, 0x10
cmp ecx, 0x3f
ja 0x6ebd8b87
xor edx, edx
lea eax, [ecx*8]
add eax, dword [ebx]
adc edx, dword [ebx + 4]
lea esi, [ecx + 1]
lea edi, [ebx + 0x1c]
cmp esi, 0x38
mov dword [ebx + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [ebx], eax
mov dword [esp + 0x10], eax
mov dword [ebx + 4], edx
mov dword [esp + 0x14], edx
mov byte [ebx + ecx + 0x1c], pe_nt_image_headers32
ja 0x6ebd8b90
je 0x6ebd8b24
mov edi, esi
neg edi
and edi, 7
je 0x6ebd8ae0
cmp edi, 1
je 0x6ebd8ad3
cmp edi, 2
je 0x6ebd8acb
cmp edi, 3
je 0x6ebd8ac3
cmp edi, 4
je 0x6ebd8abb
cmp edi, 5
je 0x6ebd8ab3
cmp edi, 6
je 0x6ebd8aab
mov byte [ebx + esi + 0x1c], 0
add esi, 1
mov byte [ebx + esi + 0x1c], 0
add esi, 1
mov byte [ebx + esi + 0x1c], 0
add esi, 1
mov byte [ebx + esi + 0x1c], 0
add esi, 1
mov byte [ebx + esi + 0x1c], 0
add esi, 1
mov byte [ebx + esi + 0x1c], 0
add esi, 1
add esi, 1
cmp esi, 0x38
mov byte [ebx + esi + 0x1b], 0
je 0x6ebd8b10
mov byte [ebx + esi + 0x1c], 0
mov byte [ebx + esi + 0x1d], 0
mov byte [ebx + esi + 0x1e], 0
mov byte [ebx + esi + 0x1f], 0
mov byte [ebx + esi + 0x20], 0
mov byte [ebx + esi + 0x21], 0
mov byte [ebx + esi + 0x22], 0
add esi, 8
cmp esi, 0x38
mov byte [ebx + esi + 0x1b], 0
jne 0x6ebd8ae0
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebx + 0x18], 0x38
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, edi
mov esi, edi
mov ecx, edi
shr edx, 0x10
mov edi, eax
mov eax, esi
mov byte [ebx + 0x5a], dl
mov edx, edi
mov byte [ebx + 0x59], ah
shrd edx, esi, 0x10
mov byte [ebx + 0x58], al
mov eax, edi
shr ecx, 0x18
shrd eax, esi, 0x18
mov byte [ebx + 0x56], dl
mov edx, dword [esp + 0x1c]
mov byte [ebx + 0x5b], cl
mov ecx, edi
mov byte [ebx + 0x57], al
mov byte [ebx + 0x55], ch
mov byte [ebx + 0x54], cl
mov eax, ebx
call fcn.6ebd8310
mov esi, dword [ebx + 8]
mov dword [ebp], esi
mov eax, dword [ebx + 0xc]
mov dword [ebp + 4], eax
mov edi, dword [ebx + 0x10]
xor eax, eax
mov dword [ebp + 8], edi
mov ebx, dword [ebx + 0x14]
mov dword [ebp + 0xc], ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp esi, 0x40
je 0x6ebd8c37
mov edx, 0x3f
lea esi, [ebx + ecx + 0x1d]
sub edx, ecx
je 0x6ebd8c30
mov ecx, edx
xor eax, eax
and ecx, 7
je 0x6ebd8bff
cmp ecx, 1
je 0x6ebd8bf4
cmp ecx, 2
je 0x6ebd8bed
cmp ecx, 3
je 0x6ebd8be6
cmp ecx, 4
je 0x6ebd8bdf
cmp ecx, 5
je 0x6ebd8bd8
cmp ecx, 6
jne 0x6ebd8c50
mov byte [esi + eax], 0
add eax, 1
mov byte [esi + eax], 0
add eax, 1
mov byte [esi + eax], 0
add eax, 1
mov byte [esi + eax], 0
add eax, 1
mov byte [esi + eax], 0
add eax, 1
mov byte [esi + eax], 0
add eax, 1
cmp eax, edx
jae 0x6ebd8c30
mov byte [esi + eax], 0
mov byte [esi + eax + 1], 0
mov byte [esi + eax + 2], 0
mov byte [esi + eax + 3], 0
mov byte [esi + eax + 4], 0
mov byte [esi + eax + 5], 0
mov byte [esi + eax + 6], 0
mov byte [esi + eax + 7], 0
add eax, 8
cmp eax, edx
jb 0x6ebd8bff
lea esi, [esi]
mov dword [ebx + 0x18], 0x40
mov edx, dword [esp + 0x1c]
mov eax, ebx
xor esi, esi
call fcn.6ebd8310
jmp 0x6ebd8a7c
mov byte [esi], 0
mov eax, 1
jmp 0x6ebd8bd1
mov dword [esp + 8], 0x107
mov dword [esp + 4], str.src_hashes_md5.c
mov dword [esp], 0x6ec721dc
call fcn.6ebddf90
mov dword [esp + 8], 0x106
mov dword [esp + 4], str.src_hashes_md5.c
mov dword [esp], 0x6ec721d1
call fcn.6ebddf90
lea esi, [esi]
lea edi, [edi]