Function at 0x4a8bf5
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 ebx, edx
mov edi, ecx
mov eax, dword [0x591128]
xor eax, ebp
mov dword [esp + 0x78], eax
mov eax, edx
sub eax, ecx
sar eax, 4
imul eax, eax, 0xcccccccd
mov byte [esp + 7], 1
cmp eax, 5
ja case.default.0x4a8c2e
jmp dword [eax*4 + 0x54da0c]
mov eax, dword [edi + 0x28]
cmp eax, dword [ebx - 0x28]
mov eax, dword [edi + 0x2c]
sbb eax, dword [ebx - 0x24]
jge case.0x4a8c2e.0
lea eax, [ebx - 0x28]
mov dword [esp + 0x10], eax
lea eax, [edi + 0x28]
mov dword [esp + 0xc], eax
lea eax, [ebx - 0x50]
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x30]
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
movups xmm0, xmmword [edi]
movaps xmmword [esi - 0x10], xmm0
lea eax, [edi + 0x10]
mov dword [esp + 0x14], eax
mov ecx, esi
push eax
call fcn.00428a80
lea eax, [edi + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x14], eax
movsd xmm0, qword [edi + 0x1c]
movsd qword [esi + 0xc], xmm0
xor eax, eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0xc]
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
movups xmm0, xmmword [ebx - 0x50]
movups xmmword [edi], xmm0
lea eax, [ebx - 0x40]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], eax
push eax
call fcn.00428b80
mov dword [esp + 0x18], ebx
add ebx, 0xffffffcc
test byte [edi + 0x1c], 1
je 0x4a8cfc
push dword [edi + 0x24]
call fcn.0050f3dd
add esp, 4
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebx]
movsd qword [ecx], xmm0
mov word [ebx], 0
mov edi, dword [esp + 0x10]
movsd xmm0, qword [edi + 0x20]
mov eax, dword [esp + 0xc]
movsd qword [eax + 0x20], xmm0
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax], xmm0
lea esi, [esp + 0x3c]
movaps xmm0, xmmword [esi - 0x1c]
mov eax, dword [esp + 0x1c]
movups xmmword [eax], xmm0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
call fcn.00428b80
test byte [ebx], 1
je 0x4a8d64
mov eax, dword [esp + 0x18]
push dword [eax - 0x2c]
call fcn.0050f3dd
add esp, 4
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [esi]
movsd qword [ebx], xmm0
mov word [esp + 0x3c], 0
movups xmm0, xmmword [esi + 0xc]
movups xmm1, xmmword [esi + 0x1c]
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm1
movsd xmm0, qword [esi + 0x2c]
movsd qword [edi + 0x20], xmm0
lea ecx, [esp + 0x30]
call fcn.00428b40
jmp case.0x4a8c2e.0
lea esi, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push esi
call fcn.004a7a7a
add esp, 4
lea eax, [edi + 0xf0]
cmp eax, ebx
je case.0x4a8c2e.0
mov dword [esp + 0xc], 0xa0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ebx
mov ecx, esi
mov edx, dword [esi + 0x28]
mov esi, eax
cmp edx, dword [eax + 0x28]
mov eax, dword [ecx + 0x2c]
sbb eax, dword [esi + 0x2c]
jge 0x4a8f6b
mov ebx, esi
lea eax, [esi + 0x28]
mov dword [esp + 8], 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 [ebx]
movaps xmmword [esp + 0x20], xmm0
lea eax, [ebx + 0x10]
mov ecx, esi
push eax
call fcn.00428a80
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 + 0x1c], ebx
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 8]
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 ecx, [edi + eax]
add ecx, 0x60
movups xmm0, xmmword [ecx - 0x60]
movups xmmword [ecx - 0x10], xmm0
lea esi, [edi + eax]
add esi, 0x10
push esi
call fcn.00428b80
test byte [esi + 0x5c], 1
je 0x4a8e91
push dword [edi + ebx + 0x74]
call fcn.0050f3dd
add esp, 4
lea eax, [edi + ebx]
add eax, 0x6c
mov ecx, dword [eax - 0x48]
mov dword [eax + 8], ecx
movsd xmm0, qword [eax - 0x50]
movsd qword [eax], xmm0
mov word [eax - 0x50], 0
movups xmm0, xmmword [eax - 0x44]
movups xmm1, xmmword [eax - 0x34]
movups xmmword [eax + 0xc], xmm0
movups xmmword [eax + 0x1c], xmm1
movsd xmm0, qword [eax - 0x24]
movsd qword [eax + 0x2c], xmm0
test ebx, ebx
je 0x4a8ee6
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 0x4a8e63
add eax, edi
add eax, 0x50
jmp 0x4a8ee8
mov eax, edi
movaps xmm0, xmmword [esp + 0x20]
mov dword [esp + 8], eax
movups xmmword [eax], xmm0
mov ecx, esi
lea eax, [esp + 0x30]
push eax
call fcn.00428b80
test byte [edi + ebx + 0x1c], 1
je 0x4a8f16
mov eax, dword [esp + 8]
push dword [eax + 0x24]
call fcn.0050f3dd
add esp, 4
lea eax, [edi + ebx]
add eax, 0x1c
lea ecx, [esp + 0x30]
mov edx, dword [ecx + 0x14]
mov dword [eax + 8], edx
movsd xmm0, qword [ecx + 0xc]
movsd qword [eax], xmm0
mov word [esp + 0x3c], 0
movups xmm0, xmmword [ecx + 0x18]
movups xmm1, xmmword [ecx + 0x28]
movups xmmword [eax + 0xc], xmm0
movups xmmword [eax + 0x1c], xmm1
movsd xmm0, qword [ecx + 0x38]
movsd qword [eax + 0x2c], xmm0
mov esi, dword [esp + 0x10]
inc esi
call fcn.00428b40
mov dword [esp + 0x10], esi
cmp esi, 8
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
je 0x4a8fe0
lea eax, [esi + 0x50]
add dword [esp + 0xc], 0x50
cmp eax, ebx
jne 0x4a8dd6
jmp case.0x4a8c2e.0
add ebx, 0xffffffb0
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
call fcn.004a7a7a
add esp, 4
jmp case.0x4a8c2e.0
add ebx, 0xffffffb0
lea eax, [edi + 0xf0]
lea esi, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
push eax
push esi
call fcn.004a85fb
add esp, 0xc
jmp case.0x4a8c2e.0
add ebx, 0xffffffb0
lea eax, [edi + 0xa0]
lea edx, [edi + 0x50]
mov ecx, edi
push ebx
push eax
call fcn.004a816a
add esp, 8
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0050f421
mov al, byte [esp + 7]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0x50
cmp esi, ebx
sete byte [esp + 7]
jmp case.0x4a8c2e.0