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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
push ebx
push esi
mov esi, dword [0x10183394]
mov eax, ecx
push edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], esi
call fcn.1001ea92
test eax, eax
mov dword [esp + 0x58], eax
mov ebx, eax
mov dword [esp + 0x60], eax
sete byte [esp + 0x13]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebx
mov edi, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x100209fd
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x5c]
call fcn.1001ecbf
mov ebx, eax
mov edi, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x6c], 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 + 0x3c], eax
mov eax, dword [edi + 0x238]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x18], ecx
cmp dword [esi + 0x3e24], eax
jne 0x10020a5e
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x48]
cmp byte [esi + 0x3dd5], al
je 0x10020a62
lea edx, [eax + 1]
mov eax, dword [esp + 0x60]
jmp 0x10020a7c
mov edx, dword [esp + 0x40]
mov byte [esp + 0x15], al
mov eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov dl, byte [esp + 0x15]
mov byte [eax + 0xb2], dl
mov eax, dword [esp + 0x3c]
dec eax
cmp dword [edi + 0x238], eax
setl al
mov byte [esp + 0x15], al
test ecx, 0x4000000
je 0x10020ace
imul edx, dword [esi + 0x47ac], 0x28
mov eax, dword [esp + 0x2c]
add edx, dword [esi + 0x47a8]
cmp eax, dword [edx + 4]
mov eax, dword [esp + 0x24]
setne cl
mov eax, dword [eax + 0xc0]
cmp eax, dword [edx]
setne al
or cl, al
mov al, byte [esp + 0x15]
or al, cl
mov byte [esp + 0x15], al
mov byte [ebx + 0xb0], al
test al, al
je 0x10020ae7
xor eax, eax
mov ecx, ebx
inc eax
push eax
push 8
pop edx
call fcn.1001e9e3
pop ecx
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x3c]
je 0x10020b45
push dword [esp + 0x18]
mov dl, byte [esp + 0x17]
mov ecx, ebx
call fcn.1001eb07
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
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 0x10020b4c
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
jne 0x10020b5a
xor ecx, ecx
jmp 0x10020b67
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e2c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], ecx
cmp eax, dword [esp + 0x3c]
je 0x10020b84
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x10020b8a
mov eax, dword [ebx + 0x300]
lea ecx, [ebx + 0xe4]
mov dword [esp + 0x24], eax
cmp dword [ecx], 0
jne 0x10020ba2
lea eax, [ebx + 8]
push eax
call fcn.10029cac
lea ecx, [esp + 0xbc]
mov dword [esi + 0x3e48], ebx
call fcn.100197a7
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 0x10020ca0
inc ecx
test edi, edi
je 0x10020c8c
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10020c8f
push 8
pop eax
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10029ffb
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 + 0x18]
rep movsd dword es:[edi], dword [esi]
inc dword [edx + 0x3e24]
test eax, 0x10000000
je 0x10020ccb
inc dword [edx + 0x47b8]
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x54], edx
je 0x10020ced
push dword [esp + 0x24]
mov edx, eax
mov ecx, ebx
call fcn.1002083c
mov eax, dword [esp + 0x50]
pop ecx
mov dword [ebx + 0x304], eax
mov esi, dword [0x10183394]
lea eax, [esp + 0x40]
mov edi, dword [ebx + 8]
push eax
mov dword [esp + 0x44], edi
lea ecx, [esi + 0x477c]
call fcn.10029cac
mov dword [esi + 0x469c], edi
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x469c]
mov dword [ebx + 0x344], eax
xor eax, eax
mov dword [edi + 0x3e48], eax
test esi, 0x4000000
je 0x10020d67
mov eax, dword [esp + 0x4c]
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.10029940
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
mov dword [ebx + 0xc0], eax
xor eax, eax
xor ecx, ecx
mov byte [esp + 0x17], al
inc ecx
mov byte [esp + 0x14], al
mov byte [esp + 0x16], al
test byte [edi + 0x46f8], cl
je 0x10020e22
movsx eax, byte [ebx + 0xd0]
mov ecx, dword [edi + 0x46fc]
test ecx, eax
setne byte [esp + 0x17]
test ecx, eax
je 0x10020e11
movss xmm1, dword [edi + 0x4714]
movss xmm0, dword [edi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100af79c]
jbe 0x10020e11
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 0x10020e20
push ecx
lea edx, [edi + 0x4708]
mov ecx, ebx
call fcn.10022b3b
pop ecx
xor eax, eax
test byte [edi + 0x46f8], 2
xorps xmm1, xmm1
je 0x10020e87
movsx ecx, byte [ebx + 0xd1]
mov edx, dword [edi + 0x4700]
and ecx, edx
je 0x10020e55
movss xmm0, dword [edi + 0x4718]
comiss xmm0, xmm1
jbe 0x10020e55
xor ecx, ecx
inc ecx
mov byte [esp + 0x14], cl
jmp 0x10020e60
mov byte [esp + 0x14], al
test ecx, ecx
je 0x10020e71
xor ecx, ecx
inc ecx
movss xmm0, dword [edi + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0x16], cl
ja 0x10020e75
mov byte [esp + 0x16], al
push edx
lea edx, [edi + 0x4718]
mov ecx, ebx
call fcn.10022c75
pop ecx
xorps xmm1, xmm1
test byte [edi + 0x46f8], 0x80
je 0x10020ec8
movss xmm0, dword [edi + 0x4728]
comiss xmm0, xmm1
jb 0x10020eac
movss dword [ebx + 0x88], xmm0
and dword [ebx + 0x90], 0
movss xmm0, dword [edi + 0x472c]
comiss xmm0, xmm1
jb 0x10020ec8
movss dword [ebx + 0x8c], xmm0
and dword [ebx + 0x94], 0
test byte [edi + 0x46f8], 4
je 0x10020ee5
mov eax, dword [edi + 0x4720]
mov ecx, dword [edi + 0x4724]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], ecx
jmp 0x10020ef9
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x3c]
je 0x10020ef9
movss dword [ebx + 0x3c], xmm1
movss dword [ebx + 0x40], xmm1
test byte [edi + 0x46f8], 8
je 0x10020f16
push dword [edi + 0x4704]
mov dl, byte [edi + 0x4730]
mov ecx, ebx
call fcn.10022d43
pop ecx
test byte [edi + 0x46f8], 0x20
je 0x10020f26
mov ecx, ebx
call fcn.10022931
cmp byte [ebx + 0xb0], 0
je 0x10020f3c
push 0
push 8
pop edx
mov ecx, ebx
call fcn.1001e9e3
pop ecx
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x3c]
je 0x100224e2
mov eax, esi
lea ecx, [ebx + 0xe4]
and eax, 0x3000000
mov dword [esp + 0x30], eax
mov al, byte [ebx + 0xcd]
mov byte [esp + 0x2b], 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.10029c61
mov ecx, dword [ebx + 0x264]
call fcn.1002fa28
or dword [ebx + 0x194], 0xffffffff
cmp byte [ebx + 0x350], 0
je 0x10020fc5
mov ecx, ebx
call fcn.1001c8bd
mov esi, dword [esp + 0x58]
xor eax, eax
cmp dword [edi + 0x4924], eax
je 0x10021082
test dword [ebx + 0xc], 0x80000
jne 0x10021082
test esi, esi
je 0x10021082
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x5c]
mov bl, byte [ecx]
cmp bl, byte [edx]
mov byte [esp + 0x1f], bl
mov ebx, dword [esp + 0x48]
jne 0x10021025
cmp byte [esp + 0x1f], al
je 0x1002102c
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
mov byte [esp + 0x1f], bl
mov ebx, dword [esp + 0x48]
jne 0x10021025
add ecx, 2
add edx, 2
cmp byte [esp + 0x1f], al
jne 0x10020ff3
jmp 0x1002102c
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x10021082
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x40], ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1002103e
sub edx, esi
lea esi, [edx + 1]
cmp ecx, esi
jae 0x10021063
mov ecx, dword [ebx + 4]
call fcn.1001ccbc
mov ecx, esi
call fcn.1001cca4
mov dword [esp + 0x40], esi
jmp 0x10021066
mov eax, dword [ebx + 4]
push esi
push dword [esp + 0x60]
push eax
call sub.msvcrt.dll_memcpy
mov esi, dword [esp + 0x64]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x6c], eax
lea eax, [ebx + 0x34]
mov ecx, ebx
push eax
lea edx, [ebx + 0x2c]
call fcn.1001ef2b
mov al, byte [ebx + 0xcc]
pop ecx
test al, al
jle 0x100210a3
dec al
mov byte [ebx + 0xcc], al
mov al, byte [ebx + 0xcd]
test al, al
jle 0x100210b5
dec al
mov byte [ebx + 0xcd], al
mov al, byte [ebx + 0xce]
test al, al
jle 0x100210c7
dec al
mov byte [ebx + 0xce], al
mov cl, byte [esp + 0x14]
mov dl, byte [esp + 0x16]
test esi, esi
jne 0x100210e4
test cl, cl
je 0x100210db
test dl, dl
jne 0x100210e4
xor eax, eax
inc eax
mov byte [ebx + 0xcd], al
cmp byte [esp + 0x15], 0
je 0x10021122
mov eax, dword [esp + 0x18]
test eax, 0x6000000
je 0x10021122
mov byte [ebx + 0xcd], 1
test al, 0x40
je 0x10021122
test cl, cl
jne 0x1002110d
and dword [ebx + 0x24], 0
and dword [ebx + 0x1c], 0
test dl, dl
jne 0x10021119
and dword [ebx + 0x28], 0
and dword [ebx + 0x20], 0
xorps xmm7, xmm7
movups xmmword [ebx + 0x2c], xmm7
jmp 0x10021125
xorps xmm7, xmm7
mov eax, dword [0x10183394]
mov ecx, ebx
mov eax, dword [eax + 0x47c4]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov dword [ebx + 0x10], eax
call fcn.1001c7ff
mov edx, dword [esp + 0x18]
mov esi, edx
and esi, 0x1000000
je 0x10021159
mov eax, dword [edi + 0x37b8]
mov dword [ebx + 0x50], eax
jmp 0x10021180
test edx, 0x6000000
je 0x10021173
test edx, 0x8000000
jne 0x10021173
movss xmm0, dword [edi + 0x37c0]
jmp 0x1002117b
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 0x100211cb
test edx, 0x4010000
jne 0x100211cb
movss xmm0, dword [ebx + 0x50]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x100211cb
test edx, 0x400
je 0x100211be
movss xmm0, dword [edi + 0x3794]
jmp 0x100211c1
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 + 0x13]
mov dword [esp + 0x2c], eax
test dl, 0x21
jne 0x1002128c
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.1001a52c
cmp dword [edi + 0x3e4c], ebx
jne 0x10021256
xor eax, eax
cmp dword [edi + 0x3e80], eax
jne 0x10021256
cmp dword [edi + 0x3e84], eax
jne 0x10021256
inc eax
lea edx, [esp + 0x78]
push eax
lea ecx, [esp + 0x74]
call fcn.100233eb
xor edx, edx
inc edx
pop ecx
test al, al
je 0x10021259
push 2
pop eax
cmp word [edi + 0x370a], ax
jne 0x10021259
mov byte [ebx + 0xae], dl
jmp 0x10021259
xor edx, edx
inc edx
cmp byte [ebx + 0xae], 0
je 0x10021293
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 + 0x2c]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x2c], eax
call fcn.10028e9d
jmp 0x10021293
mov byte [ebx + 0xad], 0
mov byte [ebx + 0xae], 0
xor eax, eax
movss xmm0, dword [ebx + 0xa0]
inc eax
movss dword [esp + 0x68], xmm0
movss xmm0, dword [ebx + 0xa4]
and dword [ebx + 0x54], 0
and dword [ebx + 0x5c], 0
movss dword [esp + 0x64], xmm0
test byte [ebx + 0xc], al
je 0x100212cb
xorps xmm2, xmm2
jmp 0x100212e7
mov eax, dword [ebx]
mov ecx, ebx
movss xmm1, dword [eax + 0x37c8]
call fcn.1001a507
addss xmm1, xmm1
movaps xmm2, xmm0
addss xmm2, xmm1
mov ecx, ebx
call fcn.1001a57e
addss xmm0, xmm2
mov edx, ebx
lea eax, [ebx + 0x34]
push eax
lea ecx, [esp + 0x94]
movss dword [ebx + 0x58], xmm0
and dword [ebx + 0x60], 0
movss dword [ebx + 0xa0], xmm7
movss dword [ebx + 0xa4], xmm7
call fcn.1001f054
test byte [esp + 0x1c], 0x40
pop ecx
je 0x1002136c
cmp byte [ebx + 0xad], 0
jne 0x1002136c
xor eax, eax
inc eax
cmp byte [esp + 0x14], 0
jne 0x1002134a
movss xmm0, dword [esp + 0x90]
movss dword [ebx + 0x24], xmm0
mov byte [esp + 0x13], al
cmp byte [esp + 0x16], 0
jne 0x1002140c
movss xmm0, dword [esp + 0x94]
movss dword [ebx + 0x28], xmm0
mov dword [esp + 0x2c], eax
jmp 0x1002140c
mov al, byte [ebx + 0xc4]
test al, al
jg 0x10021383
cmp byte [ebx + 0xc5], 0
jle 0x1002140c
cmp byte [esp + 0x14], 0
jne 0x100213be
test al, al
jle 0x100213be
cmp byte [ebx + 0xc7], 0
je 0x100213a7
movss xmm0, dword [ebx + 0x24]
maxss xmm0, dword [esp + 0x90]
jmp 0x100213b0
movss xmm0, dword [esp + 0x90]
xor eax, eax
movss dword [ebx + 0x24], xmm0
inc eax
mov byte [esp + 0x13], al
jmp 0x100213c1
xor eax, eax
inc eax
cmp byte [esp + 0x16], 0
jne 0x100213fc
cmp byte [ebx + 0xc5], 0
jle 0x100213fc
cmp byte [ebx + 0xc7], 0
je 0x100213ea
movss xmm0, dword [ebx + 0x28]
maxss xmm0, dword [esp + 0x94]
jmp 0x100213f3
movss xmm0, dword [esp + 0x94]
movss dword [ebx + 0x28], xmm0
mov dword [esp + 0x2c], eax
cmp byte [ebx + 0xad], 0
jne 0x1002140c
mov ecx, ebx
call fcn.10028e9d
lea esi, [ebx + 0x24]
mov edx, ebx
push esi
lea ecx, [esp + 0x50]
call fcn.1001ed93
pop ecx
mov dword [esp + 0x40], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], edx
cmp byte [ebx + 0xad], 0
je 0x1002146a
test dword [esp + 0x18], 0x1000000
jne 0x1002146a
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
call fcn.1001a52c
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x44], xmm0
jmp 0x1002147b
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], ecx
cmp byte [esp + 0x15], 0
lea ecx, [esp + 0x40]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x18]
je 0x100214d2
or dword [ebx + 0xc8], 0xffffffff
test ecx, 0x4000000
je 0x100214d2
test ecx, 0x8000000
jne 0x100214d2
cmp byte [esp + 0x17], 0
jne 0x100214d2
imul edx, dword [edi + 0x47ac], 0x28
mov eax, dword [edi + 0x47b4]
mov ecx, dword [edx + eax - 0x10]
mov eax, dword [edx + eax - 0xc]
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x18], eax
test ecx, 0x1000000
je 0x10021530
mov esi, dword [esp + 0x24]
lea ecx, [esi + 0x180]
mov ax, word [ecx]
mov word [ebx + 0xba], ax
lea eax, [esp + 0x34]
push eax
call fcn.10029b12
mov ecx, dword [esp + 0x18]
mov al, byte [esp + 0x17]
mov edx, dword [esp + 0x30]
test ecx, 0x4000000
jne 0x10021538
test al, al
jne 0x10021538
cmp edx, 0x3000000
je 0x10021538
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0xf0]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x18]
jmp 0x10021534
mov edx, dword [esp + 0x30]
mov al, byte [esp + 0x17]
movss xmm1, dword [ebx + 0xd4]
ucomiss xmm1, dword [0x100af8b4]
lahf
test ah, 0x44
jnp 0x1002159c
cmp byte [ebx + 0xcd], 0
jne 0x1002159c
movss xmm0, dword [ebx + 0x1c]
lea edx, [esp + 0x34]
mulss xmm0, dword [ebx + 0xdc]
mov ecx, ebx
push 0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0xd8]
movss dword [esp + 0x38], xmm1
movss xmm1, dword [ebx + 0x20]
mulss xmm1, dword [ebx + 0xe0]
subss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
call fcn.10022b3b
pop ecx
jmp 0x100215e0
test ecx, 0x10000000
jne 0x100215ca
test ecx, 0x4000000
je 0x100215b6
test al, al
jne 0x100215b6
cmp byte [esp + 0x2b], al
jg 0x100215ca
test ecx, 0x2000000
je 0x100215e4
test al, al
jne 0x100215e4
cmp edx, 0x3000000
je 0x100215e4
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.100259ef
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], eax
mov ecx, dword [esp + 0x18]
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x6c]
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 + 0x80], xmm0
addss xmm1, dword [eax + 0x10]
subss xmm5, xmm3
movss dword [esp + 0x84], xmm6
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [esp + 0x88], xmm4
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0xa4], xmm5
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0xa0], xmm7
movss dword [esp + 0x98], xmm2
jne 0x1002171c
test ecx, 0x1000000
jne 0x1002171c
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x1002171c
subss xmm1, xmm6
comiss xmm1, xmm0
jbe 0x1002171c
mov eax, dword [0x10183394]
movss xmm0, dword [ebx + 0x20]
cmp byte [eax + 0x67], 0
je 0x100216ed
xor eax, eax
inc eax
test byte [ebx + 0xc], al
jne 0x100216ed
mov eax, dword [ebx]
mov ecx, ebx
movss xmm1, dword [eax + 0x37c8]
call fcn.1001a507
mov ecx, dword [esp + 0x18]
addss xmm1, xmm1
addss xmm0, xmm1
subss xmm2, dword [ebx + 0x1c]
subss xmm3, xmm0
comiss xmm3, dword [ebx + 0x18]
ja 0x10021704
movaps xmm3, xmm5
minss xmm3, dword [ebx + 0x18]
comiss xmm2, dword [ebx + 0x14]
ja 0x10021712
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 0x10021750
movss xmm0, dword [edi + 0x37b4]
jmp 0x10021770
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10021768
movss xmm0, dword [edi + 0x37bc]
jmp 0x10021770
movss xmm0, dword [edi + 0x3798]
xor dl, dl
movss dword [ebx + 0x4c], xmm0
mov dword [esp + 0x4c], edx
cmp byte [esp + 0x15], dl
je 0x100217df
test ecx, 0x1000
jne 0x100217df
test ecx, 0x4000000
je 0x1002179a
xor eax, eax
inc eax
mov byte [esp + 0x4c], al
jmp 0x100217ad
push 1
test ecx, 0x3000000
movzx edx, dl
pop eax
cmove edx, eax
mov dword [esp + 0x4c], edx
call fcn.1002558a
test eax, eax
je 0x100217df
mov edx, eax
mov ecx, ebx
call fcn.10022aff
test al, al
jne 0x100217df
mov byte [esp + 0x4c], al
cmp ebx, dword [ebx + 0x308]
jne 0x100217df
mov ecx, ebx
call fcn.100208cc
mov edx, eax
mov ecx, ebx
call fcn.1002287f
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0xa8]
or dword [esp + 0x60], 0xffffffff
xor eax, eax
stosd dword es:[edi], eax
mov esi, dword [esp + 0x48]
movss xmm2, dword [ecx + 0x3bb8]
movaps xmm1, xmm2
mulss xmm2, dword [0x100af7b8]
stosd dword es:[edi], eax
mulss xmm1, dword [0x100af808]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
movss xmm0, dword [ebx + 0x4c]
addss xmm0, dword [0x100af804]
cmp byte [ecx + 0x66], al
setne al
inc eax
cmp byte [esi + 0xad], 0
addss xmm0, xmm2
mov dword [esp + 0x40], eax
maxss xmm1, xmm0
cvttss2si ebx, xmm1
jne 0x10021879
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0xac]
push ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
lea edx, [esp + 0xa0]
call fcn.1001f32a
add esp, 0x10
test al, al
je 0x10021879
xor eax, eax
inc eax
mov dl, al
mov byte [esp + 0x13], al
jmp 0x1002187d
mov edx, dword [esp + 0x2c]
mov al, byte [esp + 0x60]
mov byte [esi + 0xb5], al
cmp byte [esi + 0xad], 0
jne 0x10021a32
cmp dword [esp + 0x58], 0
lea eax, [esp + 0x34]
movss xmm0, dword [esi + 0x60]
movss xmm2, dword [esi + 0x1d8]
movss xmm3, dword [esi + 0x1dc]
addss xmm0, dword [esi + 0x58]
subss xmm2, dword [esi + 0x1d0]
subss xmm3, dword [esi + 0x1d4]
movss xmm4, dword [esi + 0x28]
movss xmm5, dword [esi + 0x24]
subss xmm4, xmm0
addss xmm2, dword [esp + 0x68]
addss xmm3, dword [esp + 0x64]
jne 0x100218ef
and dword [esp + 0x34], 0
and dword [esp + 0x38], 0
jmp 0x10021917
movss xmm0, dword [esi + 0x44]
movss xmm1, dword [esi + 0x48]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [esi + 0x2c]
addss xmm1, dword [esi + 0x30]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm1
cmp byte [esp + 0x13], 0
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
jne 0x1002192a
movaps xmm5, xmm2
test dl, dl
jne 0x10021931
movaps xmm4, xmm3
mov eax, dword [esp + 0x18]
test eax, 0x4000
jne 0x1002194d
comiss xmm1, xmm4
jbe 0x10021945
test al, 8
je 0x1002194d
xor edx, edx
mov byte [esp + 0x13], dl
jmp 0x10021956
xor edx, edx
inc edx
mov byte [esp + 0x13], dl
xor edx, edx
mov cl, byte [esp + 0x13]
mov byte [esi + 0xa9], cl
mov ecx, dword [esp + 0x20]
test eax, 0x8000
jne 0x1002199e
cmp byte [esp + 0x13], 0
je 0x1002197c
movss xmm0, dword [ecx + 0x37fc]
jmp 0x1002197f
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x10021998
and eax, 0x808
cmp eax, 0x800
mov eax, dword [esp + 0x18]
je 0x1002199e
mov byte [esp + 0x13], dl
jmp 0x100219a5
xor ecx, ecx
inc ecx
mov byte [esp + 0x13], cl
mov cl, byte [esp + 0x13]
mov byte [esi + 0xa8], cl
test cl, cl
mov ecx, dword [esp + 0x20]
je 0x100219d4
cmp byte [esi + 0xa9], 0
jne 0x100219d4
comiss xmm1, xmm4
jbe 0x100219ce
test al, 8
jne 0x100219ce
xor eax, eax
lea edx, [eax + 1]
mov byte [esi + 0xa9], dl
cmp byte [esi + 0xa8], 0
xorps xmm0, xmm0
je 0x100219ea
movss xmm1, dword [ecx + 0x37fc]
jmp 0x100219ed
xorps xmm1, xmm1
cmp byte [esi + 0xa9], 0
je 0x100219fe
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 + 0x18]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10021a58
cmp dword [esp + 0x30], 0x3000000
je 0x10021a58
mov esi, dword [esp + 0x24]
add esi, 0x210
jmp 0x10021a5f
lea esi, [esp + 0x80]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x80]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
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.1001a52c
movss dword [esi + 0x1c0], xmm4
addss xmm2, xmm4
movss dword [esi + 0x1c4], xmm5
addss xmm3, xmm5
mov ecx, dword [esp + 0x18]
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 + 0x70]
movss xmm4, dword [esp + 0x74]
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 + 0x7c]
minss xmm1, dword [esp + 0x78]
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 0x10021b85
movss xmm5, dword [esi + 0x50]
jmp 0x10021b8d
movss xmm5, dword [edi + 0x37d0]
movss xmm0, dword [esi + 0x44]
movss xmm2, dword [0x100af7d0]
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 0x10021c66
movaps xmm1, xmm4
jmp 0x10021c70
movss xmm1, dword [esp + 0x7c]
minss xmm1, xmm0
movss xmm2, dword [esi + 0x1e0]
comiss xmm3, xmm2
jbe 0x10021c82
movaps xmm0, xmm3
jmp 0x10021c8c
movss xmm0, dword [esp + 0x78]
minss xmm0, xmm2
movss dword [esi + 0x1e0], xmm0
movss dword [esi + 0x1e4], xmm1
movss xmm0, dword [esi + 0x1ec]
comiss xmm4, xmm0
ja 0x10021cb3
movss xmm4, dword [esp + 0x7c]
minss xmm4, xmm0
movss xmm0, dword [esi + 0x1e8]
comiss xmm3, xmm0
ja 0x10021cca
movss xmm3, dword [esp + 0x78]
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 0x10021cf9
test ecx, 0x2000040
jne 0x10021cf9
mulss xmm0, dword [0x100af7d8]
jmp 0x10021d09
movss xmm0, dword [edi + 0x3bb8]
mulss xmm0, dword [0x100af85c]
cvttss2si eax, xmm0
mov edx, esi
lea ecx, [esp + 0x34]
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.10024f87
movss xmm0, dword [0x100af8b4]
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.1002fef4
push 0
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x74]
call fcn.1001dd83
mov eax, dword [esp + 0x1c]
xor edx, edx
mov byte [esp + 0x18], dl
pop ecx
test eax, 0x1000000
je 0x10021eaa
test eax, 0x4000000
jne 0x10021eaa
cmp dword [esp + 0x30], 0x3000000
je 0x10021eaa
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x10021e72
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x10021e72
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 0x10021e72
comiss xmm1, dword [eax + 0x18]
jbe 0x10021e72
comiss xmm2, dword [esi + 0x14]
jbe 0x10021e72
comiss xmm3, dword [eax + 0x14]
jbe 0x10021e72
xor eax, eax
inc eax
mov byte [esp + 0x13], al
jmp 0x10021e76
mov byte [esp + 0x13], dl
mov eax, dword [esi + 0x264]
imul ecx, dword [eax], 0x30
mov eax, dword [eax + 8]
cmp dword [eax + ecx - 0x10], edx
jne 0x10021eaa
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], edx
jle 0x10021eaa
cmp byte [esp + 0x13], dl
jne 0x10021eaa
xor ecx, ecx
mov dword [esi + 0x264], eax
inc ecx
mov byte [esp + 0x14], cl
mov ecx, dword [edi + 0x491c]
test ecx, ecx
jne 0x10021eba
mov ecx, dword [edi + 0x47c8]
cmp byte [esp + 0x4c], dl
jne 0x10021ed8
test ecx, ecx
je 0x10021ed2
mov eax, dword [esi + 0x310]
cmp eax, dword [ecx + 0x310]
je 0x10021ed8
mov byte [esp + 0x34], dl
jmp 0x10021edf
xor eax, eax
inc eax
mov byte [esp + 0x34], al
movd xmm0, ebx
lea eax, [esp + 0xa8]
mov ebx, dword [esp + 0x48]
lea edx, [esp + 0x80]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [esp + 0x48]
push ecx
push dword [esp + 0x44]
mov ecx, ebx
call fcn.1001fff6
add esp, 0x14
cmp byte [esp + 0x14], 0
je 0x10021f25
lea eax, [ebx + 0x268]
mov dword [ebx + 0x264], eax
mov ecx, dword [esp + 0x18]
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 0x10021f82
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x10021f5b
movss xmm3, dword [ebx + 0x2c]
jmp 0x10021f5e
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 0x10021fc2
test dl, dl
je 0x10021f9b
movss xmm2, dword [ebx + 0x30]
jmp 0x10021f9e
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 0x100220ac
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 0x100220ea
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 [0x100af790]
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 + 0x15], cl
je 0x100222a0
mov dword [edi], ecx
mov dword [edi + 4], ecx
cvttss2si eax, xmm0
push ecx
mov ecx, edx
mov word [edx + 8], ax
call fcn.10037a8b
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 0x100222ee
push ecx
mov ecx, edi
call fcn.100177a6
push eax
mov ecx, edi
call fcn.10029b42
xor ecx, ecx
mov dword [edi], ecx
lea eax, [ebx + 0x244]
mov dword [ebx + 0x18c], eax
xor edx, edx
mov eax, dword [esp + 0x24]
inc edx
mov dword [ebx + 0x190], ecx
mov dword [ebx + 0x198], edx
test eax, eax
je 0x1002231b
mov eax, dword [eax + 0x198]
jmp 0x1002231d
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 0x10022356
push ecx
mov ecx, edi
call fcn.100177a6
push eax
mov ecx, edi
call fcn.10029b42
xor ecx, ecx
mov dword [edi], ecx
lea edi, [ebx + 0x1b4]
cmp dword [edi + 4], ecx
jge 0x10022375
push ecx
mov ecx, edi
call fcn.100177a6
push eax
mov ecx, edi
call fcn.10029b42
xor ecx, ecx
mov dword [edi], ecx
mov al, byte [ebx + 0xc4]
test al, al
jle 0x10022389
dec al
mov byte [ebx + 0xc4], al
mov al, byte [ebx + 0xc5]
test al, al
jle 0x1002239b
dec al
mov byte [ebx + 0xc5], al
cmp byte [esp + 0x4c], 0
je 0x100223b2
mov ecx, ebx
call fcn.10022931
xor dl, dl
mov ecx, ebx
call fcn.100267dc
movss xmm4, dword [esp + 0x8c]
xor ecx, ecx
movss xmm2, dword [esp + 0x88]
inc ecx
movss xmm3, dword [esp + 0x84]
movss xmm5, dword [esp + 0x80]
test byte [esp + 0x18], cl
jne 0x10022447
movss xmm0, dword [ebx + 0x50]
lea edx, [esp + 0x70]
addss xmm0, xmm5
movss dword [esp + 0x74], xmm3
push ecx
push dword [esp + 0x60]
mov ecx, ebx
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm2
subss xmm0, dword [ebx + 0x50]
movss dword [esp + 0x80], xmm0
call fcn.100204ef
movss xmm2, dword [esp + 0x90]
movss xmm3, dword [esp + 0x8c]
movss xmm4, dword [esp + 0x94]
movss xmm5, dword [esp + 0x88]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
mov edx, dword [0x10183394]
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 0x1002249d
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm3
jb 0x1002249d
comiss xmm2, xmm6
jbe 0x1002249d
comiss xmm4, xmm0
jbe 0x1002249d
mov edi, ecx
jmp 0x1002249f
xor edi, edi
mov ecx, dword [esi + 0x46a0]
lea esi, [esp + 0x80]
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 + 0x80]
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 0x100224e9
mov ecx, ebx
call fcn.1001c7ff
xor eax, eax
lea edx, [ebx + 0x1e8]
inc eax
lea ecx, [ebx + 0x1e0]
push eax
call fcn.1001dd83
mov edx, dword [esp + 0x40]
xor eax, eax
mov byte [ebx + 0xac], al
inc word [ebx + 0xb6]
pop ecx
mov dword [edi + 0x46f8], eax
cmp dword [esp + 0x54], edx
je 0x10022689
mov ecx, dword [esp + 0x18]
test ecx, 0x1000000
je 0x100225f4
test cl, 0x40
jne 0x100225b4
cmp byte [ebx + 0xc4], al
jg 0x100225b4
cmp byte [ebx + 0xc5], al
jg 0x100225b4
test ecx, 0x800000
je 0x1002257a
cmp byte [edi + 0x4804], al
je 0x1002257a
mov ecx, dword [edi + 0x47c8]
test ecx, ecx
je 0x1002257a
mov eax, dword [ecx + 0x314]
cmp eax, dword [ebx + 0x314]
jne 0x10022578
xor edx, edx
inc edx
xor eax, eax
mov cl, dl
jmp 0x1002257f
xor eax, eax
xor edx, edx
mov cl, al
inc edx
cmp byte [edi + 0x5a8c], 0
jne 0x100225b4
test cl, cl
jne 0x100225b4
movss xmm0, dword [ebx + 0x1c0]
comiss xmm0, dword [ebx + 0x1c8]
jae 0x100225ae
movss xmm0, dword [ebx + 0x1c4]
comiss xmm0, dword [ebx + 0x1cc]
jb 0x100225b4
mov byte [ebx + 0xcc], dl
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x100225f4
cmp byte [ecx + 0xad], 0
jne 0x100225ce
cmp byte [ecx + 0xcc], 0
jle 0x100225d7
xor edx, edx
inc edx
mov byte [ebx + 0xcc], dl
cmp byte [ecx + 0xad], 0
jne 0x100225e9
cmp byte [ecx + 0xcd], 0
jle 0x100225f4
xor ecx, ecx
inc ecx
mov byte [ebx + 0xcd], cl
jmp 0x100225f7
xor ecx, ecx
inc ecx
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x3788]
jb 0x10022609
mov byte [ebx + 0xcc], cl
cmp byte [ebx + 0xcc], 0
jg 0x1002262a
cmp byte [ebx + 0xcd], 0
jg 0x1002262a
cmp byte [ebx + 0xce], 0
mov dl, al
jg 0x1002262c
mov cl, al
jmp 0x1002262c
mov dl, cl
mov byte [ebx + 0xb1], cl
mov cl, byte [ebx + 0xcf]
test cl, cl
jle 0x1002264b
dec cl
mov byte [ebx + 0xcf], cl
or dword [ebx + 0xc], 0xc0200
cmp byte [ebx + 0xad], 0
jne 0x10022661
cmp byte [ebx + 0xaa], 0
je 0x10022661
test dl, dl
je 0x10022683
cmp byte [ebx + 0xc4], 0
jg 0x10022683
cmp byte [ebx + 0xc5], 0
jg 0x10022683
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 0x100226dc
cmp byte [edi + 0x6c], 0
je 0x1002269f
cmp dword [esp + 0x58], 0
je 0x100226b4
cmp byte [edi + 0x6d], 0
je 0x100226dc
movsx eax, byte [edi + 0x5ae2]
cmp eax, dword [edi + 0x3e24]
jne 0x100226dc
mov al, byte [ebx + 0xc4]
test al, al
jle 0x100226c6
inc al
mov byte [ebx + 0xc4], al
mov al, byte [ebx + 0xc5]
test al, al
jle 0x100226d8
inc al
mov byte [ebx + 0xc5], al
xor al, al
jmp 0x100226e6
cmp byte [ebx + 0xaf], 0
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret