Function at 0x10104b00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
mov eax, dword [0x10273620]
push esi
push edi
mov esi, ecx
mov eax, dword [eax]
mov edi, dword [eax]
mov ecx, edi
call fcn.10005360
mov ecx, dword [0x10274ac0]
movss xmm0, dword [eax]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [0x10273628]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x30], xmm0
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x20], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102811d8]
je 0x10104c30
nop word [eax + eax]
cmp eax, dword [ecx + 4]
jg 0x10104e01
mov ecx, dword [0x102811c8]
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esp + 0x28]
mov ecx, dword [0x10273628]
movss xmm1, dword [esi + 0x18]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x3c], xmm1
mov ecx, dword [ecx + 0x34]
push eax
push dword [esi + 4]
push edi
call fcn.10103b20
movss xmm1, dword [esp + 0x14]
xor ecx, ecx
movss xmm2, dword [esp + 0x18]
movss xmm3, dword [esp + 0x1c]
nop
mov eax, dword [esi + 4]
add eax, ecx
add ecx, 0x30
movss xmm0, dword [eax + 0xc]
subss xmm0, xmm1
movss dword [eax + 0xc], xmm0
movss xmm0, dword [eax + 0x1c]
subss xmm0, xmm2
movss dword [eax + 0x1c], xmm0
movss xmm0, dword [eax + 0x2c]
subss xmm0, xmm3
movss dword [eax + 0x2c], xmm0
cmp ecx, 0x960
jl 0x10104bf0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, dword [ecx + 4]
jg 0x10104e37
mov ecx, dword [0x102811c8]
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x14]
mov ecx, edi
mov dword [esi + 0x28], eax
call fcn.10004360
movss xmm0, dword [esi + 0x24]
sub esp, 8
movaps xmm2, xmm0
movss dword [esp + 0x14], xmm0
subss xmm0, dword [esi + 0x18]
subss xmm2, dword [esi + 0x18]
cvtps2pd xmm0, xmm0
movss dword [esp + 0x18], xmm2
movsd qword [esp], xmm0
call fcn.100aa68f
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x1022517c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100aa68f
movss xmm2, dword ds:[esp + 0x18]
add esp, 8
cvtps2pd xmm0, xmm2
fstp st(0)
comisd xmm0, xmmword [0x10225030]
jbe 0x10104ccf
cvtps2pd xmm0, xmm2
subsd xmm0, qword [0x10225040]
jmp 0x10104ced
movsd xmm0, qword [0x10225260]
cvtps2pd xmm1, xmm2
comisd xmm0, xmm1
jbe 0x10104cf7
cvtps2pd xmm0, xmm2
addsd xmm0, qword [0x10225040]
cvtpd2ps xmm2, xmm0
movss dword [esp + 0x10], xmm2
movss xmm0, dword [0x10225124]
comiss xmm2, xmm0
ja 0x10104d11
movss xmm0, dword [0x10225270]
comiss xmm0, xmm2
jbe 0x10104d21
subss xmm0, xmm2
addss xmm0, dword [esp + 0xc]
movss dword [esp + 0xc], xmm0
mov ecx, edi
call fcn.10004360
movss xmm2, dword [esp + 0x10]
mov ecx, edi
divss xmm2, dword [0x102251c0]
movss xmm0, dword [eax + 8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x10224f64]
subss xmm0, xmm2
movss dword [esp + 0x20], xmm0
call fcn.10004360
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0xc]
mov dword [esp + 0x34], 0
movss dword [eax + 8], xmm0
lea eax, [esp + 0x28]
mov ecx, dword [0x10273628]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x3c], xmm1
push eax
push dword [esi]
mov ecx, dword [ecx + 0x34]
push edi
mov dword [esp + 0x4c], 0
call fcn.10103b20
movss xmm1, dword [esp + 0x14]
xor edx, edx
movss xmm2, dword [esp + 0x18]
movss xmm3, dword [esp + 0x1c]
mov eax, dword [esi]
add eax, edx
add edx, 0x30
movss xmm0, dword [eax + 0xc]
subss xmm0, xmm1
movss dword [eax + 0xc], xmm0
movss xmm0, dword [eax + 0x1c]
subss xmm0, xmm2
movss dword [eax + 0x1c], xmm0
movss xmm0, dword [eax + 0x2c]
subss xmm0, xmm3
movss dword [eax + 0x2c], xmm0
cmp edx, 0x960
jl 0x10104db0
mov ecx, edi
call fcn.10004360
movss xmm0, dword [esp + 0x24]
pop edi
pop esi
movss dword [eax + 8], xmm0
mov esp, ebp
pop ebp
ret
push 0x102811d8
call fcn.10088d85
add esp, 4
cmp dword [0x102811d8], 0xffffffff
jne 0x10104b8c
push 0x102811d8
mov dword [0x102811c8], 0
call fcn.10088d34
add esp, 4
jmp 0x10104b8c
push 0x102811d8
nop dword [eax]
call fcn.10088d85
add esp, 4
cmp dword [0x102811d8], 0xffffffff
jne 0x10104c3c
push 0x102811d8
mov dword [0x102811c8], 0
call fcn.10088d34
add esp, 4
jmp 0x10104c3c