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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
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 [0x100aff30]
push edi
mov dword [ebp - 4], esi
mov edx, dword [esi + 0x4b14]
sub edx, 1
js 0x1000aa79
mov eax, dword [esi + 0x4b1c]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
nop
mov edi, dword [eax]
test edi, edi
je 0x1000aa71
test dword [edi + 0xc], 0x8000000
je 0x1000aa71
cmp byte [edi + 0xe7], 0
je 0x1000aa71
cmp byte [edi + 0xee], 0
je 0x1000aa7b
sub eax, 0x28
sub edx, 1
jns 0x1000aa50
xor edi, edi
movss xmm1, dword [esi + 0x4d80]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1000aa98
comiss xmm0, dword [esi + 0x4d68]
jae 0x1000af55
mov eax, dword [esi + 0x4d5c]
test eax, eax
je 0x1000aaaf
cmp byte [eax + 0xe7], 0
je 0x1000aaaf
mov al, 1
jmp 0x1000aab1
xor al, al
test edi, edi
jne 0x1000aabd
test al, al
je 0x1000af55
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x1000ab9e
mov eax, dword [0x100aff30]
mov dword [ebp - 8], edi
mov edx, dword [eax + 0x4024]
mov ecx, edx
mov eax, dword [eax + 0x401c]
lea eax, [edx + eax*4]
cmp ecx, eax
jae 0x1000aafb
nop word [eax + eax]
cmp dword [ecx], edi
je 0x1000aafb
add ecx, 4
cmp ecx, eax
jb 0x1000aaf0
sub ecx, edx
sar ecx, 2
test ecx, ecx
js 0x1000ab7f
lea edx, [edx + ecx*4]
mov dword [ebp - 0x10], edx
nop word [eax + eax]
mov edx, dword [edx]
mov dword [ebp - 0x28], edx
mov esi, dword [edx + 0xc]
test esi, 0x1000000
jne 0x1000ab71
mov eax, edx
cmp dword [edx + 0x348], edi
je 0x1000ab40
nop word [eax + eax]
cmp eax, edi
je 0x1000ab40
mov eax, dword [eax + 0x344]
test eax, eax
jne 0x1000ab30
jmp 0x1000ab7f
cmp byte [edx + 0xe7], 0
je 0x1000ab71
cmp byte [edx + 0xee], 0
jne 0x1000ab71
mov eax, dword [edi + 0xc]
and esi, 0x2000000
mov edx, dword [ebp - 8]
and eax, 0x2000000
cmp esi, eax
mov dword [ebp - 8], edx
mov eax, edx
cmovbe eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
sub edx, 4
sub ecx, 1
mov dword [ebp - 0x10], edx
jns 0x1000ab10
mov ecx, 0x36
call fcn.10004c80
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.1000a640
mov ecx, dword [edi + 0x38]
mov dword [ebp - 8], ecx
jmp 0x1000ae42
test al, al
je 0x1000ae42
mov ecx, 0x35
call fcn.10004c80
mov ecx, dword [esi + 0x4d5c]
mov edx, eax
call fcn.1000a640
mov esi, dword [esi + 0x4d60]
mov ecx, esi
mov edx, dword [ebp - 4]
test esi, esi
je 0x1000ac09
cmp dword [esi + 0x38], 0
je 0x1000ac09
mov eax, dword [edx + 0x4d5c]
mov edx, dword [esi + 0x38]
cmp edx, dword [eax + 0x38]
mov edx, dword [ebp - 4]
je 0x1000ac09
mov eax, edx
mov ecx, 0x35
movss xmm1, dword [eax + 0x4d80]
call fcn.10004c80
mov edx, eax
mov ecx, esi
call fcn.1000a640
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4d60]
mov esi, dword [edx + 0x4d5c]
mov dword [ebp - 0x28], esi
mov eax, dword [esi + 0x38]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x1000ac24
mov ecx, dword [ecx + 0x38]
mov dword [ebp - 0x14], ecx
jmp 0x1000ac2b
mov dword [ebp - 0x14], 0
movss xmm2, dword [esi + 0x4c]
movss xmm5, dword [edx + 0x3dcc]
movaps xmm4, xmm2
addss xmm2, dword [esi + 0x54]
movss xmm1, dword [esi + 0x50]
subss xmm4, xmm5
movaps xmm3, xmm1
addss xmm1, dword [esi + 0x58]
subss xmm3, xmm5
addss xmm2, xmm5
movss dword [ebp - 0x18], xmm4
addss xmm1, xmm5
movss dword [ebp - 0x20], xmm3
movaps xmm0, xmm2
movss dword [ebp - 0xc], xmm2
subss xmm0, xmm4
movss dword [ebp - 0x10], xmm1
comiss xmm0, dword [eax + 0x10]
jb 0x1000acbe
movaps xmm0, xmm1
subss xmm0, xmm3
comiss xmm0, dword [eax + 0x14]
jb 0x1000acbe
xorps xmm5, xmmword [0x100aa6a0]
subss xmm5, dword [0x100aa18c]
subss xmm4, xmm5
subss xmm3, xmm5
addss xmm2, xmm5
addss xmm1, xmm5
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x20], xmm3
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 0x10], xmm1
mov ecx, dword [esi + 0x2ac]
push ecx
add ecx, 0x78
call fcn.100328b0
mov ecx, dword [esi + 0x2ac]
cmp dword [ecx], 0
jne 0x1000ad10
mov eax, dword [ecx + 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0x74]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0xc]
movlpd qword [ebp - 0x3c], xmm0
movups xmm0, xmmword [ecx + 0x60]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.10027e30
mov ecx, dword [esi + 0x2ac]
mov edx, dword [ebp - 8]
lea eax, [edx + 8]
push 0
movss xmm0, dword [edx + 0x10]
addss xmm0, dword [eax]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edx + 0x14]
lea edx, [ebp - 0x30]
push edx
push eax
movss dword [ebp - 0x2c], xmm0
call fcn.100306b0
mov eax, dword [ebp - 0x28]
mov ecx, 0x34
mov esi, dword [esi + 0x2ac]
movss xmm7, dword [eax + 0x84]
mov eax, dword [ebp - 4]
movss xmm1, dword [eax + 0x4d68]
call fcn.10004c80
mov dword [ebp - 0x2c], eax
test eax, 0xff000000
je 0x1000ae13
test byte [esi + 0x24], 1
lea eax, [ebp - 0x24]
movss xmm0, dword [0x100aa144]
movaps xmm3, xmm7
movss xmm4, dword [ebp - 0x18]
mov ecx, esi
movss xmm2, dword [ebp - 0x20]
addss xmm4, xmm0
movss xmm1, dword [ebp - 0xc]
addss xmm2, xmm0
push 0
push eax
lea eax, [ebp - 0x1c]
movss dword [ebp - 0x1c], xmm4
movss dword [ebp - 0x18], xmm2
push eax
je 0x1000adc5
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
jmp 0x1000addf
subss xmm1, dword [0x100aa140]
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [ebp - 0x10]
subss xmm1, dword [0x100aa140]
movss dword [ebp - 0x20], xmm1
call fcn.100321b0
push ecx
mov dword [esp], 0x40400000
mov ecx, esi
push 1
push dword [ebp - 0x2c]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10030a40
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x54], 0
mov esi, dword [eax + 0x2ac]
mov ecx, dword [esi + 0x3c]
sub ecx, 1
mov dword [esi + 0x3c], ecx
jne 0x1000ae26
mov eax, dword [esi + 0x2c]
add eax, 0x18
jmp 0x1000ae31
mov eax, dword [esi + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, esi
movups xmmword [esi + 0x60], xmm0
call fcn.10030450
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4b44]
mov eax, dword [eax + 0x4b3c]
mov dword [ebp - 0x20], edx
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
cmp edx, eax
je 0x1000af55
mov edx, dword [edx]
mov dword [ebp - 0x28], edx
cmp edx, ecx
je 0x1000af44
cmp edx, dword [ebp - 0x14]
je 0x1000af44
test edi, edi
je 0x1000aed2
mov esi, dword [edx + 0x48]
test esi, esi
je 0x1000aed2
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
mov edx, dword [0x100aff30]
shr ecx, 0x19
shr eax, 0x19
and ecx, 1
and eax, 1
sub ecx, eax
je 0x1000aea9
test ecx, ecx
jg 0x1000af3e
jmp 0x1000aed2
mov ecx, dword [edx + 0x401c]
sub ecx, 1
js 0x1000aed2
mov eax, dword [edx + 0x4024]
lea eax, [eax + ecx*4]
nop dword [eax]
mov edx, dword [eax]
cmp edx, esi
je 0x1000af3e
cmp edx, edi
je 0x1000aed2
sub eax, 4
sub ecx, 1
jns 0x1000aec0
mov ecx, dword [ebp - 0x28]
mov edx, 1
push str.Foreground
call fcn.100083c0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x28]
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 - 0x1c], xmm0
setne cl
movss xmm0, dword [edx + 4]
add ecx, 0x35
addss xmm0, dword [eax + 0x14]
mov eax, dword [ebp - 4]
movss xmm1, dword [eax + 0x4d80]
movss dword [ebp - 0x18], xmm0
call fcn.10004c80
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push edx
call fcn.10032480
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x20], edx
cmp edx, eax
jne 0x1000ae62
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret