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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov esi, esp
mov dword [esi + 0x258], ebp
call 0x48667c
pop eax
mov dword [esi + 0x25c], esp
mov dword [esi + 0x268], 0xffffffff
mov dword [esi + 0x264], 0x703610
mov edi, ecx
lea ecx, [esi + 0x260]
mov ebx, edx
mov dword [esi + 0xc4], eax
mov eax, dword fs:[0]
mov dword [esi + 0x260], eax
mov dword fs:[0], ecx
mov ecx, edx
call fcn.00531d70
mov eax, dword [ebx + 0x100]
movzx edx, byte [ebx + 0xbd]
mov dword [esi + 0xc8], edi
movss xmm1, dword [eax + 0x74]
test edx, edx
je 0x4866f0
mov cl, 1
cmp edx, 1
je 0x4866f2
cmp byte [ebx + 0xbc], 2
sete cl
jmp 0x4866f2
xor ecx, ecx
mov byte [esi + 0x30], 0
mov dword [esi + 0x31], 0x1010000
mov byte [esi + 0x35], cl
movss xmm2, dword [eax + 0x3c]
movss xmm3, dword [eax + 0x40]
sub esp, 4
lea ecx, [esi + 0x138]
mov edx, ebx
movss dword [esi + 0xd0], xmm3
movss dword [esp], xmm3
movss dword [esi + 0x110], xmm0
movss dword [esi + 0x10], xmm2
movss dword [esi + 0x20], xmm1
call fcn.00555a20
add esp, 4
movsd xmm0, qword [esi + 0x138]
movsd xmm1, qword [esi + 0x140]
lea edi, [esi + 0x38]
lea eax, [esi + 0x148]
mov edx, ebx
mov ecx, edi
movsd qword [esi + 0x150], xmm1
movsd qword [esi + 0x148], xmm0
movss xmm0, dword [esi + 0x110]
movss xmm1, dword [esi + 0x20]
push eax
call fcn.00555f50
add esp, 4
lea eax, [esi + 0x30]
lea ecx, [esi + 0x148]
mov dword [esi + 8], ebx
mov edx, ebx
push eax
push edi
call fcn.00530f60
add esp, 8
lea eax, [esi + 0x148]
mov dword [esi + 0x268], 3
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
call dword [eax + 0xc]
add esp, 8
mov eax, dword [ebp + 0xc]
mov edi, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x4867e0
cmp dword [eax + 8], 9
jae 0x4867cb
mov eax, dword [ebp + 8]
jmp 0x4867d1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
movups xmm0, xmmword [esi + 0x1d0]
movss xmm1, dword [esi + 0xd0]
lea eax, [esi + 0x38]
mov dword [esi + 0x268], 0
lea edx, [esi + 0xe0]
mov ecx, edi
movups xmmword [esi + 0xe0], xmm0
movaps xmmword [esi + 0x110], xmm0
movups xmmword [esi + 0x38], xmm0
movss xmm0, dword [esi + 0x10]
push eax
call fcn.005565d0
add esp, 4
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x100]
cmp byte [eax + 0x214], 0
je 0x486dab
movaps xmm3, xmmword [esi + 0x110]
movsd xmm0, qword [ecx + 0xd0]
movsd xmm4, qword [ecx + 0xd8]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0xc4]
mov edx, dword [ecx + 0xc0]
mov edi, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xe0]
movaps xmm1, xmm3
movaps xmm2, xmm3
mov dword [esi + 0x20], eax
lea eax, [esi + 0x38]
maxps xmm1, xmm0
cmpunordps xmm0, xmm0
andps xmm2, xmm0
andnps xmm0, xmm1
movaps xmm1, xmm3
unpckhpd xmm1, xmm3
orps xmm0, xmm2
movaps xmm2, xmm1
movlps qword [esi + 0x38], xmm0
minps xmm2, xmm4
cmpunordps xmm4, xmm4
andps xmm1, xmm4
andnps xmm4, xmm2
orps xmm4, xmm1
movlps qword [esi + 0x40], xmm4
push eax
push edi
push dword [esi + 0x20]
call fcn.0051b510
add esp, 0xc
test al, al
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x10]
je 0x486dab
lea edx, [ecx + 0xe0]
lea ecx, [esi + 0x90]
call fcn.0051b720
movsd xmm0, qword [esi + 0x138]
movsd xmm1, qword [esi + 0x140]
mov dword [esi + 0x268], 1
lea ecx, [esi + 0x90]
lea edx, [esi + 0x38]
movsd qword [esi + 0x40], xmm1
movsd qword [esi + 0x38], xmm0
push 0xffe6d8ad
push 0x3f800000
call fcn.0046d040
add esp, 8
movaps xmm0, xmmword [esi + 0x110]
lea ecx, [esi + 0x90]
lea edx, [esi + 0x38]
movups xmmword [esi + 0x38], xmm0
push 0xffe6d8ad
push 0x3f800000
call fcn.0046d040
add esp, 8
mov edi, dword [esi + 8]
cmp dword [edi], 2
jne 0x486a1b
movsd xmm0, qword [edi + 0xa8]
lea ecx, [edi + 0xb8]
lea edx, [edi + 0x88]
movaps xmmword [esi + 0xd0], xmm0
movsd xmm0, qword [edi + 0xb0]
movaps xmmword [esi + 0x120], xmm0
call fcn.0054bbe0
movzx eax, byte [edi + 0xbd]
mov ecx, dword [esi + 0xc4]
movss dword [esi + 0x20], xmm0
movss dword [esi + 0x10], xmm1
mov byte [esi + 7], al
movzx eax, al
add ecx, dword [eax*4 + 0x486f10]
jmp ecx
mov eax, dword [edi + 0x78]
movsd xmm1, qword [edi + 0xa8]
xorps xmm2, xmm2
cmp dword [edi + 0x10], eax
jbe 0x486a3a
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x486a3a
movss xmm2, dword [ecx + eax*4]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x7c]
lea edx, [edi + 0x5c]
movaps xmmword [esi + 0x20], xmm1
test ecx, ecx
lea ecx, [ecx + eax*4]
cmove ecx, edx
cmp dword [edi + 0x1c], eax
mov eax, dword [esi + 0xb5]
cmovbe ecx, edx
movss xmm0, dword [ecx]
movzx ecx, byte [esi + 0xb4]
unpcklps xmm2, xmm0
xorps xmm0, xmm0
test cl, cl
maxps xmm0, xmm2
cmpordps xmm2, xmm2
andps xmm2, xmm0
addps xmm2, xmm1
movaps xmmword [esi + 0x10], xmm2
je 0x486aa7
test eax, eax
jne 0x486aa7
mov ecx, dword [esi + 0xb0]
lea edx, [esi + 0x90]
push edx
call fcn.0045bad0
movaps xmm0, xmmword [esi + 0x10]
movaps xmm1, xmmword [esi + 0x20]
add esp, 4
jmp 0x486b95
movaps xmm0, xmmword [0x725c00]
test cl, cl
movlps qword [esi + 0xe0], xmm1
movlps qword [esi + 0xe8], xmm2
movups xmmword [esi + 0xf0], xmm0
mov dword [esi + 0x104], 0x8000c800
mov dword [esi + 0x100], 0x3f800000
mov dword [esi + 0x108], 0
mov byte [esi + 0x10c], 7
je 0x486b17
lea ecx, [esi + 0xcc]
lea edx, [esi + 0x38]
mov dword [esi + 0xcc], eax
mov byte [esi + 0xf], 1
mov dword [esi + 0x268], 2
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0xe0]
call fcn.00549360
movsd xmm1, qword [esi + 0x100]
movsd xmm2, qword [esi + 0xf8]
movsd xmm0, qword [esi + 0x108]
mov ecx, dword [esi + 0xb0]
lea edx, [esi + 0x38]
lea eax, [esi + 0x90]
mov byte [esi + 0xf], 0
mov dword [esi + 0x268], 2
movsd qword [esi + 0x58], xmm1
movsd xmm1, qword [esi + 0xf0]
movsd qword [esi + 0x50], xmm2
movsd xmm2, qword [esi + 0xe0]
movsd qword [esi + 0x60], xmm0
movsd qword [esi + 0x48], xmm1
movsd xmm1, qword [esi + 0xe8]
movsd qword [esi + 0x38], xmm2
movsd qword [esi + 0x40], xmm1
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
call fcn.0045be10
movaps xmm1, xmmword [esi + 0x20]
movaps xmm0, xmmword [esi + 0x10]
movss xmm2, dword [0x725640]
addps xmm1, xmm0
mov dword [esi + 0x268], 1
lea ecx, [esi + 0x38]
lea edx, [esi + 0x90]
movaps xmm0, xmm1
shufps xmm1, xmm1, 0x55
mulss xmm0, xmm2
mulss xmm1, xmm2
push 0x8000c800
push 0x101
call fcn.0046ca00
add esp, 8
jmp 0x486d73
mov eax, dword [esi + 0xb0]
lock dec dword [eax]
mov ebx, dword [esi + 8]
jne 0x486d99
mov ecx, dword [esi + 0xb0]
mov dword [esi + 0x268], 0
call fcn.00444620
mov ebx, dword [esi + 8]
mov eax, dword [ebx + 0x100]
mov ecx, ebx
mov dword [esi + 0x268], 0
movsd xmm0, qword [ecx + 0xd0]
movsd xmm1, qword [ecx + 0xd8]
movzx edi, byte [ecx + 0x108]
movaps xmm2, xmmword [esi + 0x110]
mov ebx, dword [esi + 0x23c]
lea edx, [ecx + 0xe0]
movsd qword [esi + 0x98], xmm1
movsd qword [esi + 0x90], xmm0
movss xmm0, dword [eax + 0x3c]
movss xmm1, dword [eax + 0x40]
mov eax, dword [ecx + 0xc0]
movups xmmword [esi + 0xe0], xmm2
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0xc4]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0xc8]
lea ecx, [esi + 0x38]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x238]
push edi
push 0
lea edi, [esi + 0xe0]
push edi
push ebx
push eax
push dword [esi + 8]
push dword [esi + 0x10]
push dword [esi + 0x20]
lea eax, [esi + 0x90]
push eax
call fcn.00519df0
add esp, 0x24
push 0x58
lea eax, [esi + 0x38]
push eax
push dword [esi + 0xc8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esi + 0x148]
mov dword [esi + 0x268], 0xffffffff
call fcn.00486320
mov eax, dword [esi + 0x260]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret