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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
mov esi, dword [0x1018e494]
mov eax, ecx
push edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], esi
call fcn.1001f699
test eax, eax
mov dword [esp + 0x4c], eax
mov ebx, eax
mov dword [esp + 0x30], eax
sete byte [esp + 0xf]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], ebx
mov edi, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
test eax, eax
jne 0x100215e3
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x50]
call fcn.1001f8ce
mov ebx, eax
mov edi, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov eax, dword [ebp + 8]
mov edx, 0xc0200
mov ecx, dword [ebp + 8]
and eax, edx
or ecx, 6
cmp eax, edx
mov eax, dword [esi + 0x3dc8]
cmovne ecx, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x238]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x3e24], eax
jne 0x1002162c
cmp byte [esi + 0x3dd5], al
je 0x1002162c
lea edx, [eax + 1]
mov eax, dword [esp + 0x30]
jmp 0x10021648
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov dl, byte [esp + 0x11]
mov byte [eax + 0xb2], dl
mov eax, dword [esp + 0x34]
dec eax
cmp dword [edi + 0x238], eax
setl al
mov byte [esp + 0x11], al
test ecx, 0x4000000
je 0x1002169a
imul edx, dword [esi + 0x47ac], 0x28
mov eax, dword [esp + 0x1c]
add edx, dword [esi + 0x47a8]
cmp eax, dword [edx + 4]
mov eax, dword [esp + 0x2c]
setne cl
mov eax, dword [eax + 0xc0]
cmp eax, dword [edx]
setne al
or cl, al
mov al, byte [esp + 0x11]
or al, cl
mov byte [esp + 0x11], al
mov byte [ebx + 0xb0], al
test al, al
je 0x100216b3
xor eax, eax
mov ecx, ebx
inc eax
push eax
push 8
pop edx
call fcn.1001f5ea
pop ecx
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x34]
je 0x10021711
push dword [esp + 0x14]
mov dl, byte [esp + 0x13]
mov ecx, ebx
call fcn.1001f70e
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0xc], edx
mov dword [edi + 0x238], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3dc0]
cvtpd2ps xmm0, xmm0
pop ecx
movss dword [ebx + 0x23c], xmm0
mov word [ebx + 0xba], ax
mov ax, word [esi + 0x3e3c]
mov word [ebx + 0xbc], ax
inc dword [esi + 0x3e3c]
jmp 0x10021718
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
jne 0x10021726
xor ecx, ecx
jmp 0x10021733
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e2c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x34]
je 0x10021750
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x10021756
mov eax, dword [ebx + 0x300]
lea ecx, [ebx + 0xe4]
mov dword [esp + 0x28], eax
cmp dword [ecx], 0
jne 0x1002176e
lea eax, [ebx + 8]
push eax
call fcn.1002a863
lea ecx, [esp + 0xbc]
mov dword [esi + 0x3e48], ebx
call fcn.1001a330
mov edx, dword [esp + 0x20]
lea edi, [esp + 0xf8]
xor eax, eax
add esi, 0x46bc
stosd dword es:[edi], eax
push 0xf
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [edx + 0x3e48]
lea edi, [esp + 0xbc]
mov dword [esp + 0xb8], ebx
rep movsd dword es:[edi], dword [esi]
mov ax, word [eax + 0xe4]
lea esi, [edx + 0x3e24]
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov word [esp + 0xf8], ax
mov ax, word [edx + 0x4758]
mov word [esp + 0xfa], ax
mov ax, word [edx + 0x4764]
mov word [esp + 0xfc], ax
mov ax, word [edx + 0x4770]
mov word [esp + 0xfe], ax
mov ax, word [edx + 0x477c]
mov word [esp + 0x100], ax
mov ax, word [edx + 0x4794]
mov word [esp + 0x102], ax
mov ax, word [edx + 0x4788]
mov word [esp + 0x104], ax
mov ax, word [edx + 0x47ac]
mov word [esp + 0x106], ax
mov ax, word [edx + 0x59ec]
mov word [esp + 0x108], ax
cmp ecx, edi
jne 0x1002186c
inc ecx
test edi, edi
je 0x10021858
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002185b
push 8
pop eax
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002abb2
mov edx, dword [esp + 0x20]
imul eax, dword [esi], 0x54
mov edi, dword [esi + 8]
lea esi, [esp + 0xb8]
push 0x15
pop ecx
add edi, eax
mov eax, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
inc dword [edx + 0x3e24]
test eax, 0x10000000
je 0x10021897
inc dword [edx + 0x47b8]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x48], edx
je 0x100218b9
push dword [esp + 0x28]
mov edx, eax
mov ecx, ebx
call fcn.1002143a
mov eax, dword [esp + 0x20]
pop ecx
mov dword [ebx + 0x304], eax
mov esi, dword [0x1018e494]
lea eax, [esp + 0x38]
mov edi, dword [ebx + 8]
push eax
mov dword [esp + 0x3c], edi
lea ecx, [esi + 0x477c]
call fcn.1002a863
mov dword [esi + 0x469c], edi
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x469c]
mov dword [ebx + 0x344], eax
xor eax, eax
mov dword [edi + 0x3e48], eax
test esi, 0x4000000
je 0x10021933
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0x47ac]
imul esi, dword [ecx], 0x28
add esi, dword [edi + 0x47a8]
push esi
mov dword [esi + 4], ebx
mov eax, dword [eax + 0x148]
mov dword [esi + 0xc], eax
call fcn.1002a4f7
mov eax, dword [esi]
mov esi, dword [esp + 0x14]
mov dword [ebx + 0xc0], eax
xor eax, eax
xor ecx, ecx
mov byte [esp + 0x13], al
inc ecx
mov byte [esp + 0x10], al
mov byte [esp + 0x12], al
test byte [edi + 0x46f8], cl
je 0x100219ee
movsx eax, byte [ebx + 0xd0]
mov ecx, dword [edi + 0x46fc]
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x100219dd
movss xmm1, dword [edi + 0x4714]
movss xmm0, dword [edi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100b912c]
jbe 0x100219dd
mov eax, dword [edi + 0x4708]
mov ecx, dword [edi + 0x470c]
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], ecx
mov eax, dword [edi + 0x4710]
mov ecx, dword [edi + 0x4714]
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0xe0], ecx
movzx ecx, byte [ebx + 0xd0]
mov eax, dword [ebx + 0xd0]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [ebx + 0xd0], ecx
jmp 0x100219ec
push ecx
lea edx, [edi + 0x4708]
mov ecx, ebx
call fcn.100236be
pop ecx
xor eax, eax
test byte [edi + 0x46f8], 2
xorps xmm1, xmm1
je 0x10021a53
movsx ecx, byte [ebx + 0xd1]
mov edx, dword [edi + 0x4700]
and ecx, edx
je 0x10021a21
movss xmm0, dword [edi + 0x4718]
comiss xmm0, xmm1
jbe 0x10021a21
xor ecx, ecx
inc ecx
mov byte [esp + 0x10], cl
jmp 0x10021a2c
mov byte [esp + 0x10], al
test ecx, ecx
je 0x10021a3d
xor ecx, ecx
inc ecx
movss xmm0, dword [edi + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0x12], cl
ja 0x10021a41
mov byte [esp + 0x12], al
push edx
lea edx, [edi + 0x4718]
mov ecx, ebx
call fcn.100237f8
pop ecx
xorps xmm1, xmm1
test byte [edi + 0x46f8], 0x80
je 0x10021a94
movss xmm0, dword [edi + 0x4728]
comiss xmm0, xmm1
jb 0x10021a78
movss dword [ebx + 0x88], xmm0
and dword [ebx + 0x90], 0
movss xmm0, dword [edi + 0x472c]
comiss xmm0, xmm1
jb 0x10021a94
movss dword [ebx + 0x8c], xmm0
and dword [ebx + 0x94], 0
test byte [edi + 0x46f8], 4
je 0x10021ab1
mov eax, dword [edi + 0x4720]
mov ecx, dword [edi + 0x4724]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], ecx
jmp 0x10021ac5
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x34]
je 0x10021ac5
movss dword [ebx + 0x3c], xmm1
movss dword [ebx + 0x40], xmm1
test byte [edi + 0x46f8], 8
je 0x10021ae2
push dword [edi + 0x4704]
mov dl, byte [edi + 0x4730]
mov ecx, ebx
call fcn.100238c6
pop ecx
test byte [edi + 0x46f8], 0x20
je 0x10021af2
mov ecx, ebx
call fcn.100234b4
cmp byte [ebx + 0xb0], 0
je 0x10021b08
push 0
push 8
pop edx
mov ecx, ebx
call fcn.1001f5ea
pop ecx
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x34]
je 0x1002304f
mov eax, esi
lea ecx, [ebx + 0xe4]
and eax, 0x3000000
mov dword [esp + 0x2c], eax
mov al, byte [ebx + 0xcd]
mov byte [esp + 0x27], al
xor eax, eax
inc eax
mov byte [ebx + 0xaa], al
mov byte [ebx + 0xb4], 0
mov dword [ebx + 0x210], 0xff7fffff
mov dword [ebx + 0x214], 0xff7fffff
mov dword [ebx + 0x218], 0x7f7fffff
push eax
mov dword [ebx + 0x21c], 0x7f7fffff
call fcn.1002a818
mov ecx, dword [ebx + 0x264]
call fcn.1003026c
or dword [ebx + 0x194], 0xffffffff
cmp byte [ebx + 0x350], 0
je 0x10021b91
mov ecx, ebx
call fcn.1001d443
mov esi, dword [esp + 0x4c]
xor eax, eax
cmp dword [edi + 0x4924], eax
je 0x10021c4e
test dword [ebx + 0xc], 0x80000
jne 0x10021c4e
test esi, esi
je 0x10021c4e
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x50]
mov bl, byte [ecx]
cmp bl, byte [edx]
mov byte [esp + 0x1b], bl
mov ebx, dword [esp + 0x44]
jne 0x10021bf1
cmp byte [esp + 0x1b], al
je 0x10021bf8
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
mov byte [esp + 0x1b], bl
mov ebx, dword [esp + 0x44]
jne 0x10021bf1
add ecx, 2
add edx, 2
cmp byte [esp + 0x1b], al
jne 0x10021bbf
jmp 0x10021bf8
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x10021c4e
mov edx, dword [esp + 0x50]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x38], ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10021c0a
sub edx, esi
lea esi, [edx + 1]
cmp ecx, esi
jae 0x10021c2f
mov ecx, dword [ebx + 4]
call fcn.1001d837
mov ecx, esi
call fcn.1001d81f
mov dword [esp + 0x38], esi
jmp 0x10021c32
mov eax, dword [ebx + 4]
push esi
push dword [esp + 0x54]
push eax
call sub.msvcrt.dll_memcpy
mov esi, dword [esp + 0x58]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x6c], eax
lea eax, [ebx + 0x34]
mov ecx, ebx
push eax
lea edx, [ebx + 0x2c]
call fcn.1001fb3a
mov al, byte [ebx + 0xcc]
pop ecx
test al, al
jle 0x10021c6f
dec al
mov byte [ebx + 0xcc], al
mov al, byte [ebx + 0xcd]
test al, al
jle 0x10021c81
dec al
mov byte [ebx + 0xcd], al
mov al, byte [ebx + 0xce]
test al, al
jle 0x10021c93
dec al
mov byte [ebx + 0xce], al
mov cl, byte [esp + 0x10]
mov dl, byte [esp + 0x12]
test esi, esi
jne 0x10021cb0
test cl, cl
je 0x10021ca7
test dl, dl
jne 0x10021cb0
xor eax, eax
inc eax
mov byte [ebx + 0xcd], al
cmp byte [esp + 0x11], 0
je 0x10021cee
mov eax, dword [esp + 0x14]
test eax, 0x6000000
je 0x10021cee
mov byte [ebx + 0xcd], 1
test al, 0x40
je 0x10021cee
test cl, cl
jne 0x10021cd9
and dword [ebx + 0x24], 0
and dword [ebx + 0x1c], 0
test dl, dl
jne 0x10021ce5
and dword [ebx + 0x28], 0
and dword [ebx + 0x20], 0
xorps xmm7, xmm7
movups xmmword [ebx + 0x2c], xmm7
jmp 0x10021cf1
xorps xmm7, xmm7
mov eax, dword [0x1018e494]
mov ecx, ebx
mov eax, dword [eax + 0x47c4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x10], eax
call fcn.1001d385
mov edx, dword [esp + 0x14]
mov esi, edx
and esi, 0x1000000
je 0x10021d25
mov eax, dword [edi + 0x37b8]
mov dword [ebx + 0x50], eax
jmp 0x10021d4c
test edx, 0x6000000
je 0x10021d3f
test edx, 0x8000000
jne 0x10021d3f
movss xmm0, dword [edi + 0x37c0]
jmp 0x10021d47
movss xmm0, dword [edi + 0x379c]
movss dword [ebx + 0x50], xmm0
mov eax, dword [edi + 0x3790]
mov ecx, dword [edi + 0x3794]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], ecx
test esi, esi
je 0x10021d97
test edx, 0x4010000
jne 0x10021d97
movss xmm0, dword [ebx + 0x50]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x10021d97
test edx, 0x400
je 0x10021d8a
movss xmm0, dword [edi + 0x3794]
jmp 0x10021d8d
xorps xmm0, xmm0
movss dword [ebx + 0x44], xmm7
movss dword [ebx + 0x48], xmm0
movss xmm0, dword [ebx + 0x44]
maxss xmm0, dword [edi + 0x37d4]
maxss xmm0, dword [edi + 0x4750]
movss dword [ebx + 0x154], xmm0
mov eax, dword [edi + 0x4754]
mov dword [ebx + 0x158], eax
mov al, byte [esp + 0xf]
mov dword [esp + 0x30], eax
test dl, 0x21
jne 0x10021e58
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
call fcn.1001b0b5
cmp dword [edi + 0x3e4c], ebx
jne 0x10021e22
xor eax, eax
cmp dword [edi + 0x3e80], eax
jne 0x10021e22
cmp dword [edi + 0x3e84], eax
jne 0x10021e22
inc eax
lea edx, [esp + 0x70]
push eax
lea ecx, [esp + 0x6c]
call fcn.10023f6e
xor edx, edx
inc edx
pop ecx
test al, al
je 0x10021e25
push 2
pop eax
cmp word [edi + 0x370a], ax
jne 0x10021e25
mov byte [ebx + 0xae], dl
jmp 0x10021e25
xor edx, edx
inc edx
cmp byte [ebx + 0xae], 0
je 0x10021e5f
mov cl, byte [ebx + 0xad]
test cl, cl
sete al
test cl, cl
mov byte [ebx + 0xad], al
mov ecx, ebx
mov eax, dword [esp + 0x30]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x30], eax
call fcn.10029a12
jmp 0x10021e5f
mov byte [ebx + 0xad], 0
mov byte [ebx + 0xae], 0
xor eax, eax
movss xmm0, dword [ebx + 0xa0]
inc eax
movss dword [esp + 0x80], xmm0
movss xmm0, dword [ebx + 0xa4]
and dword [ebx + 0x54], 0
and dword [ebx + 0x5c], 0
movss dword [esp + 0x84], xmm0
test byte [ebx + 0xc], al
je 0x10021e9d
xorps xmm2, xmm2
jmp 0x10021eb9
mov eax, dword [ebx]
mov ecx, ebx
movss xmm1, dword [eax + 0x37c8]
call fcn.1001b090
addss xmm1, xmm1
movaps xmm2, xmm0
addss xmm2, xmm1
mov ecx, ebx
call fcn.1001b107
addss xmm0, xmm2
mov edx, ebx
lea eax, [ebx + 0x34]
push eax
lea ecx, [esp + 0x7c]
movss dword [ebx + 0x58], xmm0
and dword [ebx + 0x60], 0
movss dword [ebx + 0xa0], xmm7
movss dword [ebx + 0xa4], xmm7
call fcn.1001fc63
test byte [esp + 0x18], 0x40
pop ecx
je 0x10021f35
cmp byte [ebx + 0xad], 0
jne 0x10021f35
xor eax, eax
inc eax
cmp byte [esp + 0x10], 0
jne 0x10021f16
movss xmm0, dword [esp + 0x78]
movss dword [ebx + 0x24], xmm0
mov byte [esp + 0xf], al
cmp byte [esp + 0x12], 0
jne 0x10021fc5
movss xmm0, dword [esp + 0x7c]
movss dword [ebx + 0x28], xmm0
mov dword [esp + 0x30], eax
jmp 0x10021fc5
mov al, byte [ebx + 0xc4]
test al, al
jg 0x10021f48
cmp byte [ebx + 0xc5], 0
jle 0x10021fc5
cmp byte [esp + 0x10], 0
jne 0x10021f7d
test al, al
jle 0x10021f7d
cmp byte [ebx + 0xc7], 0
je 0x10021f69
movss xmm0, dword [ebx + 0x24]
maxss xmm0, dword [esp + 0x78]
jmp 0x10021f6f
movss xmm0, dword [esp + 0x78]
xor eax, eax
movss dword [ebx + 0x24], xmm0
inc eax
mov byte [esp + 0xf], al
jmp 0x10021f80
xor eax, eax
inc eax
cmp byte [esp + 0x12], 0
jne 0x10021fb5
cmp byte [ebx + 0xc5], 0
jle 0x10021fb5
cmp byte [ebx + 0xc7], 0
je 0x10021fa6
movss xmm0, dword [ebx + 0x28]
maxss xmm0, dword [esp + 0x7c]
jmp 0x10021fac
movss xmm0, dword [esp + 0x7c]
movss dword [ebx + 0x28], xmm0
mov dword [esp + 0x30], eax
cmp byte [ebx + 0xad], 0
jne 0x10021fc5
mov ecx, ebx
call fcn.10029a12
lea esi, [ebx + 0x24]
mov edx, ebx
push esi
lea ecx, [esp + 0x8c]
call fcn.1001f9a2
pop ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, edx
mov dword [esi], ecx
mov dword [esi + 4], eax
cmp byte [ebx + 0xad], 0
mov dword [esp + 0x38], ecx
je 0x1002202d
test dword [esp + 0x14], 0x1000000
jne 0x1002202d
lea eax, [esp + 0x110]
mov ecx, ebx
push eax
call fcn.1001b0b5
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
movss dword [esp + 0x3c], xmm0
mov edx, dword [esp + 0x3c]
movss dword [esp + 0x38], xmm1
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edx
je 0x1002207f
or dword [ebx + 0xc8], 0xffffffff
test ecx, 0x4000000
je 0x1002207f
test ecx, 0x8000000
jne 0x1002207f
cmp byte [esp + 0x13], 0
jne 0x1002207f
imul edx, dword [edi + 0x47ac], 0x28
mov ecx, dword [edi + 0x47b4]
mov eax, dword [ecx + edx - 0x10]
mov ecx, dword [ecx + edx - 0xc]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x100220dd
mov esi, dword [esp + 0x28]
lea ecx, [esi + 0x180]
mov ax, word [ecx]
mov word [ebx + 0xba], ax
lea eax, [esp + 0x58]
push eax
call fcn.1002a6c9
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x2c]
test ecx, 0x4000000
jne 0x100220e5
test al, al
jne 0x100220e5
cmp edx, 0x3000000
je 0x100220e5
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0xf0]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x14]
jmp 0x100220e1
mov edx, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
movss xmm1, dword [ebx + 0xd4]
ucomiss xmm1, dword [0x100b9244]
lahf
test ah, 0x44
jnp 0x10022149
cmp byte [ebx + 0xcd], 0
jne 0x10022149
movss xmm0, dword [ebx + 0xdc]
lea edx, [esp + 0x58]
mulss xmm0, dword [ebx + 0x1c]
mov ecx, ebx
push 0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0xd8]
movss dword [esp + 0x5c], xmm1
movss xmm1, dword [ebx + 0xe0]
mulss xmm1, dword [ebx + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x60], xmm0
call fcn.100236be
pop ecx
jmp 0x1002218d
test ecx, 0x10000000
jne 0x10022177
test ecx, 0x4000000
je 0x10022163
test al, al
jne 0x10022163
cmp byte [esp + 0x27], al
jg 0x10022177
test ecx, 0x2000000
je 0x10022191
test al, al
jne 0x10022191
cmp edx, 0x3000000
je 0x10022191
mov edx, ebx
lea ecx, [esp + 0x58]
call fcn.10026515
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x1c]
movss xmm3, dword [edi + 0x3848]
movss xmm2, dword [edi + 0x3844]
maxss xmm3, dword [edi + 0x3850]
movss xmm7, dword [eax + 0x14]
movss xmm5, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm5, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm6, dword [eax + 8]
movaps xmm4, xmm0
maxss xmm2, dword [edi + 0x384c]
addss xmm4, dword [eax + 0xc]
movaps xmm1, xmm6
movss dword [esp + 0x68], xmm0
addss xmm1, dword [eax + 0x10]
subss xmm5, xmm3
movss dword [esp + 0x6c], xmm6
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [esp + 0x70], xmm4
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x74], xmm1
movss dword [esp + 0xa4], xmm5
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0xa0], xmm7
movss dword [esp + 0x98], xmm2
jne 0x100222bd
test ecx, 0x1000000
jne 0x100222bd
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x100222bd
subss xmm1, xmm6
comiss xmm1, xmm0
jbe 0x100222bd
mov eax, dword [0x1018e494]
movss xmm0, dword [ebx + 0x20]
cmp byte [eax + 0x67], 0
je 0x1002228e
xor eax, eax
inc eax
test byte [ebx + 0xc], al
jne 0x1002228e
mov eax, dword [ebx]
mov ecx, ebx
movss xmm1, dword [eax + 0x37c8]
call fcn.1001b090
mov ecx, dword [esp + 0x14]
addss xmm1, xmm1
addss xmm0, xmm1
subss xmm2, dword [ebx + 0x1c]
subss xmm3, xmm0
comiss xmm3, dword [ebx + 0x18]
ja 0x100222a5
movaps xmm3, xmm5
minss xmm3, dword [ebx + 0x18]
comiss xmm2, dword [ebx + 0x14]
ja 0x100222b3
movaps xmm2, xmm7
minss xmm2, dword [ebx + 0x14]
movss dword [ebx + 0x14], xmm2
movss dword [ebx + 0x18], xmm3
cvttss2si eax, dword [ebx + 0x14]
movd xmm1, eax
cvttss2si eax, dword [ebx + 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [ebx + 0x14], xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x18], xmm0
test ecx, 0x1000000
je 0x100222f1
movss xmm0, dword [edi + 0x37b4]
jmp 0x10022311
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10022309
movss xmm0, dword [edi + 0x37bc]
jmp 0x10022311
movss xmm0, dword [edi + 0x3798]
xor dl, dl
movss dword [ebx + 0x4c], xmm0
mov dword [esp + 0x1c], edx
cmp byte [esp + 0x11], dl
je 0x10022380
test ecx, 0x1000
jne 0x10022380
test ecx, 0x4000000
je 0x1002233b
xor eax, eax
inc eax
mov byte [esp + 0x1c], al
jmp 0x1002234e
push 1
test ecx, 0x3000000
movzx edx, dl
pop eax
cmove edx, eax
mov dword [esp + 0x1c], edx
call fcn.100260ba
test eax, eax
je 0x10022380
mov edx, eax
mov ecx, ebx
call fcn.10023682
test al, al
jne 0x10022380
mov byte [esp + 0x1c], al
cmp ebx, dword [ebx + 0x308]
jne 0x10022380
mov ecx, ebx
call fcn.100214ca
mov edx, eax
mov ecx, ebx
call fcn.10023402
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0xa8]
or dword [esp + 0x54], 0xffffffff
xor eax, eax
stosd dword es:[edi], eax
mov esi, dword [esp + 0x44]
movss xmm2, dword [ecx + 0x3bb8]
movaps xmm1, xmm2
mulss xmm2, dword [0x100b9148]
stosd dword es:[edi], eax
mulss xmm1, dword [0x100b9198]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
movss xmm0, dword [ebx + 0x4c]
addss xmm0, dword [0x100b9194]
cmp byte [ecx + 0x66], al
setne al
inc eax
cmp byte [esi + 0xad], 0
addss xmm0, xmm2
mov dword [esp + 0x38], eax
maxss xmm1, xmm0
cvttss2si ebx, xmm1
jne 0x10022418
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0xac]
push ecx
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
lea edx, [esp + 0x88]
call fcn.1001ff39
add esp, 0x10
test al, al
je 0x10022418
xor eax, eax
inc eax
mov dl, al
mov ah, al
jmp 0x10022420
mov ah, byte [esp + 0xf]
mov edx, dword [esp + 0x30]
mov al, byte [esp + 0x54]
mov byte [esi + 0xb5], al
cmp byte [esi + 0xad], 0
jne 0x100225bb
cmp dword [esp + 0x4c], 0
movss xmm0, dword [esi + 0x60]
addss xmm0, dword [esi + 0x58]
movss xmm3, dword [esi + 0x1d8]
movss xmm4, dword [esi + 0x1dc]
subss xmm3, dword [esi + 0x1d0]
subss xmm4, dword [esi + 0x1d4]
movss xmm5, dword [esi + 0x28]
movss xmm6, dword [esi + 0x24]
subss xmm5, xmm0
xorps xmm0, xmm0
addss xmm3, dword [esp + 0x80]
addss xmm4, dword [esp + 0x84]
jne 0x10022493
xorps xmm2, xmm2
xorps xmm1, xmm1
jmp 0x100224af
movss xmm2, dword [esi + 0x44]
movss xmm1, dword [esi + 0x48]
addss xmm2, xmm2
addss xmm1, xmm1
addss xmm2, dword [esi + 0x2c]
addss xmm1, dword [esi + 0x30]
test ah, ah
jne 0x100224b6
movaps xmm6, xmm3
test dl, dl
jne 0x100224bd
movaps xmm5, xmm4
mov eax, dword [esp + 0x14]
test eax, 0x4000
jne 0x100224d9
comiss xmm1, xmm5
jbe 0x100224d1
test al, 8
je 0x100224d9
xor edx, edx
mov byte [esp + 0xf], dl
jmp 0x100224e2
xor edx, edx
inc edx
mov byte [esp + 0xf], dl
xor edx, edx
mov cl, byte [esp + 0xf]
mov byte [esi + 0xa9], cl
mov ecx, dword [esp + 0x20]
test eax, 0x8000
jne 0x1002252a
cmp byte [esp + 0xf], 0
je 0x10022508
movss xmm3, dword [ecx + 0x37fc]
jmp 0x1002250b
xorps xmm3, xmm3
subss xmm6, xmm3
comiss xmm2, xmm6
jbe 0x10022524
and eax, 0x808
cmp eax, 0x800
mov eax, dword [esp + 0x14]
je 0x1002252a
mov byte [esp + 0xf], dl
jmp 0x10022531
xor ecx, ecx
inc ecx
mov byte [esp + 0xf], cl
mov cl, byte [esp + 0xf]
mov byte [esi + 0xa8], cl
test cl, cl
mov ecx, dword [esp + 0x20]
je 0x10022560
cmp byte [esi + 0xa9], 0
jne 0x10022560
comiss xmm1, xmm5
jbe 0x1002255a
test al, 8
jne 0x1002255a
xor eax, eax
lea edx, [eax + 1]
mov byte [esi + 0xa9], dl
cmp byte [esi + 0xa8], 0
je 0x10022573
movss xmm1, dword [ecx + 0x37fc]
jmp 0x10022576
xorps xmm1, xmm1
cmp byte [esi + 0xa9], 0
je 0x10022587
movss xmm0, dword [ecx + 0x37fc]
movss dword [esi + 0xa0], xmm0
movss dword [esi + 0xa4], xmm1
movss xmm0, dword [esi + 0xa0]
addss xmm0, dword [esi + 0x5c]
movss dword [esi + 0x5c], xmm0
movss xmm0, dword [esi + 0xa4]
addss xmm0, dword [esi + 0x60]
movss dword [esi + 0x60], xmm0
mov eax, dword [esp + 0x14]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x100225e1
cmp dword [esp + 0x2c], 0x3000000
je 0x100225e1
mov esi, dword [esp + 0x28]
add esi, 0x210
jmp 0x100225e5
lea esi, [esp + 0x68]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x68]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x48]
mov ecx, esi
movss xmm4, dword [esi + 0x14]
movss xmm5, dword [esi + 0x18]
movss xmm2, dword [esi + 0x1c]
movss xmm3, dword [esi + 0x20]
call fcn.1001b0b5
movss dword [esi + 0x1c0], xmm4
addss xmm2, xmm4
movss dword [esi + 0x1c4], xmm5
addss xmm3, xmm5
mov ecx, dword [esp + 0x14]
xor edx, edx
mov edi, dword [esp + 0x20]
mov eax, ecx
and eax, 0x401
inc edx
movss dword [esi + 0x1c8], xmm2
movss dword [esi + 0x1cc], xmm3
movss xmm1, dword [esi + 0x1c0]
movss xmm0, dword [esi + 0x1c4]
movss xmm3, dword [esp + 0x58]
movss xmm4, dword [esp + 0x5c]
maxss xmm1, xmm3
maxss xmm0, xmm4
movss dword [esi + 0x1c0], xmm1
movss dword [esi + 0x1c4], xmm0
movss xmm0, dword [esi + 0x1cc]
movss xmm1, dword [esi + 0x1c8]
minss xmm0, dword [esp + 0x64]
minss xmm1, dword [esp + 0x60]
movss dword [esi + 0x1cc], xmm0
movss dword [esi + 0x1c8], xmm1
movss xmm0, dword [esi + 0x54]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x1d0], xmm0
movss xmm0, dword [esi + 0x58]
addss xmm0, dword [esi + 0x18]
movss dword [esi + 0x1d4], xmm0
movss xmm0, dword [esi + 0x1c]
addss xmm0, dword [esi + 0x14]
subss xmm0, dword [esi + 0x5c]
movss dword [esi + 0x1d8], xmm0
movss xmm0, dword [esi + 0x20]
addss xmm0, dword [esi + 0x18]
subss xmm0, dword [esi + 0x60]
movss dword [esi + 0x1dc], xmm0
cmp eax, edx
jne 0x10022708
movss xmm5, dword [esi + 0x50]
jmp 0x10022710
movss xmm5, dword [edi + 0x37d0]
movss xmm0, dword [esi + 0x44]
movss xmm2, dword [0x100b9160]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x1d0]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [esi + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1e0], xmm0
movss xmm0, dword [esi + 0x1d4]
addss xmm0, xmm2
addss xmm0, xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1e4], xmm0
movss xmm0, dword [esi + 0x44]
mulss xmm0, xmm2
movss xmm1, dword [esi + 0x1d8]
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [esi + 0x50]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1e8], xmm0
movss xmm0, dword [esi + 0x1dc]
addss xmm0, xmm2
subss xmm0, dword [esi + 0x50]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1ec], xmm0
movss xmm0, dword [esi + 0x1e4]
comiss xmm4, xmm0
jbe 0x100227e9
movaps xmm1, xmm4
jmp 0x100227f3
movss xmm1, dword [esp + 0x64]
minss xmm1, xmm0
movss xmm2, dword [esi + 0x1e0]
comiss xmm3, xmm2
jbe 0x10022805
movaps xmm0, xmm3
jmp 0x1002280f
movss xmm0, dword [esp + 0x60]
minss xmm0, xmm2
movss dword [esi + 0x1e0], xmm0
movss dword [esi + 0x1e4], xmm1
movss xmm0, dword [esi + 0x1ec]
comiss xmm4, xmm0
ja 0x10022836
movss xmm4, dword [esp + 0x64]
minss xmm4, xmm0
movss xmm0, dword [esi + 0x1e8]
comiss xmm3, xmm0
ja 0x1002284d
movss xmm3, dword [esp + 0x60]
minss xmm3, xmm0
movss dword [esi + 0x1e8], xmm3
xorps xmm2, xmm2
movss dword [esi + 0x1ec], xmm4
movss xmm0, dword [esi + 0x1c]
comiss xmm0, xmm2
jbe 0x1002287c
test ecx, 0x2000040
jne 0x1002287c
mulss xmm0, dword [0x100b9168]
jmp 0x1002288c
movss xmm0, dword [edi + 0x3bb8]
mulss xmm0, dword [0x100b91ec]
cvttss2si eax, xmm0
mov edx, esi
lea ecx, [esp + 0x88]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x240], xmm0
movss xmm1, dword [esi + 0x44]
movss xmm0, dword [esi + 0x1d8]
addss xmm1, xmm1
subss xmm0, dword [esi + 0x1d0]
addss xmm1, dword [esi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esi + 0x80], xmm0
movss xmm1, dword [esi + 0x48]
movss xmm0, dword [esi + 0x1dc]
addss xmm1, xmm1
subss xmm0, dword [esi + 0x1d4]
addss xmm1, dword [esi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esi + 0x84], xmm0
call fcn.10025ac1
movss xmm0, dword [0x100b9244]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
movss dword [esi + 0x88], xmm0
movss dword [esi + 0x8c], xmm0
and dword [esi + 0x68], 0
and dword [esi + 0x64], 0
mov eax, dword [edi + 0x3bb4]
mov ecx, dword [esi + 0x264]
mov eax, dword [eax + 0x30]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.1003072a
push 0
lea edx, [esp + 0x64]
lea ecx, [esp + 0x5c]
call fcn.1001e943
mov eax, dword [esp + 0x18]
xor edx, edx
mov byte [esp + 0x14], dl
pop ecx
test eax, 0x1000000
je 0x10022a30
test eax, 0x4000000
jne 0x10022a30
cmp dword [esp + 0x2c], 0x3000000
je 0x10022a30
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x100229f8
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x100229f8
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x20]
movss xmm2, dword [eax + 0x14]
movss xmm3, dword [esi + 0x14]
movss xmm1, dword [esi + 0x18]
addss xmm2, dword [eax + 0x1c]
comiss xmm0, dword [esi + 0x18]
addss xmm3, dword [esi + 0x1c]
addss xmm1, dword [esi + 0x20]
jbe 0x100229f8
comiss xmm1, dword [eax + 0x18]
jbe 0x100229f8
comiss xmm2, dword [esi + 0x14]
jbe 0x100229f8
comiss xmm3, dword [eax + 0x14]
jbe 0x100229f8
xor eax, eax
inc eax
mov byte [esp + 0xf], al
jmp 0x100229fc
mov byte [esp + 0xf], dl
mov eax, dword [esi + 0x264]
imul ecx, dword [eax], 0x30
mov eax, dword [eax + 8]
cmp dword [ecx + eax - 0x10], edx
jne 0x10022a30
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], edx
jle 0x10022a30
cmp byte [esp + 0xf], dl
jne 0x10022a30
xor ecx, ecx
mov dword [esi + 0x264], eax
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [edi + 0x491c]
test ecx, ecx
jne 0x10022a40
mov ecx, dword [edi + 0x47c8]
cmp byte [esp + 0x1c], dl
jne 0x10022a5e
test ecx, ecx
je 0x10022a58
mov eax, dword [esi + 0x310]
cmp eax, dword [ecx + 0x310]
je 0x10022a5e
mov byte [esp + 0x58], dl
jmp 0x10022a65
xor eax, eax
inc eax
mov byte [esp + 0x58], al
movd xmm0, ebx
lea eax, [esp + 0xa8]
mov ebx, dword [esp + 0x44]
lea edx, [esp + 0x68]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [esp + 0x40]
push ecx
push dword [esp + 0x68]
mov ecx, ebx
call fcn.10020c04
add esp, 0x14
cmp byte [esp + 0x10], 0
je 0x10022aa8
lea eax, [ebx + 0x268]
mov dword [ebx + 0x264], eax
mov ecx, dword [esp + 0x14]
xor eax, eax
movss xmm3, dword [ebx + 0x3c]
mov edx, ecx
shr edx, 3
inc eax
not dl
xorps xmm4, xmm4
and dl, al
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x10022b05
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x10022ade
movss xmm3, dword [ebx + 0x2c]
jmp 0x10022ae1
xorps xmm3, xmm3
movss xmm0, dword [ebx + 0x44]
movss xmm1, dword [ebx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x5c]
addss xmm0, dword [ebx + 0x54]
subss xmm1, xmm0
maxss xmm3, xmm1
movss xmm2, dword [ebx + 0x40]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x10022b45
test dl, dl
je 0x10022b1e
movss xmm2, dword [ebx + 0x30]
jmp 0x10022b21
xorps xmm2, xmm2
movss xmm0, dword [ebx + 0x48]
movss xmm1, dword [ebx + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x60]
addss xmm0, dword [ebx + 0x58]
subss xmm1, xmm0
maxss xmm2, xmm1
movss xmm1, dword [ebx + 0x44]
lea esi, [ebx + 0x1f0]
maxss xmm1, dword [ebx + 0x50]
movss xmm0, dword [ebx + 0x1d0]
lea edi, [ebx + 0x200]
subss xmm0, dword [ebx + 0x78]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi], xmm0
movss xmm1, dword [ebx + 0x48]
movss xmm0, dword [ebx + 0x1d4]
subss xmm0, dword [ebx + 0x7c]
maxss xmm1, dword [ebx + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x1f4], xmm0
addss xmm3, dword [esi]
movss dword [ebx + 0x1f8], xmm3
addss xmm2, dword [ebx + 0x1f4]
movss dword [ebx + 0x1fc], xmm2
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [ebx + 0x14]
subss xmm0, dword [ebx + 0x78]
addss xmm0, dword [ebx + 0x44]
addss xmm0, dword [ebx + 0x54]
movss dword [ebx + 0x220], xmm0
movss xmm0, dword [ebx + 0x18]
subss xmm0, dword [ebx + 0x7c]
addss xmm0, dword [ebx + 0x48]
addss xmm0, dword [ebx + 0x58]
movss dword [ebx + 0x224], xmm0
movss xmm1, dword [ebx + 0x3c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10022c2f
movss xmm0, dword [ebx + 0x44]
movss xmm1, dword [ebx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x5c]
addss xmm0, dword [ebx + 0x54]
subss xmm1, xmm0
addss xmm1, dword [ebx + 0x220]
movss dword [ebx + 0x228], xmm1
movss xmm1, dword [ebx + 0x40]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x10022c6d
movss xmm0, dword [ebx + 0x48]
movss xmm1, dword [ebx + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x60]
addss xmm0, dword [ebx + 0x58]
subss xmm1, xmm0
addss xmm1, dword [ebx + 0x224]
movss dword [ebx + 0x22c], xmm1
movss xmm0, dword [ebx + 0x54]
addss xmm0, dword [ebx + 0x44]
subss xmm0, dword [ebx + 0x78]
movss dword [ebx + 0x134], xmm0
and dword [ebx + 0x13c], 0
and dword [ebx + 0x138], 0
movss xmm3, dword [ebx + 0x44]
movss xmm0, dword [ebx + 0x14]
movss xmm2, dword [ebx + 0x48]
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [ebx + 0x78]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [ebx + 0x54]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [ebx + 0x18]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x100b9120]
addsd xmm2, xmm0
movss xmm0, dword [ebx + 0x7c]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss xmm0, dword [ebx + 0x58]
movss dword [ebx + 0x100], xmm1
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
movss dword [ebx + 0x104], xmm0
movss xmm0, dword [ebx + 0x100]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [ebx + 0x104]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [ebx + 0x140], xmm1
cvtpd2ps xmm0, xmm2
movss dword [ebx + 0x144], xmm0
mov edx, dword [ebx + 0x100]
mov eax, edx
mov esi, dword [ebx + 0x104]
mov ecx, esi
mov dword [ebx + 0xf0], eax
mov dword [ebx + 0xf4], ecx
mov dword [ebx + 0xf8], edx
lea edx, [ebx + 0x15c]
mov dword [ebx + 0xfc], esi
lea edi, [edx + 0x12]
mov eax, dword [ebx + 0x100]
mov ecx, dword [ebx + 0x104]
mov dword [ebx + 0x108], eax
mov dword [ebx + 0x10c], ecx
mov eax, dword [ebx + 0x100]
mov ecx, dword [ebx + 0x104]
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], ecx
xor ecx, ecx
movups xmmword [ebx + 0x118], xmm4
and dword [ebx + 0x12c], 0
and dword [ebx + 0x128], 0
mov esi, dword [esp + 0x20]
mov word [ebx + 0x130], cx
mov dword [ebx + 0x148], ecx
mov ax, word [ebx + 0x14e]
mov word [ebx + 0x14c], ax
xor eax, eax
mov word [ebx + 0x14e], ax
mov byte [ebx + 0x150], cl
movss xmm0, dword [ebx + 0x84]
comiss xmm0, xmm4
seta al
mov byte [ebx + 0x151], al
mov byte [ebx + 0x152], cl
movss xmm0, dword [esi + 0x37d4]
cmp byte [esp + 0x11], cl
je 0x10022e23
mov dword [edi], ecx
mov dword [edi + 4], ecx
cvttss2si eax, xmm0
push ecx
mov ecx, edx
mov word [edx + 8], ax
call fcn.1003835f
xor ecx, ecx
lea edx, [ebx + 0x15c]
mov dword [edi], ecx
mov dword [edi + 4], ecx
lea edi, [ebx + 0x180]
mov eax, dword [edx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov dword [ebx + 0x178], ecx
mov dword [ebx + 0x17c], ecx
cmp dword [edi + 4], ecx
jge 0x10022e71
push ecx
mov ecx, edi
call fcn.10018322
push eax
mov ecx, edi
call fcn.1002a6f9
xor ecx, ecx
mov dword [edi], ecx
lea eax, [ebx + 0x244]
mov dword [ebx + 0x18c], eax
xor edx, edx
mov eax, dword [esp + 0x28]
inc edx
mov dword [ebx + 0x190], ecx
mov dword [ebx + 0x198], edx
test eax, eax
je 0x10022e9e
mov eax, dword [eax + 0x198]
jmp 0x10022ea0
mov eax, edx
mov dword [ebx + 0x19c], eax
lea edi, [ebx + 0x1a8]
mov eax, dword [ebx + 0x240]
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0x1a4], 0xbf800000
cmp dword [edi + 4], ecx
jge 0x10022ed9
push ecx
mov ecx, edi
call fcn.10018322
push eax
mov ecx, edi
call fcn.1002a6f9
xor ecx, ecx
mov dword [edi], ecx
lea edi, [ebx + 0x1b4]
cmp dword [edi + 4], ecx
jge 0x10022ef8
push ecx
mov ecx, edi
call fcn.10018322
push eax
mov ecx, edi
call fcn.1002a6f9
xor ecx, ecx
mov dword [edi], ecx
mov al, byte [ebx + 0xc4]
test al, al
jle 0x10022f0c
dec al
mov byte [ebx + 0xc4], al
mov al, byte [ebx + 0xc5]
test al, al
jle 0x10022f1e
dec al
mov byte [ebx + 0xc5], al
cmp byte [esp + 0x1c], 0
je 0x10022f35
mov ecx, ebx
call fcn.100234b4
xor dl, dl
mov ecx, ebx
call fcn.10027314
movss xmm4, dword [esp + 0x74]
xor ecx, ecx
movss xmm2, dword [esp + 0x70]
inc ecx
movss xmm3, dword [esp + 0x6c]
movss xmm5, dword [esp + 0x68]
test byte [esp + 0x14], cl
jne 0x10022fba
movaps xmm0, xmm5
movss dword [esp + 0x8c], xmm3
addss xmm0, dword [ebx + 0x50]
push ecx
push dword [esp + 0x54]
lea edx, [esp + 0x90]
movss dword [esp + 0x9c], xmm4
mov ecx, ebx
movss dword [esp + 0x90], xmm0
movaps xmm0, xmm2
subss xmm0, dword [ebx + 0x50]
movss dword [esp + 0x98], xmm0
call fcn.100210fd
movss xmm2, dword [esp + 0x78]
movss xmm3, dword [esp + 0x74]
movss xmm4, dword [esp + 0x7c]
movss xmm5, dword [esp + 0x70]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov edx, dword [0x1018e494]
xor eax, eax
mov dword [ebx + 0x230], eax
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
subss xmm5, xmm1
movss xmm6, dword [edx + 0xdc0]
addss xmm2, xmm1
addss xmm4, xmm0
subss xmm3, xmm0
comiss xmm6, xmm5
jb 0x10023010
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm3
jb 0x10023010
comiss xmm2, xmm6
jbe 0x10023010
comiss xmm4, xmm0
jbe 0x10023010
mov edi, ecx
jmp 0x10023012
xor edi, edi
mov ecx, dword [esi + 0x46a0]
lea esi, [esp + 0x68]
mov eax, dword [ebx + 0x70]
mov dword [edx + 0x46c4], edi
lea edi, [edx + 0x46d8]
movsd dword es:[edi], dword [esi]
mov dword [edx + 0x46bc], eax
mov dword [edx + 0x46c0], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [edx + 0x46c8]
lea esi, [esp + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
jmp 0x10023056
mov ecx, ebx
call fcn.1001d385
xor eax, eax
lea edx, [ebx + 0x1e8]
inc eax
lea ecx, [ebx + 0x1e0]
push eax
call fcn.1001e943
mov edx, dword [esp + 0x38]
xor eax, eax
mov byte [ebx + 0xac], al
inc word [ebx + 0xb6]
pop ecx
mov dword [edi + 0x46f8], eax
cmp dword [esp + 0x48], edx
je 0x100231f6
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x10023161
test cl, 0x40
jne 0x10023121
cmp byte [ebx + 0xc4], al
jg 0x10023121
cmp byte [ebx + 0xc5], al
jg 0x10023121
test ecx, 0x800000
je 0x100230e7
cmp byte [edi + 0x4804], al
je 0x100230e7
mov ecx, dword [edi + 0x47c8]
test ecx, ecx
je 0x100230e7
mov eax, dword [ecx + 0x314]
cmp eax, dword [ebx + 0x314]
jne 0x100230e5
xor edx, edx
inc edx
xor eax, eax
mov cl, dl
jmp 0x100230ec
xor eax, eax
xor edx, edx
mov cl, al
inc edx
cmp byte [edi + 0x5a8c], 0
jne 0x10023121
test cl, cl
jne 0x10023121
movss xmm0, dword [ebx + 0x1c0]
comiss xmm0, dword [ebx + 0x1c8]
jae 0x1002311b
movss xmm0, dword [ebx + 0x1c4]
comiss xmm0, dword [ebx + 0x1cc]
jb 0x10023121
mov byte [ebx + 0xcc], dl
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10023161
cmp byte [ecx + 0xad], 0
jne 0x1002313b
cmp byte [ecx + 0xcc], 0
jle 0x10023144
xor edx, edx
inc edx
mov byte [ebx + 0xcc], dl
cmp byte [ecx + 0xad], 0
jne 0x10023156
cmp byte [ecx + 0xcd], 0
jle 0x10023161
xor ecx, ecx
inc ecx
mov byte [ebx + 0xcd], cl
jmp 0x10023164
xor ecx, ecx
inc ecx
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x3788]
jb 0x10023176
mov byte [ebx + 0xcc], cl
cmp byte [ebx + 0xcc], 0
jg 0x10023197
cmp byte [ebx + 0xcd], 0
jg 0x10023197
cmp byte [ebx + 0xce], 0
mov dl, al
jg 0x10023199
mov cl, al
jmp 0x10023199
mov dl, cl
mov byte [ebx + 0xb1], cl
mov cl, byte [ebx + 0xcf]
test cl, cl
jle 0x100231b8
dec cl
mov byte [ebx + 0xcf], cl
or dword [ebx + 0xc], 0xc0200
cmp byte [ebx + 0xad], 0
jne 0x100231ce
cmp byte [ebx + 0xaa], 0
je 0x100231ce
test dl, dl
je 0x100231f0
cmp byte [ebx + 0xc4], 0
jg 0x100231f0
cmp byte [ebx + 0xc5], 0
jg 0x100231f0
cmp byte [ebx + 0xcd], 0
push 1
movzx eax, al
pop ecx
cmovle eax, ecx
mov byte [ebx + 0xaf], al
cmp byte [ebx + 0xb2], 0
jne 0x10023249
cmp byte [edi + 0x6c], 0
je 0x1002320c
cmp dword [esp + 0x4c], 0
je 0x10023221
cmp byte [edi + 0x6d], 0
je 0x10023249
movsx eax, byte [edi + 0x5ae2]
cmp eax, dword [edi + 0x3e24]
jne 0x10023249
mov al, byte [ebx + 0xc4]
test al, al
jle 0x10023233
inc al
mov byte [ebx + 0xc4], al
mov al, byte [ebx + 0xc5]
test al, al
jle 0x10023245
inc al
mov byte [ebx + 0xc5], al
xor al, al
jmp 0x10023253
cmp byte [ebx + 0xaf], 0
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret