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

Disassembly:
sub esp, 0xc0
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
push ebx
mov ebx, dword [0x10468550]
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 0x1018bffc
mov ecx, dword [edi + 0xe0]
xor edx, edx
mov eax, dword [edi + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, ebp
call fcn.1016be30
mov ebp, eax
cmp dword [ebx + 0x1c24], ebp
jne 0x1018b5cb
mov dword [ebx + 0x1c28], ebp
cmp dword [ebx + 0x1c5c], ebp
jne 0x1018b5da
mov byte [ebx + 0x1c60], 1
test byte [ebx + 0x1cd4], 1
mov dword [esp + 0x30], ebp
je 0x1018b5f1
movss xmm1, dword [ebx + 0x1cd8]
jmp 0x1018b5f9
movss xmm1, dword [edi + 0x1f0]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1018b63b
cmp dword [edi + 0x1d0], 0
movss xmm0, dword [edi + 0x288]
jne 0x1018b61b
cmp dword [ebx + 0x1f2c], 0
je 0x1018b623
movss xmm0, dword [edi + 0x258]
subss xmm0, dword [edi + 0xec]
addss xmm0, xmm1
movss xmm1, dword [0x10214264]
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 0x1018b66d
mov dl, byte [ecx]
test dl, dl
je 0x1018b66d
cmp dl, 0x23
jne 0x1018b667
cmp byte [ecx + 1], dl
je 0x1018b66d
inc ecx
cmp ecx, 0xffffffff
jb 0x1018b657
movss xmm5, dword [ebx + 0x1988]
cmp eax, ecx
je 0x1018b6cb
movss xmm3, dword [0x102145f4]
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.10182d20
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x1021425c]
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 [0x10214408]
addss xmm5, dword [0x102143e4]
addss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x10214100]
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.101771c0
lea eax, [esp + 0x20]
mov edx, ebp
push eax
lea ecx, [esp + 0x6c]
call fcn.101772f0
test al, al
je 0x1018bffc
test esi, esi
jne 0x1018b790
mov eax, dword [esp + 0x34]
shl eax, 4
mov esi, dword [eax + 0x102127a8]
mov dword [esp + 0x40], esi
jmp 0x1018b7f2
cmp dword [esp + 0x34], 4
jne 0x1018b7f2
mov ecx, 0x102074b8
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1018b7c0
test dl, dl
je 0x1018b7bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1018b7c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1018b7a0
xor eax, eax
jmp 0x1018b7c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1018b7f2
cmp byte [esi], 0x25
jne 0x1018b7f2
cmp byte [esi + 1], 0x2e
jne 0x1018b7f2
cmp byte [esi + 2], 0x30
jne 0x1018b7f2
cmp byte [esi + 3], 0x66
jne 0x1018b7f2
cmp byte [esi + 4], 0
mov eax, 0x102074b8
cmovne eax, esi
mov esi, eax
mov dword [esp + 0x40], eax
mov edx, ebp
lea ecx, [esp + 0x20]
call fcn.1016e8e0
test al, al
je 0x1018b826
cmp byte [ebx + 0x420], 0
je 0x1018b826
mov edx, edi
mov ecx, ebp
call fcn.1016e690
call fcn.10178f10
mov ecx, edi
call fcn.101768f0
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.1018b2a0
mov byte [esp + 0x1f], al
test al, al
je 0x1018b883
mov ecx, dword [0x10468550]
mov word [ecx + 0x1c35], 0x101
mov ecx, dword [ecx + 0x1bec]
or dword [ecx + 0x13c], 4
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10240d9c]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10534028]
cmp eax, dword [esi + 4]
jle 0x1018b900
push 0x10534028
call fcn.101b51bd
add esp, 4
cmp dword [0x10534028], 0xffffffff
jne 0x1018b900
push 0x18
mov dword [0x10534034], 0
mov dword [0x10534038], 0
call fcn.101b4f36
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101e1eb0
mov dword [0x10534034], eax
call fcn.101b4f09
add esp, 4
push 0x10534028
call fcn.101b516c
add esp, 4
mov eax, dword [0x10534024]
cmp eax, dword [esi + 4]
jle 0x1018b96e
push 0x10534024
call fcn.101b51bd
add esp, 4
cmp dword [0x10534024], 0xffffffff
jne 0x1018b96e
push 0x18
mov dword [0x10534040], 0
mov dword [0x10534044], 0
call fcn.101b4f36
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101e1ea0
mov dword [0x10534040], eax
call fcn.101b4f09
add esp, 4
push 0x10534024
call fcn.101b516c
add esp, 4
mov eax, dword [0x1053403c]
cmp eax, dword [esi + 4]
jle 0x1018b9dc
push 0x1053403c
call fcn.101b51bd
add esp, 4
cmp dword [0x1053403c], 0xffffffff
jne 0x1018b9dc
push 0x18
mov dword [0x1053402c], 0
mov dword [0x10534030], 0
call fcn.101b4f36
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x101e1e90
mov dword [0x1053402c], eax
call fcn.101b4f09
add esp, 4
push 0x1053403c
call fcn.101b516c
add esp, 4
lea eax, [esp + 0x30]
mov ecx, 0x10534034
push eax
lea eax, [esp + 0x54]
push eax
call fcn.101a0300
mov esi, dword [esp + 0x58]
cmp byte [esi + 0xd], 0
jne 0x1018b9ff
cmp ebp, dword [esi + 0x10]
jae 0x1018ba05
mov esi, dword [0x10534034]
lea eax, [esp + 0x30]
mov ecx, 0x10534040
push eax
lea eax, [esp + 0x54]
push eax
call fcn.101a0300
mov edi, dword [esp + 0x58]
mov eax, dword [0x10534040]
cmp byte [edi + 0xd], 0
jne 0x1018ba2d
cmp ebp, dword [edi + 0x10]
jae 0x1018ba2f
mov edi, eax
cmp esi, dword [0x10534034]
jne 0x1018ba85
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x18], 0
push eax
mov ecx, 0x10534034
call fcn.1019ccc0
lea eax, [esp + 0x30]
mov ecx, 0x10534034
push eax
lea eax, [esp + 0x54]
push eax
call fcn.101a0300
mov esi, dword [esp + 0x58]
cmp byte [esi + 0xd], 0
jne 0x1018ba7a
cmp ebp, dword [esi + 0x10]
jae 0x1018ba80
mov esi, dword [0x10534034]
mov eax, dword [0x10534040]
cmp edi, eax
jne 0x1018bafd
movss xmm0, dword [esp + 0x28]
sub esp, 8
subss xmm0, dword [esp + 0x28]
mov dword [esp + 0x18], ebp
mulss xmm0, dword [0x10214100]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
fstp qword [esp]
call fcn.101dd350
add esp, 8
lea eax, [esp + 0x10]
mov ecx, 0x10534040
fstp dword [esp + 0x14]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.1019ccc0
lea eax, [esp + 0x30]
mov ecx, 0x10534040
push eax
lea eax, [esp + 0x54]
push eax
call fcn.101a0300
mov edi, dword [esp + 0x58]
cmp byte [edi + 0xd], 0
jne 0x1018baf7
cmp ebp, dword [edi + 0x10]
jae 0x1018bafd
mov edi, dword [0x10534040]
movss xmm0, dword [esp + 0x28]
sub esp, 8
subss xmm0, dword [esp + 0x28]
mulss xmm0, dword [0x10214100]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.101dd350
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 0x1018bb95
comiss xmm0, xmm1
movss xmm3, dword [0x10214200]
movss xmm4, dword [0x102143e4]
jbe 0x1018bb73
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 0x1018bb95
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.10189a00
lea ecx, [esp + 0x88]
mov edx, ebp
add eax, ecx
lea ecx, [esp + 0x20]
push 1
mov dword [esp + 0x4c], eax
call fcn.1016dd50
movss xmm0, dword [ebx + 0x1560]
movss xmm1, dword [0x1021455c]
mulss xmm0, xmm1
mov esi, dword [esp + 0x38]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1021413c]
comiss xmm0, xmm2
ja 0x1018bc0b
movss xmm0, dword [0x10214264]
minss xmm0, xmm2
movss xmm2, dword [esp + 0x28]
mulss xmm0, xmm1
push 0
push ecx
mov ecx, dword [esi + 0x2c4]
addss xmm0, dword [0x102141f4]
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.10180430
movss xmm0, dword [esp + 0x78]
addss xmm0, dword [0x102142b0]
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 [0x10214264]
call fcn.1016cce0
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10180430
movss xmm0, dword [ebx + 0x1560]
movss xmm1, dword [0x1021455c]
mulss xmm0, xmm1
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1021413c]
comiss xmm0, xmm2
ja 0x1018bd06
movss xmm0, dword [0x10214264]
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 [0x102141f4]
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.10180340
mov ecx, dword [0x10468550]
xorps xmm1, xmm1
movaps xmm2, xmmword [0x10214b80]
comiss xmm1, xmm2
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
movss xmm4, dword [0x10214264]
movups xmmword [esp + 0x20], xmm2
mov edx, dword [eax + 0x2c4]
mov dword [esp + 0x38], edx
jbe 0x1018bdba
xorps xmm0, xmm0
jmp 0x1018bdc1
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm2, dword [0x1021455c]
movss xmm3, dword [0x102141f4]
movss xmm5, dword [esp + 0x24]
mulss xmm0, xmm2
addss xmm0, xmm3
cvttss2si ecx, xmm0
shl ecx, 0x10
comiss xmm1, xmm5
jbe 0x1018bdf0
xorps xmm0, xmm0
jmp 0x1018bdf7
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 0x1018be18
xorps xmm0, xmm0
jmp 0x1018be1f
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 0x1018be3d
xorps xmm0, xmm0
jmp 0x1018be44
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 [0x10214318]
shl edi, 0x18
addss xmm2, xmm4
or edi, ecx
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x14], xmm2
test edi, 0xff000000
je 0x1018bec3
movss xmm2, dword [0x102143c8]
lea eax, [esp + 0x10]
push 0x23
push ecx
mov dword [esp], 0x40c37a15
xorps xmm3, xmm3
push eax
mov ecx, edx
call fcn.1017fb50
push edi
mov edi, dword [esp + 0x3c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1017f360
movss xmm4, dword [0x10214264]
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.1016cce0
mov ecx, dword [esi + 0x2c4]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.10180430
mov ecx, dword [esp + 0x44]
xor edx, edx
movss xmm0, dword [esp + 0x68]
movss xmm1, dword [esp + 0x6c]
push 1
call fcn.1016cf30
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 0x1018bf5c
mov cl, byte [edi]
test cl, cl
je 0x1018bf5c
cmp cl, 0x23
jne 0x1018bf57
cmp byte [edi + 1], cl
je 0x1018bf5c
inc edi
cmp edi, edx
jb 0x1018bf47
mov eax, edi
lea ecx, [esp + 0x88]
sub eax, ecx
je 0x1018bfb3
mov esi, dword [0x10468550]
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.1016d060
cmp byte [esi + 0x2f3c], 0
je 0x1018bfb3
push edi
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x6c]
call fcn.1017c480
mov ecx, dword [0x10468550]
mov eax, dword [ecx + 0x1bec]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x1bec]
cmp byte [eax + 0xab], 0
jne 0x1018bff6
movss xmm0, dword [0x1021462c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.101771c0
mov al, byte [esp + 0x1f]
jmp 0x1018bffe
xor al, al
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b4c2a
add esp, 0xc0
ret 0x14