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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov ecx, dword [0x101be470]
xor eax, eax
sub ecx, dword [0x101be46c]
mov dword [esp + 8], eax
mov eax, 0x2e8ba2e9
imul ecx
push ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
push esi
push edi
add eax, edx
je 0x1000b73b
xor esi, esi
mov dword [esp + 0x1c], 5
mov edi, 6
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
xor ecx, ecx
nop
mov eax, dword [0x101be46c]
cmp eax, dword [0x101be470]
je 0x1000b6fa
add esi, eax
lea ecx, [esp + 0x54]
push esi
call fcn.1000eb00
movss xmm2, dword [esi + 0x18]
lea ecx, [esp + 0x24]
mov eax, dword [0x101f55e8]
movss dword [esp + 0x6c], xmm2
movups xmm0, xmmword [esi + 0x1c]
mov dword [esp + 0x2c], 0xff
addss xmm2, dword [0x101b648c]
movups xmmword [esp + 0x70], xmm0
mov dword [esp + 0x24], 0
movss xmm1, dword [eax + 0x10]
lea eax, [esp + 0x28]
movss xmm0, dword [0x101b6598]
subss xmm1, xmm2
mulss xmm1, dword [0x101b65b8]
subss xmm0, xmm1
cvttss2si edx, xmm0
test edx, edx
mov dword [esp + 0x28], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [esp + 0x2c]
cmovle eax, ecx
mov esi, dword [eax]
mov dword [esp + 0x2c], esi
test esi, esi
jg 0x1000b470
mov edi, dword [0x101be46c]
mov esi, dword [esp + 0x18]
add edi, 0x2c
mov ebx, dword [0x101be470]
add edi, esi
cmp edi, ebx
je 0x1000b3d1
lea esi, [edi - 0x10]
push edi
lea ecx, [esi - 0x1c]
call fcn.10010680
mov eax, dword [esi + 0x28]
lea esi, [esi + 0x2c]
mov dword [esi - 0x30], eax
add edi, 0x2c
movups xmm0, xmmword [esi]
movups xmmword [esi - 0x2c], xmm0
cmp edi, ebx
jne 0x1000b3a7
mov ebx, dword [0x101be470]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx - 0x18]
cmp ecx, 0xf
jbe 0x1000b405
mov eax, dword [ebx - 0x2c]
inc ecx
cmp ecx, 0x1000
jb 0x1000b3fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b742
mov eax, edx
push ecx
push eax
call fcn.1010e562
add esp, 8
mov edi, dword [esp + 0x20]
sub esi, 0x2c
dec dword [esp + 0x14]
sub edi, 0xf
sub dword [esp + 0x1c], 0xf
mov dword [ebx - 0x1c], 0
mov dword [ebx - 0x18], 0xf
mov byte [ebx - 0x2c], 0
sub dword [0x101be470], 0x2c
mov ecx, dword [esp + 0x68]
cmp ecx, 0xf
jbe 0x1000b6f6
mov edx, dword [esp + 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b461
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b742
push ecx
push edx
call fcn.1010e562
add esp, 8
jmp 0x1000b6f6
mov ecx, dword [0x101f5864]
call fcn.10057f80
mov eax, dword [0x101bf8f4]
mov edx, 1
push str.Foreground
mov eax, dword [eax + 0x1d40]
mov ecx, dword [eax]
call fcn.1004f880
movd xmm0, esi
lea edx, [esp + 0x58]
cvtdq2ps xmm0, xmm0
add esp, 4
mov dword [esp + 0x30], 0x40c00000
cmp dword [esp + 0x68], 0xf
mov ebx, eax
cmova edx, dword [esp + 0x54]
xorps xmm1, xmm1
mulss xmm0, dword [0x101b62c4]
comiss xmm1, xmm0
jbe 0x1000b4d8
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x34], xmm0
jmp 0x1000b553
minss xmm0, dword [0x101b63d0]
mulss xmm0, dword [0x101b6598]
addss xmm0, dword [0x101b6388]
cvttss2si esi, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
shl esi, 0x18
movss dword [esp + 0x34], xmm0
test esi, esi
je 0x1000b553
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b510
sub ecx, edi
add ecx, edx
cmp edx, ecx
je 0x1000b553
push dword [esp + 0x34]
mov eax, dword [ebx + 0x2c]
push dword [esp + 0x34]
movups xmm0, xmmword [ebx + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
push edx
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [eax + 8]
push esi
push ebx
movups xmmword [esp + 0x64], xmm0
call fcn.100650b0
mov eax, dword [0x101bf8f4]
mov edx, 1
push str.Foreground
mov eax, dword [eax + 0x1d40]
mov ecx, dword [eax]
call fcn.1004f880
movd xmm2, dword [esp + 0x78]
lea esi, [esp + 0x58]
movd xmm1, dword [esp + 0x7c]
add esp, 4
movd xmm0, dword [esp + 0x7c]
mov ebx, eax
movd xmm3, dword [esp + 0x2c]
movss xmm4, dword [0x101b62c4]
cmp dword [esp + 0x68], 0xf
movss xmm6, dword [0x101b63d0]
cmova esi, dword [esp + 0x54]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
mulss xmm2, xmm4
mulss xmm1, xmm4
mulss xmm0, xmm4
mulss xmm3, xmm4
xorps xmm4, xmm4
comiss xmm4, xmm2
jbe 0x1000b5d3
xorps xmm2, xmm2
jmp 0x1000b5d7
minss xmm2, xmm6
comiss xmm4, xmm1
movss xmm5, dword [0x101b6598]
movss xmm7, dword [0x101b6388]
mulss xmm2, xmm5
addss xmm2, xmm7
cvttss2si ecx, xmm2
jbe 0x1000b5fd
xorps xmm1, xmm1
jmp 0x1000b601
minss xmm1, xmm6
mulss xmm1, xmm5
addss xmm1, xmm7
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm4, xmm0
jbe 0x1000b61c
xorps xmm0, xmm0
jmp 0x1000b620
minss xmm0, xmm6
mulss xmm0, xmm5
addss xmm0, xmm7
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm4, xmm3
jbe 0x1000b63b
xorps xmm3, xmm3
jmp 0x1000b63f
minss xmm3, xmm6
movd xmm0, dword [esp + 0x1c]
mulss xmm3, xmm5
mov dword [esp + 0x38], 0x40a00000
cvtdq2ps xmm0, xmm0
addss xmm3, xmm7
movss dword [esp + 0x3c], xmm0
cvttss2si edx, xmm3
shl edx, 0x18
or edx, ecx
test edx, 0xff000000
je 0x1000b6b7
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b674
sub ecx, edi
add ecx, esi
cmp esi, ecx
je 0x1000b6b7
push dword [esp + 0x3c]
mov eax, dword [ebx + 0x2c]
push dword [esp + 0x3c]
movups xmm0, xmmword [ebx + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
push esi
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [eax + 8]
push edx
push ebx
movups xmmword [esp + 0x64], xmm0
call fcn.100650b0
call fcn.100580a0
mov ecx, dword [esp + 0x68]
cmp ecx, 0xf
jbe 0x1000b6ee
mov edx, dword [esp + 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b6e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b742
push ecx
push edx
call fcn.1010e562
add esp, 8
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x1c], 0xf
inc ecx
mov dword [esp + 0x14], ecx
mov eax, 0x2e8ba2e9
mov ecx, dword [0x101be470]
add esi, 0x2c
sub ecx, dword [0x101be46c]
add edi, 0xf
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 3
mov eax, edx
mov dword [esp + 0x18], esi
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], edi
cmp ecx, eax
jb 0x1000b2f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3