Function at 0x10006360
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d0ec
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
push esi
push edi
mov eax, dword [0x1004b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x44], xmm0
mov ecx, dword [0x1004b8d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1004b8e4]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x10006b72
mov ecx, dword fs:[0x2c]
mov edx, dword [0x1004b66c]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x11db96c8]
cmp ecx, dword [edx + 4]
jle 0x100064ae
push 0x11db96c8
call fcn.1003b300
add esp, 4
cmp dword [0x11db96c8], 0xffffffff
jne 0x100064ae
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0
call fcn.10034fc0
push 0
push str.m_Collision
push str.DT_BaseEntity
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10035060
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xa4]
mov dword [0x11db96c4], eax
test ecx, ecx
je 0x1000649a
mov eax, dword [ebp - 0x9c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006472
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10006472
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003b276
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push 0x11db96c8
mov dword [ebp - 4], 0xffffffff
call fcn.1003b2af
add esp, 4
mov eax, dword [0x11db96c4]
cmp dword [eax + edi], 0
je 0x10006b72
movss xmm2, dword [edi + 0xe0]
xorps xmm2, xmmword [0x10046490]
movss xmm1, dword [0x100463c4]
movss xmm0, dword [edi + 0x168]
divss xmm1, xmm2
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [edi + 0x16c]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [edi + 0x170]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [edi + 0x174]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [edi + 0x178]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [edi + 0x17c]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [edi + 0xe4]
mulss xmm0, xmm1
movss dword [ebp - 0x20], xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm5, dword [0x10046334]
xorps xmm6, xmm6
cvtss2sd xmm0, xmm0
xorps xmm4, xmm4
mulsd xmm0, qword [0x10046290]
cvtsd2ss xmm6, xmm0
movss xmm0, dword [ebp - 0x20]
comiss xmm0, xmm4
movss dword [ebp - 0x28], xmm6
jb 0x10006572
addss xmm6, xmm5
movss dword [ebp - 0x28], xmm6
movss xmm0, dword [ebp - 0x44]
movss xmm3, dword [0x10046378]
movaps xmm1, xmm0
movss dword [ebp - 0x20], xmm0
movss xmm7, dword [0x100463e4]
xor eax, eax
comiss xmm0, xmm4
jbe 0x1000659b
comiss xmm5, xmm1
jmp 0x1000659e
comiss xmm1, xmm7
seta al
test eax, eax
je 0x10006b77
movaps xmm0, xmm6
lea eax, [ebp - 0x4c]
addss xmm0, xmm1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], eax
movss dword [ebp - 0x1c], xmm0
mulss xmm0, dword [0x10046138]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
fsincos
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
fstp dword [edx]
fstp dword [eax]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x24], eax
fld dword [ebp - 0x18]
fsincos
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
fstp dword [edx]
fstp dword [eax]
movss xmm4, dword [ebp - 0x2c]
lea eax, [ebp - 0x88]
movss xmm2, dword [ebp - 0x48]
mov ecx, edi
movss xmm1, dword [ebp - 0x54]
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x4c]
push eax
mulss xmm2, dword [ebp - 0x50]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
xorps xmm1, xmmword [0x10046490]
mulss xmm0, xmm3
movss dword [eax], xmm4
movss xmm4, dword [ebp - 0x30]
movss dword [eax + 4], xmm4
movss xmm4, dword [ebp - 0x34]
movss dword [eax + 8], xmm4
mov eax, esp
movss xmm4, dword [ebp - 0x38]
sub esp, 0xc
mulss xmm2, xmm3
mov esi, esp
movss dword [eax], xmm4
movss xmm4, dword [ebp - 0x3c]
movss dword [eax + 4], xmm4
movss xmm4, dword [ebp - 0x40]
movss dword [eax + 8], xmm4
mov eax, dword [edi]
mulss xmm1, xmm3
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 0x24]
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x24], xmm1
call eax
movss xmm0, dword [ebp - 0x18]
mov ecx, edi
addss xmm0, dword [eax]
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [eax + 4]
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [eax + 8]
movss dword [esi + 8], xmm0
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
call eax
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
call fcn.10006b90
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x5c]
addss xmm0, dword [0x100462a0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x14], eax
mulss xmm0, dword [0x10046138]
movss dword [ebp - 0x1c], xmm0
fld dword [ebp - 0x1c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
fstp dword [edx]
fstp dword [eax]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x14], eax
fld dword [ebp - 0x1c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm3, dword [ebp - 0x2c]
lea eax, [ebp - 0x8c]
movss xmm2, dword [ebp - 0x58]
mov ecx, edi
movss xmm1, dword [ebp - 0x64]
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x5c]
push eax
mulss xmm2, dword [ebp - 0x60]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
xorps xmm1, xmmword [0x10046490]
movss dword [eax], xmm3
movss xmm3, dword [ebp - 0x30]
movss dword [eax + 4], xmm3
movss xmm3, dword [ebp - 0x34]
movss dword [eax + 8], xmm3
mov eax, esp
movss xmm3, dword [ebp - 0x38]
sub esp, 0xc
mov esi, esp
movss dword [eax], xmm3
movss xmm3, dword [ebp - 0x3c]
movss dword [eax + 4], xmm3
movss xmm3, dword [ebp - 0x40]
movss dword [eax + 8], xmm3
movss xmm3, dword [0x10046378]
mov eax, dword [edi]
mulss xmm0, xmm3
mulss xmm2, xmm3
mov eax, dword [eax + 0x24]
mulss xmm1, xmm3
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x14], xmm1
call eax
movss xmm0, dword [ebp - 0x1c]
mov ecx, edi
addss xmm0, dword [eax]
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [eax + 4]
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [eax + 8]
movss dword [esi + 8], xmm0
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
call eax
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
call fcn.10006b90
movss xmm0, dword [ebp - 0x28]
lea eax, [ebp - 0x6c]
subss xmm0, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], eax
mulss xmm0, dword [0x10046138]
movss dword [ebp - 0x1c], xmm0
fld dword [ebp - 0x1c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
fstp dword [edx]
fstp dword [eax]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x14], eax
fld dword [ebp - 0x1c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm3, dword [ebp - 0x2c]
lea eax, [ebp - 0x90]
movss xmm2, dword [ebp - 0x68]
mov ecx, edi
movss xmm1, dword [ebp - 0x74]
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x6c]
push eax
mulss xmm2, dword [ebp - 0x70]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
xorps xmm1, xmmword [0x10046490]
movss dword [eax], xmm3
movss xmm3, dword [ebp - 0x30]
movss dword [eax + 4], xmm3
movss xmm3, dword [ebp - 0x34]
movss dword [eax + 8], xmm3
mov eax, esp
movss xmm3, dword [ebp - 0x38]
sub esp, 0xc
mov esi, esp
movss dword [eax], xmm3
movss xmm3, dword [ebp - 0x3c]
movss dword [eax + 4], xmm3
movss xmm3, dword [ebp - 0x40]
movss dword [eax + 8], xmm3
movss xmm3, dword [0x10046378]
mov eax, dword [edi]
mulss xmm0, xmm3
mulss xmm2, xmm3
mov eax, dword [eax + 0x24]
mulss xmm1, xmm3
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x14], xmm1
call eax
movss xmm0, dword [ebp - 0x1c]
mov ecx, edi
addss xmm0, dword [eax]
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [eax + 4]
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [eax + 8]
movss dword [esi + 8], xmm0
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
call eax
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
call fcn.10006b90
movss xmm1, dword [ebp - 0x20]
lea eax, [ebp - 0x7c]
addss xmm1, dword [0x100462a0]
movss xmm0, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x14], eax
subss xmm0, xmm1
movss dword [ebp - 0x24], xmm1
mulss xmm0, dword [0x10046138]
movss dword [ebp - 0x1c], xmm0
fld dword [ebp - 0x1c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
fstp dword [edx]
fstp dword [eax]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x14], eax
fld dword [ebp - 0x1c]
fsincos
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
fstp dword [edx]
fstp dword [eax]
movss xmm2, dword [ebp - 0x78]
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x7c]
movss xmm3, dword [ebp - 0x2c]
lea eax, [ebp - 0x94]
push eax
mulss xmm2, dword [ebp - 0x80]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
movss xmm1, dword [ebp - 0x84]
mov ecx, edi
xorps xmm1, xmmword [0x10046490]
movss dword [eax], xmm3
movss xmm3, dword [ebp - 0x30]
movss dword [eax + 4], xmm3
movss xmm3, dword [ebp - 0x34]
movss dword [eax + 8], xmm3
mov eax, esp
movss xmm3, dword [0x10046378]
sub esp, 0xc
mulss xmm0, xmm3
mov esi, esp
mulss xmm2, xmm3
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 8], xmm0
mov eax, dword [edi]
mulss xmm1, xmm3
movss dword [ebp - 0x18], xmm2
mov eax, dword [eax + 0x24]
movss dword [ebp - 0x14], xmm1
call eax
movss xmm0, dword [ebp - 0x1c]
mov ecx, edi
addss xmm0, dword [eax]
movss dword [esi], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [eax + 4]
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [eax + 8]
movss dword [esi + 8], xmm0
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
call eax
sub esp, 0xc
mov edx, esp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
call fcn.10006b90
movss xmm0, dword [ebp - 0x88]
movss xmm3, dword [0x10046378]
movss xmm2, dword [0x100462dc]
mulss xmm0, xmm3
comiss xmm0, xmm2
jbe 0x10006adf
movss xmm0, dword [ebp - 0x8c]
mulss xmm0, xmm3
comiss xmm0, xmm2
ja 0x10006b39
movss xmm0, dword [ebp - 0x90]
mulss xmm0, xmm3
comiss xmm0, xmm2
jbe 0x10006b01
movss xmm0, dword [ebp - 0x94]
mulss xmm0, xmm3
comiss xmm0, xmm2
ja 0x10006b52
movss xmm0, dword [ebp - 0x44]
xorps xmm4, xmm4
comiss xmm0, xmm4
jbe 0x10006b2a
movss xmm1, dword [ebp - 0x24]
movss xmm5, dword [0x10046334]
movss xmm6, dword [ebp - 0x28]
movss dword [ebp - 0x20], xmm1
jmp 0x10006587
movss xmm1, dword [ebp - 0x20]
subss xmm1, dword [0x100462a0]
jmp 0x10006b13
movss xmm0, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0x20]
xorps xmm0, xmmword [0x10046490]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm0, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret