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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x101d7380]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
push esi
mov esi, dword [0x102b31c8]
push edi
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x10]
push ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x54], esi
call fcn.10089560
add esp, 4
mov dword [ebp - 0x60], eax
mov edi, eax
xorps xmm0, xmm0
test edi, edi
sete cl
mov byte [ebp - 0x2c], cl
test eax, eax
jne 0x10083cbf
test byte [esi + 0x1a80], 2
je 0x10083c9e
movss xmm1, dword [esi + 0x1aa0]
movss xmm0, dword [esi + 0x1aa4]
jmp 0x10083ca1
xorps xmm1, xmm1
push dword [ebp - 0x28]
sub esp, 8
mov eax, esp
push dword [ebp - 0x70]
movss dword [eax], xmm1
movss dword [eax + 4], xmm0
call fcn.10087f70
add esp, 0x10
mov edi, eax
mov edx, dword [ebp - 0x28]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10083cd8
or edx, 6
mov dword [ebp - 0x28], edx
cmp dword [esi + 0x19e4], 0
mov ecx, dword [esi + 0x19b0]
mov eax, dword [edi + 0x24c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x58], eax
jne 0x10083d00
cmp byte [esi + 0x19bd], 0
je 0x10083d00
mov al, 1
jmp 0x10083d02
xor al, al
mov edx, dword [edi + 0x9c]
mov byte [edi + 0x82], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x28]
setl al
mov byte [ebp - 0x6c], al
test edx, 0x4000000
je 0x10083d60
mov ecx, dword [ebp - 0x54]
mov eax, dword [esi + 0x1b1c]
mov edx, dword [ecx + 0x1b18]
lea esi, [eax + eax*8]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x28]
setne al
or cl, al
mov al, byte [ebp - 0x6c]
or al, cl
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x6c], al
test al, al
jne 0x10083d72
cmp dword [ebp - 0x5c], 0
jg 0x10083d72
mov byte [edi + 0x80], al
jmp 0x10083d8e
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov byte [edi + 0x80], 1
cmp dword [ebp - 0x58], ecx
je 0x10083dcf
mov dword [edi + 8], edx
xor eax, eax
mov dword [edi + 0x24c], ecx
movsd xmm0, qword [esi + 0x19a8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x88], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x19fc]
inc dword [esi + 0x19fc]
mov word [edi + 0x8a], ax
jmp 0x10083dd5
mov edx, dword [edi + 8]
mov dword [ebp - 0x28], edx
cmp dword [esi + 0x19e4], 0
jne 0x10083de7
mov dword [ebp - 0x3c], 0
jmp 0x10083dfd
mov eax, dword [esi + 0x19ec]
mov esi, dword [esi + 0x19e4]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x58], ecx
je 0x10083e12
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, dword [ebp - 0x3c]
jmp 0x10083e18
mov eax, dword [edi + 0x2f4]
cmp dword [edi + 0xbc], 0
mov dword [ebp - 0x64], eax
lea eax, [edi + 0xbc]
jne 0x10083e50
cmp dword [eax + 4], 0
jne 0x10083e3f
push 8
mov ecx, eax
call fcn.100969f0
lea eax, [edi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xbc]
mov ecx, dword [esi + 0x19e8]
lea edx, [esi + 0x19e4]
cmp dword [edx], ecx
jne 0x10083e93
test ecx, ecx
je 0x10083e75
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x19e4]
sar eax, 1
add eax, ecx
jmp 0x10083e7a
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [ebp - 0x54]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100969f0
lea edx, [esi + 0x19e4]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
lea edx, [edi + 0x1e0]
mov dword [esi + 0x1a00], 0
mov ecx, dword [0x102b31c8]
movzx eax, word [edi + 0xbc]
mov word [edx], ax
movzx eax, word [edi + 0x1d4]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1b1c]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x1aec]
mov word [edx + 6], ax
add edx, 8
movzx eax, word [ecx + 0x1af8]
mov word [edx], ax
movzx eax, word [ecx + 0x1b04]
mov ecx, dword [ebp - 0x28]
mov word [edx + 2], ax
test ecx, 0x4000000
je 0x10083f31
mov eax, dword [esi + 0x1b1c]
lea ecx, [esi + 0x1b1c]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1b18]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.100967c0
mov eax, dword [esi]
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x8c], eax
cmp dword [ebp - 0x5c], 0
jle 0x10083f49
test ecx, 0x1000000
jne 0x10083f49
mov dword [edi + 0x308], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x40]
je 0x10083fc8
mov edx, dword [ebp - 0x64]
mov dword [edi + 0x2f4], edx
mov dword [edi + 0x300], edi
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
test edx, edx
je 0x10083fa6
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10083f8a
mov eax, dword [edx + 0x2f8]
mov dword [edi + 0x2f8], eax
test ecx, 0x8000000
jne 0x10083fa6
test ecx, 0x5000000
je 0x10083fa6
mov eax, dword [edx + 0x2fc]
mov dword [edi + 0x2fc], eax
test dword [edi + 8], 0x800000
je 0x10083fc8
mov ecx, edi
mov eax, dword [ecx + 0x2f4]
mov ecx, eax
mov dword [edi + 0x300], eax
test dword [ecx + 8], 0x800000
jne 0x10083fb1
xor dl, dl
mov byte [ebp - 0x2a], 0
test byte [esi + 0x1a80], 1
mov byte [ebp - 0x2b], dl
mov byte [ebp - 0x29], dl
je 0x1008406a
mov ecx, dword [esi + 0x1a84]
mov edx, dword [edi + 0xa0]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x2a]
test ecx, eax
je 0x10084059
movss xmm1, dword [esi + 0x1a9c]
movss xmm0, dword [esi + 0x1a98]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10104b10]
jbe 0x10084059
mov eax, dword [esi + 0x1a90]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a94]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esi + 0x1a98]
mov ecx, dword [esi + 0x1a9c]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xa0], edx
jmp 0x1008406a
push ecx
lea eax, [esi + 0x1a90]
push eax
push edi
call fcn.10094140
add esp, 0xc
test byte [esi + 0x1a80], 2
je 0x100840c8
mov eax, dword [edi + 0xa4]
xorps xmm1, xmm1
mov ecx, dword [esi + 0x1a88]
and eax, ecx
je 0x10084099
movss xmm0, dword [esi + 0x1aa0]
comiss xmm0, xmm1
jbe 0x10084099
mov byte [ebp - 0x2b], 1
jmp 0x100840a2
xor dl, dl
mov byte [ebp - 0x2b], dl
test eax, eax
je 0x100840b3
movss xmm0, dword [esi + 0x1aa4]
comiss xmm0, xmm1
mov byte [ebp - 0x29], 1
ja 0x100840b7
mov byte [ebp - 0x29], 0
push ecx
lea eax, [esi + 0x1aa0]
push eax
push edi
call fcn.10094240
add esp, 0xc
test byte [esi + 0x1a80], 4
je 0x100840df
mov eax, dword [esi + 0x1aa8]
mov ecx, dword [esi + 0x1aac]
jmp 0x100840fb
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x40]
je 0x10084101
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x30], ecx
mov dword [edi + 0x2c], eax
test byte [esi + 0x1a80], 8
je 0x1008412c
mov eax, dword [esi + 0x1a8c]
mov cl, byte [esi + 0x1ab0]
test eax, eax
je 0x10084122
test dword [edi + 0xa8], eax
je 0x1008412c
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a80], 0x20
je 0x1008413e
push edi
call fcn.10089740
add esp, 4
cmp byte [edi + 0x80], 0
je 0x1008415c
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x40]
je 0x10085a98
mov eax, dword [ebp - 0x28]
and eax, 0x3000000
mov byte [edi + 0x7a], 1
cmp dword [ebp - 0x98], 0
mov dword [ebp - 0x58], eax
setne al
mov byte [edi + 0x83], al
mov dword [edi + 0x22c], 0xff7fffff
mov dword [edi + 0x230], 0xff7fffff
mov dword [edi + 0x234], 0x7f7fffff
mov dword [edi + 0x238], 0x7f7fffff
mov eax, dword [edi + 0xc0]
cmp eax, 1
jge 0x100841ed
test eax, eax
je 0x100841d0
cdq
sub eax, edx
lea edx, [edi + 0xbc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100841db
mov ecx, 8
lea edx, [edi + 0xbc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100969f0
mov dword [edi + 0xbc], 1
cmp byte [edi + 0x330], 0
je 0x100842cc
mov ecx, dword [edi + 0x278]
push dword [edi + 0x334]
add ecx, 0xc
mov byte [edi + 0x330], 0
call fcn.10096970
mov eax, dword [edi + 0x278]
mov ecx, dword [edi + 0x338]
add eax, 0x18
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], ecx
cmp ecx, dword [eax + 4]
jle 0x100842b8
mov eax, dword [0x102b31c8]
test eax, eax
je 0x10084248
inc dword [eax + 0x374]
push dword [0x102b31d0]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x101d6f90]
mov dword [ebp - 0x40], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 8]
test edx, edx
je 0x100842ac
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x40]
call fcn.100be2c0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10084299
mov eax, dword [0x102b31c8]
test eax, eax
je 0x10084299
dec dword [eax + 0x374]
push dword [0x102b31d0]
push ecx
call dword [0x101d6f94]
mov eax, dword [ebp - 0x3c]
add esp, 8
mov ecx, dword [ebp - 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov dword [edi + 0x338], 0
mov dword [edi + 0x334], 0
cmp dword [esi + 0x1c30], 0
mov edx, dword [ebp - 0x60]
je 0x100843bb
test dword [edi + 8], 0x80000
jne 0x100843bb
test edx, edx
je 0x100843bb
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x70]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10084320
test dl, dl
je 0x1008431c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10084320
add eax, 2
add ecx, 2
test dl, dl
jne 0x10084300
xor eax, eax
jmp 0x10084325
sbb eax, eax
or eax, 1
test eax, eax
je 0x100843b8
mov ecx, dword [ebp - 0x70]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x68], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10084340
sub ecx, dword [ebp - 0x30]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
cmp edx, eax
jae 0x100843a3
test ecx, ecx
je 0x1008436a
mov eax, dword [0x102b31c8]
test eax, eax
je 0x1008436a
dec dword [eax + 0x374]
push dword [0x102b31d0]
push ecx
call dword [0x101d6f94]
mov eax, dword [0x102b31c8]
add esp, 8
test eax, eax
je 0x10084389
inc dword [eax + 0x374]
push dword [0x102b31d0]
push dword [ebp - 0x3c]
call dword [0x101d6f90]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x68], eax
push eax
push dword [ebp - 0x70]
push ecx
call fcn.100be2c0
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x44], eax
mov edx, dword [ebp - 0x60]
cmp byte [edi + 0x7d], 0
je 0x100843e7
cmp byte [edi + 0x90], 0
jg 0x100843e7
cmp byte [edi + 0x91], 0
jg 0x100843e7
movss xmm0, dword [edi + 0x24]
xorps xmm1, xmm1
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x28]
jmp 0x1008445c
cmp byte [edi + 0x81], 0
je 0x10084402
cmp dword [edi + 0x9c], 0
jne 0x10084402
cmp dword [edi + 0x98], 0
jg 0x100843d3
movss xmm0, dword [edi + 0x2c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10084423
movss xmm0, dword [edi + 0xe0]
subss xmm0, dword [edi + 0xd8]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x30]
ucomiss xmm0, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
test ah, 0x44
jp 0x1008444c
movss xmm0, dword [edi + 0xe4]
subss xmm0, dword [edi + 0xdc]
cvttss2si eax, xmm0
movss dword [ebp - 0x48], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x98]
movss dword [ebp - 0x44], xmm0
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x28], ecx
test eax, eax
jle 0x1008447e
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x1008448f
dec eax
mov dword [edi + 0x9c], eax
mov al, byte [ebp - 0x2b]
mov cl, byte [ebp - 0x29]
test edx, edx
jne 0x100844ab
test al, al
je 0x100844a1
test cl, cl
jne 0x100844ab
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x6c], 0
mov edx, dword [ebp - 0x28]
je 0x10084509
test edx, 0x6000000
je 0x10084509
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x10084509
test al, al
jne 0x100844dd
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x100844ef
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
mov ecx, dword [0x102b31c8]
mov dword [ecx + 0x1a00], edi
mov eax, dword [0x102b31c8]
movss xmm0, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x1008453c
mulss xmm0, dword [eax + 0x270]
movss dword [ecx + 0x18e4], xmm0
movss dword [ecx + 0x18d0], xmm0
test edx, 0x1000000
je 0x1008455e
movss xmm0, dword [esi + 0x1544]
jmp 0x10084580
test edx, 0x6000000
je 0x10084578
test edx, 0x8000000
jne 0x10084578
movss xmm0, dword [esi + 0x154c]
jmp 0x10084580
movss xmm0, dword [esi + 0x1528]
mov eax, edi
movss dword [eax + 0x40], xmm0
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x100845d8
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100845d8
test edx, 0x400
je 0x100845c0
movss xmm1, dword [esi + 0x1520]
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
movss dword [ebp - 0x44], xmm1
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
test dl, 0x21
jne 0x1008464f
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.10094af0
cmp dword [esi + 0x1a04], edi
jne 0x1008462e
cmp dword [esi + 0x1a20], 0
jne 0x1008462e
cmp dword [esi + 0x1a28], 0
jne 0x1008462e
push 1
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.1008bfa0
add esp, 0xc
test al, al
je 0x1008462e
cmp byte [esi + 0x3e5], 0
je 0x1008462e
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x10084653
cmp byte [edi + 0x7d], 0
push edi
sete al
mov byte [edi + 0x7d], al
call fcn.1008cdb0
push edi
call fcn.10089740
add esp, 8
jmp 0x10084653
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.10087160
mov al, byte [ebp - 0x2c]
add esp, 0xc
test byte [ebp - 0x28], 0x40
mov byte [ebp - 0x21], al
je 0x100846ab
cmp byte [edi + 0x7d], 0
jne 0x100846ab
cmp byte [ebp - 0x2b], 0
jne 0x1008468e
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x2c], 1
cmp byte [ebp - 0x29], 0
jne 0x1008474b
movss xmm0, dword [ebp - 0x34]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x21], 1
jmp 0x1008474b
mov al, byte [edi + 0x90]
test al, al
jg 0x100846c2
cmp byte [edi + 0x91], 0
jle 0x1008474b
cmp byte [ebp - 0x2b], 0
jne 0x100846ef
test al, al
jle 0x100846ef
cmp byte [edi + 0x93], 0
je 0x100846e1
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x38]
jmp 0x100846e6
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x2c], 1
cmp byte [ebp - 0x29], 0
jne 0x10084721
cmp byte [edi + 0x91], 0
jle 0x10084721
cmp byte [edi + 0x93], 0
je 0x10084713
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x34]
jmp 0x10084718
movss xmm0, dword [ebp - 0x34]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x21], 1
cmp byte [edi + 0x7d], 0
jne 0x1008474b
test dword [edi + 8], 0x100
mov ecx, dword [0x102b31c8]
jne 0x1008474b
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2da0]
jb 0x1008474b
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2da0], eax
mov eax, dword [edi + 0x1c]
sub esp, 8
mov ecx, esp
push edi
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x48]
push eax
call fcn.100873a0
add esp, 0x10
cmp byte [edi + 0x7d], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], eax
je 0x100847a7
test dword [ebp - 0x28], 0x1000000
jne 0x100847a7
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.10094af0
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
jmp 0x100847b6
movss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x20]
mov eax, dword [ebp - 0x48]
mov edx, dword [edi + 8]
movss dword [ebp - 0x44], xmm0
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov eax, dword [0x102b31c8]
test edx, 0x400
je 0x10084813
movss xmm1, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test ecx, ecx
je 0x100847f9
mulss xmm1, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x10084816
xorps xmm1, xmm1
test dl, 1
je 0x10084820
xorps xmm2, xmm2
jmp 0x10084852
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x10084842
mulss xmm0, dword [ecx + 0x270]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
cmp byte [ebp - 0x6c], 0
addss xmm2, xmm1
mov edx, dword [ebp - 0x28]
movss dword [ebp - 0x40], xmm2
je 0x1008489c
mov dword [edi + 0x94], 0xffffffff
test edx, 0x4000000
je 0x1008489c
cmp byte [ebp - 0x2a], 0
jne 0x1008489c
mov eax, dword [esi + 0x1b1c]
mov ecx, dword [esi + 0x1b24]
lea edx, [eax + eax*8]
mov eax, dword [ecx + edx*4 - 0x10]
mov ecx, dword [ecx + edx*4 - 0xc]
mov edx, dword [ebp - 0x28]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
test edx, 0x1000000
je 0x10084931
mov ecx, dword [ebp - 0x64]
add ecx, 0x180
mov dword [ebp - 0x3c], ecx
mov ax, word [ecx]
mov word [edi + 0x88], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x100848f2
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0x30], edx
test eax, eax
je 0x100848dc
cdq
sub eax, edx
mov edx, dword [ebp - 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100848e1
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100969f0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [eax + ecx*4], edi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
inc dword [eax]
mov al, byte [ebp - 0x2a]
test edx, 0x4000000
jne 0x10084937
test al, al
jne 0x10084937
cmp ecx, 0x3000000
je 0x10084937
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x58]
mov al, byte [ebp - 0x2a]
movss xmm1, dword [edi + 0xac]
ucomiss xmm1, dword [0x100f0134]
lahf
test ah, 0x44
jnp 0x1008499a
cmp dword [edi + 0x9c], 0
jne 0x1008499a
movss xmm0, dword [edi + 0xb4]
lea eax, [ebp - 0x48]
mulss xmm0, dword [edi + 0x1c]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb0]
movss dword [ebp - 0x48], xmm1
movss xmm1, dword [edi + 0xb8]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
call fcn.10094140
add esp, 0xc
jmp 0x100849e0
test edx, 0x10000000
jne 0x100849c8
test edx, 0x4000000
je 0x100849b4
test al, al
jne 0x100849b4
cmp dword [ebp - 0x5c], 0
jg 0x100849c8
test edx, 0x2000000
je 0x100849e3
test al, al
jne 0x100849e3
cmp ecx, 0x3000000
je 0x100849e3
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.10088e00
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov edx, dword [ebp - 0x28]
cmp byte [ebp - 0x2a], 0
mov eax, dword [0x102b31c8]
movss xmm4, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
movss dword [ebp - 0x7c], xmm4
movss dword [ebp - 0x78], xmm3
jne 0x10084b1b
test edx, 0x1000000
jne 0x10084b1b
cmp byte [edi + 0x90], 0
jg 0x10084b1b
cmp byte [edi + 0x91], 0
jg 0x10084b1b
movss xmm5, dword [esi + 0x15ac]
xorps xmm1, xmm1
movss xmm6, dword [esi + 0x15b0]
movaps xmm0, xmm4
maxss xmm5, dword [esi + 0x15b4]
maxss xmm6, dword [esi + 0x15b8]
subss xmm0, xmm1
comiss xmm0, xmm1
jbe 0x10084b1b
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm0, xmm1
jbe 0x10084b1b
cmp byte [eax + 0xb4], 0
je 0x10084ac3
test byte [edi + 8], 1
jne 0x10084ac3
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x10084ab1
mulss xmm0, dword [ecx + 0x270]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
jmp 0x10084ac8
movss xmm2, dword [edi + 0x18]
movss xmm7, dword [edi + 0x14]
subss xmm4, xmm5
movaps xmm0, xmm7
addss xmm5, xmm1
addss xmm0, dword [edi + 0xc]
subss xmm3, xmm6
addss xmm6, xmm1
maxss xmm0, xmm5
subss xmm0, xmm7
minss xmm4, xmm0
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x48], xmm4
mov eax, dword [ebp - 0x48]
maxss xmm0, xmm6
mov dword [edi + 0xc], eax
subss xmm0, xmm2
minss xmm3, xmm0
movss dword [ebp - 0x44], xmm3
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x10], ecx
cvttss2si eax, dword [edi + 0xc]
movd xmm0, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x48], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0xc], eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x44], xmm0
mov ecx, dword [ebp - 0x44]
mov dword [edi + 0x10], ecx
test edx, 0x1000000
je 0x10084b5b
movss xmm2, dword [esi + 0x1540]
jmp 0x10084b7b
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10084b73
movss xmm2, dword [esi + 0x1548]
jmp 0x10084b7b
movss xmm2, dword [esi + 0x1524]
xor cl, cl
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x3c], ecx
cmp byte [ebp - 0x6c], cl
je 0x10084bb4
test edx, 0x1000
jne 0x10084bb4
test edx, 0x4000000
je 0x10084ba0
mov byte [ebp - 0x3c], 1
jmp 0x10084bb4
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x3c], ecx
movss xmm1, dword [esi + 0x18d0]
xorps xmm0, xmm0
addss xmm2, dword [0x100ef7fc]
movaps xmmword [ebp - 0x20], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x10104b2c]
setne al
mov dword [ebp - 0x68], 0xffffffff
mulss xmm0, dword [0x10104b50]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [ebp - 0x44], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x10084c29
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.10095890
mov edx, dword [ebp - 0x28]
add esp, 0x14
test al, al
je 0x10084c29
mov cl, 1
mov ah, cl
jmp 0x10084c2f
mov ah, byte [ebp - 0x2c]
mov cl, byte [ebp - 0x21]
cmp byte [edi + 0x7d], 0
mov al, byte [ebp - 0x68]
mov byte [edi + 0x84], al
jne 0x10084d5b
cmp dword [ebp - 0x60], 0
xorps xmm0, xmm0
movss xmm3, dword [edi + 0x204]
movss xmm4, dword [edi + 0x208]
subss xmm3, dword [edi + 0x1fc]
subss xmm4, dword [edi + 0x200]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [edi + 0x1c]
subss xmm5, dword [ebp - 0x40]
addss xmm3, dword [edi + 0x70]
addss xmm4, dword [edi + 0x74]
jne 0x10084c8c
xorps xmm2, xmm2
xorps xmm1, xmm1
jmp 0x10084ca8
movss xmm2, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm2, xmm2
addss xmm1, xmm1
addss xmm2, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
test ah, ah
jne 0x10084caf
movaps xmm6, xmm3
test cl, cl
jne 0x10084cb6
movaps xmm5, xmm4
test edx, 0x4000
jne 0x10084ccc
comiss xmm1, xmm5
jbe 0x10084cc8
test dl, 8
je 0x10084ccc
xor cl, cl
jmp 0x10084cce
mov cl, 1
mov byte [edi + 0x79], cl
test edx, 0x8000
jne 0x10084d11
mov edx, dword [ebp - 0x54]
test cl, cl
je 0x10084cea
movss xmm3, dword [edx + 0x1580]
jmp 0x10084ced
xorps xmm3, xmm3
subss xmm6, xmm3
comiss xmm2, xmm6
jbe 0x10084d05
mov eax, dword [ebp - 0x28]
and eax, 0x808
cmp eax, 0x800
je 0x10084d0e
mov byte [edi + 0x78], 0
xorps xmm1, xmm1
jmp 0x10084d37
mov edx, dword [ebp - 0x28]
mov byte [edi + 0x78], 1
test cl, cl
jne 0x10084d2c
comiss xmm1, xmm5
jbe 0x10084d27
test dl, 8
jne 0x10084d27
mov cl, 1
jmp 0x10084d29
xor cl, cl
mov byte [edi + 0x79], cl
mov edx, dword [ebp - 0x54]
movss xmm1, dword [edx + 0x1580]
test cl, cl
je 0x10084d43
movss xmm0, dword [edx + 0x1580]
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
movss dword [ebp - 0x34], xmm1
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], ecx
jmp 0x10084d5e
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x28]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10084d80
cmp dword [ebp - 0x58], 0x3000000
je 0x10084d80
mov eax, dword [ebp - 0x64]
add eax, 0x22c
jmp 0x10084d86
lea eax, [ebp - 0x84]
test byte [edi + 8], 1
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi + 0x10]
movss xmm3, dword [eax + 8]
movss xmm2, dword [eax + 0xc]
movss xmm5, dword [eax]
movss xmm6, dword [eax + 4]
mov ecx, dword [0x102b31c8]
movss dword [ebp - 0x5c], xmm1
addss xmm1, dword [edi + 0x14]
movss dword [ebp - 0x94], xmm5
movss dword [ebp - 0x90], xmm6
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0x8c], xmm3
movss dword [ebp - 0x68], xmm1
movaps xmm1, xmm0
addss xmm1, dword [edi + 0x18]
movss dword [ebp - 0x74], xmm2
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x34], xmm1
je 0x10084dff
xorps xmm1, xmm1
jmp 0x10084e36
movss xmm0, dword [ecx + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10084e21
mulss xmm0, dword [eax + 0x270]
movss xmm1, dword [ecx + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x60]
movss xmm7, dword [ebp - 0x5c]
xorps xmm4, xmm4
movss dword [ebp - 0xac], xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0xb0], xmm7
movss dword [ebp - 0xa8], xmm0
movss xmm0, dword [ebp - 0x60]
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x60]
movss dword [ebp - 0xa4], xmm0
movaps xmm0, xmm7
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
maxss xmm1, xmm6
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 0x1f4], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [edi + 0x1f8], xmm0
movss xmm0, dword [edi + 0x1ec]
maxss xmm0, xmm5
movss dword [ebp - 0x34], xmm1
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x1f0], ecx
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x1ec], eax
movss xmm0, dword [edi + 0x1f4]
minss xmm0, xmm3
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [edi + 0x1f8]
mov eax, dword [ebp - 0x38]
minss xmm0, xmm2
mov dword [edi + 0x1f4], eax
mov eax, dword [ebp - 0x28]
and eax, 0x401
movss dword [ebp - 0x34], xmm0
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x1f8], ecx
movss xmm0, dword [edi + 0xc]
movss xmm7, dword [edi + 0xc]
movss dword [edi + 0x1fc], xmm0
movss xmm0, dword [edi + 0x10]
movaps xmm1, xmm0
addss xmm1, dword [ebp - 0x40]
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x34], xmm1
movss dword [edi + 0x200], xmm1
movaps xmm1, xmm7
addss xmm1, dword [edi + 0x14]
subss xmm0, dword [edi + 0x74]
subss xmm1, dword [edi + 0x70]
movss dword [ebp - 0x60], xmm0
movss dword [edi + 0x208], xmm0
movss dword [ebp - 0x5c], xmm1
movss dword [edi + 0x204], xmm1
cmp eax, 1
jne 0x10084f72
movss xmm0, dword [edi + 0x40]
jmp 0x10084f7a
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x100f00f0]
movss dword [ebp - 0x68], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x34]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, dword [ebp - 0x68]
maxss xmm1, dword [edi + 0x40]
addss xmm7, xmm1
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm0
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm7
movss dword [edi + 0x210], xmm0
movss xmm0, dword [ebp - 0x5c]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x214], xmm0
movss xmm0, dword [ebp - 0x60]
addss xmm0, xmm2
movss xmm2, dword [ebp - 0x74]
subss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x210]
comiss xmm6, xmm0
jbe 0x10085034
movaps xmm1, xmm6
jmp 0x1008503b
movaps xmm1, xmm2
minss xmm1, xmm0
comiss xmm5, xmm7
movss xmm3, dword [ebp - 0x30]
jbe 0x1008504a
movaps xmm0, xmm5
jmp 0x10085051
movaps xmm0, xmm3
minss xmm0, xmm7
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
movss dword [ebp - 0x34], xmm1
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x20c], eax
mov dword [edi + 0x210], ecx
movss xmm0, dword [edi + 0x218]
comiss xmm6, xmm0
ja 0x10085081
movaps xmm6, xmm2
minss xmm6, xmm0
movss xmm0, dword [edi + 0x214]
comiss xmm5, xmm0
ja 0x10085095
movaps xmm5, xmm3
minss xmm5, xmm0
movss dword [ebp - 0x38], xmm5
mov eax, dword [ebp - 0x38]
movss dword [ebp - 0x34], xmm6
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x214], eax
mov dword [edi + 0x218], ecx
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x100850ce
test dword [ebp - 0x28], 0x2000040
jne 0x100850ce
mulss xmm0, dword [0x10104b38]
jmp 0x100850de
movss xmm0, dword [edx + 0x18d0]
mulss xmm0, dword [0x10104b6c]
cvttss2si eax, xmm0
mov ecx, edi
push 1
push edi
movd xmm0, eax
lea eax, [ebp - 0x38]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ecx + 0x254], xmm0
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x204]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1fc]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x208]
subss xmm0, dword [edi + 0x200]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x5c], xmm0
call fcn.10086e20
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x50], ecx
mov dword [ebp - 0x34], 0x7f7fffff
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0x54], eax
mov dword [edi + 0x64], ecx
mov ecx, dword [edi + 0x278]
mov dword [ebp - 0x38], 0x7f7fffff
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x60], eax
call fcn.10099b10
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x18cc]
mov ecx, dword [edi + 0x278]
mov eax, dword [eax + 0x38]
push dword [eax + 8]
call fcn.1009c930
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10090fe0
add esp, 0xc
test dword [ebp - 0x28], 0x8000000
je 0x100851df
call fcn.1008a860
cmp edi, eax
jne 0x100851df
cmp dword [edi + 0x9c], 0
jg 0x100851df
mov dl, 1
jmp 0x100851e1
xor dl, dl
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x1c2c]
test eax, eax
je 0x100851fa
cmp edi, dword [eax + 0x2f8]
jne 0x100851fa
mov al, 1
jmp 0x100851fc
xor al, al
mov byte [ebp - 0x21], al
test dl, dl
jne 0x1008520b
test al, al
je 0x10085324
movss xmm0, dword [ecx + 0x1ca0]
push ecx
movzx eax, dl
add eax, 0x2e
movss dword [esp], xmm0
push eax
call fcn.10089da0
add esp, 8
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10098e50
cmp byte [ebp - 0x21], 0
je 0x10085324
mov ecx, dword [ebp - 0x54]
cmp edi, dword [ecx + 0x1c2c]
jne 0x10085324
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [ecx + 0x18d0]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x84]
comiss xmm0, xmm1
movss dword [ebp - 0x94], xmm1
movss dword [ebp - 0x90], xmm4
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x88], xmm3
jb 0x100852d7
movss xmm0, dword [ebp - 0x80]
comiss xmm0, xmm4
jb 0x100852d7
comiss xmm2, dword [ebp - 0x7c]
jb 0x100852d7
comiss xmm3, dword [ebp - 0x78]
jae 0x10085324
movss xmm0, dword [ecx + 0x1c38]
mulss xmm0, dword [0x100f00ec]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.10089da0
add esp, 8
push 0xf
push ecx
mov ecx, dword [ebp - 0x54]
movss xmm0, dword [ecx + 0x1524]
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10098e50
mov eax, dword [ebp - 0x28]
and eax, 0x5000000
mov byte [ebp - 0x21], 0
cmp eax, 0x1000000
jne 0x1008536e
cmp dword [ebp - 0x58], 0x3000000
je 0x1008536e
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x28], 0
jne 0x1008536e
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x1008536e
mov byte [ebp - 0x21], 1
mov dword [edi + 0x278], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1c28]
test ecx, ecx
jne 0x10085381
mov ecx, dword [eax + 0x1b28]
cmp byte [ebp - 0x3c], 0
jne 0x1008539f
test ecx, ecx
je 0x10085399
mov eax, dword [edi + 0x2fc]
cmp eax, dword [ecx + 0x2fc]
je 0x1008539f
mov byte [ebp - 0x30], 0
jmp 0x100853a3
mov byte [ebp - 0x30], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x44]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x30]
push eax
push edi
call fcn.10092270
add esp, 0x18
cmp byte [ebp - 0x21], 0
je 0x100853dc
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [ebp - 0x54]
cmp dword [esi + 0x1c2c], edi
jne 0x100854e4
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm5, xmm2
movss xmm6, dword [edi + 0x3c]
movaps xmm4, xmm3
movss xmm1, dword [esi + 0x18d0]
movaps xmm0, xmm6
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
maxss xmm0, dword [esi + 0x1524]
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm2, xmm1
addss xmm3, xmm1
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x84]
comiss xmm0, xmm5
movss dword [ebp - 0x50], xmm5
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x48], xmm2
movss dword [ebp - 0x44], xmm3
jb 0x100854a4
movss xmm0, dword [ebp - 0x80]
comiss xmm0, xmm4
jb 0x100854a4
comiss xmm2, dword [ebp - 0x7c]
jb 0x100854a4
comiss xmm3, dword [ebp - 0x78]
jb 0x100854a4
xorps xmm1, xmmword [0x100f00a0]
subss xmm1, dword [0x100ef7fc]
movss dword [ebp - 0x30], xmm6
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x50], xmm5
movss dword [ebp - 0x4c], xmm4
movss dword [ebp - 0x48], xmm0
movss dword [ebp - 0x44], xmm1
movss xmm0, dword [esi + 0x1c38]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.10089da0
movss xmm0, dword [ebp - 0x30]
add esp, 4
mov dword [esp], 0x40400000
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x278]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10098d60
mov edx, dword [ebp - 0x28]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x2c]
mov ecx, edx
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x10085509
movss dword [ebp - 0x30], xmm6
jmp 0x10085541
movss xmm0, dword [edi + 0x34]
mov eax, edx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
cmp eax, 0x800
jne 0x10085535
movss xmm0, dword [edi + 0x24]
jmp 0x10085538
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movss xmm5, dword [edi + 0x30]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x10085556
movss dword [ebp - 0x74], xmm5
jmp 0x10085589
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x40]
subss xmm1, dword [edi + 0x74]
test cl, cl
je 0x1008557d
movss xmm0, dword [edi + 0x28]
jmp 0x10085580
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebp - 0x74], xmm0
movss xmm7, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1fc]
movaps xmm1, xmm7
subss xmm0, dword [edi + 0x50]
maxss xmm1, dword [edi + 0x40]
movss xmm3, dword [edi + 0x10]
ucomiss xmm6, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x54]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [edi + 0x200]
subss xmm0, dword [ebp - 0x5c]
subss xmm3, dword [ebp - 0x5c]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x38]
movss dword [ebp - 0x44], xmm1
maxss xmm1, dword [edi + 0x40]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x21c], xmm2
addss xmm2, dword [ebp - 0x30]
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x44]
movss dword [edi + 0x224], xmm2
addss xmm3, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm3, dword [ebp - 0x40]
movss dword [edi + 0x220], xmm0
addss xmm0, dword [ebp - 0x74]
lahf
movss dword [edi + 0x240], xmm3
movss dword [edi + 0x228], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x34], xmm0
movaps xmm2, xmm0
subss xmm2, dword [edi + 0x50]
addss xmm2, xmm7
movss dword [edi + 0x23c], xmm2
test ah, 0x44
jp 0x1008566d
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
subss xmm6, dword [edi + 0x70]
ucomiss xmm5, xmm4
addss xmm2, xmm6
lahf
movss dword [edi + 0x244], xmm2
test ah, 0x44
jp 0x1008569c
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
subss xmm5, dword [ebp - 0x40]
subss xmm5, dword [edi + 0x74]
addss xmm3, xmm5
movaps xmm0, xmm7
addss xmm0, xmm4
addss xmm1, dword [ebp - 0x40]
movss dword [edi + 0x248], xmm3
subss xmm0, dword [edi + 0x50]
subss xmm1, dword [ebp - 0x5c]
movss dword [edi + 0x100], xmm0
addss xmm0, xmm4
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
addss xmm1, dword [edi + 0x10]
addss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x44], xmm1
mov eax, dword [ebp - 0x44]
movss dword [ebp - 0x48], xmm0
mov ecx, dword [ebp - 0x48]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xdc], eax
mov dword [edi + 0xc8], ecx
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], ecx
mov dword [edi + 0xd4], eax
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xe4], eax
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x48]
mov dword [edi + 0xf0], ecx
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xec], eax
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], 0
test edx, 0x1000000
je 0x100857a5
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x144]
jmp 0x100857a7
xor eax, eax
mov dword [edi + 0x144], eax
mov byte [edi + 0x148], 0
movss xmm0, dword [edi + 0x5c]
push dword [ebp - 0x6c]
comiss xmm0, xmm4
push ecx
lea ecx, [edi + 0x154]
seta al
mov byte [edi + 0x149], al
mov byte [edi + 0x14a], 0
maxss xmm7, dword [esi + 0x1560]
maxss xmm7, dword [esi + 0x1ad0]
movss dword [edi + 0x14c], xmm7
mov eax, dword [esi + 0x1ad4]
mov dword [edi + 0x150], eax
movss xmm0, dword [esi + 0x1560]
movss dword [esp], xmm0
push 3
call fcn.100b5440
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10085851
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 + 0x180]
call fcn.100969f0
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x10085886
mov eax, dword [eax + 0x194]
jmp 0x1008588b
mov eax, 1
mov dword [edi + 0x198], eax
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x19c], 0xffffffff
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1a8], eax
lea eax, [edi + 0x1b0]
mov dword [edi + 0x1ac], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100858ea
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 + 0x1b0]
call fcn.100969f0
lea eax, [edi + 0x1b0]
mov dword [eax], 0
lea eax, [edi + 0x1bc]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1008591f
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 + 0x1bc]
call fcn.100969f0
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10085954
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 + 0x1c8]
call fcn.100969f0
lea eax, [edi + 0x1c8]
push 0
lea ecx, [edi + 0x1d4]
mov dword [eax], 0
call fcn.10096ba0
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1008598a
mov eax, dword [eax + 0x1a4]
lea ecx, [edi + 0x1a4]
mov dword [ecx], eax
push ecx
lea ecx, [edi + 0x1b0]
call fcn.100966a0
jmp 0x10085994
mov dword [edi + 0x1a4], 0
mov al, byte [edi + 0x90]
test al, al
jle 0x100859a6
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x100859b8
dec al
mov byte [edi + 0x91], al
cmp byte [ebp - 0x3c], 0
je 0x100859cf
push edi
call fcn.10089740
push 0
push edi
call fcn.1008cf80
add esp, 0xc
test byte [ebp - 0x28], 1
jne 0x100859ee
push dword [ebp - 0x98]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x70]
push eax
push edi
call fcn.10092e10
add esp, 0x10
mov eax, dword [edi + 0x48]
movss xmm2, dword [ebp - 0xa4]
movss xmm4, dword [ebp - 0xac]
movss xmm3, dword [ebp - 0xa8]
mov dword [edi + 0x10c], eax
mov eax, dword [0x102b31c8]
movss xmm0, dword [eax + 0x1574]
movss xmm1, dword [eax + 0x1570]
addss xmm2, xmm0
movss xmm5, dword [eax + 0xe8]
subss xmm4, xmm0
movss xmm0, dword [ebp - 0xb0]
addss xmm3, xmm1
subss xmm0, xmm1
comiss xmm5, xmm0
jb 0x10085a67
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm4
jb 0x10085a67
comiss xmm3, xmm5
jbe 0x10085a67
comiss xmm2, xmm0
jbe 0x10085a67
mov eax, 1
jmp 0x10085a69
xor eax, eax
movups xmm0, xmmword [ebp - 0xb0]
mov dword [edi + 0x110], eax
lea eax, [edi + 0x214]
push 1
push eax
lea eax, [edi + 0x20c]
push eax
movups xmmword [edi + 0x114], xmm0
call fcn.10090fe0
mov byte [edi + 0x7c], 0
jmp 0x10085af0
mov ecx, dword [0x102b31c8]
mov dword [ecx + 0x1a00], edi
mov eax, dword [0x102b31c8]
movss xmm0, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10085acb
mulss xmm0, dword [eax + 0x270]
push 1
lea eax, [edi + 0x214]
movss dword [ecx + 0x18e4], xmm0
push eax
lea eax, [edi + 0x20c]
movss dword [ecx + 0x18d0], xmm0
push eax
call fcn.10090fe0
inc word [edi + 0x86]
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x1a80], 0
test eax, 0x1000000
je 0x10085b89
test al, 0x40
jne 0x10085b50
cmp byte [edi + 0x90], 0
jg 0x10085b50
cmp byte [edi + 0x91], 0
jg 0x10085b50
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x10085b46
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x10085b50
mov dword [edi + 0x98], 1
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10085b89
cmp byte [eax + 0x7d], 0
jne 0x10085b66
cmp dword [eax + 0x98], 0
jle 0x10085b70
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x10085b7f
cmp dword [eax + 0x9c], 0
jle 0x10085b89
mov dword [edi + 0x9c], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x10085b9f
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x10085bb5
cmp dword [edi + 0x9c], 0
jg 0x10085bb5
xor cl, cl
jmp 0x10085bb7
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x10085bcd
cmp byte [edi + 0x7a], al
je 0x10085bcd
test cl, cl
je 0x10085bf1
cmp byte [edi + 0x90], 0
jg 0x10085bf1
cmp byte [edi + 0x91], 0
jg 0x10085bf1
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7f], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.100bcc4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret