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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
inc dword [0x1027ef38]
mov eax, edx
movss xmm3, dword [0x1022ce20]
xorps xmm1, xmm1
mov dword [esp + 0x40], eax
push esi
mov esi, dword [0x1027efb4]
push edi
mov edi, ecx
movss xmm4, dword [esi + 0x1a70]
test eax, eax
jne 0x1016ad3e
xorps xmm0, xmm0
jmp 0x1016ad8e
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1a6c]
lea eax, [esp + 0x4c]
mov dword [esp], 0xbf800000
movaps xmm2, xmm4
push eax
call fcn.10149480
movss xmm0, dword [esp + 0x3c]
xorps xmm1, xmm1
addss xmm0, dword [0x1022cbac]
movss xmm4, dword [esp + 0x40]
movss xmm3, dword [0x1022ce20]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x1c], xmm1
addss xmm4, xmm1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
addss xmm0, dword [0x1022cc60]
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x28], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov byte [esp + 0x70], 0
cmp edi, 5
ja case.default.0x1016add4
jmp dword [edi*4 + 0x1016b758]
mov dword [esp + 0x80], 1
mov word [esp + 0x70], 0x2b
mov dword [esp + 0x20], 0x48
jmp 0x1016ae37
mov dword [esp + 0x80], 1
mov word [esp + 0x70], 0x2d
mov dword [esp + 0x20], 0x47
jmp 0x1016ae37
mov dword [esp + 0x80], 1
mov word [esp + 0x70], 0x21
mov dword [esp + 0x20], 0x46
jmp 0x1016ae37
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1016ae8c
movss xmm2, dword ds:[esi + 0x1a70]
push 0
push 0
push eax
push ecx
mov ecx, dword [esi + 0x1a6c]
lea eax, [esp + 0x64]
mov dword [esp], 0xbf800000
push eax
call fcn.10149480
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [0x1022cbac]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1022cc60]
movss dword [esp + 0x1c], xmm0
mov eax, dword ds:[esi + 0x1e3c]
mov edx, 1
push str.Foreground
mov ecx, dword [eax]
call fcn.1012a700
add esp, 4
mov dword [esp + 0x24], eax
call fcn.10077b85
mov ecx, dword fs:[0x2c]
mov esi, dword [0x1027db70]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov esi, dword [ecx + esi*4]
mov ecx, dword [0x1028a020]
cmp ecx, dword [esi + 4]
jg 0x1016b6f2
push 0x1027ef38
lea eax, [esp + 0x58]
push eax
call fcn.1004ce40
mov esi, dword [esp + 0x5c]
mov edi, dword [0x1028a0e8]
mov eax, dword [0x1027ef38]
cmp byte [esi + 0xd], 0
jne 0x1016af05
nop
cmp eax, dword [esi + 0x10]
jge 0x1016af07
mov esi, edi
movss xmm2, dword [esp + 0x28]
movss xmm0, dword [0x1022cc94]
movss xmm3, dword [0x1022cc74]
addss xmm2, dword [0x1022cc84]
addss xmm2, dword [esp + 0x1c]
movss dword [esp + 0x2c], xmm2
cmp esi, edi
jne 0x1016b02b
mov ecx, dword [esp + 0x14]
dec eax
add ecx, 0x2625a00
push 0x1027ef38
mov dword [esp + 0x6c], ecx
movd xmm1, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
adc eax, 0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x40]
push eax
mulss xmm1, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1022cc60]
addss xmm1, xmm3
movss dword [esp + 0x68], xmm0
movss dword [esp + 0x6c], xmm1
call fcn.1004ce40
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [esp + 0x54], xmm0
cmp byte [ecx + 0xd], 0
jne 0x1016afa5
mov eax, dword [0x1027ef38]
cmp eax, dword [ecx + 0x10]
jge 0x1016b006
cmp dword [0x1028a0ec], 0x6666666
je 0x1016b74d
push 0x28
call fcn.1008f394
mov ecx, dword [0x1027ef38]
add esp, 4
movups xmm0, xmmword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, 0x1028a0e8
push eax
push dword [esp + 0x5c]
movups xmmword [eax + 0x18], xmm0
mov dword [eax], edi
push dword [esp + 0x5c]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.1004d5c0
mov edi, dword [0x1028a0e8]
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [0x1022cc74]
push 0x1027ef38
lea eax, [esp + 0x58]
push eax
call fcn.1004ce40
mov esi, dword [esp + 0x5c]
cmp byte [esi + 0xd], 0
jne 0x1016b029
mov eax, dword [0x1027ef38]
cmp eax, dword [esi + 0x10]
jge 0x1016b02b
mov esi, edi
mov eax, dword [0x1027efb4]
mov edi, dword [esi + 0x20]
mov edx, dword [esp + 0x14]
movss xmm4, dword [0x1022cbb4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x24]
cmp edx, edi
jne 0x1016b642
cmp ecx, eax
jne 0x1016b644
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm2
addss xmm0, dword [0x1022cc5c]
comiss xmm1, xmm0
jbe 0x1016b07f
movaps xmm1, xmm2
addss xmm1, dword [0x1022cc60]
movss dword [esi + 0x18], xmm1
movaps xmm0, xmm2
sub esp, 8
addss xmm0, xmm3
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100b0d5f
mov edx, dword [esp + 0x38]
add esp, 8
movss xmm3, dword [0x1022cc4c]
movss xmm0, dword [esp + 0x2c]
movss xmm4, dword [0x1022cc60]
fstp dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
addss xmm0, xmm4
mulss xmm1, dword [edx + 0x18]
mulss xmm1, xmm3
addss xmm1, dword [esi + 0x18]
minss xmm1, xmm0
movss dword [esi + 0x18], xmm1
movaps xmm0, xmm4
mov ecx, dword [0x1027ef38]
subss xmm0, xmm1
movss xmm6, dword [0x1022cc94]
movss xmm5, dword [0x1022cc74]
movss xmm7, dword [esi + 0x1c]
lea eax, [ecx - 1]
movss dword [esp + 0x18], xmm7
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x14], xmm0
mulss xmm2, xmm6
movss dword [esp + 0x54], xmm0
addss xmm2, xmm5
comiss xmm7, xmm2
jbe 0x1016b159
movd xmm1, ecx
movaps xmm0, xmm2
cvtdq2ps xmm1, xmm1
subss xmm0, xmm5
mulss xmm1, xmm6
addss xmm1, xmm0
mulss xmm1, dword [edx + 0x18]
mulss xmm1, xmm3
subss xmm7, xmm1
maxss xmm7, xmm2
movss dword [esp + 0x18], xmm7
movss dword [esi + 0x1c], xmm7
movss xmm0, dword [esp + 0x34]
movaps xmm1, xmm4
divss xmm0, dword [0x1022cbf0]
mov ecx, dword [esp + 0x20]
movss dword [esp + 0x58], xmm7
subss xmm1, xmm0
movss dword [esp + 0x30], xmm1
movss xmm1, dword [0x1022cbb4]
call fcn.10132fa0
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm7
addss xmm1, dword [0x1022cc84]
addss xmm0, dword [0x1022cc84]
push 0x50
push ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], 0x40000000
push eax
lea eax, [esp + 0x48]
movss dword [esp + 0x48], xmm1
push eax
lea eax, [esp + 0x64]
movss dword [esp + 0x50], xmm0
push eax
call fcn.1014a000
cmp dword [esp + 0x84], 0xf
lea edi, [esp + 0x70]
movss xmm1, dword [0x1022cbb4]
cmova edi, dword [esp + 0x70]
xor ecx, ecx
call fcn.10132fa0
movss xmm1, dword ds:[esp + 0x34]
mov ecx, eax
mov eax, dword [0x1027c628]
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
divss xmm1, dword [0x1022cbf0]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0xd8]
mov dword [esp + 0x20], eax
addss xmm0, dword [0x1022cc3c]
subss xmm1, dword [0x1022cc68]
movss dword [esp + 0x34], xmm0
addss xmm1, dword [esp + 0x18]
movss dword [esp + 0x38], xmm1
test ecx, 0xff000000
je 0x1016b2b7
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016b250
sub ecx, edx
lea edx, [edi + ecx]
cmp edi, edx
je 0x1016b2b7
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x1016b27c
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [esp + 0x20], eax
push dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push dword [esp + 0x38]
movss xmm2, dword [0x1022cc90]
push 0
movups xmm0, xmmword [eax + 0x60]
push ecx
mov dword [esp], 0
push edx
push edi
lea edx, [esp + 0x78]
push edx
push dword [esp + 0x58]
movups xmmword [esp + 0x80], xmm0
push eax
call fcn.10137860
movss xmm0, dword [esp + 0x1c]
xorps xmm7, xmm7
movss xmm1, dword [0x1022cbb4]
mov ecx, 0xa0
ucomiss xmm0, xmm7
mov edi, 0x100
lahf
test ah, 0x44
cmovnp edi, ecx
mov ecx, 0xa
call fcn.10132fa0
movss xmm4, dword [0x1022cc84]
movss xmm1, dword [esp + 0x28]
movss xmm0, dword [esp + 0x18]
addss xmm1, xmm4
addss xmm0, xmm4
push edi
mov edi, dword [esp + 0x28]
push ecx
addss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x60], xmm0
mov ecx, edi
movss xmm0, dword [esp + 0x20]
mov dword [esp], 0x40000000
addss xmm0, xmm7
push eax
movss dword [esp + 0x60], xmm1
lea eax, [esp + 0x60]
movss xmm1, dword [esp + 0x20]
addss xmm1, xmm4
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0x50], xmm0
push eax
movss dword [esp + 0x50], xmm1
call fcn.1014a000
movss xmm1, dword [0x1022cbb4]
xor ecx, ecx
call fcn.10132fa0
movss xmm1, dword [0x1022cc84]
movss xmm0, dword ds:[esp + 0x30]
movss xmm7, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
addss xmm0, xmm7
addss xmm1, dword [0x1022cc3c]
movss dword [esp + 0x38], xmm0
addss xmm1, dword [esp + 0x14]
movss dword [esp + 0x34], xmm1
test eax, 0xff000000
je 0x1016b405
mov edx, dword [esp + 0x48]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016b3b4
sub ecx, dword [esp + 0x48]
add ecx, edx
cmp edx, ecx
je 0x1016b405
push dword [esp + 0x38]
mov eax, dword [edi + 0x2c]
push dword [esp + 0x38]
movups xmm0, xmmword [edi + 0x60]
push 0
movss xmm2, dword [eax + 0xc]
push ecx
mov dword [esp], 0
push ecx
push edx
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x58]
mov ecx, dword [eax + 8]
push edi
movups xmmword [esp + 0x84], xmm0
call fcn.10137860
movss xmm7, dword [esp + 0x18]
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x1022ca98]
jbe 0x1016b4f9
movss xmm1, dword [0x1022cbb4]
mov ecx, 0xa
call fcn.10132fa0
movss xmm4, dword [0x1022cc84]
movaps xmm0, xmm7
movss xmm1, dword [esp + 0x28]
addss xmm0, xmm4
addss xmm1, xmm4
xorps xmm2, xmm2
push 0xa0
push ecx
mov dword [esp], 0x40000000
mov ecx, edi
movss dword [esp + 0x60], xmm0
movaps xmm0, xmm7
addss xmm1, dword [esp + 0x24]
push eax
addss xmm0, xmm2
lea eax, [esp + 0x60]
push eax
addss xmm1, dword [esp + 0x24]
lea eax, [esp + 0x58]
push eax
movss dword [esp + 0x60], xmm0
movss dword [esp + 0x68], xmm1
movss xmm1, dword [esp + 0x3c]
addss xmm1, xmm4
addss xmm1, dword [esp + 0x28]
movss dword [esp + 0x5c], xmm1
call fcn.1014a000
movss xmm1, dword [0x1022cbb4]
xor ecx, ecx
call fcn.10132fa0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x1022cc84]
movss xmm1, dword [esp + 0x30]
addss xmm1, dword [esp + 0x18]
push ecx
push dword [ebp + 8]
addss xmm0, dword [0x1022cc3c]
push eax
lea eax, [esp + 0x60]
movss dword [esp + 0x64], xmm1
push eax
mov ecx, edi
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x64], xmm0
call fcn.1013c6e0
movss xmm1, dword [esp + 0x2c]
addss xmm1, dword [0x1022cc60]
movss xmm0, dword [esi + 0x18]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1016b6a9
mov eax, dword [0x1028a0ec]
mov ecx, 0x1028a0e8
push esi
mov dword [esp + 0x30], eax
call fcn.100479e0
push 0x28
push eax
call fcn.1008f386
mov edi, dword [0x1027ef38]
add esp, 8
mov dword [esp + 0x30], edi
cmp edi, dword [esp + 0x2c]
jg 0x1016b639
mov esi, dword [0x1028a0e8]
mov eax, edi
inc eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1004ce40
mov eax, dword [esp + 0x50]
cmp byte [eax + 0xd], 0
jne 0x1016b57b
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax + 0x10]
jge 0x1016b57d
mov eax, esi
nop dword [eax]
cmp eax, esi
je 0x1016b628
movups xmm0, xmmword [eax + 0x18]
push eax
mov ecx, 0x1028a0e8
movaps xmmword [esp + 0x64], xmm0
call fcn.100479e0
push 0x28
push eax
call fcn.1008f386
add esp, 8
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1004ce40
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x54], xmm0
cmp byte [eax + 0xd], 0
jne 0x1016b5cf
cmp edi, dword [eax + 0x10]
jge 0x1016b61c
cmp dword [0x1028a0ec], 0x6666666
je 0x1016b74d
mov esi, dword [0x1028a0e8]
push 0x28
call fcn.1008f394
movaps xmm0, xmmword [esp + 0x64]
add esp, 4
mov ecx, 0x1028a0e8
mov dword [eax + 0x10], edi
push eax
push dword [esp + 0x5c]
movups xmmword [eax + 0x18], xmm0
mov dword [eax], esi
push dword [esp + 0x5c]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.1004d5c0
dec dword [0x1027ef38]
mov esi, dword [0x1028a0e8]
inc edi
mov eax, edi
mov dword [esp + 0x30], edi
cmp eax, dword [esp + 0x2c]
jle 0x1016b554
mov byte ds:[esp + 0x13], 1
jmp 0x1016b6ae
cmp ecx, eax
jg 0x1016b650
jl 0x1016b64c
cmp edx, edi
jae 0x1016b650
or al, 0xff
jmp 0x1016b652
mov al, 1
movss xmm1, dword [esi + 0x18]
test al, al
jns 0x1016b05f
movaps xmm0, xmm1
xorps xmm2, xmm2
subss xmm0, dword [0x1022cb7c]
comiss xmm4, xmm0
jbe 0x1016b67c
mov dword [esi + 0x18], 0
xorps xmm1, xmm1
mov edx, dword [esp + 0x30]
movaps xmm0, xmm1
movss xmm3, dword [0x1022cc4c]
movss xmm4, dword [0x1022cc60]
mulss xmm0, dword [edx + 0x18]
mulss xmm0, xmm3
subss xmm1, xmm0
maxss xmm1, xmm2
jmp 0x1016b0d7
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x1016b6e8
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1016b6d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016b752
push ecx
push edx
call fcn.1008f386
add esp, 8
mov al, byte [esp + 0x13]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x1028a020
call fcn.1008f445
add esp, 4
cmp dword [0x1028a020], 0xffffffff
jne 0x1016aedb
push 0x28
call fcn.1008f394
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x10191e00
mov dword [0x1028a0e8], eax
call fcn.1008f371
add esp, 4
push 0x1028a020
call fcn.1008f3f4
add esp, 4
jmp 0x1016aedb
call fcn.10005120
call fcn.100b1212
nop
fld xword [ebp - 0x5208efea]
push ss
adc bl, bl
lodsd eax, dword [esi]
push ss
adc byte [ebx], dl
scasb al, byte es:[edi]
push ss
adc byte [ebx], dl
scasb al, byte es:[edi]
push ss
adc byte [ebx], dl
scasb al, byte es:[edi]
push ss
adc ah, cl
int3