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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x6c]
push edi
mov eax, dword [ebx + 4]
sub eax, dword [ebx + 0x2c]
push 0
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], 0xffffffff
call fcn.0041ae10
cmp dword [ebx + 0x38], 0
je 0x486637
movq xmm0, qword [esi]
mov esi, dword [esi + 8]
movq qword [esp + 0x48], xmm0
push dword [esp + 0x48]
mov dword [esp + 0x54], esi
call fcn.004c5a90
mov ecx, dword [ebx + 0x34]
lea edx, [ebx + 0x30]
add eax, esi
add esp, 4
mov esi, dword [ebx + 0x38]
dec esi
and esi, eax
test ecx, ecx
cmovne edx, ecx
mov esi, dword [edx + esi*4]
mov edi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
cmp esi, 0xffffffff
je 0x4864dd
mov ebp, dword [ebx]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c], edi
movq xmm0, qword [ebx]
mov ebx, dword [ebx + 8]
movq qword [esp + 0x54], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], ebx
imul ecx, edi, 0x2c
cmp dword [ecx + ebp + 8], ebx
mov esi, dword [ecx + ebp + 0x24]
sete dl
mov dword [esp + 0x30], esi
cmp dword [ecx + ebp], eax
sete cl
test cl, dl
jne 0x4864d5
mov edi, esi
cmp esi, 0xffffffff
jne 0x4864b2
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
cmp edi, 0xffffffff
je 0x486637
mov ebx, dword [ebp + 4]
lea edx, [ebx + 1]
mov dword [ebp + 4], edx
cmp edx, dword [ebp + 8]
jle 0x4864ff
push ebx
mov ecx, ebp
call fcn.004129b0
mov edx, dword [ebp + 4]
mov ecx, ebx
mov dword [esp + 0x34], ebx
not ecx
xor eax, eax
shr ecx, 0x1f
cmp ebx, edx
cmovl eax, ecx
test eax, eax
jne 0x486538
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [ebp]
lea ecx, [ebx + ebx*2]
lea ebx, [eax + ecx*8]
test ebx, ebx
je 0x4865d9
mov eax, dword [esp + 0x14]
imul ecx, edi, 0x2c
mov eax, dword [eax]
add eax, 0xc
mov dword [ebx], 0
add eax, ecx
mov dword [esp + 0x10], eax
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], edi
mov dword [ebx + 4], edi
test edi, edi
jne 0x48657a
mov dword [ebx + 8], edi
jmp 0x48659a
push 0
push edi
mov ecx, ebx
call fcn.0040cd80
lea eax, [edi + edi]
push eax
push dword [esp + 0x24]
push dword [ebx]
call fcn.005f7171
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edi
mov dword [ebx + 0x10], edi
test edi, edi
jne 0x4865bb
mov dword [ebx + 0x14], edi
jmp 0x4865d9
push 0
push edi
lea ecx, [ebx + 0xc]
call fcn.0040cd80
lea eax, [edi + edi]
push eax
push dword [esp + 0x14]
push dword [ebx + 0xc]
call fcn.005f7171
add esp, 0xc
mov edi, esi
mov dword [esp + 0x2c], edi
cmp esi, 0xffffffff
je 0x486637
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
mov eax, dword [esp + 0x18]
movq xmm0, qword [eax]
mov ebx, dword [eax + 8]
movq qword [esp + 0x60], xmm0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], ebx
imul ecx, edi, 0x2c
cmp dword [ecx + ebp + 8], ebx
mov esi, dword [ecx + ebp + 0x24]
sete dl
mov dword [esp + 0x30], esi
cmp dword [ecx + ebp], eax
sete cl
test cl, dl
jne 0x486626
mov edi, esi
cmp esi, 0xffffffff
jne 0x486603
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
cmp edi, 0xffffffff
jne 0x4864e6
cmp byte [esp + 0x78], 0
je 0x486687
mov ecx, dword [ebp + 4]
mov eax, ecx
mov esi, dword [ebp]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x486687
lea ecx, [ecx + ecx*2]
lea ecx, [ecx - 3]
lea ecx, [esi + ecx*8]
cmp esi, ecx
je 0x48667c
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [esi]
movq xmm2, qword [esi + 0x10]
movups xmmword [esi], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x10], xmm0
movups xmmword [ecx], xmm1
movq qword [ecx + 0x10], xmm2
add esi, 0x18
sub ecx, 0x18
sub eax, 1
jne 0x486658
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc