Function at 0x4684f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x80], ecx
test eax, eax
je 0x468712
cmp ecx, dword [edi + 0x40]
ja 0x468712
cmp dword [edi + 0x30], 1
je 0x468712
lea ebx, [ecx + 6]
mov eax, 0x10
and ebx, 0xf
lea esi, [edi + 0x10]
sub eax, ebx
neg ebx
push esi
sbb ebx, ebx
and ebx, eax
lea eax, [ecx + 0x15]
inc ebx
add eax, ebx
mov dword [ebp - 0x84], eax
mov al, byte [ebp + 0x10]
or al, 1
mov byte [ebp - 0x76], al
mov byte [ebp - 0x75], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x48]
cmp eax, dword [ebp - 0x84]
jb 0x4685e9
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x480]
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x60], 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x74], 0x67452301
mov dword [ebp - 0x70], 0xefcdab89
mov dword [ebp - 0x6c], 0x98badcfe
mov dword [ebp - 0x68], 0x10325476
call fcn.004b2200
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.004b2580
lea esi, [edi + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x48]
cmp eax, dword [ebp - 0x84]
jae 0x468618
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x88]
cmp ebx, dword [ebp + 0x14]
ja 0x4686fa
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x7c]
add ebx, 5
mov dword [ebp - 0x88], ebx
jmp 0x468518
test byte [ebp - 0x76], 2
mov ecx, edi
je 0x46868d
push 0x10
lea eax, [ebp - 0x74]
push eax
call fcn.004688b0
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp - 0x7c]
call fcn.004688b0
push 1
lea eax, [ebp - 0x75]
mov ecx, edi
push eax
call fcn.004688b0
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, dword [ecx + 0x488]
call fcn.004b0fb0
push ebx
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004688b0
push 4
lea eax, [ebp - 0x80]
mov ecx, edi
push eax
call fcn.004688b0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x14
push 4
lea eax, [ebp - 0x80]
push eax
call fcn.00468830
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, dword [ecx + 0x488]
call fcn.004b0fb0
push ebx
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00468830
push 1
lea eax, [ebp - 0x75]
mov ecx, edi
push eax
call fcn.00468830
push dword [ebp - 0x80]
mov ecx, edi
push dword [ebp - 0x7c]
call fcn.00468830
push 0x10
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.00468830
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x14
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 0x14