Function at 0x10012e30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003eb09
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1004b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10013105
mov eax, dword [ebp + 8]
mov ecx, dword [0x1005b2f4]
mov edx, dword [eax]
mov eax, dword [ecx + 0x3c]
mov edi, dword [edx + eax]
test edi, edi
je 0x10013105
mov eax, dword [ecx + 0x40]
mov eax, dword [edx + eax]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10013105
lea eax, [esi + 0x1b48]
mov ecx, edi
push eax
call fcn.10010e30
mov edi, dword [ebp - 0x10]
add esi, 0x1870
mov edx, dword [0x1005b2f4]
mov ecx, 0xb6
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov eax, dword [edx + 0x48]
mov edi, dword [ebp + 8]
mov ecx, dword [0x1005b09c]
movups xmm0, xmmword [esi + 0xc]
add eax, dword [edi]
movups xmm1, xmmword [esi + 0x1c]
movups xmm2, xmmword [esi + 0x2c]
movups xmm3, xmmword [esi + 0x3c]
movups xmm4, xmmword [esi + 0x4c]
movups xmm5, xmmword [esi + 0x5c]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm3
movups xmmword [eax + 0x40], xmm4
movups xmmword [eax + 0x50], xmm5
mov eax, dword [edi]
movss xmm0, dword [esi + 0x1bc8]
mov dword [ebp + 0xc], eax
mov eax, dword fs:[0x2c]
movss dword [ebp - 0x10], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1005ba70]
mov dword [ebp + 8], ecx
cmp eax, dword [ecx + 4]
jle 0x10012f64
push 0x1005ba70
call fcn.1003d5d2
add esp, 4
cmp dword [0x1005ba70], 0xffffffff
jne 0x10012f64
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push str.m_angAbsRotation
push eax
call fcn.1003d150
push 0x1005ba70
mov dword [0x1005ba50], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1003d581
add esp, 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x1005ba50]
movss xmm0, dword [ebp - 0x10]
mov dword [eax + ecx], 0
movss dword [eax + ecx + 4], xmm0
mov dword [eax + ecx + 8], 0
mov ecx, dword [ebp + 8]
mov eax, dword [0x1005ba48]
mov edx, dword [edi]
mov dword [ebp + 0xc], edx
cmp eax, dword [ecx + 4]
jle 0x10012fe9
push 0x1005ba48
call fcn.1003d5d2
add esp, 4
cmp dword [0x1005ba48], 0xffffffff
jne 0x10012fe6
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push str.m_vecAbsOrigin
push eax
call fcn.1003d150
push 0x1005ba48
mov dword [0x1005ba44], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1003d581
add esp, 4
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x1005ba44]
mov eax, dword [esi + 0x1e8c]
mov dword [ecx + edx], eax
mov eax, dword [esi + 0x1e90]
mov dword [ecx + edx + 4], eax
mov eax, dword [esi + 0x1e94]
mov dword [ecx + edx + 8], eax
mov eax, dword [0x1005b2f4]
mov ecx, dword [eax + 0xc]
add ecx, dword [edi]
mov eax, dword [esi + 0x1e8c]
mov dword [ecx], eax
mov eax, dword [esi + 0x1e90]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x1e94]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [0x1005ba5c]
mov edx, dword [edi]
mov dword [ebp + 0xc], edx
cmp eax, dword [ecx + 4]
jle 0x1001308c
push 0x1005ba5c
call fcn.1003d5d2
add esp, 4
cmp dword [0x1005ba5c], 0xffffffff
jne 0x10013089
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 2
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
push str.m_vecAbsVelocity
push eax
call fcn.1003d150
push 0x1005ba5c
mov dword [0x1005ba68], eax
call fcn.1003d581
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x1eb0]
mov ecx, dword [0x1005ba68]
mov dword [ecx + edx], eax
mov eax, dword [esi + 0x1eb4]
mov dword [ecx + edx + 4], eax
mov eax, dword [esi + 0x1eb8]
mov dword [ecx + edx + 8], eax
mov edx, dword [0x1005b2f4]
mov eax, dword [esi + 0x1eb0]
mov ecx, dword [edx + 0x14]
add ecx, dword [edi]
mov dword [ecx], eax
mov eax, dword [esi + 0x1eb4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x1eb8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0x10]
mov ecx, dword [edi]
mov eax, dword [esi + 0x1ee4]
mov dword [edx + ecx], eax
mov edx, dword [0x1005b358]
mov ecx, dword [edi]
mov eax, dword [edx + 4]
mov dword [ecx + 0xa5c], eax
movss xmm0, dword [edx + 0x10]
call fcn.1003e600
mov ecx, dword [edi]
mov dword [ecx + 0x2914], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8