Function at 0x4ad330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov edi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x18], ecx
mov eax, edx
sub eax, ecx
sar eax, 4
imul eax, eax, 0xcccccccd
mov bl, 1
cmp eax, 5
ja case.default.0x4ad364
jmp dword [eax*4 + 0x5e6ee4]
lea eax, [edx - 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x28]
cmp eax, dword [edx - 0x28]
mov eax, dword [edi + 0x2c]
sbb eax, dword [edx - 0x24]
jge case.0x4ad364.0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004ad1c0
add esp, 8
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0050db32
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [edi + 0xa0]
mov dword [esp + 4], edx
lea edx, [edi + 0x50]
mov ecx, edi
push esi
call fcn.00586fb0
mov ecx, dword [esp + 8]
add esp, 4
lea edx, [edi + 0xf0]
cmp edx, ecx
je case.0x4ad364.0
mov dword [esp + 0xc], 0xa0
mov dword [esp + 8], 0
mov eax, dword [esi + 0x28]
cmp eax, dword [edx + 0x28]
mov eax, dword [esi + 0x2c]
sbb eax, dword [edx + 0x2c]
jge 0x4ad58f
lea eax, [edx + 0x28]
mov dword [esp], eax
lea esi, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x30], xmm0
movdqu xmmword [esi + 0x20], xmm0
movdqu xmmword [esi + 0x10], xmm0
movdqu xmmword [esi], xmm0
movups xmm0, xmmword [edx]
movaps xmmword [esp + 0x20], xmm0
lea eax, [edx + 0x10]
mov ecx, esi
push eax
mov ebx, edx
call fcn.004ced90
mov eax, dword [ebx + 0x24]
mov dword [esi + 0x14], eax
movsd xmm0, qword [ebx + 0x1c]
movsd qword [esi + 0xc], xmm0
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [ebx + 0x24], eax
mov eax, dword [esp]
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0x38], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x28], xmm1
movups xmmword [esi + 0x18], xmm0
mov eax, dword [esp + 0xc]
mov ebx, eax
lea esi, [edi + eax]
add esi, 0x60
movups xmm0, xmmword [esi - 0x60]
movups xmmword [esi - 0x10], xmm0
lea eax, [edi + eax + 0x10]
mov dword [esp], eax
mov ecx, esi
push eax
call fcn.00455800
mov eax, dword [esp]
cmp byte [eax + 0x67], 0
jns 0x4ad497
push dword [esi + 0xc]
call fcn.0050d52e
add esp, 4
mov eax, dword [edi + ebx + 0x24]
mov dword [esi + 0x14], eax
movsd xmm0, qword [edi + ebx + 0x1c]
movsd qword [esi + 0xc], xmm0
xor eax, eax
mov byte [edi + ebx + 0x27], al
mov byte [edi + ebx + 0x1c], al
movups xmm0, xmmword [edi + ebx + 0x28]
movups xmm1, xmmword [edi + ebx + 0x38]
movups xmmword [edi + ebx + 0x78], xmm0
movups xmmword [edi + ebx + 0x88], xmm1
movsd xmm0, qword [edi + ebx + 0x48]
movsd qword [edi + ebx + 0x98], xmm0
test ebx, ebx
je 0x4ad4fd
mov eax, dword [edi + ebx - 0x28]
mov ecx, dword [edi + ebx - 0x24]
cmp eax, dword [esp + 0x48]
lea eax, [ebx - 0x50]
sbb ecx, dword [esp + 0x4c]
jl 0x4ad464
add eax, edi
add eax, 0x50
jmp 0x4ad4ff
mov eax, edi
lea esi, [esp + 0x30]
mov dword [esp + 0x10], eax
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [eax], xmm0
mov ecx, dword [esp]
push esi
call fcn.00455800
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x27], 0
lea ecx, [edi + ebx + 0x1c]
jns 0x4ad538
push dword [ecx]
mov dword [esp + 4], ecx
call fcn.0050d52e
mov ecx, dword [esp + 4]
add esp, 4
mov eax, dword [esi + 0x14]
mov dword [ecx + 8], eax
movsd xmm0, qword [esi + 0xc]
movsd qword [ecx], xmm0
lea eax, [edi + ebx]
add eax, 0x28
xor ecx, ecx
mov byte [esp + 0x47], cl
mov byte [esp + 0x3c], cl
movsd xmm0, qword [esi + 0x38]
movsd qword [eax + 0x20], xmm0
movups xmm0, xmmword [esi + 0x18]
movups xmm1, xmmword [esi + 0x28]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
mov ebx, dword [esp + 8]
inc ebx
mov ecx, esi
call fcn.004ceef0
mov dword [esp + 8], ebx
cmp ebx, 8
mov bl, 1
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
je 0x4ad608
mov esi, edx
lea eax, [edx + 0x50]
add dword [esp + 0xc], 0x50
mov edx, eax
cmp eax, ecx
jne 0x4ad3dd
jmp case.0x4ad364.0
add edx, 0xffffffb0
lea eax, [edi + 0xa0]
mov esi, edx
lea edx, [edi + 0x50]
mov ecx, edi
push esi
push eax
call fcn.00587080
jmp 0x4ad38f
add edx, 0xffffffb0
mov eax, edx
lea edx, [edi + 0x50]
mov ecx, edi
push eax
call fcn.00586fb0
add esp, 4
jmp case.0x4ad364.0
add edx, 0xffffffb0
lea eax, [edi + 0xf0]
mov dword [esp], eax
lea esi, [edi + 0xa0]
mov eax, edx
lea edx, [edi + 0x50]
mov ecx, edi
push eax
push dword [esp + 4]
push esi
call fcn.00586ec0
add esp, 0xc
jmp case.0x4ad364.0
add edx, 0x50
cmp edx, ecx
sete bl
jmp case.0x4ad364.0