Function at 0x6fa16dd0
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 0x6fa17039
test ebp, ebp
je 0x6fa1701d
mov ecx, dword [ebx + 0x18]
mov eax, 0x10
cmp ecx, 0x3f
ja 0x6fa16f47
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 0x6fa16f50
je 0x6fa16ee4
mov edi, esi
neg edi
and edi, 7
je 0x6fa16ea0
cmp edi, 1
je 0x6fa16e93
cmp edi, 2
je 0x6fa16e8b
cmp edi, 3
je 0x6fa16e83
cmp edi, 4
je 0x6fa16e7b
cmp edi, 5
je 0x6fa16e73
cmp edi, 6
je 0x6fa16e6b
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 0x6fa16ed0
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 0x6fa16ea0
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.6fa166d0
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 0x6fa16ff7
mov edx, 0x3f
lea esi, [ebx + ecx + 0x1d]
sub edx, ecx
je 0x6fa16ff0
mov ecx, edx
xor eax, eax
and ecx, 7
je 0x6fa16fbf
cmp ecx, 1
je 0x6fa16fb4
cmp ecx, 2
je 0x6fa16fad
cmp ecx, 3
je 0x6fa16fa6
cmp ecx, 4
je 0x6fa16f9f
cmp ecx, 5
je 0x6fa16f98
cmp ecx, 6
jne 0x6fa17010
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 0x6fa16ff0
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 0x6fa16fbf
lea esi, [esi]
mov dword [ebx + 0x18], 0x40
mov edx, dword [esp + 0x1c]
mov eax, ebx
xor esi, esi
call fcn.6fa166d0
jmp 0x6fa16e3c
mov byte [esi], 0
mov eax, 1
jmp 0x6fa16f91
mov dword [esp + 8], 0x107
mov dword [esp + 4], str.src_hashes_md5.c
mov dword [esp], 0x6fab113c
call fcn.6fa1c350
mov dword [esp + 8], 0x106
mov dword [esp + 4], str.src_hashes_md5.c
mov dword [esp], 0x6fab1131
call fcn.6fa1c350
lea esi, [esi]
lea edi, [edi]