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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x100fc068]
xor eax, esp
mov dword [esp + 0x164], eax
mov eax, dword [ebp + 8]
or edx, 0xffffffff
push esi
mov esi, dword [0x10104944]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], esi
push edi
lea edi, [ecx + 1]
test al, al
je 0x1004f97b
or esi, 0xffffffff
cmp al, 0x23
jne 0x1004f95e
cmp byte [edi], al
jne 0x1004f95e
cmp byte [edi + 1], al
cmove edx, esi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [edi]
inc edi
xor edx, dword [ecx*4 + 0x100e9d90]
test al, al
jne 0x1004f950
mov esi, dword [esp + 0x24]
not edx
mov ecx, edx
call fcn.1004d410
mov edi, eax
mov dword [esp + 0x30], eax
test edi, edi
sete byte [esp + 0xa]
test eax, eax
jne 0x1004f9a4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
call fcn.1004d5a0
mov edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and ecx, 0xc0200
mov edx, eax
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3dc8]
cmovne edx, eax
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x3e04], 0
mov eax, dword [edi + 0x21c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x50], eax
jne 0x1004f9ec
cmp byte [esi + 0x3dd5], 0
je 0x1004f9ec
mov al, 1
jmp 0x1004f9ee
xor al, al
mov byte [edi + 0x96], al
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
setl ch
mov byte [esp + 0x1b], ch
test edx, 0x4000000
je 0x1004fa42
mov eax, dword [esi + 0x4778]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x4774]
mov eax, dword [edi + 0xa4]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
setne al
or cl, al
or ch, cl
mov byte [esp + 0x1b], ch
mov byte [edi + 0x94], ch
test ch, ch
je 0x1004fa61
or byte [edi + 0xb4], 8
or byte [edi + 0xb5], 8
or byte [edi + 0xb6], 8
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
je 0x1004fabe
push edx
mov dl, byte [esp + 0xe]
mov ecx, edi
call fcn.1004d470
mov eax, dword [esp + 0x58]
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [edi + 0x21c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x3dc0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x9e], ax
movss dword [edi + 0x220], xmm0
movzx eax, word [esi + 0x3e1c]
inc dword [esi + 0x3e1c]
mov word [edi + 0xa0], ax
jmp 0x1004fac5
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3e04]
test eax, eax
je 0x1004fadc
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e0c]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
cmp ecx, dword [esp + 0x54]
je 0x1004fafe
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x40], ecx
jmp 0x1004fb08
mov eax, dword [edi + 0x2dc]
mov dword [esp + 0x40], eax
cmp dword [edi + 0xc8], 0
lea eax, [edi + 0xc8]
jne 0x1004fb3d
cmp dword [eax + 4], 0
jne 0x1004fb2c
push 8
mov ecx, eax
call fcn.1005ae20
lea eax, [edi + 0xc8]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc8]
push 0x3c
lea eax, [esp + 0xc8]
mov dword [esi + 0x3e28], edi
push 0
push eax
call fcn.10094410
mov ecx, dword [0x10104944]
lea edx, [esi + 0x3e04]
mov eax, dword [esi + 0x46c0]
xorps xmm0, xmm0
mov dword [esp + 0x108], eax
add esp, 0xc
movups xmmword [esp + 0x100], xmm0
mov eax, dword [ecx + 0x3e28]
movups xmm0, xmmword [esi + 0x4688]
mov word [esp + 0x110], 0
mov dword [esp + 0xc0], edi
movzx eax, word [eax + 0xc8]
mov word [esp + 0x100], ax
movzx eax, word [ecx + 0x4724]
mov word [esp + 0x102], ax
movzx eax, word [ecx + 0x4730]
mov word [esp + 0x104], ax
movzx eax, word [ecx + 0x473c]
mov word [esp + 0x106], ax
movzx eax, word [ecx + 0x4748]
mov word [esp + 0x108], ax
movzx eax, word [ecx + 0x4760]
movups xmmword [esp + 0xc4], xmm0
mov word [esp + 0x10a], ax
movups xmm0, xmmword [esi + 0x4698]
movzx eax, word [ecx + 0x4754]
mov word [esp + 0x10c], ax
movzx eax, word [ecx + 0x4778]
movups xmmword [esp + 0xd4], xmm0
mov word [esp + 0x10e], ax
movups xmm0, xmmword [esi + 0x46a8]
movzx eax, word [ecx + 0x5998]
mov ecx, dword [edx]
movups xmmword [esp + 0xe4], xmm0
mov word [esp + 0x110], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x46b8]
movq qword [esp + 0xf4], xmm0
mov dword [esp + 0x124], eax
cmp ecx, eax
jne 0x1004fc98
inc ecx
test eax, eax
je 0x1004fc80
cdq
sub eax, edx
lea edx, [esi + 0x3e04]
sar eax, 1
add eax, dword [esp + 0x124]
jmp 0x1004fc85
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1005b480
lea edx, [esi + 0x3e04]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [esp + 0xc0]
mov eax, dword [esp + 0x110]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xf0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0x100]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
mov ecx, dword [esp + 0x14]
mov eax, ecx
inc dword [edx]
and eax, 0x10000000
mov dword [esp + 0x38], eax
je 0x1004fcfc
inc dword [esi + 0x4784]
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
je 0x1004fdb1
mov edx, dword [esp + 0x40]
mov dword [edi + 0x2dc], edx
mov dword [edi + 0x2f0], edi
mov dword [edi + 0x2ec], edi
mov dword [edi + 0x2e8], edi
mov dword [edi + 0x2e4], edi
test edx, edx
je 0x1004fd7a
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1004fd4a
mov eax, dword [edx + 0x2e4]
mov dword [edi + 0x2e4], eax
test ecx, 0x4000000
je 0x1004fd5e
mov eax, dword [edx + 0x2e8]
mov dword [edi + 0x2e8], eax
test ecx, 0x8000000
jne 0x1004fd7a
test ecx, 0x5000000
je 0x1004fd7a
mov eax, dword [edx + 0x2ec]
mov dword [edi + 0x2ec], eax
test dword [edi + 8], 0x800000
je 0x1004fda7
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x2dc]
mov ecx, eax
mov dword [edi + 0x2f0], eax
test dword [ecx + 8], 0x800000
jne 0x1004fd90
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x2e0], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [0x10104944]
mov ecx, dword [eax + 0x474c]
lea edx, [eax + 0x4748]
mov dword [esp + 0x124], eax
mov dword [esp + 0x20], edx
cmp dword [edx], ecx
jne 0x1004fe04
test ecx, ecx
je 0x1004fdeb
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x1004fdf0
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1005ae20
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], esi
mov ecx, esi
mov eax, dword [esp + 0x124]
inc dword [edx]
mov esi, dword [esp + 0x24]
mov dword [eax + 0x4668], ecx
mov eax, dword [esi + 0x4668]
mov dword [edi + 0x320], eax
mov eax, dword [esp + 0x14]
and eax, 0x4000000
mov dword [esi + 0x3e28], 0
mov dword [esp + 0x28], eax
je 0x1004ff0f
mov eax, dword [esi + 0x4778]
lea edx, [esi + 0x4778]
mov dword [esp + 0xc], edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4774]
mov dword [esp + 0x20], eax
mov esi, eax
mov dword [esp + 0x2c], ecx
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x12c]
mov dword [esi + ecx*8 + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x124], eax
cmp ecx, eax
jne 0x1004fec8
inc ecx
test eax, eax
je 0x1004feb0
cdq
sub eax, edx
lea edx, [esi + 0x4778]
sar eax, 1
add eax, dword [esp + 0x124]
jmp 0x1004feb5
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1005b400
lea edx, [esi + 0x4778]
mov eax, dword [edx]
mov esi, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x20]
movups xmm0, xmmword [edx + esi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [edx + esi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [edx + esi*8 + 0x20]
mov edx, dword [esp + 0xc]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
inc dword [edx]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0xa4], eax
test byte [esi + 0x46c4], 1
mov byte [esp + 0x13], 0
mov byte [esp + 0xb], 0
mov byte [esp + 0x12], 0
je 0x1004ffc9
mov dl, byte [edi + 0xb4]
mov ecx, dword [esi + 0x46c8]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x1004ffb8
movss xmm1, dword [esi + 0x46e0]
movss xmm0, dword [esi + 0x46dc]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100f19e8]
jbe 0x1004ffb8
mov eax, dword [esi + 0x46d4]
mov ecx, dword [esi + 0x46d8]
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [esi + 0x46dc]
mov ecx, dword [esi + 0x46e0]
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xc0], eax
mov eax, dword [edi + 0xb4]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xb4], ecx
jmp 0x1004ffc9
push ecx
lea edx, [esi + 0x46d4]
mov ecx, edi
call fcn.10052820
add esp, 4
test byte [esi + 0x46c4], 2
xorps xmm1, xmm1
je 0x1005002a
movsx eax, byte [edi + 0xb5]
lea edx, [esi + 0x46e4]
mov ecx, dword [esi + 0x46cc]
and eax, ecx
je 0x1004fffc
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x1004fffc
mov byte [esp + 0xb], 1
jmp 0x10050005
mov byte [esp + 0xb], 0
test eax, eax
je 0x10050017
movss xmm0, dword [esi + 0x46e8]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x1005001c
mov byte [esp + 0x12], 0
push ecx
mov ecx, edi
call fcn.10052980
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46c4], 0x80
je 0x10050065
movss xmm0, dword [esi + 0x46f4]
comiss xmm0, xmm1
jb 0x1005004c
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
movss xmm0, dword [esi + 0x46f8]
comiss xmm0, xmm1
jb 0x10050065
movss dword [edi + 0x70], xmm0
mov dword [edi + 0x78], 0
test byte [esi + 0x46c4], 4
je 0x10050082
mov eax, dword [esi + 0x46ec]
mov ecx, dword [esi + 0x46f0]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
jmp 0x1005009a
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
je 0x1005009a
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
test byte [esi + 0x46c4], 8
je 0x100500e7
mov ecx, dword [esi + 0x46d0]
mov dl, byte [esi + 0x46fc]
test ecx, ecx
je 0x100500be
movsx eax, byte [edi + 0xb6]
test ecx, eax
je 0x100500e7
movzx ecx, byte [edi + 0xb6]
mov eax, dword [edi + 0xb4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0x91], dl
mov dword [edi + 0xb4], ecx
test byte [esi + 0x46c4], 0x20
je 0x100500f7
mov ecx, edi
call fcn.10052290
cmp byte [edi + 0x94], 0
je 0x10050115
and byte [edi + 0xb4], 0xf7
and byte [edi + 0xb5], 0xf7
and byte [edi + 0xb6], 0xf7
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
je 0x10051d36
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0xc8]
and eax, 0x3000000
mov byte [edi + 0x8e], 1
mov byte [edi + 0x98], 0
mov dword [esp + 0x4c], eax
mov al, byte [edi + 0xb1]
mov dword [edi + 0x1f4], 0xff7fffff
mov dword [edi + 0x1f8], 0xff7fffff
mov dword [edi + 0x1fc], 0x7f7fffff
mov byte [esp + 0x37], al
mov dword [edi + 0x200], 0x7f7fffff
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
cmp eax, 1
jge 0x100501ae
test eax, eax
je 0x10050193
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0xc]
jmp 0x10050198
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.1005ae20
lea ecx, [edi + 0xc8]
mov dword [ecx], 1
mov ecx, dword [edi + 0x248]
call fcn.10062e80
cmp byte [edi + 0x32c], 0
mov dword [edi + 0x178], 0xffffffff
je 0x10050215
mov ecx, dword [edi + 0x248]
push dword [edi + 0x324]
add ecx, 0xc
mov byte [edi + 0x32c], 0
call fcn.10031e20
mov ecx, dword [edi + 0x248]
push dword [edi + 0x328]
add ecx, 0x18
call fcn.1005b0d0
mov dword [edi + 0x328], 0
mov dword [edi + 0x324], 0
cmp dword [esi + 0x48f4], 0
je 0x100502f7
test dword [edi + 8], 0x80000
jne 0x100502f7
cmp dword [esp + 0x30], 0
je 0x100502f7
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10050266
test dl, dl
je 0x10050262
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10050266
add eax, 2
add ecx, 2
test dl, dl
jne 0x10050246
xor eax, eax
jmp 0x1005026b
sbb eax, eax
or eax, 1
test eax, eax
je 0x100502f7
mov ecx, dword [esp + 0x5c]
mov edx, dword [edi + 0x50]
mov dword [esp + 0x2c], edx
lea eax, [ecx + 1]
mov dword [esp + 0xc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10050285
sub ecx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
cmp edx, eax
jae 0x100502e0
test ecx, ecx
je 0x100502b2
mov eax, dword [0x10104944]
test eax, eax
je 0x100502b2
dec dword [eax + 0xb0]
push ecx
call fcn.1009ac6c
mov eax, dword [0x10104944]
add esp, 4
test eax, eax
je 0x100502ca
inc dword [eax + 0xb0]
push dword [esp + 0x1c]
call fcn.1009d0ac
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
push eax
push dword [esp + 0x60]
push ecx
call fcn.10092810
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x50], eax
lea eax, [edi + 0x30]
mov ecx, edi
lea edx, [edi + 0x28]
push eax
call fcn.1004db20
mov al, byte [edi + 0xb0]
add esp, 4
test al, al
jle 0x1005031a
dec al
mov byte [edi + 0xb0], al
mov al, byte [edi + 0xb1]
test al, al
jle 0x1005032c
dec al
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xb2]
test al, al
jle 0x1005033e
dec al
mov byte [edi + 0xb2], al
cmp dword [esp + 0x30], 0
mov al, byte [esp + 0xb]
mov dl, byte [esp + 0x12]
jne 0x1005035c
test al, al
je 0x10050355
test dl, dl
jne 0x1005035c
mov byte [edi + 0xb1], 1
cmp byte [esp + 0x1b], 0
mov ecx, dword [esp + 0x14]
je 0x100503bb
test ecx, 0x6000000
je 0x100503bb
mov byte [edi + 0xb1], 1
test cl, 0x40
je 0x100503bb
test al, al
jne 0x1005038d
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
test dl, dl
jne 0x1005039f
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov edx, dword [0x10104944]
mov eax, dword [edx + 0x4790]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov dword [esp + 0xc], eax
mov dword [edx + 0x3e28], edi
mov eax, dword [edi + 0x178]
cmp eax, 0xffffffff
je 0x100503ef
imul eax, eax, 0x1d8
add eax, dword [edx + 0x49d8]
jmp 0x100503f1
xor eax, eax
movss xmm0, dword [edx + 0x3bb8]
mov dword [edx + 0x49bc], eax
mov eax, dword [edi + 0x2dc]
mulss xmm0, dword [edi + 0x240]
test eax, eax
je 0x10050419
mulss xmm0, dword [eax + 0x240]
mov eax, ecx
movss dword [edx + 0x3bc8], xmm0
and eax, 0x1000000
movss dword [edx + 0x3bb4], xmm0
mov dword [esp + 0x20], eax
je 0x10050440
movss xmm0, dword [esi + 0x37c8]
jmp 0x10050462
test ecx, 0x6000000
je 0x1005045a
test ecx, 0x8000000
jne 0x1005045a
movss xmm0, dword [esi + 0x37d0]
jmp 0x10050462
movss xmm0, dword [esi + 0x37ac]
movss dword [edi + 0x4c], xmm0
xorps xmm6, xmm6
mov eax, dword [esi + 0x37a0]
mov ecx, dword [esi + 0x37a4]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x100504b8
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x100504b8
test ecx, 0x400
je 0x100504a9
movss xmm0, dword [esi + 0x37a4]
jmp 0x100504ac
xorps xmm0, xmm0
mov dword [edi + 0x40], 0
movss dword [edi + 0x44], xmm0
movss xmm0, dword [edi + 0x40]
maxss xmm0, dword [esi + 0x37e4]
maxss xmm0, dword [esi + 0x471c]
movss dword [edi + 0x138], xmm0
mov eax, dword [esi + 0x4720]
mov dword [edi + 0x13c], eax
mov al, byte [esp + 0xa]
mov dword [esp + 0x58], eax
test cl, 0x21
jne 0x1005062f
test byte [edi + 8], 1
je 0x100504fd
xorps xmm2, xmm2
jmp 0x1005052f
movss xmm0, dword [edi + 0x240]
mov eax, dword [edi + 0x2dc]
mulss xmm0, dword [edx + 0x3bb8]
test eax, eax
je 0x1005051f
mulss xmm0, dword [eax + 0x240]
movss xmm2, dword [edx + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [edi + 0x10]
movaps xmm3, xmm4
movss xmm5, dword [edi + 0x14]
addss xmm3, dword [edi + 0x20]
addss xmm2, dword [edi + 0x14]
cmp dword [esi + 0x3e2c], edi
jne 0x100505e3
cmp dword [esi + 0x3e4c], 0
jne 0x100505e3
cmp dword [esi + 0x3e50], 0
jne 0x100505e3
mov eax, dword [edx + 0x3e28]
movss xmm1, dword [edx + 0x37fc]
movss xmm0, dword [edx + 0x3800]
maxss xmm4, dword [eax + 0x1f4]
minss xmm3, dword [eax + 0x1fc]
maxss xmm5, dword [eax + 0x1f8]
minss xmm2, dword [eax + 0x200]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdb8]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x100505e3
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm5
jb 0x100505e3
comiss xmm3, xmm1
jbe 0x100505e3
comiss xmm2, xmm0
jbe 0x100505e3
cmp word [esi + 0x3702], 2
jne 0x100505e3
mov byte [edi + 0x92], 1
cmp byte [edi + 0x92], 0
je 0x10050636
mov cl, byte [edi + 0x91]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0x91], al
mov ecx, 1
mov eax, dword [esp + 0x58]
movzx eax, al
cmovne eax, ecx
test dword [edi + 8], 0x100
mov dword [esp + 0x58], eax
jne 0x10050636
comiss xmm6, dword [edx + 0x59d8]
jb 0x10050636
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x59d8], eax
jmp 0x10050636
mov byte [edi + 0x91], 0
lea eax, [edi + 0x30]
mov byte [edi + 0x92], 0
push eax
mov edx, edi
lea ecx, [esp + 0x12c]
call fcn.1004dc50
add esp, 4
test byte [esp + 0x14], 0x40
je 0x100506a5
cmp byte [edi + 0x91], 0
jne 0x100506a5
cmp byte [esp + 0xb], 0
lea edx, [edi + 0x20]
jne 0x1005067e
movss xmm0, dword [esp + 0x128]
movss dword [edx], xmm0
mov byte [esp + 0xa], 1
cmp byte [esp + 0x12], 0
jne 0x10050763
movss xmm0, dword [esp + 0x12c]
mov eax, 1
movss dword [edi + 0x24], xmm0
mov dword [esp + 0x58], eax
jmp 0x10050763
mov al, byte [edi + 0xa8]
test al, al
jg 0x100506bc
cmp byte [edi + 0xa9], 0
jle 0x10050760
cmp byte [esp + 0xb], 0
lea edx, [edi + 0x20]
jne 0x100506f4
test al, al
jle 0x100506f4
cmp byte [edi + 0xab], 0
je 0x100506e2
movss xmm0, dword [edx]
maxss xmm0, dword [esp + 0x128]
jmp 0x100506eb
movss xmm0, dword [esp + 0x128]
movss dword [edx], xmm0
mov byte [esp + 0xa], 1
cmp byte [esp + 0x12], 0
jne 0x10050731
cmp byte [edi + 0xa9], 0
jle 0x10050731
cmp byte [edi + 0xab], 0
je 0x1005071d
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [esp + 0x12c]
jmp 0x10050726
movss xmm0, dword [esp + 0x12c]
mov al, 1
movss dword [edi + 0x24], xmm0
mov dword [esp + 0x58], eax
cmp byte [edi + 0x91], 0
jne 0x10050763
test dword [edi + 8], 0x100
mov ecx, dword [0x10104944]
jne 0x10050763
xorps xmm3, xmm3
comiss xmm3, dword [ecx + 0x59d8]
jb 0x10050763
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x59d8], eax
jmp 0x10050763
lea edx, [edi + 0x20]
push edx
mov edx, edi
lea ecx, [esp + 0x64]
call fcn.1004d910
mov edx, dword [esp + 0x24]
add esp, 4
cmp byte [edi + 0x91], 0
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x20], xmm3
movss dword [edi + 0x24], xmm0
je 0x100507ff
test edx, edx
jne 0x100507ff
test byte [edi + 8], 1
je 0x100507a1
xorps xmm2, xmm2
jmp 0x100507d9
mov ecx, dword [0x10104944]
mov eax, dword [edi + 0x2dc]
movss xmm0, dword [ecx + 0x3bb8]
mulss xmm0, dword [edi + 0x240]
test eax, eax
je 0x100507c9
mulss xmm0, dword [eax + 0x240]
movss xmm2, dword [ecx + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x10]
addss xmm2, dword [edi + 0x14]
addss xmm0, xmm3
subss xmm2, dword [edi + 0x14]
subss xmm0, dword [edi + 0x10]
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x44], xmm0
jmp 0x1005080d
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x44]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x1c], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x18], eax
mov eax, dword [0x10104944]
test cl, 1
je 0x1005082e
xorps xmm1, xmm1
jmp 0x10050865
movss xmm0, dword [eax + 0x3bb8]
mov eax, dword [edi + 0x2dc]
mulss xmm0, dword [edi + 0x240]
test eax, eax
je 0x10050850
mulss xmm0, dword [eax + 0x240]
mov eax, dword [0x10104944]
movss xmm1, dword [eax + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
test ecx, 0x400
je 0x100508ae
movss xmm0, dword [eax + 0x3bb8]
mov eax, dword [edi + 0x2dc]
mulss xmm0, dword [edi + 0x240]
test eax, eax
je 0x1005088f
mulss xmm0, dword [eax + 0x240]
mov eax, dword [0x10104944]
addss xmm0, dword [edi + 0x13c]
movss xmm2, dword [eax + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
jmp 0x100508b1
xorps xmm2, xmm2
cmp byte [esp + 0x1b], 0
addss xmm2, xmm1
movss dword [esp + 0x2c], xmm2
je 0x10050908
mov eax, dword [esp + 0x14]
and eax, 0xc000000
mov dword [edi + 0xac], 0xffffffff
cmp eax, 0x4000000
jne 0x10050908
cmp byte [esp + 0x13], 0
jne 0x10050908
mov eax, dword [esi + 0x4778]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4780]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
test edx, edx
je 0x1005099d
mov edx, dword [esp + 0x40]
add edx, 0x164
mov dword [esp + 0x1c], edx
mov ax, word [edx]
mov word [edi + 0x9e], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x1005095f
test ecx, ecx
je 0x10050942
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ecx
jmp 0x10050947
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1005ae20
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x4c]
test ecx, ecx
jne 0x100509a9
test al, al
jne 0x100509a9
cmp edx, 0x3000000
je 0x100509a9
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0xd4]
mov ecx, dword [ecx + 0xd8]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x100509a1
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x13]
movss xmm1, dword [edi + 0xb8]
ucomiss xmm1, dword [0x100f1b8c]
lahf
test ah, 0x44
jnp 0x10050a0f
cmp byte [edi + 0xb1], 0
jne 0x10050a0f
movss xmm0, dword [edi + 0xc0]
lea edx, [esp + 0x44]
mulss xmm0, dword [edi + 0x18]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xbc]
movss dword [esp + 0x48], xmm1
movss xmm1, dword [edi + 0x1c]
mulss xmm1, dword [edi + 0xc4]
subss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.10052820
add esp, 4
jmp 0x10050a5a
cmp dword [esp + 0x38], 0
jne 0x10050a3c
test ecx, ecx
je 0x10050a24
test al, al
jne 0x10050a24
cmp byte [esp + 0x37], al
jg 0x10050a3c
mov ecx, dword [esp + 0x14]
test ecx, 0x2000000
je 0x10050a5e
test al, al
jne 0x10050a5e
cmp edx, 0x3000000
je 0x10050a5e
mov edx, edi
lea ecx, [esp + 0x70]
call fcn.10055800
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0xc]
movss xmm3, dword [esi + 0x3844]
movss xmm2, dword [esi + 0x3840]
maxss xmm3, dword [esi + 0x384c]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
maxss xmm2, dword [esi + 0x3848]
addss xmm5, dword [eax + 0xc]
mov edx, dword [esp + 0x20]
subss xmm6, xmm3
addss xmm3, dword [eax + 0x18]
movaps xmm4, xmm1
movss dword [esp + 0x130], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm7, xmm2
movss dword [esp + 0x134], xmm1
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x138], xmm5
movss dword [esp + 0x144], xmm3
movss dword [esp + 0x13c], xmm4
movss dword [esp + 0x148], xmm7
movss dword [esp + 0x140], xmm2
movss dword [esp + 0x14c], xmm6
jne 0x10050bbf
test edx, edx
jne 0x10050bbf
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x10050bbf
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x10050bbf
mov eax, dword [0x10104944]
movss xmm1, dword [edi + 0x1c]
cmp byte [eax + 0x67], dl
je 0x10050b8a
test byte [edi + 8], 1
jne 0x10050b8a
movss xmm0, dword [eax + 0x3bb8]
mov eax, dword [edi + 0x2dc]
mulss xmm0, dword [edi + 0x240]
test eax, eax
je 0x10050b75
mulss xmm0, dword [eax + 0x240]
mov eax, dword [0x10104944]
movss xmm1, dword [eax + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x18]
comiss xmm3, xmm0
ja 0x10050ba4
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
comiss xmm2, xmm0
ja 0x10050bb5
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
movss dword [edi + 0x14], xmm3
cvttss2si eax, dword [edi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x14], xmm0
test edx, edx
je 0x10050bef
movss xmm0, dword [esi + 0x37c4]
jmp 0x10050c0f
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10050c07
movss xmm0, dword [esi + 0x37cc]
jmp 0x10050c0f
movss xmm0, dword [esi + 0x37a8]
xor dl, dl
movss dword [edi + 0x48], xmm0
mov dword [esp + 0x20], edx
cmp byte [esp + 0x1b], dl
je 0x10050e3b
test ecx, 0x1000
jne 0x10050e3b
cmp dword [esp + 0x28], 0
je 0x10050c3e
mov byte [esp + 0x20], 1
jmp 0x10050c52
cmp dword [esp + 0x4c], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [esp + 0x20], edx
call fcn.10054cf0
mov edx, eax
test edx, edx
je 0x10050e3b
mov eax, dword [edi + 0x2e4]
mov ecx, edi
mov dword [esp + 0x28], eax
cmp eax, edx
je 0x10050e3b
cmp ecx, edx
je 0x10050e3b
mov ecx, dword [ecx + 0x2e0]
test ecx, ecx
jne 0x10050c75
mov byte [esp + 0x20], cl
cmp edi, eax
jne 0x10050e3b
mov edx, dword [0x10104944]
mov eax, dword [edx + 0x476c]
test eax, eax
jle 0x10050d52
add eax, 0xffffffff
mov dword [esp + 0x1c], eax
js 0x10050d52
mov edx, dword [edx + 0x4774]
lea ecx, [eax + eax*4]
add edx, 4
lea edx, [edx + ecx*8]
mov dword [esp + 0xc], edx
mov edx, dword [edx]
test edx, edx
je 0x10050d3a
test dword [edx + 8], 0x8000000
je 0x10050d3a
cmp byte [edx + 0x8e], 0
jne 0x10050ce8
cmp byte [edx + 0x8f], 0
je 0x10050d3a
mov eax, edi
cmp dword [esp + 0x28], edx
je 0x10050d52
cmp eax, edx
je 0x10050d52
mov eax, dword [eax + 0x2e0]
test eax, eax
jne 0x10050cf0
mov eax, dword [edx + 0x2e0]
mov ecx, dword [eax + 0x2e4]
test ecx, ecx
je 0x10050d36
nop
mov eax, edi
cmp dword [esp + 0x28], ecx
je 0x10050d54
cmp eax, ecx
je 0x10050d54
mov eax, dword [eax + 0x2e0]
test eax, eax
jne 0x10050d18
mov eax, dword [ecx + 0x2e0]
mov ecx, dword [eax + 0x2e4]
test ecx, ecx
jne 0x10050d10
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
dec eax
sub edx, 0x28
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edx
test eax, eax
jns 0x10050cc7
xor edx, edx
mov eax, dword [edx + 0x2e4]
mov dword [esp + 0x38], eax
mov eax, dword [0x10104944]
mov ecx, dword [eax + 0x3de8]
mov edx, ecx
mov eax, dword [eax + 0x3de0]
lea ecx, [ecx + eax*4]
cmp edx, ecx
jae 0x10050d8b
mov eax, dword [esp + 0x28]
nop dword [eax]
cmp dword [edx], eax
je 0x10050d8b
add edx, 4
cmp edx, ecx
jb 0x10050d80
mov esi, dword [0x10104944]
mov eax, dword [esi + 0x3de8]
sub edx, eax
sar edx, 2
cmp eax, ecx
jae 0x10050daf
mov esi, dword [esp + 0x38]
cmp dword [eax], esi
je 0x10050daf
add eax, 4
cmp eax, ecx
jb 0x10050da4
mov esi, dword [0x10104944]
sub eax, dword [esi + 0x3de8]
sar eax, 2
mov dword [esp + 0x38], eax
lea ecx, [eax*4]
mov dword [esp + 0xc], ecx
cmp edx, eax
jge 0x10050e04
mov ecx, dword [esi + 0x3de8]
sub eax, edx
lea eax, [eax*4 - 4]
lea ecx, [ecx + edx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.10092810
mov edx, dword [esp + 0x18]
mov eax, esi
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x3de8]
mov dword [eax + edx - 4], ecx
jmp 0x10050e34
sub edx, dword [esp + 0x38]
mov eax, dword [esi + 0x3de8]
shl edx, 2
add eax, ecx
push edx
push eax
add eax, 4
push eax
call fcn.10092810
mov eax, dword [0x10104944]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x3de8]
mov dword [edx + eax], ecx
mov esi, dword [esp + 0x30]
add esp, 0xc
movss xmm2, dword [esi + 0x3bb4]
xorps xmm0, xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x48]
xor eax, eax
addss xmm0, dword [0x100f1a80]
mulss xmm2, dword [0x100f1a1c]
cmp byte [esi + 0x66], al
mulss xmm1, dword [0x100f1a84]
setne al
mov dword [esp + 0x124], 0xffffffff
addss xmm0, xmm2
inc eax
cmp byte [edi + 0x91], 0
mov dword [esp + 0x44], eax
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x10050ed1
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x154]
push ecx
push eax
lea eax, [esp + 0x130]
mov ecx, edi
push eax
lea edx, [esp + 0x138]
call fcn.1004dff0
add esp, 0x10
test al, al
je 0x10050ed1
mov cl, 1
mov byte [esp + 0xa], cl
jmp 0x10050ed5
mov ecx, dword [esp + 0x58]
cmp byte [edi + 0x91], 0
mov al, byte [esp + 0x124]
mov byte [edi + 0x99], al
jne 0x10051035
cmp dword [esp + 0x30], 0
lea eax, [esp + 0x38]
movss xmm2, dword [edi + 0x1bc]
movss xmm3, dword [edi + 0x1c0]
subss xmm2, dword [edi + 0x1b4]
subss xmm3, dword [edi + 0x1b8]
movss xmm4, dword [edi + 0x24]
movss xmm5, dword [edi + 0x20]
subss xmm4, dword [esp + 0x2c]
addss xmm2, dword [edi + 0x84]
addss xmm3, dword [edi + 0x88]
jne 0x10050f4c
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x10050f74
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x28]
addss xmm1, dword [edi + 0x2c]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
cmp byte [esp + 0xa], 0
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
jne 0x10050f87
movaps xmm5, xmm2
test cl, cl
jne 0x10050f8e
movaps xmm4, xmm3
mov eax, dword [esp + 0x14]
test eax, 0x4000
jne 0x10050fa6
comiss xmm1, xmm4
jbe 0x10050fa2
test al, 8
je 0x10050fa6
xor cl, cl
jmp 0x10050fa8
mov cl, 1
mov edx, dword [esp + 0x24]
add edx, 0x380c
mov byte [edi + 0x8d], cl
test eax, 0x8000
jne 0x10050ff1
test cl, cl
je 0x10050fc9
movss xmm0, dword [edx]
jmp 0x10050fcc
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x10050fe5
mov eax, dword [esp + 0x14]
and eax, 0x808
cmp eax, 0x800
je 0x10050ff1
mov byte [edi + 0x8c], 0
xorps xmm1, xmm1
jmp 0x10051018
mov byte [edi + 0x8c], 1
test cl, cl
jne 0x10051014
comiss xmm1, xmm4
jbe 0x1005100c
test byte [esp + 0x14], 8
jne 0x1005100c
mov cl, 1
jmp 0x1005100e
xor cl, cl
mov byte [edi + 0x8d], cl
movss xmm1, dword [edx]
test cl, cl
je 0x10051022
movss xmm0, dword [edx]
jmp 0x10051025
xorps xmm0, xmm0
movss dword [edi + 0x84], xmm0
movss dword [edi + 0x88], xmm1
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5000000
mov dword [esp + 0x28], eax
cmp eax, 0x1000000
jne 0x10051060
cmp dword [esp + 0x4c], 0x3000000
je 0x10051060
mov eax, dword [esp + 0x40]
add eax, 0x1f4
jmp 0x10051067
lea eax, [esp + 0x130]
test byte [edi + 8], 1
movss xmm0, dword [edi + 0x10]
movups xmm4, xmmword [eax]
movss xmm7, dword [edi + 0x14]
movaps xmm5, xmm0
addss xmm5, dword [edi + 0x18]
movaps xmm6, xmm7
movaps xmmword [esp + 0x80], xmm4
addss xmm6, dword [edi + 0x1c]
movss dword [esp + 0xc], xmm0
je 0x1005109d
xorps xmm3, xmm3
jmp 0x100510db
mov edx, dword [0x10104944]
mov eax, dword [edi + 0x2dc]
movss xmm0, dword [edx + 0x3bb8]
mulss xmm0, dword [edi + 0x240]
test eax, eax
je 0x100510c5
mulss xmm0, dword [eax + 0x240]
movss xmm3, dword [edx + 0x37d8]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [esp + 0xc]
movaps xmm2, xmm0
movss dword [esp + 0x60], xmm0
addss xmm2, dword [edi + 0x20]
movss xmm0, dword [edi + 0x14]
movaps xmm1, xmm7
movss dword [esp + 0x64], xmm0
addss xmm1, xmm3
movss xmm0, dword [esp + 0xc]
mov eax, ecx
mov edx, dword [esp + 0x24]
and eax, 0x401
movss dword [esp + 0x68], xmm2
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xff
movss dword [esp + 0x6c], xmm1
movss dword [edi + 0x1a4], xmm0
movss dword [edi + 0x1a8], xmm7
movss dword [edi + 0x1ac], xmm5
movaps xmm5, xmm4
movss dword [edi + 0x1b0], xmm6
movss xmm0, dword [edi + 0x1a4]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
maxss xmm7, xmm5
movups xmmword [esp + 0xb0], xmm5
movups xmmword [esp + 0x90], xmm2
movss dword [edi + 0x1a4], xmm0
movaps xmm0, xmm4
movss dword [edi + 0x1a8], xmm7
movss xmm1, dword [edi + 0x1ac]
shufps xmm0, xmm4, 0xaa
minss xmm1, xmm0
movups xmmword [esp + 0xa0], xmm0
movss xmm0, dword [edi + 0x1b0]
minss xmm0, xmm2
movss dword [edi + 0x1ac], xmm1
movss dword [edi + 0x1b0], xmm0
movss xmm7, dword [edi + 0x10]
movss xmm6, dword [edi + 0x14]
movss dword [edi + 0x1b4], xmm7
movaps xmm0, xmm6
addss xmm7, dword [edi + 0x18]
addss xmm6, dword [edi + 0x1c]
addss xmm0, dword [esp + 0x2c]
subss xmm7, dword [edi + 0x84]
subss xmm6, dword [edi + 0x88]
movss dword [esp + 0x38], xmm0
movss dword [edi + 0x1b8], xmm0
movss dword [edi + 0x1bc], xmm7
movss dword [edi + 0x1c0], xmm6
cmp eax, 1
jne 0x1005120c
movss xmm0, dword [edi + 0x4c]
jmp 0x10051214
movss xmm0, dword [edx + 0x37e0]
movss xmm2, dword [0x100f1a3c]
movss dword [esp + 0xc], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x40]
addss xmm6, xmm2
mulss xmm0, xmm2
movups xmm3, xmmword [esp + 0x90]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, xmm2
subss xmm6, dword [edi + 0x4c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x4c]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c4], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm2
addss xmm0, dword [esp + 0xc]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1c8], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm6
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1cc], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x1c8]
comiss xmm5, xmm0
jbe 0x100512cf
movaps xmm1, xmm5
jmp 0x100512d6
movaps xmm1, xmm3
minss xmm1, xmm0
movups xmm6, xmmword [esp + 0xa0]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x100512ef
movaps xmm0, xmm4
jmp 0x100512f6
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1c4], xmm0
movss dword [edi + 0x1c8], xmm1
movss xmm1, dword [edi + 0x1d0]
comiss xmm5, xmm1
jbe 0x10051318
movaps xmm0, xmm5
jmp 0x1005131f
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [edi + 0x1cc]
comiss xmm4, xmm1
ja 0x10051333
movaps xmm4, xmm6
minss xmm4, xmm1
movss dword [edi + 0x1cc], xmm4
xorps xmm2, xmm2
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm0, xmm2
jbe 0x10051364
test dword [esp + 0x14], 0x2000040
jne 0x10051364
mulss xmm0, dword [0x100f1a44]
jmp 0x10051374
movss xmm0, dword [edx + 0x3bb4]
mulss xmm0, dword [0x100f1b0c]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x224], xmm0
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x1bc]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1b4]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x44]
addss xmm1, xmm1
movss dword [edi + 0x64], xmm0
movss xmm0, dword [edi + 0x1c0]
subss xmm0, dword [edi + 0x1b8]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x68], xmm0
call fcn.10054520
mov ecx, dword [edi + 0x248]
mov dword [esp + 0x1c], ecx
add ecx, 0x48
mov dword [esp + 0xc], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x24]
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0x60], xmm1
mov dword [edi + 0x6c], 0x7f7fffff
mov dword [edi + 0x70], 0x7f7fffff
mov eax, dword [eax + 0x3bb0]
mov edx, dword [ecx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10051468
inc edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x10051454
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10051459
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1005ae20
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x30]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
inc dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x70], eax
call fcn.10063230
mov ecx, dword [0x10104944]
movaps xmm0, xmmword [esp + 0x80]
comiss xmm0, dword [esp + 0xa0]
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e28]
mov dword [esp + 0x1c], eax
movaps xmmword [esp + 0x130], xmm0
mov eax, dword [eax + 0x248]
mov dword [esp + 0x30], eax
jb 0x100514e4
movss dword [esp + 0x138], xmm0
movaps xmm0, xmmword [esp + 0x130]
movaps xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [esp + 0xb0]
comiss xmm0, dword [esp + 0x90]
jb 0x1005150f
movss dword [esp + 0x13c], xmm0
movaps xmm0, xmmword [esp + 0x130]
movaps xmmword [esp + 0x80], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], ecx
cmp edx, eax
jne 0x1005154b
inc edx
mov dword [esp + 0x38], edx
test eax, eax
je 0x10051537
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1005153c
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1006a360
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x80]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x30]
movups xmmword [ecx + 0x60], xmm0
call fcn.10063190
mov edx, dword [esp + 0x1c]
mov byte [esp + 0xb], 0
mov eax, dword [edx + 0x248]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
cmp dword [esp + 0x28], 0x1000000
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x1f4], eax
movss dword [edx + 0x1f8], xmm0
movss dword [edx + 0x1fc], xmm1
movss dword [edx + 0x200], xmm2
jne 0x10051678
cmp dword [esp + 0x4c], 0x3000000
je 0x10051678
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x164]
cmp ecx, 2
jl 0x1005163c
mov eax, dword [eax + 0x16c]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x1005163c
movss xmm5, dword [eax + 0x14]
movss xmm7, dword [eax + 0x10]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x1c]
movss xmm6, dword [edi + 0x10]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x14]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x18]
addss xmm4, dword [edi + 0x18]
comiss xmm0, dword [edi + 0x14]
addss xmm2, dword [edi + 0x1c]
jbe 0x1005163c
comiss xmm2, xmm5
jbe 0x1005163c
comiss xmm3, xmm6
jbe 0x1005163c
comiss xmm4, xmm7
mov byte [esp + 0xa], 1
ja 0x10051641
mov byte [esp + 0xa], 0
mov edx, dword [edi + 0x248]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10051678
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x248]
cmp dword [eax + 0x18], 0
jle 0x10051678
cmp byte [esp + 0xa], 0
jne 0x10051678
mov byte [esp + 0xb], 1
mov dword [edi + 0x248], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x48ec]
test ecx, ecx
jne 0x1005168c
mov ecx, dword [eax + 0x4794]
cmp byte [esp + 0x20], 0
jne 0x100516ac
test ecx, ecx
je 0x100516a5
mov eax, dword [edi + 0x2ec]
cmp eax, dword [ecx + 0x2ec]
je 0x100516ac
mov byte [esp + 0xc], 0
jmp 0x100516b1
mov byte [esp + 0xc], 1
movd xmm0, esi
lea eax, [esp + 0x150]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0x64]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x4c]
push dword [esp + 0x18]
call fcn.1004eec0
add esp, 0x10
cmp byte [esp + 0xb], 0
je 0x100516ef
lea eax, [edi + 0x24c]
mov dword [edi + 0x248], eax
mov edx, dword [esp + 0x14]
xorps xmm2, xmm2
movss xmm5, dword [edi + 0x38]
mov ecx, edx
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x10051713
movaps xmm7, xmm5
jmp 0x10051749
movss xmm0, dword [edi + 0x40]
mov eax, edx
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x84]
cmp eax, 0x800
jne 0x10051742
movss xmm7, dword [edi + 0x28]
jmp 0x10051745
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm4, dword [edi + 0x3c]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x1005175c
movaps xmm6, xmm4
jmp 0x1005178e
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x2c]
subss xmm1, dword [edi + 0x88]
test cl, cl
je 0x10051787
movss xmm6, dword [edi + 0x2c]
jmp 0x1005178a
xorps xmm6, xmm6
maxss xmm6, xmm1
movss xmm1, dword [edi + 0x40]
movss xmm2, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x1b4]
subss xmm0, xmm2
movss dword [esp + 0x38], xmm1
maxss xmm1, dword [edi + 0x4c]
movss dword [esp + 0x44], xmm2
ucomiss xmm5, dword [0x100f19d4]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x1b8]
subss xmm0, dword [esp + 0x30]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x44]
movss dword [esp + 0xc], xmm1
maxss xmm1, dword [edi + 0x4c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x1d4], xmm2
addss xmm2, xmm7
movss xmm7, dword [esp + 0x44]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x38]
movss dword [edi + 0x1dc], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x1d8], xmm0
addss xmm0, xmm6
movss xmm6, dword [esp + 0xc]
movss dword [edi + 0x1e0], xmm0
movups xmm0, xmmword [edi + 0x1d4]
movups xmmword [edi + 0x1e4], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x1c], xmm0
movaps xmm2, xmm0
subss xmm2, xmm7
addss xmm2, xmm1
movss dword [edi + 0x204], xmm2
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x44], xmm0
movaps xmm3, xmm0
subss xmm3, dword [esp + 0x30]
addss xmm3, xmm6
addss xmm3, dword [esp + 0x2c]
movss dword [edi + 0x208], xmm3
test ah, 0x44
jp 0x100518ad
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
subss xmm5, dword [edi + 0x84]
addss xmm5, xmm2
movss dword [edi + 0x20c], xmm5
xorps xmm5, xmm5
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x100518e3
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm4, xmm0
subss xmm4, dword [esp + 0x2c]
subss xmm4, dword [edi + 0x88]
movaps xmm0, xmm1
movss xmm2, dword [esp + 0x44]
addss xmm0, xmm5
mov esi, dword [esp + 0x24]
addss xmm3, xmm4
cvtps2pd xmm2, xmm2
lea ecx, [edi + 0x140]
movss dword [edi + 0x210], xmm3
subss xmm0, xmm7
movss xmm3, dword [esp + 0x1c]
cvtps2pd xmm3, xmm3
movss dword [edi + 0x118], xmm0
cvtps2pd xmm0, xmm1
mov dword [edi + 0x120], 0
mov dword [edi + 0x11c], 0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
subsd xmm3, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, qword [0x100f19d8]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x30]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0xe4], xmm0
movss dword [edi + 0xe8], xmm1
movss xmm0, dword [edi + 0xe4]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0xe8]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x124], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x128], xmm0
movss xmm1, dword [edi + 0xe4]
movss xmm0, dword [edi + 0xe8]
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm0
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe0], xmm0
movss dword [edi + 0xec], xmm1
movss dword [edi + 0xf0], xmm0
movss dword [edi + 0xf4], xmm1
movss dword [edi + 0xf8], xmm0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x10c], 0
mov word [edi + 0x114], 0
mov dword [edi + 0x12c], 0
mov ax, word [edi + 0x132]
mov word [edi + 0x130], ax
xor eax, eax
mov word [edi + 0x132], ax
mov byte [edi + 0x134], al
movss xmm0, dword [edi + 0x68]
comiss xmm0, xmm5
seta al
cmp byte [esp + 0x1b], 0
mov byte [edi + 0x135], al
mov byte [edi + 0x136], 0
movss xmm1, dword [esi + 0x37e4]
je 0x10051aa2
xorps xmm0, xmm0
movq qword [ecx + 0x12], xmm0
cvttss2si eax, xmm1
push 1
mov word [ecx + 8], ax
call fcn.1008aee0
xorps xmm0, xmm0
movq qword [edi + 0x152], xmm0
mov eax, dword [edi + 0x144]
mov dword [edi + 0x140], eax
lea eax, [edi + 0x164]
mov dword [edi + 0x144], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10051b15
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x164]
call fcn.1005ae20
lea eax, [edi + 0x164]
mov dword [eax], 0
lea eax, [edi + 0x228]
mov dword [edi + 0x170], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x174], 0
mov dword [edi + 0x17c], 1
test eax, eax
je 0x10051b4b
mov eax, dword [eax + 0x17c]
jmp 0x10051b50
mov eax, 1
mov dword [edi + 0x180], eax
mov eax, dword [edi + 0x224]
mov dword [edi + 0x184], eax
lea eax, [edi + 0x18c]
mov dword [edi + 0x188], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10051b9b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x18c]
call fcn.1005ae20
lea eax, [edi + 0x18c]
mov dword [eax], 0
lea eax, [edi + 0x198]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10051bd0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x198]
call fcn.1005ae20
lea eax, [edi + 0x198]
mov dword [eax], 0
mov al, byte [edi + 0xa8]
test al, al
jle 0x10051be8
dec al
mov byte [edi + 0xa8], al
mov al, byte [edi + 0xa9]
test al, al
jle 0x10051bfa
dec al
mov byte [edi + 0xa9], al
cmp byte [esp + 0x20], 0
je 0x10051c11
mov ecx, edi
call fcn.10052290
xor dl, dl
mov ecx, edi
call fcn.10056960
test byte [esp + 0x14], 1
movss xmm4, dword [esp + 0x6c]
movss xmm2, dword [esp + 0x68]
movss xmm3, dword [esp + 0x64]
movss xmm5, dword [esp + 0x60]
jne 0x10051c92
movaps xmm0, xmm5
movss dword [esp + 0x84], xmm3
addss xmm0, dword [edi + 0x4c]
push ecx
push dword [esp + 0x60]
lea edx, [esp + 0x88]
movss dword [esp + 0x94], xmm4
mov ecx, edi
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi + 0x4c]
movss dword [esp + 0x90], xmm0
call fcn.1004f470
movss xmm2, dword [esp + 0x70]
add esp, 8
movss xmm3, dword [esp + 0x64]
movss xmm4, dword [esp + 0x6c]
movss xmm5, dword [esp + 0x60]
mov edx, dword [0x10104944]
xor eax, eax
mov dword [edi + 0x214], eax
movss xmm1, dword [edx + 0x37fc]
movss xmm0, dword [edx + 0x3800]
subss xmm5, xmm1
addss xmm2, xmm1
movss xmm1, dword [edx + 0xdb8]
addss xmm4, xmm0
subss xmm3, xmm0
comiss xmm1, xmm5
jb 0x10051cec
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm3
jb 0x10051cec
comiss xmm2, xmm1
jbe 0x10051cec
comiss xmm4, xmm0
mov dword [esp + 0xc], 1
ja 0x10051cf0
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x54]
mov ecx, dword [esi + 0x466c]
movups xmm0, xmmword [esp + 0x60]
mov dword [edx + 0x4688], eax
mov eax, dword [esp + 0xc]
mov dword [edx + 0x468c], ecx
mov dword [edx + 0x4690], eax
movups xmmword [edx + 0x4694], xmm0
mov eax, dword [esi + 0x4670]
test eax, eax
je 0x10051d94
cmp dword [edi + 4], eax
je 0x10051d2f
cmp dword [edi + 0x54], eax
jne 0x10051d94
call fcn.1005a500
jmp 0x10051d94
mov eax, dword [0x10104944]
mov dword [eax + 0x3e28], edi
mov ecx, dword [edi + 0x178]
cmp ecx, 0xffffffff
je 0x10051d5a
imul ecx, ecx, 0x1d8
add ecx, dword [eax + 0x49d8]
jmp 0x10051d5c
xor ecx, ecx
movss xmm0, dword [eax + 0x3bb8]
mov dword [eax + 0x49bc], ecx
mov ecx, dword [edi + 0x2dc]
mulss xmm0, dword [edi + 0x240]
test ecx, ecx
je 0x10051d84
mulss xmm0, dword [ecx + 0x240]
movss dword [eax + 0x3bc8], xmm0
movss dword [eax + 0x3bb4], xmm0
mov ecx, dword [0x10104944]
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e28]
movss xmm1, dword [edi + 0x1c4]
movss xmm0, dword [edi + 0x1c8]
movss xmm2, dword [edi + 0x1cc]
mov edx, dword [eax + 0x248]
movss xmm3, dword [edi + 0x1d0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x124], edx
movups xmm4, xmmword [edx + 0x60]
movss dword [esp + 0x70], xmm1
comiss xmm4, xmm1
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm3
movaps xmmword [esp + 0x90], xmm4
jbe 0x10051e10
movaps xmm1, xmm4
movss dword [esp + 0x70], xmm1
movss xmm4, dword [esp + 0x94]
comiss xmm4, xmm0
jbe 0x10051e27
movaps xmm0, xmm4
movss dword [esp + 0x74], xmm0
movss xmm4, dword [esp + 0x98]
comiss xmm2, xmm4
jbe 0x10051e3e
movaps xmm2, xmm4
movss dword [esp + 0x78], xmm2
movss xmm4, dword [esp + 0x9c]
comiss xmm3, xmm4
jbe 0x10051e55
movaps xmm3, xmm4
movss dword [esp + 0x7c], xmm3
comiss xmm1, xmm2
jb 0x10051e60
movss dword [esp + 0x78], xmm1
comiss xmm0, xmm3
jb 0x10051e6b
movss dword [esp + 0x7c], xmm0
mov eax, dword [edx + 0x40]
lea ecx, [edx + 0x3c]
mov dword [esp + 0x38], ecx
cmp dword [ecx], eax
jne 0x10051ead
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x44], edx
test eax, eax
je 0x10051e92
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10051e97
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1006a360
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x124]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x70]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.10063190
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x248]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
mov dword [edx + 0x1f4], eax
mov eax, dword [esp + 0x50]
movss dword [edx + 0x1f8], xmm0
movss dword [edx + 0x1fc], xmm1
movss dword [edx + 0x200], xmm2
mov byte [edi + 0x90], 0
inc word [edi + 0x9a]
mov dword [esi + 0x46c4], 0
cmp eax, dword [esp + 0x54]
je 0x10052094
mov eax, dword [esp + 0x14]
test eax, 0x1000000
je 0x10051ffe
test al, 0x40
jne 0x10051fc4
cmp byte [edi + 0xa8], 0
jg 0x10051fc4
cmp byte [edi + 0xa9], 0
jg 0x10051fc4
test eax, 0x800000
je 0x10051f8c
cmp byte [esi + 0x47d4], 0
je 0x10051f8c
mov eax, dword [esi + 0x4794]
test eax, eax
je 0x10051f8c
mov eax, dword [eax + 0x2f0]
cmp eax, dword [edi + 0x2f0]
jne 0x10051f8c
mov al, 1
jmp 0x10051f8e
xor al, al
cmp byte [esi + 0x5a1c], 0
jne 0x10051fc4
test al, al
jne 0x10051fc4
movss xmm0, dword [edi + 0x1a4]
comiss xmm0, dword [edi + 0x1ac]
jae 0x10051fbd
movss xmm0, dword [edi + 0x1a8]
comiss xmm0, dword [edi + 0x1b0]
jb 0x10051fc4
mov byte [edi + 0xb0], 1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10051ffe
cmp byte [eax + 0x91], 0
jne 0x10051fde
cmp byte [eax + 0xb0], 0
jle 0x10051fe5
mov byte [edi + 0xb0], 1
cmp byte [eax + 0x91], 0
jne 0x10051ff7
cmp byte [eax + 0xb1], 0
jle 0x10051ffe
mov byte [edi + 0xb1], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3798]
jb 0x10052011
mov byte [edi + 0xb0], 1
cmp byte [edi + 0xb0], 0
jg 0x10052031
cmp byte [edi + 0xb1], 0
jg 0x10052031
xor cl, cl
cmp byte [edi + 0xb2], cl
jg 0x10052033
xor al, al
jmp 0x10052035
mov cl, 1
mov al, 1
mov byte [edi + 0x95], al
mov al, byte [edi + 0xb3]
test al, al
jle 0x10052054
dec al
mov byte [edi + 0xb3], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0x91], al
jne 0x1005206a
cmp byte [edi + 0x8e], al
je 0x1005206a
test cl, cl
je 0x1005208e
cmp byte [edi + 0xa8], 0
jg 0x1005208e
cmp byte [edi + 0xa9], 0
jg 0x1005208e
cmp byte [edi + 0xb1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x93], al
cmp byte [edi + 0x93], 0
mov ecx, dword [esp + 0x16c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.10090ad6
mov esp, ebp
pop ebp
ret