Function at 0x5c5090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6adc43
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x73c280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.SpherePackFactory.0
mov dword [ebp - 4], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
movss xmm0, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movss dword [esi + 0x34], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [esi + 0x38], xmm0
movss xmm0, dword [ebp + 0x14]
lea ebx, [eax*4]
push 0x18
mov byte [ebp - 4], 1
mov dword [ebp + 8], ebx
movss dword [esi + 0x3c], xmm0
call fcn.005c8dfe
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
or ecx, 0xffffffff
mov byte [ebp - 4], 2
mov edx, 4
test edi, edi
je 0x5c5173
mov eax, ebx
mov dword [edi], vtable.SpherePackFifo.0
mul edx
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmovb eax, ecx
mov dword [edi + 0xc], 0
push eax
mov dword [edi + 0x10], ebx
call fcn.005c91ea
add esp, 4
mov dword [edi + 0x14], eax
jmp 0x5c5175
xor edi, edi
push 0x18
mov byte [ebp - 4], 1
mov dword [esi + 0x2c], edi
call fcn.005c8dfe
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x5c51d0
mov ecx, 4
mov dword [edi], vtable.SpherePackFifo.0
mov eax, ebx
mov dword [edi + 4], 0
mul ecx
mov ecx, 0xffffffff
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmovb eax, ecx
mov dword [edi + 0x10], ebx
push eax
call fcn.005c91ea
add esp, 4
mov dword [edi + 0x14], eax
jmp 0x5c51d2
xor edi, edi
mov dword [esi + 0x30], edi
mov ecx, dword [esi + 0x18]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x5c51fc
cmp dword [ecx - 4], 0
lea eax, [ecx - 4]
je 0x5c51f1
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x5c51fc
push 4
push eax
call fcn.005c98fc
add esp, 8
mov ecx, 0x50
mov dword [esi + 0x10], ebx
mov eax, ebx
mov dword [ebp + 0xc], ebx
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
add eax, 4
cmovb eax, ecx
push eax
call fcn.005c91ea
add esp, 4
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x5c5247
push 0x5c5440
push 0x5c4fe0
push ebx
lea edi, [eax + 4]
mov dword [eax], ebx
push 0x50
push edi
call fcn.005c90c7
jmp 0x5c5249
xor edi, edi
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x18], edi
dec ebx
mov dword [esi + 0x20], edi
xor edi, edi
mov dword [esi + 0x1c], 0
test ebx, ebx
jle 0x5c528b
mov ecx, dword [esi + 0x18]
lea edx, [edi + edi*4]
shl edx, 4
lea eax, [ecx + 0x50]
add eax, edx
mov dword [edx + ecx + 0x18], eax
mov eax, dword [esi + 0x18]
test edi, edi
jne 0x5c527d
xor ecx, ecx
jmp 0x5c5282
lea ecx, [eax - 0x50]
add ecx, edx
inc edi
mov dword [eax + edx + 0x1c], ecx
cmp edi, ebx
jl 0x5c5260
mov eax, dword [esi + 0x18]
lea edx, [ebx + ebx*4]
shl edx, 4
mov dword [edx + eax + 0x18], 0
mov ecx, dword [esi + 0x18]
lea eax, [ecx - 0x50]
add eax, edx
mov dword [edx + ecx + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5c52ec
mov edx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
test edx, edx
je 0x5c52d6
mov dword [edx + 0x1c], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x1c], 0
inc dword [esi + 0x24]
dec dword [esi + 0x28]
movss xmm0, dword [0x6d9ec4]
mov dword [esi + 4], ecx
mulss xmm0, xmm0
mov byte [ecx + 0x4c], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x48], esi
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0x4ac80000
movss dword [ecx + 0x14], xmm0
mov eax, dword [esi + 4]
or dword [eax + 0x38], 0xb
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5c538b
mov edx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
test edx, edx
je 0x5c5375
mov dword [edx + 0x1c], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x1c], 0
inc dword [esi + 0x24]
dec dword [esi + 0x28]
movss xmm0, dword [0x6d9ec0]
mov dword [esi + 8], ecx
mulss xmm0, xmm0
mov byte [ecx + 0x4c], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x48], esi
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0x49c80000
movss dword [ecx + 0x14], xmm0
mov eax, dword [esi + 8]
or dword [eax + 0x38], 0xd
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10