Function at 0x1000a5b0
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 [0x100d9260]
push edi
mov dword [ebp - 4], esi
mov edx, dword [esi + 0x4b14]
sub edx, 1
js 0x1000a619
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 0x1000a611
test dword [edi + 0xc], 0x8000000
je 0x1000a611
cmp byte [edi + 0xe7], 0
je 0x1000a611
cmp byte [edi + 0xee], 0
je 0x1000a61b
sub eax, 0x28
sub edx, 1
jns 0x1000a5f0
xor edi, edi
movss xmm1, dword [esi + 0x4d80]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1000a638
comiss xmm0, dword [esi + 0x4d68]
jae 0x1000aaf5
mov eax, dword [esi + 0x4d5c]
test eax, eax
je 0x1000a64f
cmp byte [eax + 0xe7], 0
je 0x1000a64f
mov al, 1
jmp 0x1000a651
xor al, al
test edi, edi
jne 0x1000a65d
test al, al
je 0x1000aaf5
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x1000a73e
mov eax, dword [0x100d9260]
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 0x1000a69b
nop word [eax + eax]
cmp dword [ecx], edi
je 0x1000a69b
add ecx, 4
cmp ecx, eax
jb 0x1000a690
sub ecx, edx
sar ecx, 2
test ecx, ecx
js 0x1000a71f
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 0x1000a711
mov eax, edx
cmp dword [edx + 0x348], edi
je 0x1000a6e0
nop word [eax + eax]
cmp eax, edi
je 0x1000a6e0
mov eax, dword [eax + 0x344]
test eax, eax
jne 0x1000a6d0
jmp 0x1000a71f
cmp byte [edx + 0xe7], 0
je 0x1000a711
cmp byte [edx + 0xee], 0
jne 0x1000a711
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 0x1000a6b0
mov ecx, 0x36
call fcn.10004820
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.1000a1e0
mov ecx, dword [edi + 0x38]
mov dword [ebp - 8], ecx
jmp 0x1000a9e2
test al, al
je 0x1000a9e2
mov ecx, 0x35
call fcn.10004820
mov ecx, dword [esi + 0x4d5c]
mov edx, eax
call fcn.1000a1e0
mov esi, dword [esi + 0x4d60]
mov ecx, esi
mov edx, dword [ebp - 4]
test esi, esi
je 0x1000a7a9
cmp dword [esi + 0x38], 0
je 0x1000a7a9
mov eax, dword [edx + 0x4d5c]
mov edx, dword [esi + 0x38]
cmp edx, dword [eax + 0x38]
mov edx, dword [ebp - 4]
je 0x1000a7a9
mov eax, edx
mov ecx, 0x35
movss xmm1, dword [eax + 0x4d80]
call fcn.10004820
mov edx, eax
mov ecx, esi
call fcn.1000a1e0
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 0x1000a7c4
mov ecx, dword [ecx + 0x38]
mov dword [ebp - 0x14], ecx
jmp 0x1000a7cb
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 0x1000a85e
movaps xmm0, xmm1
subss xmm0, xmm3
comiss xmm0, dword [eax + 0x14]
jb 0x1000a85e
xorps xmm5, xmmword [0x100cfa40]
subss xmm5, dword [0x100cf570]
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.10032470
mov ecx, dword [esi + 0x2ac]
cmp dword [ecx], 0
jne 0x1000a8b0
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.100279f0
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.10030270
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.10004820
mov dword [ebp - 0x2c], eax
test eax, 0xff000000
je 0x1000a9b3
test byte [esi + 0x24], 1
lea eax, [ebp - 0x24]
movss xmm0, dword [0x100cf52c]
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 0x1000a965
subss xmm1, xmm0
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm0
jmp 0x1000a97f
subss xmm1, dword [0x100cf528]
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [ebp - 0x10]
subss xmm1, dword [0x100cf528]
movss dword [ebp - 0x20], xmm1
call fcn.10031d70
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.10030600
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 0x1000a9c6
mov eax, dword [esi + 0x2c]
add eax, 0x18
jmp 0x1000a9d1
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.10030010
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 0x1000aaf5
mov edx, dword [edx]
mov dword [ebp - 0x28], edx
cmp edx, ecx
je 0x1000aae4
cmp edx, dword [ebp - 0x14]
je 0x1000aae4
test edi, edi
je 0x1000aa72
mov esi, dword [edx + 0x48]
test esi, esi
je 0x1000aa72
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
mov edx, dword [0x100d9260]
shr ecx, 0x19
shr eax, 0x19
and ecx, 1
and eax, 1
sub ecx, eax
je 0x1000aa49
test ecx, ecx
jg 0x1000aade
jmp 0x1000aa72
mov ecx, dword [edx + 0x401c]
sub ecx, 1
js 0x1000aa72
mov eax, dword [edx + 0x4024]
lea eax, [eax + ecx*4]
nop dword [eax]
mov edx, dword [eax]
cmp edx, esi
je 0x1000aade
cmp edx, edi
je 0x1000aa72
sub eax, 4
sub ecx, 1
jns 0x1000aa60
mov ecx, dword [ebp - 0x28]
mov edx, 1
push str.Foreground
call fcn.10007f70
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.10004820
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push edx
call fcn.10032040
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 0x1000aa02
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret