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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1e54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
movss xmm1, dword [0x100d200c]
xorps xmm0, xmm0
push esi
mov esi, dword [ebx + 0xc]
xorps xmm2, xmm2
push edi
mov edi, ecx
unpcklps xmm0, xmm1
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
movq qword [edi + 0x8c], xmm0
xorps xmm0, xmm0
unpcklps xmm0, xmm2
movq qword [edi + 0x98], xmm0
xorps xmm0, xmm0
mov dword [edi + 0x94], eax
mov eax, dword [ebp - 0x2c]
unpcklps xmm0, xmm2
movss xmm2, dword [0x100d1ff0]
mov dword [edi + 0xa0], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
movq qword [edi + 0xa4], xmm0
mov dword [ebp - 0x18], 0
mov dword [edi + 0x68], 0x3e8
mov dword [edi + 0x6c], 0xa
mov dword [edi + 0x70], 0x3dcccccd
mov dword [edi + 0x74], 0x40000000
mov dword [edi + 0x78], 0x41a00000
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], 0x43fa0000
mov dword [edi + 0x38], 2
cmp dword [edi + 4], esi
je 0x10005a02
xor esi, esi
lea ecx, [edi + 8]
mov edx, dword [ecx]
test edx, edx
je 0x100059a7
nop
mov eax, dword [edx + 0x24]
mov dword [ecx], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x24], eax
dec dword [ecx + 0x20]
mov dword [ecx + 0x10], edx
mov edx, dword [ecx]
test edx, edx
jne 0x10005990
mov eax, dword [edi + 0x38]
movaps xmm1, xmm2
mov dword [ecx + 0x38], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d2260]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, esi
inc esi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100d2260]
cvtpd2ps xmm0, xmm0
mulss xmm1, xmm0
movss dword [ecx + 0x50], xmm1
add ecx, 4
cmp esi, dword [edi + 0x38]
jb 0x10005988
mov esi, dword [ebx + 0xc]
mov dword [edi + 4], esi
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
sub eax, dword [edi + 0x50]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d2260]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x100d1ebc]
movss dword [ebp - 0x20], xmm0
addss xmm0, dword [edi + 0x3c]
movss dword [edi + 0x3c], xmm0
call esi
movss xmm6, dword [ebp - 0x20]
xor edx, edx
movaps xmm0, xmm6
movss xmm1, dword [0x100d1f70]
addss xmm0, xmm6
mov dword [edi + 0x50], eax
xorps xmm5, xmm5
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
addss xmm0, dword [edi + 0x54]
movss dword [edi + 0x54], xmm0
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movq qword [edi + 0x8c], xmm0
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x78]
mov dword [edi + 0x7c], eax
cmp dword [edi + 0x38], edx
jbe 0x10005de8
movaps xmm1, xmm6
mulss xmm1, dword [0x100d1fe0]
movss dword [ebp - 0x24], xmm1
movaps xmm0, xmm1
movss xmm1, dword [0x100d1ff0]
addss xmm0, dword [edi + edx*4 + 0x58]
comiss xmm0, xmm1
movss dword [edi + edx*4 + 0x58], xmm0
jb 0x10005acf
subss xmm0, xmm1
comiss xmm0, xmm1
movss dword [edi + edx*4 + 0x58], xmm0
jae 0x10005ac0
lea eax, [edi + 8]
lea eax, [eax + edx*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
test eax, eax
je 0x10005bde
movss xmm0, dword [edi + 0x3c]
mov esi, eax
mov dword [ebp - 0x18], esi
subss xmm0, dword [esi + 0x18]
comiss xmm0, dword [edi + 0x74]
jb 0x10005b19
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x24]
mov dword [edx], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + edx*4 + 0x18]
mov dword [esi + 0x24], eax
dec dword [edi + edx*4 + 0x28]
mov eax, dword [ebp - 0x1c]
mov dword [edi + edx*4 + 0x18], esi
jmp 0x10005bd2
movaps xmm1, xmm6
lea eax, [esi + 0x24]
mulss xmm1, dword [edi + 0x9c]
movaps xmm4, xmm6
mov dword [ebp - 0x1c], eax
mulss xmm4, dword [edi + 0x98]
movaps xmm2, xmm6
mulss xmm2, dword [edi + 0xa0]
addss xmm1, dword [esi + 0x10]
addss xmm4, dword [esi + 0xc]
addss xmm2, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0xc], xmm4
movss dword [esi + 0x14], xmm2
movss xmm3, dword [edi + 0xa8]
movss xmm0, dword [edi + 0xa4]
subss xmm3, xmm1
movss xmm1, dword [edi + 0xac]
subss xmm0, xmm4
subss xmm1, xmm2
mulss xmm3, xmm6
mulss xmm1, xmm6
addss xmm3, dword [esi + 0x10]
mulss xmm0, xmm6
addss xmm1, xmm2
addss xmm4, xmm0
movss dword [esi + 0x10], xmm3
mulss xmm3, xmm6
movss dword [esi + 0x14], xmm1
mulss xmm1, xmm6
movss dword [esi + 0xc], xmm4
addss xmm3, dword [esi + 4]
addss xmm1, dword [esi + 8]
mulss xmm4, xmm6
movss dword [esi + 4], xmm3
addss xmm4, dword [esi]
movss dword [esi + 8], xmm1
movss dword [esi], xmm4
mov eax, dword [eax]
test eax, eax
jne 0x10005ae2
jmp 0x10005be1
mov esi, dword [ebp - 0x18]
movss xmm1, dword [edi + 0x3c]
movaps xmm0, xmm1
subss xmm0, dword [edi + edx*4 + 0x40]
comiss xmm0, dword [edi + 0x70]
jbe 0x10005dd6
movss dword [edi + edx*4 + 0x40], xmm1
cmp dword [edi + 0x6c], 0
mov dword [ebp - 0x1c], 0
jbe 0x10005dd6
mov eax, dword [edi + edx*4 + 0x18]
test eax, eax
je 0x10005c23
mov esi, eax
mov eax, dword [esi + 0x24]
mov dword [edi + edx*4 + 0x18], eax
jmp 0x10005c48
mov eax, dword [edi + edx*4 + 0x28]
cmp eax, dword [edi + 0x68]
jae 0x10005c48
push 0x28
call fcn.1009718a
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0xffffffff
xorps xmm5, xmm5
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + edx*4 + 0x28]
cmp ecx, dword [edi + 0x68]
jae 0x10005dbe
mov eax, dword [edi + edx*4 + 8]
mov dword [esi + 0x24], eax
mov dword [edi + edx*4 + 8], esi
movq xmm0, qword [edi + 0x8c]
movq qword [esi + 0xc], xmm0
mov eax, dword [edi + 0x94]
mov dword [esi + 0x14], eax
movss xmm0, dword [edi + 0xb0]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jnp 0x10005cd4
lea eax, [ebp - 0x34]
push eax
call fcn.10005010
movss xmm0, dword [edi + 0xb0]
movss xmm1, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mulss xmm1, xmm0
mulss xmm2, xmm0
addss xmm1, dword [esi + 0xc]
mulss xmm3, xmm0
addss xmm2, dword [esi + 0x10]
addss xmm3, dword [esi + 0x14]
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm2
movss dword [esi + 0x14], xmm3
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x18], eax
movss xmm0, dword [edi + edx*4 + 0x58]
mulss xmm0, dword [0x100d1ecc]
movss dword [ebp - 0x18], xmm0
call fcn.100050e0
mulss xmm0, dword [0x100d1fe0]
movaps xmmword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm0, xmm0
call fcn.100c0df0
movaps xmm2, xmmword [ebp - 0x50]
xorps xmm1, xmm1
addss xmm2, dword [edi + 0x80]
mov edx, dword [ebp - 0x14]
xorps xmm5, xmm5
cvtsd2ss xmm1, xmm0
movss xmm0, dword [edi + 0x84]
mulss xmm1, dword [0x100d1fe0]
addss xmm0, xmm5
addss xmm1, dword [edi + 0x88]
unpcklps xmm2, xmm0
movq qword [esi], xmm2
movss dword [ebp - 0x38], xmm1
mov eax, dword [ebp - 0x38]
mov dword [esi + 8], eax
test edx, edx
jne 0x10005d83
mov eax, dword [ebx + 0xc]
cmp eax, 0xa
jne 0x10005d67
mov dword [esi + 0x20], 0xff471f00
jmp 0x10005db3
cmp eax, 0xb
jne 0x10005d75
mov dword [esi + 0x20], 0xffababab
jmp 0x10005db3
cmp eax, 0xc
jne 0x10005db3
mov dword [esi + 0x20], 0xffffed00
jmp 0x10005db3
cmp edx, 1
jne 0x10005db3
mov eax, dword [ebx + 0xc]
cmp eax, 0xa
jne 0x10005d99
mov dword [esi + 0x20], 0xff7d5200
jmp 0x10005db3
cmp eax, 0xb
jne 0x10005da7
mov dword [esi + 0x20], 0xffdbdbdb
jmp 0x10005db3
cmp eax, 0xc
jne 0x10005db3
mov dword [esi + 0x20], 0xffc76600
mov dword [esi + 0x1c], 0x3f800000
inc dword [edi + edx*4 + 0x28]
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [edi + 0x6c]
jb 0x10005c10
movss xmm6, dword [ebp - 0x20]
mov dword [ebp - 0x18], esi
movss xmm1, dword [ebp - 0x24]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [edi + 0x38]
jb 0x10005aa4
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8