Function at 0x10021029
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 [0x10189494]
mov eax, ecx
push edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], esi
call fcn.1001f16e
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 0x100210b0
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x50]
call fcn.1001f39b
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 0x100210f9
cmp byte [esi + 0x3dd5], al
je 0x100210f9
lea edx, [eax + 1]
mov eax, dword [esp + 0x30]
jmp 0x10021115
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 0x10021167
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 0x10021180
xor eax, eax
mov ecx, ebx
inc eax
push eax
push 8
pop edx
call fcn.1001f0bf
pop ecx
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x34]
je 0x100211de
push dword [esp + 0x14]
mov dl, byte [esp + 0x13]
mov ecx, ebx
call fcn.1001f1e3
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 0x100211e5
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
jne 0x100211f3
xor ecx, ecx
jmp 0x10021200
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 0x1002121d
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x10021223
mov eax, dword [ebx + 0x300]
lea ecx, [ebx + 0xe4]
mov dword [esp + 0x28], eax
cmp dword [ecx], 0
jne 0x1002123b
lea eax, [ebx + 8]
push eax
call fcn.1002a2de
lea ecx, [esp + 0xbc]
mov dword [esi + 0x3e48], ebx
call fcn.10019ead
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 0x10021339
inc ecx
test edi, edi
je 0x10021325
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10021328
push 8
pop eax
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002a62d
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 0x10021364
inc dword [edx + 0x47b8]
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x48], edx
je 0x10021386
push dword [esp + 0x28]
mov edx, eax
mov ecx, ebx
call fcn.10020f07
mov eax, dword [esp + 0x20]
pop ecx
mov dword [ebx + 0x304], eax
mov esi, dword [0x10189494]
lea eax, [esp + 0x38]
mov edi, dword [ebx + 8]
push eax
mov dword [esp + 0x3c], edi
lea ecx, [esi + 0x477c]
call fcn.1002a2de
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 0x10021400
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.10029f72
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 0x100214bb
movsx eax, byte [ebx + 0xd0]
mov ecx, dword [edi + 0x46fc]
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x100214aa
movss xmm1, dword [edi + 0x4714]
movss xmm0, dword [edi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100b5084]
jbe 0x100214aa
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 0x100214b9
push ecx
lea edx, [edi + 0x4708]
mov ecx, ebx
call fcn.10023177
pop ecx
xor eax, eax
test byte [edi + 0x46f8], 2
xorps xmm1, xmm1
je 0x10021520
movsx ecx, byte [ebx + 0xd1]
mov edx, dword [edi + 0x4700]
and ecx, edx
je 0x100214ee
movss xmm0, dword [edi + 0x4718]
comiss xmm0, xmm1
jbe 0x100214ee
xor ecx, ecx
inc ecx
mov byte [esp + 0x10], cl
jmp 0x100214f9
mov byte [esp + 0x10], al
test ecx, ecx
je 0x1002150a
xor ecx, ecx
inc ecx
movss xmm0, dword [edi + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0x12], cl
ja 0x1002150e
mov byte [esp + 0x12], al
push edx
lea edx, [edi + 0x4718]
mov ecx, ebx
call fcn.100232b1
pop ecx
xorps xmm1, xmm1
test byte [edi + 0x46f8], 0x80
je 0x10021561
movss xmm0, dword [edi + 0x4728]
comiss xmm0, xmm1
jb 0x10021545
movss dword [ebx + 0x88], xmm0
and dword [ebx + 0x90], 0
movss xmm0, dword [edi + 0x472c]
comiss xmm0, xmm1
jb 0x10021561
movss dword [ebx + 0x8c], xmm0
and dword [ebx + 0x94], 0
test byte [edi + 0x46f8], 4
je 0x1002157e
mov eax, dword [edi + 0x4720]
mov ecx, dword [edi + 0x4724]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], ecx
jmp 0x10021592
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x34]
je 0x10021592
movss dword [ebx + 0x3c], xmm1
movss dword [ebx + 0x40], xmm1
test byte [edi + 0x46f8], 8
je 0x100215af
push dword [edi + 0x4704]
mov dl, byte [edi + 0x4730]
mov ecx, ebx
call fcn.1002337f
pop ecx
test byte [edi + 0x46f8], 0x20
je 0x100215bf
mov ecx, ebx
call fcn.10022f6d
cmp byte [ebx + 0xb0], 0
je 0x100215d5
push 0
push 8
pop edx
mov ecx, ebx
call fcn.1001f0bf
pop ecx
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x34]
je 0x10022b1c
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.1002a293
mov ecx, dword [ebx + 0x264]
call fcn.1002fcea
or dword [ebx + 0x194], 0xffffffff
cmp byte [ebx + 0x350], 0
je 0x1002165e
mov ecx, ebx
call fcn.1001cf9c
mov esi, dword [esp + 0x4c]
xor eax, eax
cmp dword [edi + 0x4924], eax
je 0x1002171b
test dword [ebx + 0xc], 0x80000
jne 0x1002171b
test esi, esi
je 0x1002171b
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 0x100216be
cmp byte [esp + 0x1b], al
je 0x100216c5
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
mov byte [esp + 0x1b], bl
mov ebx, dword [esp + 0x44]
jne 0x100216be
add ecx, 2
add edx, 2
cmp byte [esp + 0x1b], al
jne 0x1002168c
jmp 0x100216c5
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x1002171b
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 0x100216d7
sub edx, esi
lea esi, [edx + 1]
cmp ecx, esi
jae 0x100216fc
mov ecx, dword [ebx + 4]
call fcn.1001d390
mov ecx, esi
call fcn.1001d378
mov dword [esp + 0x38], esi
jmp 0x100216ff
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.1001f607
mov al, byte [ebx + 0xcc]
pop ecx
test al, al
jle 0x1002173c
dec al
mov byte [ebx + 0xcc], al
mov al, byte [ebx + 0xcd]
test al, al
jle 0x1002174e
dec al
mov byte [ebx + 0xcd], al
mov al, byte [ebx + 0xce]
test al, al
jle 0x10021760
dec al
mov byte [ebx + 0xce], al
mov cl, byte [esp + 0x10]
mov dl, byte [esp + 0x12]
test esi, esi
jne 0x1002177d
test cl, cl
je 0x10021774
test dl, dl
jne 0x1002177d
xor eax, eax
inc eax
mov byte [ebx + 0xcd], al
cmp byte [esp + 0x11], 0
je 0x100217bb
mov eax, dword [esp + 0x14]
test eax, 0x6000000
je 0x100217bb
mov byte [ebx + 0xcd], 1
test al, 0x40
je 0x100217bb
test cl, cl
jne 0x100217a6
and dword [ebx + 0x24], 0
and dword [ebx + 0x1c], 0
test dl, dl
jne 0x100217b2
and dword [ebx + 0x28], 0
and dword [ebx + 0x20], 0
xorps xmm7, xmm7
movups xmmword [ebx + 0x2c], xmm7
jmp 0x100217be
xorps xmm7, xmm7
mov eax, dword [0x10189494]
mov ecx, ebx
mov eax, dword [eax + 0x47c4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x10], eax
call fcn.1001cede
mov edx, dword [esp + 0x14]
mov esi, edx
and esi, 0x1000000
je 0x100217f2
mov eax, dword [edi + 0x37b8]
mov dword [ebx + 0x50], eax
jmp 0x10021819
test edx, 0x6000000
je 0x1002180c
test edx, 0x8000000
jne 0x1002180c
movss xmm0, dword [edi + 0x37c0]
jmp 0x10021814
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 0x10021864
test edx, 0x4010000
jne 0x10021864
movss xmm0, dword [ebx + 0x50]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x10021864
test edx, 0x400
je 0x10021857
movss xmm0, dword [edi + 0x3794]
jmp 0x1002185a
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 0x10021925
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
call fcn.1001ac32
cmp dword [edi + 0x3e4c], ebx
jne 0x100218ef
xor eax, eax
cmp dword [edi + 0x3e80], eax
jne 0x100218ef
cmp dword [edi + 0x3e84], eax
jne 0x100218ef
inc eax
lea edx, [esp + 0x70]
push eax
lea ecx, [esp + 0x6c]
call fcn.10023a27
xor edx, edx
inc edx
pop ecx
test al, al
je 0x100218f2
push 2
pop eax
cmp word [edi + 0x370a], ax
jne 0x100218f2
mov byte [ebx + 0xae], dl
jmp 0x100218f2
xor edx, edx
inc edx
cmp byte [ebx + 0xae], 0
je 0x1002192c
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.100294cb
jmp 0x1002192c
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 0x1002196a
xorps xmm2, xmm2
jmp 0x10021986
mov eax, dword [ebx]
mov ecx, ebx
movss xmm1, dword [eax + 0x37c8]
call fcn.1001ac0d
addss xmm1, xmm1
movaps xmm2, xmm0
addss xmm2, xmm1
mov ecx, ebx
call fcn.1001ac84
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.1001f730
test byte [esp + 0x18], 0x40
pop ecx
je 0x10021a02
cmp byte [ebx + 0xad], 0
jne 0x10021a02
xor eax, eax
inc eax
cmp byte [esp + 0x10], 0
jne 0x100219e3
movss xmm0, dword [esp + 0x78]
movss dword [ebx + 0x24], xmm0
mov byte [esp + 0xf], al
cmp byte [esp + 0x12], 0
jne 0x10021a92
movss xmm0, dword [esp + 0x7c]
movss dword [ebx + 0x28], xmm0
mov dword [esp + 0x30], eax
jmp 0x10021a92
mov al, byte [ebx + 0xc4]
test al, al
jg 0x10021a15
cmp byte [ebx + 0xc5], 0
jle 0x10021a92
cmp byte [esp + 0x10], 0
jne 0x10021a4a
test al, al
jle 0x10021a4a
cmp byte [ebx + 0xc7], 0
je 0x10021a36
movss xmm0, dword [ebx + 0x24]
maxss xmm0, dword [esp + 0x78]
jmp 0x10021a3c
movss xmm0, dword [esp + 0x78]
xor eax, eax
movss dword [ebx + 0x24], xmm0
inc eax
mov byte [esp + 0xf], al
jmp 0x10021a4d
xor eax, eax
inc eax
cmp byte [esp + 0x12], 0
jne 0x10021a82
cmp byte [ebx + 0xc5], 0
jle 0x10021a82
cmp byte [ebx + 0xc7], 0
je 0x10021a73
movss xmm0, dword [ebx + 0x28]
maxss xmm0, dword [esp + 0x7c]
jmp 0x10021a79
movss xmm0, dword [esp + 0x7c]
movss dword [ebx + 0x28], xmm0
mov dword [esp + 0x30], eax
cmp byte [ebx + 0xad], 0
jne 0x10021a92
mov ecx, ebx
call fcn.100294cb
lea esi, [ebx + 0x24]
mov edx, ebx
push esi
lea ecx, [esp + 0x8c]
call fcn.1001f46f
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 0x10021afa
test dword [esp + 0x14], 0x1000000
jne 0x10021afa
lea eax, [esp + 0x110]
mov ecx, ebx
push eax
call fcn.1001ac32
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 0x10021b4c
or dword [ebx + 0xc8], 0xffffffff
test ecx, 0x4000000
je 0x10021b4c
test ecx, 0x8000000
jne 0x10021b4c
cmp byte [esp + 0x13], 0
jne 0x10021b4c
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 0x10021baa
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.1002a144
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x2c]
test ecx, 0x4000000
jne 0x10021bb2
test al, al
jne 0x10021bb2
cmp edx, 0x3000000
je 0x10021bb2
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 0x10021bae
mov edx, dword [esp + 0x2c]
mov al, byte [esp + 0x13]
movss xmm1, dword [ebx + 0xd4]
ucomiss xmm1, dword [0x100b519c]
lahf
test ah, 0x44
jnp 0x10021c16
cmp byte [ebx + 0xcd], 0
jne 0x10021c16
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.10023177
pop ecx
jmp 0x10021c5a
test ecx, 0x10000000
jne 0x10021c44
test ecx, 0x4000000
je 0x10021c30
test al, al
jne 0x10021c30
cmp byte [esp + 0x27], al
jg 0x10021c44
test ecx, 0x2000000
je 0x10021c5e
test al, al
jne 0x10021c5e
cmp edx, 0x3000000
je 0x10021c5e
mov edx, ebx
lea ecx, [esp + 0x58]
call fcn.10025fce
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 0x10021d8a
test ecx, 0x1000000
jne 0x10021d8a
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x10021d8a
subss xmm1, xmm6
comiss xmm1, xmm0
jbe 0x10021d8a
mov eax, dword [0x10189494]
movss xmm0, dword [ebx + 0x20]
cmp byte [eax + 0x67], 0
je 0x10021d5b
xor eax, eax
inc eax
test byte [ebx + 0xc], al
jne 0x10021d5b
mov eax, dword [ebx]
mov ecx, ebx
movss xmm1, dword [eax + 0x37c8]
call fcn.1001ac0d
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 0x10021d72
movaps xmm3, xmm5
minss xmm3, dword [ebx + 0x18]
comiss xmm2, dword [ebx + 0x14]
ja 0x10021d80
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 0x10021dbe
movss xmm0, dword [edi + 0x37b4]
jmp 0x10021dde
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10021dd6
movss xmm0, dword [edi + 0x37bc]
jmp 0x10021dde
movss xmm0, dword [edi + 0x3798]
xor dl, dl
movss dword [ebx + 0x4c], xmm0
mov dword [esp + 0x1c], edx
cmp byte [esp + 0x11], dl
je 0x10021e4d
test ecx, 0x1000
jne 0x10021e4d
test ecx, 0x4000000
je 0x10021e08
xor eax, eax
inc eax
mov byte [esp + 0x1c], al
jmp 0x10021e1b
push 1
test ecx, 0x3000000
movzx edx, dl
pop eax
cmove edx, eax
mov dword [esp + 0x1c], edx
call fcn.10025b73
test eax, eax
je 0x10021e4d
mov edx, eax
mov ecx, ebx
call fcn.1002313b
test al, al
jne 0x10021e4d
mov byte [esp + 0x1c], al
cmp ebx, dword [ebx + 0x308]
jne 0x10021e4d
mov ecx, ebx
call fcn.10020f97
mov edx, eax
mov ecx, ebx
call fcn.10022ebb
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 [0x100b50a0]
stosd dword es:[edi], eax
mulss xmm1, dword [0x100b50f0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
movss xmm0, dword [ebx + 0x4c]
addss xmm0, dword [0x100b50ec]
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 0x10021ee5
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.1001fa06
add esp, 0x10
test al, al
je 0x10021ee5
xor eax, eax
inc eax
mov dl, al
mov ah, al
jmp 0x10021eed
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 0x10022088
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 0x10021f60
xorps xmm2, xmm2
xorps xmm1, xmm1
jmp 0x10021f7c
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 0x10021f83
movaps xmm6, xmm3
test dl, dl
jne 0x10021f8a
movaps xmm5, xmm4
mov eax, dword [esp + 0x14]
test eax, 0x4000
jne 0x10021fa6
comiss xmm1, xmm5
jbe 0x10021f9e
test al, 8
je 0x10021fa6
xor edx, edx
mov byte [esp + 0xf], dl
jmp 0x10021faf
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 0x10021ff7
cmp byte [esp + 0xf], 0
je 0x10021fd5
movss xmm3, dword [ecx + 0x37fc]
jmp 0x10021fd8
xorps xmm3, xmm3
subss xmm6, xmm3
comiss xmm2, xmm6
jbe 0x10021ff1
and eax, 0x808
cmp eax, 0x800
mov eax, dword [esp + 0x14]
je 0x10021ff7
mov byte [esp + 0xf], dl
jmp 0x10021ffe
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 0x1002202d
cmp byte [esi + 0xa9], 0
jne 0x1002202d
comiss xmm1, xmm5
jbe 0x10022027
test al, 8
jne 0x10022027
xor eax, eax
lea edx, [eax + 1]
mov byte [esi + 0xa9], dl
cmp byte [esi + 0xa8], 0
je 0x10022040
movss xmm1, dword [ecx + 0x37fc]
jmp 0x10022043
xorps xmm1, xmm1
cmp byte [esi + 0xa9], 0
je 0x10022054
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 0x100220ae
cmp dword [esp + 0x2c], 0x3000000
je 0x100220ae
mov esi, dword [esp + 0x28]
add esi, 0x210
jmp 0x100220b2
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.1001ac32
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 0x100221d5
movss xmm5, dword [esi + 0x50]
jmp 0x100221dd
movss xmm5, dword [edi + 0x37d0]
movss xmm0, dword [esi + 0x44]
movss xmm2, dword [0x100b50b8]
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 0x100222b6
movaps xmm1, xmm4
jmp 0x100222c0
movss xmm1, dword [esp + 0x64]
minss xmm1, xmm0
movss xmm2, dword [esi + 0x1e0]
comiss xmm3, xmm2
jbe 0x100222d2
movaps xmm0, xmm3
jmp 0x100222dc
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 0x10022303
movss xmm4, dword [esp + 0x64]
minss xmm4, xmm0
movss xmm0, dword [esi + 0x1e8]
comiss xmm3, xmm0
ja 0x1002231a
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 0x10022349
test ecx, 0x2000040
jne 0x10022349
mulss xmm0, dword [0x100b50c0]
jmp 0x10022359
movss xmm0, dword [edi + 0x3bb8]
mulss xmm0, dword [0x100b5144]
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.1002557a
movss xmm0, dword [0x100b519c]
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.100301ab
push 0
lea edx, [esp + 0x64]
lea ecx, [esp + 0x5c]
call fcn.1001e45f
mov eax, dword [esp + 0x18]
xor edx, edx
mov byte [esp + 0x14], dl
pop ecx
test eax, 0x1000000
je 0x100224fd
test eax, 0x4000000
jne 0x100224fd
cmp dword [esp + 0x2c], 0x3000000
je 0x100224fd
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x100224c5
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x100224c5
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 0x100224c5
comiss xmm1, dword [eax + 0x18]
jbe 0x100224c5
comiss xmm2, dword [esi + 0x14]
jbe 0x100224c5
comiss xmm3, dword [eax + 0x14]
jbe 0x100224c5
xor eax, eax
inc eax
mov byte [esp + 0xf], al
jmp 0x100224c9
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 0x100224fd
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], edx
jle 0x100224fd
cmp byte [esp + 0xf], dl
jne 0x100224fd
xor ecx, ecx
mov dword [esi + 0x264], eax
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [edi + 0x491c]
test ecx, ecx
jne 0x1002250d
mov ecx, dword [edi + 0x47c8]
cmp byte [esp + 0x1c], dl
jne 0x1002252b
test ecx, ecx
je 0x10022525
mov eax, dword [esi + 0x310]
cmp eax, dword [ecx + 0x310]
je 0x1002252b
mov byte [esp + 0x58], dl
jmp 0x10022532
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.100206d1
add esp, 0x14
cmp byte [esp + 0x10], 0
je 0x10022575
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 0x100225d2
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x100225ab
movss xmm3, dword [ebx + 0x2c]
jmp 0x100225ae
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 0x10022612
test dl, dl
je 0x100225eb
movss xmm2, dword [ebx + 0x30]
jmp 0x100225ee
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 0x100226fc
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 0x1002273a
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 [0x100b5078]
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 0x100228f0
mov dword [edi], ecx
mov dword [edi + 4], ecx
cvttss2si eax, xmm0
push ecx
mov ecx, edx
mov word [edx + 8], ax
call fcn.10037d7b
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 0x1002293e
push ecx
mov ecx, edi
call fcn.10017ead
push eax
mov ecx, edi
call fcn.1002a174
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 0x1002296b
mov eax, dword [eax + 0x198]
jmp 0x1002296d
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 0x100229a6
push ecx
mov ecx, edi
call fcn.10017ead
push eax
mov ecx, edi
call fcn.1002a174
xor ecx, ecx
mov dword [edi], ecx
lea edi, [ebx + 0x1b4]
cmp dword [edi + 4], ecx
jge 0x100229c5
push ecx
mov ecx, edi
call fcn.10017ead
push eax
mov ecx, edi
call fcn.1002a174
xor ecx, ecx
mov dword [edi], ecx
mov al, byte [ebx + 0xc4]
test al, al
jle 0x100229d9
dec al
mov byte [ebx + 0xc4], al
mov al, byte [ebx + 0xc5]
test al, al
jle 0x100229eb
dec al
mov byte [ebx + 0xc5], al
cmp byte [esp + 0x1c], 0
je 0x10022a02
mov ecx, ebx
call fcn.10022f6d
xor dl, dl
mov ecx, ebx
call fcn.10026dcd
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 0x10022a87
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.10020bca
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 [0x10189494]
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 0x10022add
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm3
jb 0x10022add
comiss xmm2, xmm6
jbe 0x10022add
comiss xmm4, xmm0
jbe 0x10022add
mov edi, ecx
jmp 0x10022adf
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 0x10022b23
mov ecx, ebx
call fcn.1001cede
xor eax, eax
lea edx, [ebx + 0x1e8]
inc eax
lea ecx, [ebx + 0x1e0]
push eax
call fcn.1001e45f
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 0x10022cc3
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x10022c2e
test cl, 0x40
jne 0x10022bee
cmp byte [ebx + 0xc4], al
jg 0x10022bee
cmp byte [ebx + 0xc5], al
jg 0x10022bee
test ecx, 0x800000
je 0x10022bb4
cmp byte [edi + 0x4804], al
je 0x10022bb4
mov ecx, dword [edi + 0x47c8]
test ecx, ecx
je 0x10022bb4
mov eax, dword [ecx + 0x314]
cmp eax, dword [ebx + 0x314]
jne 0x10022bb2
xor edx, edx
inc edx
xor eax, eax
mov cl, dl
jmp 0x10022bb9
xor eax, eax
xor edx, edx
mov cl, al
inc edx
cmp byte [edi + 0x5a8c], 0
jne 0x10022bee
test cl, cl
jne 0x10022bee
movss xmm0, dword [ebx + 0x1c0]
comiss xmm0, dword [ebx + 0x1c8]
jae 0x10022be8
movss xmm0, dword [ebx + 0x1c4]
comiss xmm0, dword [ebx + 0x1cc]
jb 0x10022bee
mov byte [ebx + 0xcc], dl
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10022c2e
cmp byte [ecx + 0xad], 0
jne 0x10022c08
cmp byte [ecx + 0xcc], 0
jle 0x10022c11
xor edx, edx
inc edx
mov byte [ebx + 0xcc], dl
cmp byte [ecx + 0xad], 0
jne 0x10022c23
cmp byte [ecx + 0xcd], 0
jle 0x10022c2e
xor ecx, ecx
inc ecx
mov byte [ebx + 0xcd], cl
jmp 0x10022c31
xor ecx, ecx
inc ecx
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x3788]
jb 0x10022c43
mov byte [ebx + 0xcc], cl
cmp byte [ebx + 0xcc], 0
jg 0x10022c64
cmp byte [ebx + 0xcd], 0
jg 0x10022c64
cmp byte [ebx + 0xce], 0
mov dl, al
jg 0x10022c66
mov cl, al
jmp 0x10022c66
mov dl, cl
mov byte [ebx + 0xb1], cl
mov cl, byte [ebx + 0xcf]
test cl, cl
jle 0x10022c85
dec cl
mov byte [ebx + 0xcf], cl
or dword [ebx + 0xc], 0xc0200
cmp byte [ebx + 0xad], 0
jne 0x10022c9b
cmp byte [ebx + 0xaa], 0
je 0x10022c9b
test dl, dl
je 0x10022cbd
cmp byte [ebx + 0xc4], 0
jg 0x10022cbd
cmp byte [ebx + 0xc5], 0
jg 0x10022cbd
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 0x10022d16
cmp byte [edi + 0x6c], 0
je 0x10022cd9
cmp dword [esp + 0x4c], 0
je 0x10022cee
cmp byte [edi + 0x6d], 0
je 0x10022d16
movsx eax, byte [edi + 0x5ae2]
cmp eax, dword [edi + 0x3e24]
jne 0x10022d16
mov al, byte [ebx + 0xc4]
test al, al
jle 0x10022d00
inc al
mov byte [ebx + 0xc4], al
mov al, byte [ebx + 0xc5]
test al, al
jle 0x10022d12
inc al
mov byte [ebx + 0xc5], al
xor al, al
jmp 0x10022d20
cmp byte [ebx + 0xaf], 0
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret