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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [0x100af010]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
mov esi, dword [0x100aff30]
push edi
mov edi, esi
mov dword [esp + 0x4c], edi
mov eax, dword [edi + 0x4068]
mov byte [eax + 0xe9], 1
mov eax, dword [edi + 0x4068]
mov dword [esp + 0x40], eax
cmp byte [eax + 0xec], 0
jne 0x10049251
mov ecx, dword [eax + 0x124]
xor edx, edx
mov eax, dword [eax + 0x12c]
push dword [eax + ecx*4 - 4]
mov ecx, str.oscilloscope
call fcn.100041f0
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, dword [ecx]
cmp dword [ecx + 0x40a0], eax
jne 0x10048a85
push ecx
push str.oscilloscope
mov edx, 0xb
mov ecx, eax
call fcn.10027530
mov esi, dword [0x100aff30]
add esp, 8
mov eax, str.oscilloscope
mov ecx, eax
cmp ecx, 0xffffffff
jae 0x10048aa7
mov cl, byte [eax]
test cl, cl
je 0x10048aa7
cmp cl, 0x23
jne 0x10048aa1
cmp byte [eax + 1], cl
je 0x10048aa7
inc eax
cmp eax, 0xffffffff
jb 0x10048a91
movss xmm0, dword [esi + 0x3dcc]
movss xmm2, dword [0x100aa29c]
cmp eax, str.oscilloscope
jne 0x10048ac9
xorps xmm1, xmm1
movss dword [esp + 0x44], xmm1
jmp 0x10048b17
push 0
push eax
push str.oscilloscope
push ecx
mov ecx, dword [esi + 0x3dc8]
lea eax, [esp + 0x34]
mov dword [esp], 0xbf800000
movaps xmm3, xmm2
push eax
movaps xmm2, xmm0
call fcn.10035c60
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
addss xmm0, dword [0x100aa184]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x28]
test byte [esi + 0x49c8], 1
movss xmm3, dword [edi + 0x3994]
mov eax, dword [ebp + 0x24]
movaps xmm5, xmm3
addss xmm5, xmm3
movss xmm4, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esi + 0x4068]
addss xmm5, xmm0
movss dword [esp + 0x18], xmm4
je 0x10048b55
movss xmm3, dword [esi + 0x49d8]
jmp 0x10048b5d
movss xmm3, dword [eax + 0x1e0]
comiss xmm1, xmm3
jbe 0x10048b9b
cmp dword [eax + 0x1d0], 0
jne 0x10048b79
cmp dword [esi + 0x4e34], 0
mov ecx, 0x268
je 0x10048b7e
mov ecx, 0x238
movss xmm0, dword [eax + ecx]
subss xmm0, dword [eax + 0x130]
addss xmm0, xmm3
movss xmm3, dword [0x100aa18c]
maxss xmm3, xmm0
movaps xmm6, xmm4
mov edx, eax
comiss xmm1, xmm6
mov dword [esp + 0xc], edx
cvttss2si ecx, xmm3
xorps xmm7, xmm7
xorps xmm0, xmm0
ja 0x10048bb8
comiss xmm1, xmm2
jbe 0x10048be3
cmp dword [eax + 0x1d0], 0
jne 0x10048bcf
cmp dword [esi + 0x4e34], 0
mov edx, 0x268
je 0x10048bd4
mov edx, 0x238
movss xmm7, dword [eax + edx]
movss xmm0, dword [eax + edx + 4]
mov edx, dword [esp + 0xc]
movss xmm3, dword [0x100aa1f8]
ucomiss xmm6, xmm1
lahf
test ah, 0x44
jp 0x10048c03
movd xmm4, ecx
cvtdq2ps xmm4, xmm4
movss dword [esp + 0x18], xmm4
jmp 0x10048c2b
comiss xmm1, xmm6
jbe 0x10048c2b
movaps xmm4, xmm7
subss xmm4, dword [edx + 0x130]
addss xmm4, xmm6
comiss xmm3, xmm4
movss dword [esp + 0x18], xmm4
jb 0x10048c2b
movaps xmm4, xmm3
movss dword [esp + 0x18], xmm3
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10048c39
movaps xmm2, xmm5
jmp 0x10048c52
comiss xmm1, xmm2
jbe 0x10048c52
subss xmm0, dword [edx + 0x134]
addss xmm2, xmm0
comiss xmm3, xmm2
jb 0x10048c52
movaps xmm2, xmm3
mov eax, dword [esp + 0x40]
movss xmm3, dword [edi + 0x3990]
movss xmm5, dword [eax + 0x130]
movss xmm6, dword [eax + 0x134]
addss xmm4, xmm5
addss xmm2, xmm6
movss dword [esp + 0x64], xmm5
movss dword [esp + 0x68], xmm6
movaps xmm0, xmm4
movss dword [esp + 0x6c], xmm4
subss xmm0, xmm3
movss dword [esp + 0x70], xmm2
addss xmm3, xmm5
movaps xmm7, xmm2
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0x3994]
movss dword [esp + 0x3c], xmm3
subss xmm7, xmm0
movaps xmm3, xmm6
addss xmm3, xmm0
movss xmm0, dword [esp + 0x44]
comiss xmm0, xmm1
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x34], xmm3
jbe 0x10048cdc
addss xmm0, dword [edi + 0x39a8]
jmp 0x10048cdf
xorps xmm0, xmm0
addss xmm2, xmm1
movss dword [esp + 0x74], xmm5
movss xmm1, dword [edi + 0x3994]
addss xmm4, xmm0
lea ecx, [esp + 0x24]
movss dword [esp + 0x78], xmm6
movss dword [esp + 0x80], xmm2
subss xmm2, xmm6
movss dword [esp + 0x7c], xmm4
subss xmm4, xmm5
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x24], xmm4
call fcn.10015790
lea eax, [esp + 0x64]
xor edx, edx
push 0
push eax
lea ecx, [esp + 0x7c]
call fcn.10015460
add esp, 8
test al, al
je 0x10049251
push dword [edi + 0x49ec]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x68]
call fcn.10007fb0
movss xmm0, dword [ebp + 0x1c]
add esp, 4
movss xmm1, dword [0x100aa29c]
ucomiss xmm0, xmm1
mov byte [esp + 0x17], al
lahf
test ah, 0x44
jnp 0x10048d86
movss xmm0, dword [ebp + 0x20]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10048e24
movaps xmm0, xmm1
xor esi, esi
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x100aa2d0]
movss dword [esp + 0x10], xmm0
nop
push esi
push 0x100b0038
call fcn.10056f90
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
add esp, 8
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x10048de4
comiss xmm0, dword [esp + 0x1c]
ja 0x10048dce
movss dword [esp + 0x1c], xmm0
movss xmm1, dword [esp + 0x10]
comiss xmm1, xmm0
jae 0x10048dea
movaps xmm1, xmm0
movss dword [esp + 0x10], xmm1
jmp 0x10048dea
movss xmm1, dword [esp + 0x10]
inc esi
cmp esi, 0x64
jl 0x10048da0
movss xmm0, dword [ebp + 0x1c]
movss xmm2, dword [0x100aa29c]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10048e11
movss xmm0, dword [esp + 0x1c]
movss dword [ebp + 0x1c], xmm0
movss xmm0, dword [ebp + 0x20]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10048e24
movss dword [ebp + 0x20], xmm1
push dword [esp + 0x70]
movss xmm1, dword [0x100aa18c]
mov ecx, 7
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.10004c80
movss xmm2, dword [edi + 0x3998]
mov dl, 1
mov ecx, eax
call fcn.10005630
cvttss2si eax, dword [esp + 0x28]
mov ecx, 0x64
mov dword [esp + 0x20], 0xffffffff
add esp, 0x10
mov edi, ecx
cmp eax, ecx
cmovl edi, eax
dec edi
cmp byte [esp + 0x17], 0
mov dword [esp + 0x38], edi
je 0x10048f65
mov eax, dword [esp + 0x4c]
movss xmm2, dword [esp + 0x3c]
movss xmm1, dword [eax + 0xe08]
comiss xmm1, xmm2
jb 0x10048f65
movss xmm0, dword [eax + 0xe0c]
comiss xmm0, dword [esp + 0x34]
jb 0x10048f65
movss xmm3, dword [esp + 0x2c]
comiss xmm3, xmm1
jbe 0x10048f65
movss xmm4, dword [esp + 0x30]
comiss xmm4, xmm0
jbe 0x10048f65
movaps xmm0, xmm3
subss xmm1, xmm2
subss xmm0, xmm2
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10048ef3
movss xmm0, dword [0x100aa180]
minss xmm0, xmm1
mulss xmm0, dword [0x100aa244]
cvttss2si esi, xmm0
mov eax, esi
mov dword [esp + 0x10], esi
cdq
idiv ecx
push edx
push 0x100b0038
call fcn.10056f90
inc esi
mov ecx, 0x64
mov eax, esi
cdq
idiv ecx
fstp dword [esp + 0x28]
push edx
push 0x100b0038
call fcn.10056f90
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
add esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
movss xmm0, dword [esp + 0x28]
push esi
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push dword [esp + 0x24]
push str._d:__8.4g_n_d:__8.4g
call fcn.100165d0
add esp, 0x1c
movss xmm1, dword [0x100aa18c]
movd xmm0, edi
movaps xmm2, xmm1
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss xmm0, dword [ebp + 0x1c]
movss dword [esp + 0x50], xmm2
movss xmm2, dword [ebp + 0x20]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10048f9e
mov dword [esp + 0x1c], 0
jmp 0x10048faf
subss xmm2, xmm0
movaps xmm0, xmm1
divss xmm0, xmm2
movss dword [esp + 0x1c], xmm0
push 0
push 0x100b0038
call fcn.10056f90
fsub dword [ebp + 0x1c]
add esp, 8
movss xmm0, dword [0x100aa18c]
xorps xmm7, xmm7
fmul dword [esp + 0x1c]
fstp dword [esp + 0xc]
movss xmm1, dword [esp + 0xc]
comiss xmm7, xmm1
jbe 0x10048fe4
xorps xmm2, xmm2
jmp 0x10048feb
movaps xmm2, xmm0
minss xmm2, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x20], xmm7
subss xmm1, xmm2
mov ecx, 0x28
movss dword [esp + 0xc], xmm1
movaps xmm1, xmm0
call fcn.10004c80
movss xmm1, dword [0x100aa18c]
mov ecx, 0x29
mov dword [esp + 0x54], eax
call fcn.10004c80
mov dword [esp + 0x58], eax
test edi, edi
jle 0x100491f4
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x34]
movss dword [esp + 0x30], xmm0
xorps xmm0, xmm0
nop dword [eax]
nop dword [eax + eax]
movaps xmm1, xmm0
mov ecx, 0x64
mulss xmm0, dword [0x100aa244]
addss xmm1, dword [esp + 0x50]
addss xmm0, dword [0x100aa144]
movss dword [esp + 0x18], xmm1
cvttss2si esi, xmm0
lea eax, [esi + 1]
cdq
idiv ecx
push edx
push 0x100b0038
call fcn.10056f90
fsub dword [ebp + 0x1c]
add esp, 8
xorps xmm7, xmm7
fmul dword [esp + 0x1c]
fstp dword [esp + 0x48]
movss xmm1, dword [esp + 0x48]
comiss xmm7, xmm1
jbe 0x100490ba
xorps xmm0, xmm0
jmp 0x100490c6
movss xmm0, dword [0x100aa18c]
minss xmm0, xmm1
movss xmm3, dword [0x100aa18c]
movss xmm2, dword [esp + 0x2c]
subss xmm3, xmm0
movss xmm1, dword [esp + 0x30]
movaps xmm0, xmm2
mulss xmm2, dword [esp + 0x18]
cmp dword [esp + 0x10], esi
mulss xmm0, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
addss xmm2, dword [esp + 0x3c]
mulss xmm1, dword [esp + 0xc]
mov edi, dword [esp + 0x54]
cmove edi, dword [esp + 0x58]
mov eax, dword [eax + 0x2ac]
movss dword [esp + 0x48], xmm2
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x30]
mov dword [esp + 0x20], eax
movss dword [esp + 0x24], xmm3
addss xmm0, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x34]
addss xmm1, dword [esp + 0x34]
movss dword [esp + 0xc], xmm2
test edi, 0xff000000
je 0x100491d4
addss xmm0, dword [0x100aa144]
addss xmm1, dword [0x100aa144]
lea esi, [eax + 0x54]
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x64], xmm1
call fcn.10027fe0
movss xmm0, dword [esp + 0x48]
lea eax, [esp + 0x74]
addss xmm0, dword [0x100aa144]
push eax
mov ecx, esi
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x100aa144]
movss dword [esp + 0x7c], xmm0
call fcn.10027fe0
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp], 0x3f800000
push 0
push edi
push dword [esi]
push dword [ecx + 0x5c]
call fcn.10030a40
movss xmm3, dword [esp + 0x24]
xorps xmm7, xmm7
mov dword [esi], 0
sub dword [esp + 0x38], 1
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
movss dword [esp + 0x20], xmm1
movss dword [esp + 0xc], xmm3
jne 0x10049060
movss xmm0, dword [esp + 0x44]
comiss xmm0, xmm7
jbe 0x1004923c
mov eax, dword [esp + 0x4c]
xor edx, edx
movss xmm0, dword [esp + 0x6c]
mov ecx, str.oscilloscope
addss xmm0, dword [eax + 0x39a8]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push 1
call fcn.10004ef0
add esp, 0xc
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.1006db86
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.1006db86
mov esp, ebp
pop ebp
ret