Function at 0x402710
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x53ac84]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
movzx ebx, word [eax]
add ebx, 7
shr ebx, 3
lea eax, [esi + 0xb]
mov dword [esp + 0x1c], ebx
push edi
mov edi, dword [ebp + 0x1c]
cmp eax, ebx
jbe 0x402776
mov eax, 0x406
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
je 0x402795
mov eax, 0x408
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov word [esp + 0x88], 0x200
sub edx, esi
mov ecx, 2
dec edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp edx, ecx
jbe 0x402911
nop dword [eax]
cmp dword [edi], 0
lea esi, [esp + 0xf]
mov eax, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
jne 0x4028e2
mov ebx, dword [edi + 0x14]
cmp ebx, eax
jae 0x4028b0
mov ecx, edi
mov edx, ebx
sub ecx, ebx
add ecx, 0x28
test ebx, ebx
je 0x402806
sub esi, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
sub edx, 1
jne 0x4027f4
mov esi, dword [esp + 0x14]
sub dword [esp + 0x10], ebx
lea edx, [edi + 4]
add esi, ebx
mov dword [esp + 0x44], 0
push 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x34], 0x67452301
mov dword [esp + 0x38], 0xefcdab89
mov dword [esp + 0x3c], 0x98badcfe
mov dword [esp + 0x40], 0x10325476
call fcn.00402be0
add esp, 4
lea edx, [esp + 0x30]
lea ecx, [edi + 0x18]
call fcn.00402cb0
mov ebx, 0x10
mov eax, ebx
mov dl, byte [edi + eax + 3]
lea ecx, [edx + 1]
mov byte [edi + eax + 3], cl
test dl, dl
jne 0x4028a3
mov dl, byte [edi + eax + 2]
lea ecx, [edx + 1]
mov byte [edi + eax + 2], cl
test dl, dl
jne 0x4028a3
mov dl, byte [edi + eax + 1]
lea ecx, [edx + 1]
mov byte [edi + eax + 1], cl
test dl, dl
jne 0x4028a3
mov dl, byte [edi + eax]
lea ecx, [edx + 1]
mov byte [edi + eax], cl
test dl, dl
jne 0x4028a3
sub eax, 4
jne 0x402864
mov eax, dword [esp + 0x10]
cmp eax, 0x10
ja 0x4027e5
mov ecx, edi
mov edx, eax
mov eax, dword [esp + 0x10]
sub ecx, ebx
add ecx, 0x28
test eax, eax
je 0x4028d5
sub esi, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
sub edx, 1
jne 0x4028c3
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
sub ebx, eax
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x14], ebx
mov al, byte [esp + 0xf]
test al, al
je 0x4027c0
mov byte [esp + ecx + 0x88], al
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, edx
jb 0x4027c0
cmp ecx, 0x80
jae 0x402965
mov ebx, dword [esp + 0x20]
mov esi, dword [ebp + 0x14]
mov byte [esp + ecx + 0x88], 0
test esi, esi
je 0x402933
push esi
push dword [ebp + 0x10]
lea eax, [esp + 0x91]
add eax, ecx
push eax
call fcn.004c4460
add esp, 0xc
push dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x8c]
mov ecx, dword [esp + 0x30]
push ebx
push eax
call fcn.00402a70
mov ecx, dword [esp + 0x118]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
call fcn.004c229d
int3