Function at 0x1000bed0
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
sub esp, 0x58
push esi
mov esi, dword [0x10167324]
push edi
mov dword [ebp - 0x18], esi
mov edx, dword [esi + 0x4ab8]
sub edx, 1
js 0x1000bf39
mov eax, dword [esi + 0x4ac0]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop
mov edi, dword [eax]
test edi, edi
je 0x1000bf31
test dword [edi + 0xc], 0x8000000
je 0x1000bf31
cmp byte [edi + 0xdf], 0
je 0x1000bf31
cmp byte [edi + 0xe6], 0
je 0x1000bf3b
sub eax, 0x28
sub edx, 1
jns 0x1000bf10
xor edi, edi
movss xmm1, dword [esi + 0x4d10]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1000bf58
comiss xmm0, dword [esi + 0x4cf8]
jae 0x1000c445
mov eax, dword [esi + 0x4cec]
test eax, eax
je 0x1000bf6f
cmp byte [eax + 0xdf], 0
je 0x1000bf6f
mov al, 1
jmp 0x1000bf71
xor al, al
test edi, edi
jne 0x1000bf7d
test al, al
je 0x1000c445
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x1000c05e
mov eax, dword [0x10167324]
mov dword [ebp - 4], edi
mov edx, dword [eax + 0x4024]
mov ecx, edx
mov eax, dword [eax + 0x401c]
lea eax, [edx + eax*4]
cmp ecx, eax
jae 0x1000bfbb
nop word [eax + eax]
cmp dword [ecx], edi
je 0x1000bfbb
add ecx, 4
cmp ecx, eax
jb 0x1000bfb0
sub ecx, edx
sar ecx, 2
test ecx, ecx
js 0x1000c03f
lea edx, [edx + ecx*4]
mov dword [ebp - 0x10], edx
nop word [eax + eax]
mov edx, dword [edx]
mov dword [ebp - 0x20], edx
mov esi, dword [edx + 0xc]
test esi, 0x1000000
jne 0x1000c031
mov eax, edx
cmp dword [edx + 0x340], edi
je 0x1000c000
nop word [eax + eax]
cmp eax, edi
je 0x1000c000
mov eax, dword [eax + 0x33c]
test eax, eax
jne 0x1000bff0
jmp 0x1000c03f
cmp byte [edx + 0xdf], 0
je 0x1000c031
cmp byte [edx + 0xe6], 0
jne 0x1000c031
mov eax, dword [edi + 0xc]
and esi, 0x2000000
mov edx, dword [ebp - 4]
and eax, 0x2000000
cmp esi, eax
mov dword [ebp - 4], edx
mov eax, edx
cmovbe eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x10]
sub edx, 4
sub ecx, 1
mov dword [ebp - 0x10], edx
jns 0x1000bfd0
mov ecx, 0x36
call fcn.10005cf0
mov ecx, dword [ebp - 4]
mov edx, eax
call fcn.1000bac0
mov ecx, dword [edi + 0x30]
mov dword [ebp - 4], ecx
jmp 0x1000c335
test al, al
je 0x1000c335
mov ecx, 0x35
call fcn.10005cf0
mov ecx, dword [esi + 0x4cec]
mov edx, eax
call fcn.1000bac0
mov eax, dword [esi + 0x4cf0]
test eax, eax
je 0x1000c0b8
mov edx, dword [eax + 0x30]
test edx, edx
je 0x1000c0b8
mov eax, dword [esi + 0x4cec]
cmp edx, dword [eax + 0x30]
je 0x1000c0b8
movss xmm1, dword [esi + 0x4d10]
mov ecx, 0x35
call fcn.10005cf0
mov ecx, dword [esi + 0x4cf0]
mov edx, eax
call fcn.1000bac0
mov eax, dword [esi + 0x4cec]
mov ecx, dword [esi + 0x4cf0]
mov dword [ebp - 0x10], eax
mov edx, dword [eax + 0x30]
mov dword [ebp - 4], edx
test ecx, ecx
je 0x1000c0d9
mov ecx, dword [ecx + 0x30]
mov dword [ebp - 0x14], ecx
jmp 0x1000c0e0
mov dword [ebp - 0x14], 0
movss xmm2, dword [eax + 0x44]
movss xmm3, dword [esi + 0x3dcc]
movaps xmm5, xmm2
addss xmm2, dword [eax + 0x4c]
movss xmm1, dword [eax + 0x48]
subss xmm5, xmm3
movaps xmm4, xmm1
addss xmm1, dword [eax + 0x50]
subss xmm4, xmm3
addss xmm2, xmm3
movss dword [ebp - 0x1c], xmm5
addss xmm1, xmm3
movss dword [ebp - 0x20], xmm4
movaps xmm0, xmm2
movss dword [ebp - 8], xmm2
subss xmm0, xmm5
movss dword [ebp - 0xc], xmm1
comiss xmm0, dword [edx + 0x10]
jb 0x1000c173
movaps xmm0, xmm1
subss xmm0, xmm4
comiss xmm0, dword [edx + 0x14]
jb 0x1000c173
xorps xmm3, xmmword [0x1015cf20]
subss xmm3, dword [0x1015ca30]
subss xmm5, xmm3
subss xmm4, xmm3
addss xmm2, xmm3
addss xmm1, xmm3
movss dword [ebp - 0x1c], xmm5
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 8], xmm2
movss dword [ebp - 0xc], xmm1
mov ecx, dword [eax + 0x2a4]
push ecx
add ecx, 0x78
call fcn.1006e440
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x2a4]
cmp dword [ecx], 0
jne 0x1000c195
call fcn.1006aa90
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x2a4]
mov dword [ebp - 0x34], ecx
movss xmm2, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x10]
movaps xmm3, xmm1
movss dword [ebp - 0x50], xmm2
addss xmm3, dword [eax + 0x14]
movss dword [ebp - 0x4c], xmm1
comiss xmm2, xmm0
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x44], xmm3
jb 0x1000c1d9
movss dword [ebp - 0x48], xmm2
comiss xmm1, xmm3
jb 0x1000c1e3
movss dword [ebp - 0x44], xmm1
mov eax, dword [ecx + 0x40]
add ecx, 0x3c
mov dword [ebp - 0x2c], ecx
mov edx, dword [ecx]
cmp edx, eax
jne 0x1000c21a
inc edx
mov dword [ebp - 0x24], edx
test eax, eax
je 0x1000c207
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1000c20c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10035f70
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x50]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x34]
movups xmmword [ecx + 0x60], xmm0
call fcn.1006ab30
mov eax, dword [ebp - 0x10]
mov ecx, 0x34
mov esi, dword [esi + 0x2a4]
movss xmm7, dword [eax + 0x7c]
mov eax, dword [ebp - 0x18]
movss xmm1, dword [eax + 0x4cf8]
call fcn.10005cf0
mov dword [ebp - 0x34], eax
test eax, 0xff000000
je 0x1000c2ff
test byte [esi + 0x24], 1
lea eax, [ebp - 0x30]
movss xmm0, dword [0x1015c9e4]
movaps xmm3, xmm7
movss xmm4, dword [ebp - 0x1c]
mov ecx, esi
movss xmm2, dword [ebp - 0x20]
addss xmm4, xmm0
movss xmm1, dword [ebp - 8]
addss xmm2, xmm0
push 0
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x24], xmm2
push eax
je 0x1000c2ba
subss xmm1, xmm0
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [ebp - 0xc]
subss xmm1, xmm0
jmp 0x1000c2d4
subss xmm1, dword [0x1015c9e0]
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [ebp - 0xc]
subss xmm1, dword [0x1015c9e0]
movss dword [ebp - 0x2c], xmm1
call fcn.1006d0f0
push ecx
mov dword [esp], 0x40400000
mov ecx, esi
push 1
push dword [ebp - 0x34]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1006af20
mov dword [esi + 0x54], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2a4]
mov edx, dword [ecx + 0x3c]
sub edx, 1
mov dword [ecx + 0x3c], edx
jne 0x1000c31b
mov eax, dword [ecx + 0x2c]
add eax, 0x18
jmp 0x1000c326
mov eax, dword [ecx + 0x44]
shl edx, 4
add eax, 0xfffffff0
add eax, edx
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x60], xmm0
call fcn.1006ab30
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x4ae8]
mov eax, dword [eax + 0x4ae0]
mov dword [ebp - 0x1c], edx
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
cmp edx, eax
je 0x1000c445
mov edx, dword [edx]
mov dword [ebp - 0x20], edx
cmp edx, ecx
je 0x1000c434
cmp edx, dword [ebp - 0x14]
je 0x1000c434
test edi, edi
je 0x1000c3c2
mov esi, dword [edx + 0x48]
test esi, esi
je 0x1000c3c2
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
mov edx, dword [0x10167324]
shr ecx, 0x19
shr eax, 0x19
and ecx, 1
and eax, 1
sub ecx, eax
je 0x1000c39c
test ecx, ecx
jg 0x1000c42e
jmp 0x1000c3c2
mov ecx, dword [edx + 0x401c]
sub ecx, 1
js 0x1000c3c2
mov eax, dword [edx + 0x4024]
lea eax, [eax + ecx*4]
mov edx, dword [eax]
cmp edx, esi
je 0x1000c42e
cmp edx, edi
je 0x1000c3c2
sub eax, 4
sub ecx, 1
jns 0x1000c3b0
mov ecx, dword [ebp - 0x20]
mov edx, 1
push str.Foreground
call fcn.100099c0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x20]
movss xmm0, dword [eax + 8]
lea edx, [eax + 8]
push 0
addss xmm0, dword [eax + 0x10]
push ecx
xor ecx, ecx
mov dword [esp], 0
test edi, edi
movss dword [ebp - 0x30], xmm0
setne cl
movss xmm0, dword [edx + 4]
add ecx, 0x35
addss xmm0, dword [eax + 0x14]
mov eax, dword [ebp - 0x18]
movss xmm1, dword [eax + 0x4d10]
movss dword [ebp - 0x2c], xmm0
call fcn.10005cf0
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push edx
call fcn.1006d780
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
cmp edx, eax
jne 0x1000c355
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret