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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a504b
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6dd8d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x6dd8d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x14]
add eax, 0x1d8
cmp byte [eax], 0
je 0x55c3cf
push 0
push 4
push 0
lea esi, [edi + 0x29c]
push eax
mov ecx, esi
call fcn.00556b50
mov eax, dword [edi + 0x14]
push ecx
mov ecx, esi
movss xmm0, dword [eax + 0x218]
movss dword [esp], xmm0
call fcn.00556520
sub esp, 8
mov ecx, 0x72dfd8
mov dword [esp + 4], 0x3f490fd8
mov dword [esp], 0
push esi
call fcn.00564f80
mov eax, dword [0x5e7a94]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x14]
push dword [eax + 0x184]
call fcn.00553be0
mov eax, dword [0x5e7a94]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x14]
push ecx
movss xmm0, dword [eax + 4]
movss dword [esp], xmm0
push dword [eax]
call fcn.00553c00
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xb4]
mov dword [0x72bd78], eax
mov eax, dword [0x72bd7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [eax]
push dword [ecx + 0x14]
push 0
push eax
call dword [edx + 0xd4]
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x30], 0
mov eax, dword [0x72bd7c]
push eax
mov ecx, dword [eax]
je 0x55c46a
call dword [ecx + 0x18]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [0x72bd7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [edi + 0x14]
push 0
add ecx, 0x20
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xa0]
jmp 0x55c478
call dword [ecx + 0x18]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [0x72bd7c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ecx, dword [edi + 0x14]
push 0
sub esp, 0xc
mov edx, dword [eax]
movss xmm0, dword [ecx + 0x1c]
divss xmm0, dword [0x5b74b8]
mulss xmm0, dword [0x5b74b4]
movss dword [esp + 8], xmm0
movss xmm0, dword [ecx + 0x18]
lea ecx, [esp + 0x4c]
movss dword [esp + 4], xmm0
mov dword [esp], 0x42c80000
push ecx
push eax
call dword [edx + 0x88]
mov eax, dword [edi + 0x14]
mov ecx, 0x6dd100
movss xmm0, dword [eax + 0x18]
movss dword [0x72e584], xmm0
mov dword [0x72e580], 0
mov eax, dword [edi + 0x14]
movss xmm0, dword [eax + 0x1c]
divss xmm0, dword [0x5b74b8]
mulss xmm0, dword [0x5b74b4]
movss dword [0x72e588], xmm0
mov eax, dword [edi + 0x14]
movzx eax, word [eax + 0x138]
push eax
call fcn.00557d00
mov eax, dword [0x72bd7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
mov eax, dword [edi + 0x14]
movss xmm1, dword [0x5b77c0]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
movss xmm0, dword [eax + 0x10]
movss xmm3, dword [eax + 8]
movss xmm2, dword [eax + 0xc]
mulss xmm0, xmm1
mov dword [esp + 0x6c], 1
mulss xmm3, xmm1
mulss xmm2, xmm1
movss dword [esp + 0x38], xmm0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov eax, dword [0x72bd7c]
unpcklps xmm3, xmm2
movq qword [esp + 0x60], xmm3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push 0
lea edx, [esp + 0x58]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xac]
cmp byte [0x72a5ac], 2
jne 0x55c622
lea eax, [edi + 0x378]
mov dword [esp + 0x30], 0
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.SS3DGFunc.dll__VECTOR3Length_4]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x30]
addss xmm0, dword [0x5be29c]
sub esp, 8
lea ecx, [edi + 0x340]
movss dword [esp + 4], xmm0
mov dword [esp], 0x3e490fd8
push eax
lea eax, [esp + 0x48]
push eax
push 0
call fcn.00554500
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x140], 0
je 0x55c660
push 0xc
mov ecx, 0x6dd3f0
call fcn.005723b0
mov eax, dword [edi + 0x14]
lea ecx, [edi + 0x1f8]
push 0
push 4
push 0
add eax, 0x144
push eax
call fcn.00556b50
push 0
mov ecx, 0x6dd3f0
call fcn.005723b0
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x1cc], 0
je 0x55c892
add eax, 0x18c
push eax
call fcn.00555ad0
mov eax, dword [edi + 0x14]
push dword [eax + 0x1d4]
push dword [eax + 0x1d0]
call fcn.00555df0
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0x41a00000
push eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x41200000
call fcn.00555e10
mov eax, dword [edi + 0x14]
add esp, 0x10
mov eax, dword [eax + 0x1cc]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5b56d0]
call sub.MSVCR120.dll__libm_sse2_sqrt_precise
call fcn.00599d21
movss xmm1, dword [0x5bbd18]
mov esi, eax
mov ecx, esi
mov dword [esp + 0x28], esi
shr ecx, 0x1f
xor ebx, ebx
mov dword [esp + 0x18], 0
movd xmm0, esi
mov dword [esp + 0x14], ebx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [ecx*8 + 0x5b56d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
test esi, esi
je 0x55c892
movaps xmm0, xmm1
call fcn.00599b40
mov esi, dword [sym.imp.MSVCR120.dll_rand]
mov dword [esp + 0x20], eax
lea eax, [edi + 0x350]
mov dword [esp + 0x2c], eax
nop
movd xmm0, ebx
mov eax, ebx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
addsd xmm0, qword [eax*8 + 0x5b56d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x24], xmm0
jmp 0x55c786
mov esi, dword [sym.imp.MSVCR120.dll_rand]
push 0xb4
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], 0
test eax, eax
je 0x55c7b1
mov ecx, eax
call fcn.00555920
mov edi, eax
jmp 0x55c7b3
xor edi, edi
mov dword [esp + 0x80], 0xffffffff
call esi
xor edx, edx
div dword [esp + 0x20]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x5b56d0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x10], xmm0
call esi
xor edx, edx
mov esi, dword [0x72be74]
div dword [esp + 0x20]
mov eax, ebx
sub esp, 8
shr eax, 0x1f
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x5b56d0]
cvtpd2ps xmm1, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x5b56d0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x24]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x18]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call dword [sym.imp.MSVCR120.dll_rand]
xor edx, edx
mov ecx, edi
div esi
push edx
call fcn.00555970
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push esi
push edi
call fcn.00498ce0
inc esi
inc ebx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
cmp ebx, esi
jb 0x55c780
mov ebx, dword [esp + 0x14]
inc ebx
cmp ebx, esi
mov dword [esp + 0x14], ebx
mov esi, dword [sym.imp.MSVCR120.dll_rand]
jb 0x55c740
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0059978a
mov esp, ebp
pop ebp
ret