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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
mov esi, dword [0x10100d08]
push edi
mov edi, ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x30], esi
test edi, edi
je 0x1004a4ce
cmp byte [edi], 0
jne 0x1004a4e5
push 0x1523
push 0x100e84a0
push 0x100e97b4
call fcn.1009d619
add esp, 0xc
cmp byte [esi + 0x19fc], 0
jne 0x1004a505
push 0x1524
push 0x100e84a0
push 0x100e988c
call fcn.1009d619
add esp, 0xc
mov eax, dword [esi + 0x19f4]
cmp eax, dword [esi + 0x19f0]
jne 0x1004a52a
push 0x1525
push 0x100e84a0
push 0x100e9848
call fcn.1009d619
add esp, 0xc
mov ecx, edi
call fcn.100476a0
mov edi, eax
mov dword [esp + 0x24], eax
test edi, edi
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm0
sete cl
test eax, eax
mov eax, dword [ebp + 8]
mov byte [esp + 0x1b], cl
jne 0x1004a5b6
test byte [esi + 0x1abc], 2
je 0x1004a572
mov eax, dword [esi + 0x1adc]
mov ecx, dword [esi + 0x1ae0]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x44], ecx
jmp 0x1004a582
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x40]
mov edx, eax
movss xmm0, dword [ecx]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [ecx + 4]
mov ecx, dword [esp + 0x68]
movss dword [esp + 0x4c], xmm0
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.10047750
mov edi, eax
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
cmovne edx, eax
mov eax, edx
mov dword [esp + 0x14], edx
and eax, 0x1800000
cmp eax, 0x800000
jne 0x1004a5f9
push 0x1535
push 0x100e84a0
push 0x100e9938
call fcn.1009d619
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esi + 0x19f0]
mov eax, dword [edi + 0x254]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
lea eax, [ecx - 1]
cmp dword [esp + 0x2c], eax
mov eax, dword [edi + 0xa4]
setl byte [esp + 0x12]
mov dword [esp + 0x3c], eax
test edx, 0x4000000
je 0x1004a68e
mov eax, dword [esi + 0x1b58]
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x1b4c]
jl 0x1004a658
push 0x51e
push 0x100e6f38
push 0x100e8330
call fcn.1009d619
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x30]
lea esi, [eax + eax*8]
mov eax, dword [edi + 0x94]
mov edx, dword [ecx + 0x1b54]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
setne al
or cl, al
mov eax, dword [esp + 0x3c]
or byte [esp + 0x12], cl
mov ecx, dword [esp + 0x34]
cmp byte [esp + 0x12], 0
jne 0x1004a6a2
test eax, eax
jg 0x1004a6a2
mov byte [edi + 0x89], 0
jmp 0x1004a6be
or dword [edi + 0xa8], 8
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
mov byte [edi + 0x89], 1
cmp dword [esp + 0x2c], ecx
je 0x1004a700
mov dword [edi + 8], edx
xor eax, eax
mov dword [edi + 0x254], ecx
movsd xmm0, qword [esi + 0x19e8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x90], ax
movss dword [edi + 0x258], xmm0
movzx eax, word [esi + 0x1a3c]
inc dword [esi + 0x1a3c]
mov word [edi + 0x92], ax
jmp 0x1004a707
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x1a24]
test ecx, ecx
jne 0x1004a715
xor edx, edx
jmp 0x1004a73e
jg 0x1004a734
push 0x528
push 0x100e6f38
push 0x100eaf38
call fcn.1009d619
mov ecx, dword [esi + 0x1a24]
add esp, 0xc
mov eax, dword [esi + 0x1a2c]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
je 0x1004a75c
mov ecx, eax
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, edx
jmp 0x1004a762
mov ecx, dword [edi + 0x2fc]
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x1004a788
test eax, 0x1000000
je 0x1004a788
push 0x1558
push 0x100e84a0
push 0x100e98b8
call fcn.1009d619
add esp, 0xc
cmp dword [edi + 0xc4], 0
lea ecx, [edi + 0xc4]
jne 0x1004a7a0
lea eax, [edi + 4]
push eax
call fcn.10054950
mov edx, dword [esi + 0x1a24]
lea ecx, [esi + 0x1a24]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1004a7e6
inc edx
mov dword [esp + 0x1c], edx
test eax, eax
je 0x1004a7ca
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004a7cf
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003a690
mov edx, dword [esi + 0x1a24]
lea ecx, [esi + 0x1a24]
mov eax, dword [ecx + 8]
mov dword [eax + edx*4], edi
lea edx, [edi + 0x1e8]
inc dword [ecx]
mov ecx, dword [0x10100d08]
mov dword [esi + 0x1a40], 0
mov eax, dword [edi + 0xc4]
mov word [edx], ax
mov eax, dword [edi + 0x1dc]
mov word [edx + 2], ax
mov eax, dword [ecx + 0x1b58]
mov word [edx + 4], ax
mov eax, dword [ecx + 0x1b28]
mov word [edx + 6], ax
mov eax, dword [ecx + 0x1b34]
mov word [edx + 8], ax
add edx, 0xa
mov eax, dword [ecx + 0x1b40]
mov word [edx], ax
lea eax, [edi + 0x1f2]
cmp edx, eax
je 0x1004a862
push 0x1c60
push 0x100e84a0
push 0x100ea1d8
call fcn.1009d619
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x50], ecx
je 0x1004a956
mov eax, dword [esi + 0x1b58]
lea ecx, [esi + 0x1b58]
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x1b4c]
jl 0x1004a8b1
push 0x51e
push 0x100e6f38
push 0x100e8330
call fcn.1009d619
mov eax, dword [esp + 0x2c]
lea ecx, [esi + 0x1b58]
add esp, 0xc
mov edx, dword [esi + 0x1b54]
lea eax, [eax + eax*8]
mov dword [esp + 0x58], edx
mov dword [edx + eax*4 + 4], edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x1004a901
lea edx, [eax + 1]
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], edx
test eax, eax
je 0x1004a8e5
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004a8ea
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003a4e0
mov eax, dword [esi + 0x1b58]
lea ecx, [esi + 0x1b58]
mov esi, dword [esp + 0x58]
lea edx, [eax + eax*8]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
lea eax, [edx + edx*8]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [esi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov esi, dword [esp + 0x30]
mov dword [ecx + edx*4 + 0x20], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
inc dword [esi + 0x1b58]
lea eax, [edx + edx*8]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x94], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x3c], 0
jle 0x1004a96e
test eax, 0x1000000
jne 0x1004a96e
mov dword [edi + 0x310], 0
test byte [esi + 0x1abc], 1
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x10], 0
je 0x1004aa14
mov edx, dword [edi + 0xa8]
mov eax, edx
mov ecx, dword [esi + 0x1ac0]
and eax, ecx
setne byte [esp + 0x11]
test ecx, eax
je 0x1004aa03
movss xmm1, dword [esi + 0x1ad8]
movss xmm0, dword [esi + 0x1ad4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100ee044]
jbe 0x1004aa03
mov eax, dword [esi + 0x1acc]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1ad0]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov eax, dword [esi + 0x1ad4]
mov ecx, dword [esi + 0x1ad8]
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xa8], edx
jmp 0x1004aa14
push ecx
lea edx, [esi + 0x1acc]
mov ecx, edi
call fcn.1004dba0
add esp, 4
mov eax, dword [esi + 0x1abc]
test al, 2
je 0x1004aa7b
mov eax, dword [edi + 0xac]
lea edx, [esi + 0x1adc]
mov ecx, dword [esi + 0x1ac4]
movss xmm1, dword [esp + 0x28]
and eax, ecx
je 0x1004aa4a
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x1004aa4a
mov byte [esp + 0x13], 1
jmp 0x1004aa53
mov byte [esp + 0x13], 0
test eax, eax
je 0x1004aa65
movss xmm0, dword [esi + 0x1ae0]
comiss xmm0, xmm1
mov byte [esp + 0x10], 1
ja 0x1004aa6a
mov byte [esp + 0x10], 0
push ecx
mov ecx, edi
call fcn.1004dd60
mov eax, dword [esi + 0x1abc]
add esp, 4
test al, 4
je 0x1004aa93
mov eax, dword [esi + 0x1ae4]
mov ecx, dword [esi + 0x1ae8]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x1004aaab
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x34]
je 0x1004aaab
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov eax, dword [esi + 0x1abc]
test al, 8
je 0x1004aae0
mov ecx, dword [esi + 0x1ac8]
mov dl, byte [esi + 0x1aec]
test ecx, ecx
je 0x1004aacd
test dword [edi + 0xb0], ecx
je 0x1004aae0
and dword [edi + 0xb0], 0xfffffff1
mov byte [edi + 0x86], dl
mov eax, dword [esi + 0x1abc]
test al, 0x20
je 0x1004aaeb
mov ecx, edi
call fcn.1004cee0
cmp byte [edi + 0x89], 0
je 0x1004ab09
and dword [edi + 0xa8], 0xfffffff7
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x34]
je 0x1004ca89
mov ecx, dword [esp + 0x14]
mov edx, ecx
mov eax, dword [esp + 0x38]
and edx, 0x3000000
mov dword [esp + 0x58], edx
mov dword [edi + 0x2fc], eax
mov dword [edi + 0x308], edi
mov dword [edi + 0x304], edi
mov dword [edi + 0x300], edi
test eax, eax
je 0x1004ab7b
cmp edx, 0x1000000
jne 0x1004ab5f
mov eax, dword [eax + 0x300]
mov dword [edi + 0x300], eax
mov eax, dword [esp + 0x38]
test ecx, 0x8000000
jne 0x1004ab7b
test ecx, 0x5000000
je 0x1004ab7b
mov eax, dword [eax + 0x304]
mov dword [edi + 0x304], eax
test dword [edi + 8], 0x800000
je 0x1004abc1
mov eax, edi
cmp dword [eax + 0x2fc], 0
jne 0x1004abac
push 0x1513
push 0x100e84a0
push 0x100e97f0
call fcn.1009d619
mov eax, dword [edi + 0x308]
add esp, 0xc
mov eax, dword [eax + 0x2fc]
mov dword [edi + 0x308], eax
test dword [eax + 8], 0x800000
jne 0x1004ab86
cmp dword [esp + 0x8c], 0
mov byte [edi + 0x82], 1
setne al
mov byte [edi + 0x8b], al
mov dword [edi + 0x234], 0xff7fffff
mov dword [edi + 0x238], 0xff7fffff
mov dword [edi + 0x23c], 0x7f7fffff
mov dword [edi + 0x240], 0x7f7fffff
mov ecx, dword [edi + 0xc8]
cmp ecx, 1
jge 0x1004acc5
test ecx, ecx
je 0x1004ac39
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, 1
cmp eax, ecx
cmovg ecx, eax
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0xc8]
jle 0x1004acc5
jmp 0x1004ac42
mov ecx, 8
mov dword [esp + 0x20], ecx
mov eax, dword [0x10100d08]
test eax, eax
je 0x1004ac51
inc dword [eax + 0x374]
push dword [0x10100d00]
lea eax, [ecx*4]
push eax
call fcn.10040070
mov edx, dword [edi + 0xcc]
add esp, 8
mov dword [esp + 0x1c], eax
test edx, edx
je 0x1004acb5
mov ecx, dword [edi + 0xc4]
shl ecx, 2
push ecx
push edx
push eax
call fcn.10091a80
mov ecx, dword [edi + 0xcc]
add esp, 0xc
test ecx, ecx
je 0x1004aca2
mov eax, dword [0x10100d08]
test eax, eax
je 0x1004aca2
dec dword [eax + 0x374]
push dword [0x10100d00]
push ecx
call fcn.10040080
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [edi + 0xcc], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc8], eax
mov dword [edi + 0xc4], 1
cmp byte [edi + 0x338], 0
je 0x1004ad1b
mov ecx, dword [edi + 0x280]
push dword [edi + 0x33c]
add ecx, 0xc
mov byte [edi + 0x338], 0
call fcn.1003a820
mov ecx, dword [edi + 0x280]
push dword [edi + 0x340]
add ecx, 0x18
call fcn.1003a600
mov dword [edi + 0x340], 0
mov dword [edi + 0x33c], 0
cmp dword [esi + 0x1c64], 0
je 0x1004ae0e
test dword [edi + 8], 0x80000
jne 0x1004ae0e
cmp dword [esp + 0x24], 0
je 0x1004ae0e
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x68]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004ad70
test dl, dl
je 0x1004ad6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004ad70
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004ad50
xor eax, eax
jmp 0x1004ad75
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004ae0e
mov ecx, dword [esp + 0x68]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x2c], edx
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ad90
sub ecx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
cmp edx, eax
jae 0x1004adf7
test ecx, ecx
je 0x1004adbd
mov eax, dword [0x10100d08]
test eax, eax
je 0x1004adbd
dec dword [eax + 0x374]
push dword [0x10100d00]
push ecx
call fcn.10040080
mov eax, dword [0x10100d08]
add esp, 8
test eax, eax
je 0x1004addb
inc dword [eax + 0x374]
push dword [0x10100d00]
push dword [esp + 0x24]
call fcn.10040070
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
push eax
push dword [esp + 0x6c]
push ecx
call fcn.10091a80
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x44], eax
mov edx, edi
lea ecx, [esp + 0x48]
call fcn.10047d50
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [edi + 0xa0]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x1004ae3d
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x1004ae4e
dec eax
mov dword [edi + 0xa4], eax
cmp dword [esp + 0x24], 0
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x10]
jne 0x1004ae6f
test al, al
je 0x1004ae65
test cl, cl
jne 0x1004ae6f
mov dword [edi + 0xa4], 1
cmp byte [esp + 0x12], 0
mov edx, dword [esp + 0x14]
je 0x1004aec3
test edx, 0x6000000
je 0x1004aec3
mov dword [edi + 0xa4], 1
test dl, 0x40
je 0x1004aec3
test al, al
jne 0x1004aea3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1004aeb5
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [0x10100d08]
mov dword [esp + 0x20], eax
movss xmm0, dword [eax + 0x1908]
mov dword [eax + 0x1a40], edi
mov ecx, dword [edi + 0x2fc]
mulss xmm0, dword [edi + 0x278]
test ecx, ecx
je 0x1004aef4
mulss xmm0, dword [ecx + 0x278]
movss dword [eax + 0x1918], xmm0
movss dword [eax + 0x1904], xmm0
mov eax, edx
and eax, 0x1000000
mov dword [esp + 0x34], eax
je 0x1004af1b
movss xmm0, dword [esi + 0x154c]
jmp 0x1004af3d
test edx, 0x6000000
je 0x1004af35
test edx, 0x8000000
jne 0x1004af35
movss xmm0, dword [esi + 0x1554]
jmp 0x1004af3d
movss xmm0, dword [esi + 0x1520]
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x1514]
mov ecx, dword [esi + 0x1518]
movss xmm2, dword [esp + 0x28]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x1004af97
movss xmm0, dword [edi + 0x40]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1004af97
test edx, 0x400
je 0x1004af88
movss xmm0, dword [esi + 0x1518]
jmp 0x1004af8b
movaps xmm0, xmm2
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
test dl, 0x21
jne 0x1004b0e1
mov edx, dword [edi + 8]
test dl, 1
je 0x1004afb1
mov ecx, dword [esp + 0x20]
movaps xmm3, xmm2
jmp 0x1004afec
mov eax, dword [0x10100d08]
movss xmm0, dword [eax + 0x1908]
mov eax, dword [edi + 0x2fc]
mulss xmm0, dword [edi + 0x278]
test eax, eax
je 0x1004afd8
mulss xmm0, dword [eax + 0x278]
mov ecx, dword [esp + 0x20]
movss xmm3, dword [ecx + 0x155c]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0xc]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x10]
addss xmm4, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x10]
cmp dword [esi + 0x1a44], edi
jne 0x1004b09f
cmp dword [esi + 0x1a60], 0
jne 0x1004b09f
cmp dword [esi + 0x1a68], 0
jne 0x1004b09f
mov eax, dword [ecx + 0x1a40]
movss xmm1, dword [ecx + 0x1580]
movss xmm0, dword [ecx + 0x1584]
maxss xmm5, dword [eax + 0x234]
minss xmm4, dword [eax + 0x23c]
maxss xmm6, dword [eax + 0x238]
minss xmm3, dword [eax + 0x240]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [ecx + 0xe8]
subss xmm6, xmm0
addss xmm3, xmm0
comiss xmm1, xmm5
jb 0x1004b09f
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm6
jb 0x1004b09f
comiss xmm4, xmm1
jbe 0x1004b09f
comiss xmm3, xmm0
jbe 0x1004b09f
cmp byte [esi + 0x3dd], 0
je 0x1004b09f
mov byte [edi + 0x87], 1
cmp byte [edi + 0x87], 0
je 0x1004b0e8
cmp byte [edi + 0x86], 0
mov ecx, dword [0x10100d08]
sete al
mov byte [edi + 0x86], al
test edx, 0x100
jne 0x1004b0d8
comiss xmm2, dword [ecx + 0x2dbc]
jb 0x1004b0d8
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2dbc], eax
mov ecx, edi
call fcn.1004cee0
jmp 0x1004b0e8
mov byte [edi + 0x86], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x87], 0
push eax
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.10047e00
mov al, byte [esp + 0x1f]
add esp, 4
test byte [esp + 0x14], 0x40
mov byte [esp + 0xf], al
je 0x1004b150
cmp byte [edi + 0x86], 0
jne 0x1004b150
cmp byte [esp + 0x13], 0
jne 0x1004b130
movss xmm0, dword [esp + 0x48]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x1b], 1
cmp byte [esp + 0x10], 0
jne 0x1004b1fe
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xf], 1
jmp 0x1004b1fe
mov al, byte [edi + 0x98]
test al, al
jg 0x1004b167
cmp byte [edi + 0x99], 0
jle 0x1004b1fe
cmp byte [esp + 0x13], 0
jne 0x1004b198
test al, al
jle 0x1004b198
cmp byte [edi + 0x9b], 0
je 0x1004b188
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x48]
jmp 0x1004b18e
movss xmm0, dword [esp + 0x48]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x1b], 1
cmp byte [esp + 0x10], 0
jne 0x1004b1ce
cmp byte [edi + 0x99], 0
jle 0x1004b1ce
cmp byte [edi + 0x9b], 0
je 0x1004b1be
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x4c]
jmp 0x1004b1c4
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xf], 1
cmp byte [edi + 0x86], 0
jne 0x1004b1fe
test dword [edi + 8], 0x100
mov ecx, dword [0x10100d08]
jne 0x1004b1fe
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [ecx + 0x2dbc]
jb 0x1004b1fe
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2dbc], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [esp + 0x64]
push dword [edi + 0x1c]
call fcn.10047b50
add esp, 8
cmp byte [edi + 0x86], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
je 0x1004b29e
cmp dword [esp + 0x34], 0
jne 0x1004b29e
mov edx, dword [edi + 8]
test dl, 1
je 0x1004b245
movss xmm1, dword [esp + 0x28]
jmp 0x1004b27c
mov eax, dword [0x10100d08]
mov ecx, dword [edi + 0x2fc]
movss xmm0, dword [eax + 0x1908]
mulss xmm0, dword [edi + 0x278]
test ecx, ecx
je 0x1004b26c
mulss xmm0, dword [ecx + 0x278]
movss xmm1, dword [eax + 0x155c]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
subss xmm2, dword [edi + 0xc]
subss xmm1, dword [edi + 0x10]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm1
jmp 0x1004b2af
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x40]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x10100d08]
mov dword [edi + 0x18], ecx
test dl, 1
je 0x1004b2d3
movss xmm0, dword [esp + 0x28]
movaps xmm1, xmm0
jmp 0x1004b30b
movss xmm0, dword [eax + 0x1908]
mov ecx, dword [edi + 0x2fc]
mulss xmm0, dword [edi + 0x278]
test ecx, ecx
je 0x1004b2f5
mulss xmm0, dword [ecx + 0x278]
movss xmm1, dword [eax + 0x155c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0x28]
test edx, 0x400
je 0x1004b34f
movss xmm2, dword [eax + 0x1908]
mov ecx, dword [edi + 0x2fc]
mulss xmm2, dword [edi + 0x278]
test ecx, ecx
je 0x1004b335
mulss xmm2, dword [ecx + 0x278]
movss xmm0, dword [eax + 0x155c]
addss xmm2, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x1004b352
movaps xmm2, xmm0
cmp byte [esp + 0x12], 0
addss xmm2, xmm1
movss dword [esp + 0x2c], xmm2
je 0x1004b3c1
cmp dword [esp + 0x50], 0
mov dword [edi + 0x9c], 0xffffffff
je 0x1004b3c1
cmp byte [esp + 0x11], 0
jne 0x1004b3c1
mov eax, dword [esi + 0x1b58]
test eax, eax
jg 0x1004b3a2
push 0x528
push 0x100e6f38
push 0x100eaf38
call fcn.1009d619
mov eax, dword [esi + 0x1b58]
add esp, 0xc
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1b60]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp dword [esp + 0x34], 0
je 0x1004b493
mov edx, dword [esp + 0x38]
test edx, edx
je 0x1004b3dd
cmp byte [edx + 0x82], 0
jne 0x1004b3f8
push 0x1626
push 0x100e84a0
push 0x100e99e0
call fcn.1009d619
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ax, word [edx + 0x188]
lea ecx, [edx + 0x188]
mov word [edi + 0x90], ax
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
cmp eax, dword [ecx + 4]
jne 0x1004b457
lea edx, [eax + 1]
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], edx
test eax, eax
je 0x1004b433
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004b438
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003a690
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x188]
lea ecx, [edx + 0x188]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x20]
mov dword [eax + esi*4], edi
inc dword [ecx]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
mov al, byte [esp + 0x11]
test ecx, ecx
jne 0x1004b49b
test al, al
jne 0x1004b49b
cmp dword [esp + 0x58], 0x3000000
je 0x1004b49b
mov eax, dword [edx + 0xd0]
mov ecx, dword [edx + 0xd4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov al, byte [esp + 0x11]
movss xmm1, dword [edi + 0xb4]
ucomiss xmm1, dword [0x100ee2c4]
lahf
test ah, 0x44
jnp 0x1004b501
cmp dword [edi + 0xa4], 0
jne 0x1004b501
movss xmm0, dword [edi + 0xbc]
lea edx, [esp + 0x40]
mulss xmm0, dword [edi + 0x1c]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb8]
movss dword [esp + 0x44], xmm1
movss xmm1, dword [edi + 0xc0]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x48], xmm0
call fcn.1004dba0
add esp, 4
jmp 0x1004b553
mov edx, dword [esp + 0x14]
test edx, 0x10000000
jne 0x1004b532
test ecx, ecx
je 0x1004b51c
test al, al
jne 0x1004b51c
cmp dword [esp + 0x3c], 0
jg 0x1004b532
test edx, 0x2000000
je 0x1004b557
test al, al
jne 0x1004b557
cmp dword [esp + 0x58], 0x3000000
je 0x1004b557
mov edx, edi
lea ecx, [esp + 0xa0]
call fcn.1004fea0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x11], 0
mov eax, dword [0x10100d08]
movss xmm4, dword [esp + 0x28]
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x74], xmm4
movss xmm3, dword [eax + 0x10]
movss xmm7, dword [eax + 0x14]
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x1c], xmm7
movss dword [esp + 0x7c], xmm7
jne 0x1004b6ab
cmp dword [esp + 0x34], 0
jne 0x1004b6ab
cmp byte [edi + 0x98], 0
jg 0x1004b6ab
cmp byte [edi + 0x99], 0
jg 0x1004b6ab
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm4
jbe 0x1004b6ab
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm4
jbe 0x1004b6ab
cmp byte [eax + 0xb4], 0
movss xmm6, dword [esi + 0x15c0]
movss xmm5, dword [esi + 0x15bc]
maxss xmm6, dword [esi + 0x15c8]
maxss xmm5, dword [esi + 0x15c4]
je 0x1004b650
test byte [edi + 8], 1
jne 0x1004b650
movss xmm0, dword [eax + 0x1908]
mov ecx, dword [edi + 0x2fc]
mulss xmm0, dword [edi + 0x278]
test ecx, ecx
je 0x1004b62d
mulss xmm0, dword [ecx + 0x278]
movss xmm1, dword [eax + 0x155c]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm1
jmp 0x1004b65e
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
movaps xmm1, xmm7
movss xmm0, dword [eax]
subss xmm3, xmm5
addss xmm0, dword [edi + 0xc]
addss xmm5, xmm4
subss xmm1, xmm6
addss xmm6, xmm4
maxss xmm0, xmm5
subss xmm0, dword [eax]
minss xmm3, xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xc], xmm3
maxss xmm0, xmm6
subss xmm0, dword [eax + 4]
minss xmm1, xmm0
movss dword [edi + 0x10], xmm1
cmp dword [esp + 0x34], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm0, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
je 0x1004b6de
movss xmm3, dword [esi + 0x1548]
jmp 0x1004b6fe
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1004b6f6
movss xmm3, dword [esi + 0x1550]
jmp 0x1004b6fe
movss xmm3, dword [esi + 0x151c]
xor cl, cl
movss dword [edi + 0x3c], xmm3
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x12], cl
je 0x1004b739
test edx, 0x1000
jne 0x1004b739
cmp dword [esp + 0x50], 0
je 0x1004b725
mov byte [esp + 0x20], 1
jmp 0x1004b739
cmp dword [esp + 0x58], 0
mov eax, 1
movzx ecx, cl
cmove ecx, eax
mov dword [esp + 0x20], ecx
movss xmm1, dword [esi + 0x1904]
xorps xmm0, xmm0
addss xmm3, dword [0x100ee0ec]
movaps xmmword [esp + 0xe0], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x100ee080]
setne al
mov dword [esp + 0x3c], 0xffffffff
mulss xmm0, dword [0x100ee108]
inc eax
cmp byte [edi + 0x86], 0
addss xmm1, xmm3
mov dword [esp + 0x5c], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1004b7c0
lea ecx, [esp + 0xe0]
push ecx
push eax
lea eax, [esp + 0x44]
mov ecx, edi
push eax
lea edx, [esp + 0x54]
call fcn.10048040
movss xmm4, dword [esp + 0x34]
add esp, 0xc
test al, al
je 0x1004b7c0
mov cl, 1
mov dl, cl
jmp 0x1004b7c8
mov dl, byte [esp + 0x1b]
mov cl, byte [esp + 0xf]
cmp byte [edi + 0x86], 0
mov al, byte [esp + 0x3c]
mov byte [edi + 0x8c], al
jne 0x1004b933
cmp dword [esp + 0x24], 0
lea eax, [esp + 0x48]
movss xmm2, dword [edi + 0x20c]
movss xmm3, dword [edi + 0x210]
subss xmm2, dword [edi + 0x204]
subss xmm3, dword [edi + 0x208]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [edi + 0x1c]
subss xmm5, dword [esp + 0x2c]
addss xmm2, dword [edi + 0x78]
addss xmm3, dword [edi + 0x7c]
jne 0x1004b836
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x1004b85e
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x1004b86e
movaps xmm6, xmm2
test cl, cl
jne 0x1004b875
movaps xmm5, xmm3
mov ecx, dword [esp + 0x14]
test ecx, 0x4000
jne 0x1004b88f
comiss xmm1, xmm5
jbe 0x1004b88b
test cl, 8
je 0x1004b88f
xor al, al
jmp 0x1004b891
mov al, 1
mov byte [esp + 0xf], al
mov byte [edi + 0x81], al
test ecx, 0x8000
jne 0x1004b8df
mov edx, dword [esp + 0x30]
test al, al
je 0x1004b8b5
movss xmm0, dword [edx + 0x1590]
jmp 0x1004b8b8
movaps xmm0, xmm4
subss xmm6, xmm0
comiss xmm7, xmm6
jbe 0x1004b8d3
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0xf]
je 0x1004b8df
mov byte [edi + 0x80], 0
movaps xmm1, xmm4
jmp 0x1004b90c
mov byte [edi + 0x80], 1
test al, al
jne 0x1004b900
comiss xmm1, xmm5
jbe 0x1004b8f8
test cl, 8
jne 0x1004b8f8
mov al, 1
jmp 0x1004b8fa
xor al, al
mov byte [edi + 0x81], al
mov edx, dword [esp + 0x30]
movss xmm1, dword [edx + 0x1590]
test al, al
je 0x1004b924
movss xmm0, dword [edx + 0x1590]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
jmp 0x1004b93b
movaps xmm0, xmm4
movss dword [edi + 0x7c], xmm1
movss dword [edi + 0x78], xmm0
jmp 0x1004b93b
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5000000
mov dword [esp + 0x84], eax
cmp eax, 0x1000000
jne 0x1004b965
cmp dword [esp + 0x58], 0x3000000
je 0x1004b965
mov eax, dword [esp + 0x38]
add eax, 0x234
jmp 0x1004b969
lea eax, [esp + 0x70]
test byte [edi + 8], 1
movss xmm7, dword [edi + 0xc]
movups xmm3, xmmword [eax]
movss xmm5, dword [edi + 0x10]
movaps xmm1, xmm7
addss xmm1, dword [edi + 0x14]
movaps xmm2, xmm5
movaps xmmword [esp + 0xf0], xmm3
addss xmm2, dword [edi + 0x18]
movss dword [esp + 0x48], xmm7
je 0x1004b99f
movaps xmm6, xmm4
jmp 0x1004b9e3
cmp dword [edi + 0x2fc], 0
mov eax, dword [0x10100d08]
mov edx, dword [esp + 0x30]
movss xmm0, dword [eax + 0x1908]
mulss xmm0, dword [edi + 0x278]
je 0x1004b9d3
mov ecx, dword [edi + 0x2fc]
mulss xmm0, dword [ecx + 0x278]
mov ecx, dword [esp + 0x14]
movss xmm6, dword [eax + 0x155c]
addss xmm6, xmm6
addss xmm6, xmm0
movaps xmm0, xmm7
movss dword [esp + 0xb0], xmm7
addss xmm0, dword [edi + 0x1c]
addss xmm6, xmm5
and ecx, 0x401
movss dword [esp + 0x50], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x40], xmm6
movss dword [esp + 0xbc], xmm6
movss dword [edi + 0x1f4], xmm7
movss dword [edi + 0x1f8], xmm5
movaps xmm5, xmm3
movss dword [edi + 0x1fc], xmm1
movss dword [edi + 0x200], xmm2
movaps xmm2, xmm3
movss xmm0, dword [edi + 0x1f8]
movss xmm1, dword [edi + 0x1f4]
shufps xmm5, xmm3, 0x55
maxss xmm1, xmm3
shufps xmm2, xmm3, 0xff
maxss xmm0, xmm5
movups xmmword [esp + 0xd0], xmm5
movups xmmword [esp + 0x90], xmm2
movss dword [edi + 0x1f4], xmm1
movss dword [edi + 0x1f8], xmm0
movaps xmm0, xmm3
movss xmm1, dword [edi + 0x1fc]
shufps xmm0, xmm3, 0xaa
minss xmm1, xmm0
movups xmmword [esp + 0xc0], xmm0
movss xmm0, dword [edi + 0x200]
minss xmm0, xmm2
movss dword [edi + 0x1fc], xmm1
movss dword [edi + 0x200], xmm0
movss xmm7, dword [edi + 0x10]
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [edi + 0xc]
addss xmm0, xmm7
movss dword [edi + 0x204], xmm1
addss xmm7, dword [edi + 0x18]
movss dword [esp + 0x3c], xmm0
movss dword [edi + 0x208], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
subss xmm7, dword [edi + 0x7c]
subss xmm0, dword [edi + 0x78]
movss dword [edi + 0x210], xmm7
movss dword [esp + 0x60], xmm0
movss dword [edi + 0x20c], xmm0
cmp ecx, 1
jne 0x1004bb36
movss xmm6, dword [edi + 0x40]
movss dword [esp + 0x24], xmm6
jmp 0x1004bb49
movss xmm0, dword [edi + 0x40]
movss xmm6, dword [edx + 0x156c]
movss dword [esp + 0x24], xmm0
movss xmm2, dword [0x100ee098]
movss xmm0, dword [edi + 0x34]
addss xmm7, xmm2
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
subss xmm7, dword [esp + 0x24]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [esp + 0x24]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x214], xmm0
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm2
addss xmm0, xmm6
movups xmm6, xmmword [esp + 0x90]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x21c], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x220], xmm0
movss xmm0, dword [edi + 0x218]
comiss xmm5, xmm0
jbe 0x1004bc04
movaps xmm1, xmm5
jmp 0x1004bc0b
movaps xmm1, xmm6
minss xmm1, xmm0
movups xmm7, xmmword [esp + 0xc0]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm3, xmm2
jbe 0x1004bc24
movaps xmm0, xmm3
jmp 0x1004bc2b
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x214], xmm0
movss dword [edi + 0x218], xmm1
movss xmm0, dword [edi + 0x220]
comiss xmm5, xmm0
jbe 0x1004bc4d
movaps xmm1, xmm5
jmp 0x1004bc54
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [edi + 0x21c]
comiss xmm3, xmm2
jbe 0x1004bc66
movaps xmm0, xmm3
jmp 0x1004bc6d
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x21c], xmm0
movss dword [edi + 0x220], xmm1
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x1004bc9b
test dword [esp + 0x14], 0x2000040
jne 0x1004bc9b
mulss xmm0, dword [0x100ee0ac]
jmp 0x1004bcab
movss xmm0, dword [edx + 0x1904]
mulss xmm0, dword [0x100ee1c4]
cvttss2si eax, xmm0
push 1
mov edx, edi
lea ecx, [esp + 0xa4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x25c], xmm0
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x20c]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x204]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x60], xmm0
movss xmm0, dword [edi + 0x210]
subss xmm0, dword [edi + 0x208]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [edi + 0x64], xmm0
call fcn.1004e860
mov ecx, dword [edi + 0x280]
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x50], xmm0
movss dword [edi + 0x54], xmm1
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
call fcn.1005b710
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x1900]
mov ecx, dword [edi + 0x280]
mov eax, dword [eax + 0x38]
push dword [eax + 8]
call fcn.1005bd80
mov ecx, dword [0x10100d08]
movaps xmm0, xmmword [esp + 0xf0]
comiss xmm0, dword [esp + 0xc0]
mov eax, dword [ecx + 0x1a40]
mov byte [eax + 0x85], 1
mov eax, dword [ecx + 0x1a40]
mov dword [esp + 0x3c], eax
movaps xmmword [esp + 0xa0], xmm0
mov eax, dword [eax + 0x280]
mov dword [esp + 0x24], eax
jb 0x1004bdbe
movss dword [esp + 0xa8], xmm0
movups xmm0, xmmword [esp + 0xd0]
comiss xmm0, dword [esp + 0x90]
jb 0x1004bdd9
movss dword [esp + 0xac], xmm0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x1004be16
inc edx
mov dword [esp + 0x60], edx
test eax, eax
je 0x1004bdfd
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1004be02
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003a710
mov ecx, dword [esp + 0x24]
add ecx, 0x40
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
add edx, edx
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [eax + edx*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x24]
call fcn.1005ba70
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x280]
mov ecx, dword [eax + 0x40]
add eax, 0x40
mov dword [esp + 0x60], eax
test ecx, ecx
jg 0x1004be67
push 0x528
push 0x100e6f38
push 0x100eaf38
call fcn.1009d619
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 8]
add ecx, ecx
test dword [esp + 0x14], 0x8000000
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 ecx, dword [esp + 0x3c]
mov dword [ecx + 0x234], eax
movss dword [ecx + 0x238], xmm0
movss dword [ecx + 0x23c], xmm1
movss dword [ecx + 0x240], xmm2
je 0x1004bec4
call fcn.1004f240
cmp edi, eax
jne 0x1004bec4
cmp dword [edi + 0xa4], 0
jg 0x1004bec4
mov al, 1
jmp 0x1004bec6
xor al, al
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x1c60]
test ecx, ecx
je 0x1004bee0
cmp edi, dword [ecx + 0x300]
jne 0x1004bee0
mov cl, 1
jmp 0x1004bee2
xor cl, cl
movss xmm4, dword [0x100ee26c]
mov byte [esp + 0xf], cl
test al, al
jne 0x1004befa
test cl, cl
je 0x1004c192
mov ecx, dword [0x10100d08]
movss xmm5, dword [edx + 0x1cd4]
movss xmm2, dword [0x100ee0ec]
movzx eax, al
mulss xmm5, dword [ecx + 0x1510]
add eax, eax
movups xmm1, xmmword [ecx + eax*8 + 0x18cc]
movaps xmm0, xmm1
movaps xmmword [esp + 0x90], xmm1
shufps xmm0, xmm1, 0xff
mulss xmm5, xmm0
movss xmm0, dword [esp + 0x28]
comiss xmm0, xmm1
jbe 0x1004bf48
movaps xmm3, xmm0
jmp 0x1004bf4f
movaps xmm3, xmm2
minss xmm3, xmm1
movss xmm1, dword [0x100ee098]
movss xmm6, dword [esp + 0x94]
comiss xmm0, xmm6
mulss xmm3, xmm4
addss xmm3, xmm1
cvttss2si ecx, xmm3
jbe 0x1004bf76
movaps xmm3, xmm0
jmp 0x1004bf7d
movaps xmm3, xmm2
minss xmm3, xmm6
movss xmm6, dword [esp + 0x98]
mulss xmm3, xmm4
addss xmm3, xmm1
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x1004bfa1
movaps xmm3, xmm0
jmp 0x1004bfa8
movaps xmm3, xmm2
minss xmm3, xmm6
mulss xmm3, xmm4
addss xmm3, xmm1
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x1004bfc3
movaps xmm2, xmm0
jmp 0x1004bfc7
minss xmm2, xmm5
mulss xmm2, xmm4
push 0xf
push ecx
mov dword [esp], 0
addss xmm2, xmm1
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x280]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1005d660
cmp byte [esp + 0xf], 0
mov edx, dword [esp + 0x30]
je 0x1004c192
cmp edi, dword [edx + 0x1c60]
jne 0x1004c192
movss xmm3, dword [edi + 0xc]
movss xmm4, dword [edi + 0x10]
movaps xmm1, xmm3
movss xmm0, dword [edx + 0x1904]
movaps xmm5, xmm4
addss xmm3, dword [edi + 0x14]
addss xmm4, dword [edi + 0x18]
movss xmm2, dword [esp + 0x28]
subss xmm1, xmm0
subss xmm5, xmm0
addss xmm3, xmm0
addss xmm4, xmm0
comiss xmm2, xmm1
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm5
movss dword [esp + 0x78], xmm3
movss dword [esp + 0x7c], xmm4
jb 0x1004c085
comiss xmm2, xmm5
jb 0x1004c085
comiss xmm3, dword [esp + 0x6c]
jb 0x1004c085
comiss xmm4, dword [esp + 0x1c]
jae 0x1004c192
mov eax, dword [0x10100d08]
movss xmm5, dword [edx + 0x1c6c]
mulss xmm5, dword [0x100ee084]
movups xmm4, xmmword [eax + 0x18bc]
mulss xmm5, dword [eax + 0x1510]
comiss xmm2, xmm4
movss xmm7, dword [edx + 0x151c]
movaps xmm0, xmm4
movss xmm1, dword [0x100ee0ec]
shufps xmm0, xmm4, 0xff
movaps xmmword [esp + 0x90], xmm4
mulss xmm5, xmm0
jbe 0x1004c0d6
movaps xmm3, xmm2
jmp 0x1004c0dd
movaps xmm3, xmm1
minss xmm3, xmm4
movss xmm4, dword [0x100ee26c]
movss xmm0, dword [0x100ee098]
movss xmm6, dword [esp + 0x94]
comiss xmm2, xmm6
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si ecx, xmm3
jbe 0x1004c10c
movaps xmm3, xmm2
jmp 0x1004c113
movaps xmm3, xmm1
minss xmm3, xmm6
movss xmm6, dword [esp + 0x98]
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm2, xmm6
jbe 0x1004c137
movaps xmm3, xmm2
jmp 0x1004c13e
movaps xmm3, xmm1
minss xmm3, xmm6
mulss xmm3, xmm4
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm5
jbe 0x1004c159
movaps xmm1, xmm2
jmp 0x1004c15d
minss xmm1, xmm5
mulss xmm1, xmm4
push 0xf
push ecx
movss dword [esp], xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, dword [edi + 0x280]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.1005d660
cmp dword [esp + 0x84], 0x1000000
mov byte [esp + 0xf], 0
jne 0x1004c209
cmp dword [esp + 0x58], 0x3000000
je 0x1004c209
mov eax, dword [edi + 0x280]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
test eax, eax
jg 0x1004c1dd
push 0x528
push 0x100e6f38
push 0x100eaf38
call fcn.1009d619
mov edx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [edx]
jmp 0x1004c1e1
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x28], 0
jne 0x1004c209
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x280]
cmp dword [eax + 0x18], 0
jle 0x1004c209
mov byte [esp + 0xf], 1
mov dword [edi + 0x280], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x1c5c]
test edx, edx
jne 0x1004c21d
mov edx, dword [ecx + 0x1b64]
cmp byte [esp + 0x20], 0
jne 0x1004c23d
test edx, edx
je 0x1004c236
mov eax, dword [edi + 0x304]
cmp eax, dword [edx + 0x304]
je 0x1004c23d
mov byte [esp + 0x24], 0
jmp 0x1004c242
mov byte [esp + 0x24], 1
movd xmm0, esi
lea eax, [esp + 0xe0]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0xb4]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x64]
push dword [esp + 0x30]
call fcn.10049270
add esp, 0x10
cmp byte [esp + 0xf], 0
je 0x1004c283
lea eax, [edi + 0x284]
mov dword [edi + 0x280], eax
mov esi, dword [esp + 0x30]
movss xmm4, dword [esp + 0x28]
cmp dword [esi + 0x1c60], edi
jne 0x1004c4be
movss xmm7, dword [edi + 0x3c]
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm7
maxss xmm0, dword [esi + 0x151c]
movss xmm1, dword [edi + 0x10]
movaps xmm6, xmm2
addss xmm2, dword [edi + 0x14]
movaps xmm5, xmm1
addss xmm1, dword [edi + 0x18]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 0x1904]
subss xmm6, xmm0
subss xmm5, xmm0
addss xmm2, xmm0
addss xmm1, xmm0
comiss xmm4, xmm6
jb 0x1004c324
comiss xmm4, xmm5
jb 0x1004c324
comiss xmm2, dword [esp + 0x6c]
jb 0x1004c324
comiss xmm1, dword [esp + 0x1c]
movss xmm3, dword [0x100ee0ec]
jb 0x1004c32c
xorps xmm0, xmmword [0x100ee8b0]
subss xmm0, xmm3
movss dword [esp + 0x24], xmm7
subss xmm6, xmm0
subss xmm5, xmm0
addss xmm2, xmm0
addss xmm1, xmm0
jmp 0x1004c32c
movss xmm3, dword [0x100ee0ec]
mov eax, dword [0x10100d08]
movss xmm7, dword [esi + 0x1c6c]
mov ecx, dword [edi + 0x280]
mov dword [esp + 0x1c], ecx
movups xmm0, xmmword [eax + 0x18bc]
mulss xmm7, dword [eax + 0x1510]
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0x70], xmm0
shufps xmm0, xmmword [esp + 0xd0], 0xff
mulss xmm7, xmm0
movups xmm0, xmmword [eax + 0x18bc]
movss dword [esp + 0x5c], xmm7
comiss xmm4, xmm0
jbe 0x1004c383
movaps xmm7, xmm4
jmp 0x1004c38a
movaps xmm7, xmm3
minss xmm7, xmm0
comiss xmm4, dword [esp + 0x74]
mulss xmm7, dword [0x100ee26c]
movss xmm0, dword [0x100ee098]
addss xmm7, xmm0
cvttss2si edx, xmm7
jbe 0x1004c3ae
movaps xmm7, xmm4
jmp 0x1004c3b7
movaps xmm7, xmm3
minss xmm7, dword [esp + 0x74]
mulss xmm7, dword [0x100ee26c]
addss xmm7, xmm0
cvttss2si eax, xmm7
shl eax, 8
or edx, eax
comiss xmm4, dword [esp + 0x78]
jbe 0x1004c3d8
movaps xmm7, xmm4
jmp 0x1004c3e1
movaps xmm7, xmm3
minss xmm7, dword [esp + 0x78]
mulss xmm7, dword [0x100ee26c]
addss xmm7, xmm0
cvttss2si eax, xmm7
movss xmm7, dword [esp + 0x5c]
shl eax, 0x10
or edx, eax
comiss xmm4, xmm7
jbe 0x1004c406
movaps xmm3, xmm4
jmp 0x1004c40a
minss xmm3, xmm7
mulss xmm3, dword [0x100ee26c]
addss xmm3, xmm0
cvttss2si eax, xmm3
shl eax, 0x18
or eax, edx
mov dword [esp + 0x5c], eax
test eax, 0xff000000
je 0x1004c4be
test byte [ecx + 0x24], 1
addss xmm6, xmm0
movss xmm3, dword [esp + 0x24]
addss xmm5, xmm0
push 0xffffffffffffffff
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x68]
movss dword [esp + 0x68], xmm6
movss dword [esp + 0x6c], xmm5
push eax
je 0x1004c467
subss xmm2, xmm0
subss xmm1, xmm0
jmp 0x1004c477
subss xmm2, dword [0x100ee094]
subss xmm1, dword [0x100ee094]
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x94], xmm1
call fcn.1005d160
mov eax, dword [esp + 0x1c]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [esp + 0x64]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.1005c040
mov eax, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x28]
mov dword [eax + 0x58], 0
mov ecx, dword [esp + 0x14]
mov edx, ecx
movss xmm6, dword [edi + 0x2c]
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x1004c4e2
movss dword [esp + 0x1c], xmm6
jmp 0x1004c51b
movss xmm0, dword [edi + 0x34]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x78]
cmp eax, 0x800
jne 0x1004c50e
movss xmm0, dword [edi + 0x24]
jmp 0x1004c511
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm5, dword [edi + 0x30]
movss xmm7, dword [edi + 0x38]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x1004c536
movss dword [esp + 0x6c], xmm5
jmp 0x1004c569
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm1, xmm0
subss xmm1, dword [esp + 0x2c]
subss xmm1, dword [edi + 0x7c]
test dl, dl
je 0x1004c55c
movss xmm0, dword [edi + 0x28]
jmp 0x1004c55f
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x204]
subss xmm1, dword [edi + 0x50]
movss dword [esp + 0x5c], xmm0
maxss xmm0, dword [edi + 0x40]
movss xmm3, dword [edi + 0xc]
subss xmm3, dword [edi + 0x50]
ucomiss xmm6, xmm4
addss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x208]
subss xmm1, dword [edi + 0x54]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x224], xmm2
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x1c]
addss xmm1, xmm2
movss xmm2, dword [edi + 0x10]
subss xmm2, dword [edi + 0x54]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x22c], xmm1
addss xmm2, xmm7
movss xmm1, dword [esp + 0x6c]
addss xmm1, xmm0
movss dword [edi + 0x228], xmm0
lahf
addss xmm2, dword [esp + 0x2c]
movss dword [edi + 0x230], xmm1
movss xmm1, dword [esp + 0x5c]
addss xmm3, xmm1
movss dword [edi + 0x248], xmm2
movss dword [edi + 0x244], xmm3
test ah, 0x44
jp 0x1004c643
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm6, xmm0
subss xmm6, dword [edi + 0x78]
ucomiss xmm5, xmm4
addss xmm6, xmm3
lahf
movss dword [edi + 0x24c], xmm6
test ah, 0x44
jp 0x1004c673
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm5, xmm0
subss xmm5, dword [esp + 0x2c]
subss xmm5, dword [edi + 0x7c]
addss xmm7, dword [esp + 0x2c]
movaps xmm0, xmm1
mov dword [edi + 0x110], 0
addss xmm0, xmm4
mov dword [edi + 0x10c], 0
addss xmm5, xmm2
subss xmm7, dword [edi + 0x54]
subss xmm0, dword [edi + 0x50]
movss dword [edi + 0x250], xmm5
addss xmm7, dword [edi + 0x10]
movss dword [edi + 0x108], xmm0
addss xmm0, xmm4
movss dword [edi + 0xe4], xmm7
mov ecx, dword [edi + 0xe4]
addss xmm0, dword [edi + 0xc]
mov dword [edi + 0xd4], ecx
mov dword [edi + 0xdc], ecx
mov dword [edi + 0xec], ecx
movss dword [edi + 0xe0], xmm0
mov eax, dword [edi + 0xe0]
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd8], eax
mov dword [edi + 0xe8], eax
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov eax, dword [edi + 0xf8]
mov ecx, dword [edi + 0xfc]
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], ecx
lea ecx, [edi + 0x174]
mov dword [edi + 0x104], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 1
mov eax, dword [edi + 0x148]
mov dword [edi + 0x144], eax
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov byte [edi + 0x150], 0
movss xmm0, dword [edi + 0x64]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x12], 0
mov byte [edi + 0x151], al
mov byte [edi + 0x152], 0
maxss xmm1, dword [esi + 0x1570]
maxss xmm1, dword [esi + 0x1b0c]
movss dword [edi + 0x154], xmm1
mov eax, dword [esi + 0x1b10]
mov dword [edi + 0x158], eax
movss xmm0, dword [esi + 0x1570]
mov dword [edi + 0x164], 0
mov dword [edi + 0x160], 0
movss dword [edi + 0x15c], xmm0
je 0x1004c7f6
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
test edx, edx
je 0x1004c81d
movss xmm0, dword [ecx]
comiss xmm0, xmm4
jbe 0x1004c81d
movss xmm0, dword [edi + 0x15c]
addss xmm0, dword [edi + 0x160]
movss dword [edi + 0x160], xmm0
cvttss2si eax, dword [edi + 0x160]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [edi + 0x160]
movss dword [edi + 0x160], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x1004c7f8
mov dword [edi + 0x180], 0
lea eax, [edi + 0x188]
mov dword [edi + 0x184], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004c897
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 + 0x188]
call fcn.1003a690
lea eax, [edi + 0x188]
mov ecx, dword [esp + 0x38]
mov dword [eax], 0
lea eax, [edi + 0x260]
mov dword [edi + 0x194], eax
mov dword [edi + 0x198], 0
mov dword [edi + 0x19c], 1
test ecx, ecx
je 0x1004c8ed
mov eax, dword [ecx + 0x19c]
mov dword [edi + 0x1a0], eax
mov dword [edi + 0x1a8], 0xffffffff
mov dword [edi + 0x1a4], 0xffffffff
mov eax, dword [ecx + 0x1ac]
jmp 0x1004c90d
mov dword [edi + 0x1a0], 1
xor eax, eax
mov dword [edi + 0x1a8], 0xffffffff
mov dword [edi + 0x1a4], 0xffffffff
mov dword [edi + 0x1ac], eax
lea ecx, [edi + 0x1b8]
mov eax, dword [edi + 0x25c]
mov dword [edi + 0x1b0], eax
push 0
mov dword [edi + 0x1b4], 0xbf800000
call fcn.10039110
push 0
lea ecx, [edi + 0x1c4]
call fcn.10039110
push 0
lea ecx, [edi + 0x1d0]
call fcn.10039110
push 0
lea ecx, [edi + 0x1dc]
call fcn.10054880
cmp dword [esp + 0x34], 0
je 0x1004c986
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x1ac]
lea eax, [edi + 0x1ac]
cmp dword [eax], edx
je 0x1004c986
push eax
lea ecx, [edi + 0x1b8]
mov dword [eax], edx
call fcn.10054950
mov al, byte [edi + 0x98]
test al, al
jle 0x1004c998
dec al
mov byte [edi + 0x98], al
mov al, byte [edi + 0x99]
test al, al
jle 0x1004c9aa
dec al
mov byte [edi + 0x99], al
cmp byte [esp + 0x20], 0
je 0x1004c9c1
mov ecx, edi
call fcn.1004cee0
xor dl, dl
mov ecx, edi
call fcn.10050e20
test byte [esp + 0x14], 1
jne 0x1004c9e4
push dword [esp + 0x8c]
lea edx, [esp + 0xb4]
mov ecx, edi
push dword [esp + 0x6c]
call fcn.10049e70
add esp, 8
mov eax, dword [edi + 0x48]
movss xmm4, dword [esp + 0x48]
movss xmm5, dword [esp + 0xb4]
mov dword [edi + 0x114], eax
mov eax, dword [0x10100d08]
movss xmm1, dword [eax + 0x1580]
movss xmm0, dword [eax + 0x1584]
subss xmm4, xmm1
movaps xmm3, xmm1
subss xmm5, xmm0
movss xmm1, dword [eax + 0xe8]
movaps xmm2, xmm0
addss xmm3, dword [esp + 0x50]
addss xmm2, dword [esp + 0x40]
comiss xmm1, xmm4
jb 0x1004ca56
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm5
jb 0x1004ca56
comiss xmm3, xmm1
jbe 0x1004ca56
comiss xmm2, xmm0
jbe 0x1004ca56
mov eax, 1
jmp 0x1004ca58
xor eax, eax
movups xmm0, xmmword [esp + 0xb0]
mov dword [edi + 0x118], eax
lea edx, [edi + 0x21c]
push 1
lea ecx, [edi + 0x214]
movups xmmword [edi + 0x11c], xmm0
call fcn.10045c20
mov byte [edi + 0x85], 0
jmp 0x1004cad9
mov eax, dword [0x10100d08]
movss xmm0, dword [eax + 0x1908]
mov dword [eax + 0x1a40], edi
mov ecx, dword [edi + 0x2fc]
mulss xmm0, dword [edi + 0x278]
test ecx, ecx
je 0x1004cab6
mulss xmm0, dword [ecx + 0x278]
push 1
lea edx, [edi + 0x21c]
movss dword [eax + 0x1918], xmm0
lea ecx, [edi + 0x214]
movss dword [eax + 0x1904], xmm0
call fcn.10045c20
inc word [edi + 0x8e]
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1abc], 0
test eax, 0x1000000
je 0x1004cb9d
test al, 1
jne 0x1004cb1b
push 0x1763
push 0x100e84a0
push 0x100e9988
call fcn.1009d619
mov eax, dword [esp + 0x20]
add esp, 0xc
test al, 0x40
jne 0x1004cb5d
cmp byte [edi + 0x98], 0
jg 0x1004cb5d
cmp byte [edi + 0x99], 0
jg 0x1004cb5d
movss xmm0, dword [edi + 0x1f4]
comiss xmm0, dword [edi + 0x1fc]
jae 0x1004cb53
movss xmm0, dword [edi + 0x1f8]
comiss xmm0, dword [edi + 0x200]
jb 0x1004cb5d
mov dword [edi + 0xa0], 1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004cb9d
cmp byte [eax + 0x86], 0
jne 0x1004cb77
cmp dword [eax + 0xa0], 0
jle 0x1004cb8a
mov dword [edi + 0xa0], 1
cmp byte [eax + 0x86], 0
jne 0x1004cb93
cmp dword [eax + 0xa4], 0
jle 0x1004cb9d
mov dword [edi + 0xa4], 1
movss xmm0, dword [esp + 0x28]
comiss xmm0, dword [esi + 0x1510]
jb 0x1004cc06
mov dword [edi + 0xa0], 1
mov cl, 1
xor al, al
mov byte [edi + 0x8a], cl
cmp byte [edi + 0x86], al
jne 0x1004cbd4
cmp byte [edi + 0x82], al
je 0x1004cbd4
test cl, cl
je 0x1004cbf8
cmp byte [edi + 0x98], 0
jg 0x1004cbf8
cmp byte [edi + 0x99], 0
jg 0x1004cbf8
cmp dword [edi + 0xa4], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x88], al
xor al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0xa0], 0
jg 0x1004cbb6
cmp dword [edi + 0xa4], 0
jg 0x1004cbb6
xor cl, cl
jmp 0x1004cbb8