Function at 0x486140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x717531
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x88
mov dword [esp + 0x18], edi
call fcn.0043e1b0
add esp, 4
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x38], ebx
je 0x48618b
push str.LookAtAnimation
mov ecx, eax
call fcn.004851e0
jmp 0x48618d
xor eax, eax
or esi, 0xffffffff
push 0x50
mov dword [esp + 0x3c], esi
mov dword [edi + 8], eax
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov dword [esp + 0x38], 1
je 0x4861c3
push str.looking
mov ecx, eax
call fcn.00445210
mov dword [esp + 0x10], eax
jmp 0x4861c7
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x1c]
mov cx, word [eax + 0x28]
mov ebx, dword [esp + 0x10]
mov word [ebx + 2], cx
mov eax, dword [edi + 0x1c]
mov ebp, dword [eax + 0x3c]
test ebp, ebp
mov dword [esp + 0x38], esi
je 0x4862a9
jmp 0x4861f0
push 0x50
mov dword [esp + 0x1c], ebx
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x38], 2
je 0x48621e
push str.lookingParent
mov ecx, eax
call fcn.00445210
mov esi, eax
jmp 0x486220
xor esi, esi
mov dword [ebx + 0xc], esi
mov eax, dword [esi + 0x34]
cmp dword [esi + 0x30], eax
mov dword [esp + 0x38], 0xffffffff
mov ebx, esi
jne 0x486286
test eax, eax
je 0x48623d
add eax, eax
jmp 0x486242
mov eax, 8
mov edi, dword [esi + 0x2c]
lea edx, [eax*4]
push edx
mov dword [esi + 0x34], eax
call fcn.006fa7e6
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x486275
mov ecx, dword [esi + 0x2c]
mov edx, dword [edi + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x30]
inc eax
cmp eax, ecx
jl 0x486264
test edi, edi
je 0x486282
push edi
call fcn.006fa390
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*4], edx
inc dword [esi + 0x30]
mov ax, word [ebp + 0x28]
mov word [esi + 2], ax
mov ebp, dword [ebp + 0x3c]
test ebp, ebp
jne 0x4861f0
mov esi, dword [esp + 0x10]
mov dword [ebx + 0xc], 0
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [edi + 8]
mov dword [edx + 0x28], ebx
mov ax, word [esi + 0x48]
mov ecx, dword [esi + 0x48]
add esi, 0x44
mov word [esp + 0x28], ax
mov eax, dword [esi + 8]
cmp ecx, eax
jne 0x4862eb
test eax, eax
je 0x4862de
add eax, eax
jmp 0x4862e3
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [edx + ecx*4], 0
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
mov ecx, edx
cmp ecx, eax
jne 0x48631c
test eax, eax
je 0x48630f
add eax, eax
jmp 0x486314
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0x3e800000
inc dword [esi + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov bp, word [edx + 0x48]
mov word [esp + 0x2a], bp
jne 0x486355
test eax, eax
je 0x486348
add eax, eax
jmp 0x48634d
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
mov ecx, edx
cmp ecx, eax
jne 0x486386
test eax, eax
je 0x486379
add eax, eax
jmp 0x48637e
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [eax + edx*4], 0
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
mov ecx, edx
cmp ecx, eax
jne 0x4863b7
test eax, eax
je 0x4863aa
add eax, eax
jmp 0x4863af
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [edx + ecx*4], 0
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
mov ecx, edx
cmp ecx, eax
jne 0x4863e8
test eax, eax
je 0x4863db
add eax, eax
jmp 0x4863e0
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0x3f800000
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
mov ecx, edx
cmp ecx, eax
jne 0x486419
test eax, eax
je 0x48640c
add eax, eax
jmp 0x486411
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [eax + edx*4], 0
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
mov ecx, edx
cmp ecx, eax
jne 0x48644a
test eax, eax
je 0x48643d
add eax, eax
jmp 0x486442
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [edx + ecx*4], 0
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
mov ecx, edx
cmp ecx, eax
jne 0x48647b
test eax, eax
je 0x48646e
add eax, eax
jmp 0x486473
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [esi + 8]
mov ecx, edx
cmp ecx, eax
jne 0x4864ac
test eax, eax
je 0x48649f
add eax, eax
jmp 0x4864a4
mov eax, 8
push eax
mov ecx, esi
call fcn.00437d60
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov edi, dword [esp + 0x10]
mov dword [eax + edx*4], 0x3f800000
mov edx, dword [esi + 4]
inc edx
add edi, 0x38
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov byte [esp + 0x2c], 4
mov word [esp + 0x26], 2
mov ebx, 0x14
jne 0x4864f4
test eax, eax
je 0x4864e7
add eax, eax
jmp 0x4864ec
mov eax, 8
push eax
mov ecx, edi
call fcn.00437c50
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [esp + 0x28]
shl ecx, 4
add ecx, edx
mov edx, dword [esp + 0x24]
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
inc dword [edi + 4]
mov ecx, dword [esi]
movzx eax, bp
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x34], edx
mov edx, dword [esi]
lea eax, [edx + eax*4 + 0x10]
mov edx, dword [ecx + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ecx + 0x28]
pop edi
mov dword [edx + 0x50], eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x28]
mov ecx, dword [esp + 0x2c]
pop esi
pop ebp
mov dword [edx + 0x54], eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret