Function at 0x520010
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5602db
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x58829c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x9c], 0x5752f0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x8c], 0
xor ecx, ecx
mov dword [ebp - 4], 0
mov eax, 0xa
mov dword [ebp - 0x88], 0xa
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00551afc
add esp, 4
mov dword [ebp - 0x84], eax
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
push 4
movdqu xmmword [eax + 0x10], xmm0
push esi
movq qword [eax + 0x20], xmm0
lea eax, [ebp - 0x9c]
push eax
call fcn.0051fb00
lea ecx, [ebp - 0x7c]
call fcn.004995e0
mov esi, dword [ebp - 0x84]
movss xmm6, dword [0x577514]
movss xmm4, dword [esi + 8]
movss xmm0, dword [esi]
movaps xmm1, xmm4
movss xmm5, dword [esi + 0xc]
movaps xmm3, xmm0
movss xmm7, dword [esi + 4]
movaps xmm2, xmm5
mulss xmm1, xmm6
movss dword [ebp - 0x80], xmm0
mulss xmm2, xmm6
movss dword [ebp - 0x68], xmm0
subss xmm3, xmm1
addss xmm1, dword [ebp - 0x80]
movaps xmm0, xmm7
movss dword [edi + 0x14], xmm4
subss xmm0, xmm2
movss dword [edi + 0x18], xmm5
addss xmm2, xmm7
movss dword [edi + 0x28], xmm7
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x38], xmm3
movss xmm3, dword [ebp - 0x80]
movss dword [edi + 0x24], xmm3
movss dword [ebp - 0x58], xmm0
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [edi + 0x14]
mulss xmm0, xmm6
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x34], xmm2
movaps xmm2, xmm3
subss xmm2, xmm0
movss dword [ebp - 0x50], xmm1
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm6
movss dword [ebp - 0x44], xmm1
movaps xmm1, xmm7
movss dword [edi + 0x30], xmm2
subss xmm1, xmm0
movss dword [ebp - 0x78], xmm4
movss dword [ebp - 0x74], xmm5
movss dword [ebp - 0x64], xmm7
movss dword [edi + 0x34], xmm1
movaps xmm1, xmm7
movss xmm2, dword [edi + 0x14]
movss xmm0, dword [edi + 0x18]
mulss xmm2, xmm6
mulss xmm0, xmm6
addss xmm2, xmm3
subss xmm1, xmm0
movss dword [edi + 0x3c], xmm2
movss dword [edi + 0x40], xmm1
movss xmm0, dword [edi + 0x18]
movss xmm1, dword [edi + 0x14]
mulss xmm0, xmm6
mov dword [ebp - 0x7c], 0x56c6c0
mulss xmm1, xmm6
addss xmm0, xmm7
addss xmm1, xmm3
movss dword [edi + 0x4c], xmm0
movss dword [edi + 0x48], xmm1
movss xmm0, dword [edi + 0x14]
mulss xmm0, xmm6
subss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
mulss xmm0, xmm6
addss xmm0, xmm7
movss dword [edi + 0x54], xmm3
movss dword [edi + 0x58], xmm0
mov byte [edi + 1], 1
push fcn.00472f30
push 4
push 0xc
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x24], vtable.phVector2d.0
mov dword [ebp - 0x30], vtable.phVector2d.0
call fcn.00551c40
cmp dword [ebp - 0x88], 0
mov dword [ebp - 0x6c], vtable.phVector2d.0
mov dword [ebp - 0x7c], 0x56c6b4
je 0x520246
push esi
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00551c1f
mov esp, ebp
pop ebp
ret 4