Function at 0x5bdf30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b4a77
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x520], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x524], eax
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x52c], edi
push eax
call fcn.00557fe0
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movd xmm0, dword [eax + 8]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movd xmm0, dword [eax + 0xc]
lea eax, [esi + 0x30]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x528], eax
mov edx, eax
movss dword [ebp - 0x24], xmm0
nop dword [eax + eax]
movss xmm0, dword [edx]
ucomiss xmm0, dword [ebp + ecx*4 - 0x30]
lahf
test ah, 0x44
jp 0x5be02d
inc ecx
add edx, 4
cmp ecx, 4
jl 0x5bdfd0
xor ecx, ecx
nop word [eax + eax]
movss xmm0, dword [ebp + ecx - 0x20]
ucomiss xmm0, dword [ebp + ecx - 0x30]
lahf
test ah, 0x44
jp 0x5be02d
add ecx, 4
cmp ecx, 0x10
jl 0x5bdff0
mov dword [edi + 4], 0
mov dword [edi], 0
mov ecx, dword [esi + 0x2c]
push 0
push dword [ebp - 0x524]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
jmp 0x5be248
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
call fcn.0054cc00
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x51c]
push edx
push eax
call fcn.005711c0
mov esi, eax
mov dword [ebp - 0x51c], esi
mov dword [ebp - 4], 1
or edi, 0xffffffff
test esi, esi
jne 0x5be073
mov byte [ebp - 0x515], al
jmp 0x5be21a
push esi
lea ecx, [ebp - 0x514]
call fcn.0054e2e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x570]
call fcn.00544210
mov byte [ebp - 4], 4
movd xmm2, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x20]
movd xmm1, dword [ebp - 0x2c]
cvtdq2ps xmm2, xmm2
mov ecx, dword [ebp - 0x564]
cvtdq2ps xmm1, xmm1
xorps xmm2, xmmword [0x6f3380]
xorps xmm1, xmmword [0x6f3380]
addss xmm0, xmm2
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, xmm1
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, xmm2
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
test ecx, ecx
je 0x5be105
lea eax, [ecx + 4]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5be105
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 1
call fcn.00567f70
movss xmm6, dword [ebp - 0x18]
movss xmm7, dword [ebp - 0x20]
movaps xmm0, xmm6
movss xmm2, dword [ebp - 0x14]
subss xmm0, xmm7
movss xmm3, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x528]
movss xmm4, dword [eax + 8]
movss xmm5, dword [eax]
movaps xmm1, xmm4
subss xmm1, xmm5
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x5be173
movss xmm1, dword [edx + 0x3c]
movaps xmm0, xmm2
subss xmm1, dword [edx + 0x34]
subss xmm0, xmm3
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x5be173
xor ecx, ecx
jmp 0x5be176
mov ecx, dword [edx + 0x50]
mov eax, dword [ebp - 0x530]
shl ecx, 0x1c
xor ecx, eax
and ecx, 0x30000000
xor eax, ecx
comiss xmm7, xmm6
mov dword [ebp - 0x530], eax
jae 0x5be1cf
comiss xmm3, xmm2
jae 0x5be1cf
comiss xmm5, xmm4
jae 0x5be1cf
movss xmm0, dword [edx + 0x34]
lea eax, [edx + 0x30]
comiss xmm0, dword [eax + 0xc]
jae 0x5be1cf
push 0
lea ecx, [ebp - 0x570]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
mov eax, dword [ebp - 0x514]
lea ecx, [ebp - 0x514]
push dword [edx + 0x2c]
call dword [eax + 0x88]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x78]
call eax
mov ecx, dword [ebp - 0x524]
push eax
call fcn.005411c0
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x515], 1
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x570]
call fcn.005443a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x514]
call fcn.0054e590
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x5be238
lea eax, [esi + 4]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x5be238
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, byte [ebp - 0x515]
mov dword [ebp - 0x51c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 0x14