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

Disassembly:
sub esp, 0xc0
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
mov ebx, dword [0x10469450]
push ebp
mov dword [esp + 0x5c], eax
mov ebp, ecx
push esi
mov eax, dword [ebx + 0x1bec]
mov esi, dword [esp + 0xdc]
push edi
mov dword [esp + 0x34], edx
mov byte [eax + 0xa8], 1
mov edi, dword [ebx + 0x1bec]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], edi
cmp byte [edi + 0xab], 0
jne 0x1018d24c
mov ecx, dword [edi + 0xe0]
xor edx, edx
mov eax, dword [edi + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, ebp
call fcn.1016d070
mov ebp, eax
cmp dword [ebx + 0x1c24], ebp
jne 0x1018c81b
mov dword [ebx + 0x1c28], ebp
cmp dword [ebx + 0x1c5c], ebp
jne 0x1018c82a
mov byte [ebx + 0x1c60], 1
test byte [ebx + 0x1cd4], 1
mov dword [esp + 0x30], ebp
je 0x1018c841
movss xmm1, dword [ebx + 0x1cd8]
jmp 0x1018c849
movss xmm1, dword [edi + 0x1f0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1018c88b
cmp dword [edi + 0x1d0], 0
movss xmm0, dword [edi + 0x288]
jne 0x1018c86b
cmp dword [ebx + 0x1f2c], 0
je 0x1018c873
movss xmm0, dword [edi + 0x258]
subss xmm0, dword [edi + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x10215578]
maxss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [esp + 0x44]
mov ecx, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x48], xmm0
cmp eax, 0xffffffff
jae 0x1018c8bd
mov dl, byte [ecx]
test dl, dl
je 0x1018c8bd
cmp dl, 0x23
jne 0x1018c8b7
cmp byte [ecx + 1], dl
je 0x1018c8bd
inc ecx
cmp ecx, 0xffffffff
jb 0x1018c8a7
movss xmm5, dword [ebx + 0x1988]
cmp eax, ecx
je 0x1018c91b
movss xmm3, dword [0x102158fc]
movaps xmm2, xmm5
push 0
push ecx
push eax
push ecx
mov ecx, dword [ebx + 0x1984]
lea eax, [esp + 0x20]
mov dword [esp], 0xbf800000
push eax
call fcn.10183f70
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x10215570]
movss xmm5, dword [esp + 0x14]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x48]
movss xmm4, dword [edi + 0xec]
lea ecx, [esp + 0x10]
movaps xmm2, xmm5
movaps xmm3, xmm4
addss xmm2, dword [0x10215710]
addss xmm5, dword [0x102156ec]
addss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x10215420]
addss xmm2, dword [edi + 0xf0]
movss dword [esp + 0x68], xmm4
movss xmm1, dword [edi + 0xf0]
movss dword [esp + 0x70], xmm3
addss xmm5, xmm1
movss dword [esp + 0x28], xmm3
subss xmm3, xmm4
movss dword [esp + 0x74], xmm2
movss dword [esp + 0x2c], xmm2
subss xmm2, xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebx + 0x159c]
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x14], xmm2
call fcn.10178400
lea eax, [esp + 0x20]
mov edx, ebp
push eax
lea ecx, [esp + 0x6c]
call fcn.10178530
test al, al
je 0x1018d24c
test esi, esi
jne 0x1018c9e0
mov eax, dword [esp + 0x34]
shl eax, 4
mov esi, dword [eax + 0x10213ad8]
mov dword [esp + 0x40], esi
jmp 0x1018ca42
cmp dword [esp + 0x34], 4
jne 0x1018ca42
mov ecx, 0x10208510
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1018ca10
test dl, dl
je 0x1018ca0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1018ca10
add eax, 2
add ecx, 2
test dl, dl
jne 0x1018c9f0
xor eax, eax
jmp 0x1018ca15
sbb eax, eax
or eax, 1
test eax, eax
je 0x1018ca42
cmp byte [esi], 0x25
jne 0x1018ca42
cmp byte [esi + 1], 0x2e
jne 0x1018ca42
cmp byte [esi + 2], 0x30
jne 0x1018ca42
cmp byte [esi + 3], 0x66
jne 0x1018ca42
cmp byte [esi + 4], 0
mov eax, 0x10208510
cmovne eax, esi
mov esi, eax
mov dword [esp + 0x40], eax
mov edx, ebp
lea ecx, [esp + 0x20]
call fcn.1016fb20
test al, al
je 0x1018ca76
cmp byte [ebx + 0x420], 0
je 0x1018ca76
mov edx, edi
mov ecx, ebp
call fcn.1016f8d0
call fcn.1017a150
mov ecx, edi
call fcn.10177b30
or dword [ebx + 0x1c38], 3
lea eax, [esp + 0x78]
xorps xmm0, xmm0
push eax
push dword [esp + 0xe8]
mov edx, ebp
lea ecx, [esp + 0x28]
push esi
push dword [esp + 0xe8]
movups xmmword [esp + 0x88], xmm0
push dword [esp + 0xe8]
push dword [esp + 0x78]
push dword [esp + 0x4c]
call fcn.1018c4f0
mov byte [esp + 0x1f], al
test al, al
je 0x1018cad3
mov ecx, dword [0x10469450]
mov word [ecx + 0x1c35], 0x101
mov ecx, dword [ecx + 0x1bec]
or dword [ecx + 0x13c], 4
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10241d9c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10534f48]
cmp eax, dword [esi + 4]
jle 0x1018cb50
push 0x10534f48
call fcn.101b643d
add esp, 4
cmp dword [0x10534f48], 0xffffffff
jne 0x1018cb50
push 0x18
mov dword [0x10534f54], 0
mov dword [0x10534f58], 0
call fcn.101b61b6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101e3190
mov dword [0x10534f54], eax
call fcn.101b6189
add esp, 4
push 0x10534f48
call fcn.101b63ec
add esp, 4
mov eax, dword [0x10534f44]
cmp eax, dword [esi + 4]
jle 0x1018cbbe
push 0x10534f44
call fcn.101b643d
add esp, 4
cmp dword [0x10534f44], 0xffffffff
jne 0x1018cbbe
push 0x18
mov dword [0x10534f60], 0
mov dword [0x10534f64], 0
call fcn.101b61b6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101e3180
mov dword [0x10534f60], eax
call fcn.101b6189
add esp, 4
push 0x10534f44
call fcn.101b63ec
add esp, 4
mov eax, dword [0x10534f5c]
cmp eax, dword [esi + 4]
jle 0x1018cc2c
push 0x10534f5c
call fcn.101b643d
add esp, 4
cmp dword [0x10534f5c], 0xffffffff
jne 0x1018cc2c
push 0x18
mov dword [0x10534f4c], 0
mov dword [0x10534f50], 0
call fcn.101b61b6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101e3170
mov dword [0x10534f4c], eax
call fcn.101b6189
add esp, 4
push 0x10534f5c
call fcn.101b63ec
add esp, 4
lea eax, [esp + 0x30]
mov ecx, 0x10534f54
push eax
lea eax, [esp + 0x54]
push eax
call fcn.101a1540
mov esi, dword [esp + 0x58]
cmp byte [esi + 0xd], 0
jne 0x1018cc4f
cmp ebp, dword [esi + 0x10]
jae 0x1018cc55
mov esi, dword [0x10534f54]
lea eax, [esp + 0x30]
mov ecx, 0x10534f60
push eax
lea eax, [esp + 0x54]
push eax
call fcn.101a1540
mov edi, dword [esp + 0x58]
mov eax, dword [0x10534f60]
cmp byte [edi + 0xd], 0
jne 0x1018cc7d
cmp ebp, dword [edi + 0x10]
jae 0x1018cc7f
mov edi, eax
cmp esi, dword [0x10534f54]
jne 0x1018ccd5
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x18], 0
push eax
mov ecx, 0x10534f54
call fcn.1019df10
lea eax, [esp + 0x30]
mov ecx, 0x10534f54
push eax
lea eax, [esp + 0x54]
push eax
call fcn.101a1540
mov esi, dword [esp + 0x58]
cmp byte [esi + 0xd], 0
jne 0x1018ccca
cmp ebp, dword [esi + 0x10]
jae 0x1018ccd0
mov esi, dword [0x10534f54]
mov eax, dword [0x10534f60]
cmp edi, eax
jne 0x1018cd4d
movss xmm0, dword [esp + 0x28]
sub esp, 8
subss xmm0, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
mulss xmm0, dword [0x10215420]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
fstp qword [esp]
call fcn.101de5d0
add esp, 8
lea eax, [esp + 0x10]
mov ecx, 0x10534f60
fstp dword [esp + 0x14]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1019df10
lea eax, [esp + 0x30]
mov ecx, 0x10534f60
push eax
lea eax, [esp + 0x54]
push eax
call fcn.101a1540
mov edi, dword [esp + 0x58]
cmp byte [edi + 0xd], 0
jne 0x1018cd47
cmp ebp, dword [edi + 0x10]
jae 0x1018cd4d
mov edi, dword [0x10534f60]
movss xmm0, dword [esp + 0x28]
sub esp, 8
subss xmm0, dword [esp + 0x28]
mulss xmm0, dword [0x10215420]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101de5d0
fstp dword [esp + 0x50]
movss xmm0, dword [esp + 0x50]
add esp, 8
movss dword [edi + 0x14], xmm0
movss xmm1, dword [esi + 0x14]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1018cde5
comiss xmm0, xmm1
movss xmm3, dword [0x10215518]
movss xmm4, dword [0x102156ec]
jbe 0x1018cdc3
subss xmm0, xmm1
divss xmm0, xmm4
addss xmm0, xmm3
addss xmm1, xmm0
movss dword [esi + 0x14], xmm1
movss xmm2, dword [edi + 0x14]
comiss xmm1, xmm2
jbe 0x1018cde5
movaps xmm0, xmm1
subss xmm0, xmm2
divss xmm0, xmm4
addss xmm0, xmm3
subss xmm1, xmm0
movss dword [esi + 0x14], xmm1
push dword [esp + 0x40]
mov edx, 0x40
lea ecx, [esp + 0x8c]
push dword [esp + 0x68]
push dword [esp + 0x3c]
call fcn.1018ac50
lea ecx, [esp + 0x88]
mov edx, ebp
add eax, ecx
lea ecx, [esp + 0x20]
push 1
mov dword [esp + 0x4c], eax
call fcn.1016ef90
movss xmm0, dword [ebx + 0x1560]
movss xmm1, dword [0x10215860]
mulss xmm0, xmm1
mov esi, dword [esp + 0x38]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1021545c]
comiss xmm0, xmm2
ja 0x1018ce5b
movss xmm0, dword [0x10215578]
minss xmm0, xmm2
movss xmm2, dword [esp + 0x28]
mulss xmm0, xmm1
push 0
push ecx
mov ecx, dword [esi + 0x2c4]
addss xmm0, dword [0x1021550c]
movss dword [esp + 0x18], xmm2
movss xmm2, dword [esp + 0x34]
mov dword [esp], 0x40c00000
movss dword [esp + 0x1c], xmm2
movss xmm2, dword [esp + 0x28]
cvttss2si eax, xmm0
movss dword [esp + 0x40], xmm2
movss xmm2, dword [esp + 0x2c]
shl eax, 0x18
or eax, 0x161616
movss dword [esp + 0x44], xmm2
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10181680
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [0x102155b8]
push 0
push ecx
mov ecx, 0x15
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ebx + 0x15a0]
movss dword [esp], xmm0
movss xmm0, dword [0x10215578]
call fcn.1016df20
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10181680
movss xmm0, dword [ebx + 0x1560]
movss xmm1, dword [0x10215860]
mulss xmm0, xmm1
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1021545c]
comiss xmm0, xmm2
ja 0x1018cf56
movss xmm0, dword [0x10215578]
minss xmm0, xmm2
movss xmm2, dword [esp + 0x28]
sub esp, 0xc
mov ecx, dword [esi + 0x2c4]
mulss xmm0, xmm1
mov dword [esp + 8], 0x3f800000
movss dword [esp + 0x1c], xmm2
addss xmm0, dword [0x1021550c]
movss xmm2, dword [esp + 0x38]
mov dword [esp], 0x40c00000
movss dword [esp + 0x20], xmm2
movss xmm2, dword [esp + 0x2c]
cvttss2si eax, xmm0
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0x30]
shl eax, 0x18
or eax, 0x1e1e1e
movss dword [esp + 0x48], xmm2
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.10181590
mov ecx, dword [0x10469450]
xorps xmm1, xmm1
movaps xmm2, xmmword [0x10215e90]
comiss xmm1, xmm2
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
movss xmm4, dword [0x10215578]
movups xmmword [esp + 0x20], xmm2
mov edx, dword [eax + 0x2c4]
mov dword [esp + 0x38], edx
jbe 0x1018d00a
xorps xmm0, xmm0
jmp 0x1018d011
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [0x10215860]
movss xmm3, dword [0x1021550c]
movss xmm5, dword [esp + 0x24]
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm1, xmm5
jbe 0x1018d040
xorps xmm0, xmm0
jmp 0x1018d047
movaps xmm0, xmm4
minss xmm0, xmm5
movss xmm5, dword [esp + 0x28]
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm1, xmm5
jbe 0x1018d068
xorps xmm0, xmm0
jmp 0x1018d06f
movaps xmm0, xmm4
minss xmm0, xmm5
movss xmm5, dword [esp + 0x2c]
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si eax, xmm0
or ecx, eax
comiss xmm1, xmm5
jbe 0x1018d08d
xorps xmm0, xmm0
jmp 0x1018d094
movaps xmm0, xmm4
minss xmm0, xmm5
mulss xmm0, xmm2
movups xmm2, xmmword [esp + 0x78]
addss xmm0, xmm3
cvttss2si edi, xmm0
movaps xmm0, xmm2
shufps xmm2, xmm2, 0x55
addss xmm0, dword [0x10215620]
shl edi, 0x18
addss xmm2, xmm4
or edi, ecx
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x14], xmm2
test edi, 0xff000000
je 0x1018d113
movss xmm2, dword [0x102156d0]
lea eax, [esp + 0x10]
push 0x23
push ecx
mov dword [esp], 0x40c37a15
xorps xmm3, xmm3
push eax
mov ecx, edx
call fcn.10180da0
push edi
mov edi, dword [esp + 0x3c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.101805b0
movss xmm4, dword [0x10215578]
mov dword [edi + 0x54], 0
movss xmm1, dword [ebx + 0x15dc]
movaps xmm0, xmm4
push 0
push ecx
xor ecx, ecx
movss dword [esp], xmm1
cmp dword [ebx + 0x1c24], ebp
sete cl
add ecx, 0x14
call fcn.1016df20
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.10181680
mov ecx, dword [esp + 0x44]
xor edx, edx
movss xmm0, dword [esp + 0x68]
movss xmm1, dword [esp + 0x6c]
push 1
call fcn.1016e170
mov edx, dword [esp + 0x48]
lea edi, [esp + 0x88]
or eax, 0xffffffff
mov dword [esp + 0x10], 0x3f800000
test edx, edx
mov dword [esp + 0x14], 0
cmove edx, eax
mov eax, edi
cmp eax, edx
jae 0x1018d1ac
mov cl, byte [edi]
test cl, cl
je 0x1018d1ac
cmp cl, 0x23
jne 0x1018d1a7
cmp byte [edi + 1], cl
je 0x1018d1ac
inc edi
cmp edi, edx
jb 0x1018d197
mov eax, edi
lea ecx, [esp + 0x88]
sub eax, ecx
je 0x1018d203
mov esi, dword [0x10469450]
lea eax, [esp + 0x10]
push 0
push eax
push 0
mov eax, ecx
lea edx, [esp + 0x74]
mov ecx, dword [esi + 0x1bec]
push edi
push eax
lea eax, [esp + 0x84]
mov ecx, dword [ecx + 0x2c4]
push eax
call fcn.1016e2a0
cmp byte [esi + 0x2f3c], 0
je 0x1018d203
push edi
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x6c]
call fcn.1017d6c0
mov ecx, dword [0x10469450]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
cmp byte [eax + 0xab], 0
jne 0x1018d246
movss xmm0, dword [0x10215934]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.10178400
mov al, byte [esp + 0x1f]
jmp 0x1018d24e
xor al, al
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b5eaa
add esp, 0xc0
ret 0x14