Function at 0x1000bdf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cbcb
mov eax, dword fs:[0]
push eax
mov eax, 0x1840
call fcn.1017c1c0
mov eax, dword [0x101ce084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x102223ec]
mov ecx, dword [0x10222420]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x102223ec]
push eax
call dword [esi + 0xc]
test eax, eax
je 0x1000c0b4
mov ecx, dword [0x102224a4]
xor ebx, ebx
mov edx, dword [0x102b287c]
mov edi, dword [0x102b2878]
movd xmm2, dword [ecx + eax]
mov eax, dword [0x102223f4]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
mov eax, edx
sub eax, edi
sar eax, 5
movss dword [ebp - 0x1830], xmm2
test eax, eax
je 0x1000c0b4
movss xmm0, dword [ebp - 0x1844]
xor esi, esi
movss dword [ebp - 0x1834], xmm0
movss xmm0, dword [ebp - 0x1848]
movss dword [ebp - 0x1838], xmm0
movss xmm0, dword [ebp - 0x184c]
movss dword [ebp - 0x183c], xmm0
comiss xmm2, dword [esi + edi + 8]
lea eax, [esi + edi]
jbe 0x1000beec
mov byte [ebp - 0x1840], 0
lea ecx, [eax + 0x20]
push dword [ebp - 0x1840]
push eax
call fcn.1000cb30
mov edx, dword [0x102b287c]
add esp, 8
sub edx, 0x20
mov dword [0x102b287c], edx
jmp 0x1000c09b
cmp byte [eax + 4], 0
jne 0x1000bf9a
mov ecx, dword [eax + 0x10]
lea edx, [ebp - 0x1810]
mov eax, dword [ecx + 4]
add ecx, 4
push ecx
mov dword [esp], 0
push pe_nt_image_headers32
mov eax, dword [eax + 0x34]
push 0x80
push edx
call eax
test al, al
je 0x1000bf53
movss xmm4, dword [ebp - 0x1684]
movss xmm3, dword [ebp - 0x1674]
movss xmm1, dword [ebp - 0x1664]
movss dword [ebp - 0x183c], xmm4
movss dword [ebp - 0x1838], xmm3
movss dword [ebp - 0x1834], xmm1
jmp 0x1000bf6b
movss xmm1, dword [ebp - 0x1834]
movss xmm3, dword [ebp - 0x1838]
movss xmm4, dword [ebp - 0x183c]
mov eax, dword [0x102b2878]
movss xmm2, dword [ebp - 0x1830]
movss dword [esi + eax + 0x14], xmm4
movss dword [esi + eax + 0x18], xmm3
movss dword [esi + eax + 0x1c], xmm1
mov eax, dword [0x102b2878]
mov byte [esi + eax + 4], 1
mov edi, dword [0x102b2878]
movaps xmm0, xmm2
subss xmm0, dword [esi + edi + 0xc]
comiss xmm0, dword [0x101b638c]
jbe 0x1000bfde
movss xmm0, dword [esi + edi + 0x1c]
movaps xmm1, xmm2
subss xmm1, dword [esi + edi + 8]
mulss xmm1, dword [0x101b639c]
subss xmm0, xmm1
movss dword [esi + edi + 0x1c], xmm0
mov eax, dword [0x102b2878]
movss dword [esi + eax + 0xc], xmm2
mov edi, dword [0x102b2878]
mov ecx, dword [0x10222424]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0x184c]
push eax
lea eax, [edi + 0x14]
add eax, esi
push eax
call edx
cmp eax, 1
je 0x1000c08d
mov edx, dword [0x102b2878]
lea ecx, [ebp - 0x1828]
mov edx, dword [esi + edx]
call fcn.1000bdd0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x182c], 0xff0000ff
jb 0x1000c02e
mov eax, dword [eax]
push dword [ebp - 0x182c]
cvttss2si edx, dword [ebp - 0x1848]
push ecx
push eax
cvttss2si ecx, dword [ebp - 0x184c]
call fcn.1012f620
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, dword [ebp - 0x1814]
cmp eax, 0x10
jb 0x1000c072
push 1
inc eax
push eax
push dword [ebp - 0x1828]
call fcn.10001da0
add esp, 0xc
mov dword [ebp - 0x1814], 0xf
mov dword [ebp - 0x1818], 0
mov byte [ebp - 0x1828], 0
movss xmm2, dword [ebp - 0x1830]
mov edx, dword [0x102b287c]
mov edi, dword [0x102b2878]
mov eax, edx
sub eax, edi
inc ebx
sar eax, 5
add esi, 0x20
cmp ebx, eax
jb 0x1000beb5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1017b14e
mov esp, ebp
pop ebp
ret