Function at 0x45a1d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x51e080]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
mov dword [esp + 4], eax
mov dword [esp + 0xc], esi
push edi
test esi, esi
je 0x45a490
cmp dword [ebp + 0xc], 0xc
jb 0x45a490
add eax, 0xc
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 8]
cmp dword [ecx + 8], 1
jne 0x45a373
cmp dword [esi], 0x10
jne 0x45a486
mov eax, dword [esi + 4]
movzx edi, al
mov dword [esp + 0x18], edi
cmp edi, 6
ja 0x45a486
and eax, 0xff00
cmp eax, 0x600
ja 0x45a486
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [eax + 0x480]
add edx, 0xc
je 0x45a2b9
lea eax, [esp + 0x30]
mov dword [esp + 0x44], 0
push eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
add eax, 0xfffffff4
mov dword [esp + 0x44], 0
push eax
push edx
mov dword [esp + 0x3c], 0x67452301
mov dword [esp + 0x40], 0xefcdab89
mov dword [esp + 0x44], 0x98badcfe
mov dword [esp + 0x48], 0x10325476
call fcn.004b2200
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004b2580
mov ecx, dword [esp + 8]
movups xmm0, xmmword [esp + 0x30]
mov edx, dword [ecx + 0x28]
movd eax, xmm0
movups xmmword [esp + 0x20], xmm0
and edx, eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x14], edx
mov esi, dword [eax + edx*4]
test esi, esi
je 0x45a32a
nop word [eax + eax]
xor ecx, ecx
lea edx, [esi + 0x14]
mov eax, dword [esp + ecx*4 + 0x20]
cmp eax, dword [edx]
jne 0x45a31f
inc ecx
add edx, 4
cmp ecx, 4
jb 0x45a2e5
test esi, esi
je 0x45a326
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 2
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi + 4]
test esi, esi
jne 0x45a2e0
mov ecx, dword [esp + 8]
test edi, edi
je 0x45a373
movsd xmm1, qword [0x513a40]
movsd xmm2, qword [0x513ad8]
nop
mov ecx, dword [ecx + 0x44]
call fcn.00409ee0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x513d40]
mulsd xmm0, xmm1
comisd xmm0, xmm2
jae 0x45a395
mov ecx, dword [esp + 8]
sub edi, 1
mov dword [esp + 0x18], edi
jne 0x45a340
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esi + 8]
cmp eax, 3
ja case.0x45a3a3.1
jmp dword [eax*4 + 0x45a4ac]
mov edi, 6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.0045a4c0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
dec eax
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x474]
lea eax, [esi + 4]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
and ecx, 0xa08f351b
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x45a464
cmp dword [esi + 8], 0xa08f351b
je 0x45a438
mov esi, dword [esi + 4]
test esi, esi
jne 0x45a406
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x45a464
nop
cmp dword [esi + 0x24], 0
je 0x45a45d
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + 0x38], 0
je 0x45a45d
push ecx
push edi
push dword [ebp + 0xc]
push dword [esp + 0x1c]
call fcn.004682e0
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x45a440
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x8c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8