Function at 0x10083bd0
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 [0x102b3160]
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.100894d0
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 0x10083c6f
test byte [esi + 0x1a80], 2
je 0x10083c4e
movss xmm1, dword [esi + 0x1aa0]
movss xmm0, dword [esi + 0x1aa4]
jmp 0x10083c51
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.10087f00
add esp, 0x10
mov edi, eax
mov edx, dword [ebp - 0x28]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10083c88
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 0x10083cb0
cmp byte [esi + 0x19bd], 0
je 0x10083cb0
mov al, 1
jmp 0x10083cb2
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 0x10083d10
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 0x10083d22
cmp dword [ebp - 0x5c], 0
jg 0x10083d22
mov byte [edi + 0x80], al
jmp 0x10083d3e
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 0x10083d7f
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 0x10083d85
mov edx, dword [edi + 8]
mov dword [ebp - 0x28], edx
cmp dword [esi + 0x19e4], 0
jne 0x10083d97
mov dword [ebp - 0x3c], 0
jmp 0x10083dad
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 0x10083dc2
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, dword [ebp - 0x3c]
jmp 0x10083dc8
mov eax, dword [edi + 0x2f4]
cmp dword [edi + 0xbc], 0
mov dword [ebp - 0x64], eax
lea eax, [edi + 0xbc]
jne 0x10083e00
cmp dword [eax + 4], 0
jne 0x10083def
push 8
mov ecx, eax
call fcn.100968e0
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 0x10083e43
test ecx, ecx
je 0x10083e25
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x19e4]
sar eax, 1
add eax, ecx
jmp 0x10083e2a
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.100968e0
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 [0x102b3160]
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 0x10083ee1
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.100966b0
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 0x10083ef9
test ecx, 0x1000000
jne 0x10083ef9
mov dword [edi + 0x308], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x40]
je 0x10083f78
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 0x10083f56
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10083f3a
mov eax, dword [edx + 0x2f8]
mov dword [edi + 0x2f8], eax
test ecx, 0x8000000
jne 0x10083f56
test ecx, 0x5000000
je 0x10083f56
mov eax, dword [edx + 0x2fc]
mov dword [edi + 0x2fc], eax
test dword [edi + 8], 0x800000
je 0x10083f78
mov ecx, edi
mov eax, dword [ecx + 0x2f4]
mov ecx, eax
mov dword [edi + 0x300], eax
test dword [ecx + 8], 0x800000
jne 0x10083f61
xor dl, dl
mov byte [ebp - 0x2a], 0
test byte [esi + 0x1a80], 1
mov byte [ebp - 0x2b], dl
mov byte [ebp - 0x29], dl
je 0x1008401a
mov ecx, dword [esi + 0x1a84]
mov edx, dword [edi + 0xa0]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x2a]
test ecx, eax
je 0x10084009
movss xmm1, dword [esi + 0x1a9c]
movss xmm0, dword [esi + 0x1a98]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10104b00]
jbe 0x10084009
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 0x1008401a
push ecx
lea eax, [esi + 0x1a90]
push eax
push edi
call fcn.10094090
add esp, 0xc
test byte [esi + 0x1a80], 2
je 0x10084078
mov eax, dword [edi + 0xa4]
xorps xmm1, xmm1
mov ecx, dword [esi + 0x1a88]
and eax, ecx
je 0x10084049
movss xmm0, dword [esi + 0x1aa0]
comiss xmm0, xmm1
jbe 0x10084049
mov byte [ebp - 0x2b], 1
jmp 0x10084052
xor dl, dl
mov byte [ebp - 0x2b], dl
test eax, eax
je 0x10084063
movss xmm0, dword [esi + 0x1aa4]
comiss xmm0, xmm1
mov byte [ebp - 0x29], 1
ja 0x10084067
mov byte [ebp - 0x29], 0
push ecx
lea eax, [esi + 0x1aa0]
push eax
push edi
call fcn.10094190
add esp, 0xc
test byte [esi + 0x1a80], 4
je 0x1008408f
mov eax, dword [esi + 0x1aa8]
mov ecx, dword [esi + 0x1aac]
jmp 0x100840ab
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x40]
je 0x100840b1
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 0x100840dc
mov eax, dword [esi + 0x1a8c]
mov cl, byte [esi + 0x1ab0]
test eax, eax
je 0x100840d2
test dword [edi + 0xa8], eax
je 0x100840dc
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a80], 0x20
je 0x100840ee
push edi
call fcn.100896b0
add esp, 4
cmp byte [edi + 0x80], 0
je 0x1008410c
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 0x10085a48
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 0x1008419d
test eax, eax
je 0x10084180
cdq
sub eax, edx
lea edx, [edi + 0xbc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1008418b
mov ecx, 8
lea edx, [edi + 0xbc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100968e0
mov dword [edi + 0xbc], 1
cmp byte [edi + 0x330], 0
je 0x1008427c
mov ecx, dword [edi + 0x278]
push dword [edi + 0x334]
add ecx, 0xc
mov byte [edi + 0x330], 0
call fcn.10096860
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 0x10084268
mov eax, dword [0x102b3160]
test eax, eax
je 0x100841f8
inc dword [eax + 0x374]
push dword [0x102b3168]
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 0x1008425c
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x40]
call fcn.100be0d0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10084249
mov eax, dword [0x102b3160]
test eax, eax
je 0x10084249
dec dword [eax + 0x374]
push dword [0x102b3168]
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 0x1008436b
test dword [edi + 8], 0x80000
jne 0x1008436b
test edx, edx
je 0x1008436b
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 0x100842d0
test dl, dl
je 0x100842cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100842d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100842b0
xor eax, eax
jmp 0x100842d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10084368
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 0x100842f0
sub ecx, dword [ebp - 0x30]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
cmp edx, eax
jae 0x10084353
test ecx, ecx
je 0x1008431a
mov eax, dword [0x102b3160]
test eax, eax
je 0x1008431a
dec dword [eax + 0x374]
push dword [0x102b3168]
push ecx
call dword [0x101d6f94]
mov eax, dword [0x102b3160]
add esp, 8
test eax, eax
je 0x10084339
inc dword [eax + 0x374]
push dword [0x102b3168]
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.100be0d0
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 0x10084397
cmp byte [edi + 0x90], 0
jg 0x10084397
cmp byte [edi + 0x91], 0
jg 0x10084397
movss xmm0, dword [edi + 0x24]
xorps xmm1, xmm1
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 0x28]
jmp 0x1008440c
cmp byte [edi + 0x81], 0
je 0x100843b2
cmp dword [edi + 0x9c], 0
jne 0x100843b2
cmp dword [edi + 0x98], 0
jg 0x10084383
movss xmm0, dword [edi + 0x2c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100843d3
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 0x100843fc
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 0x1008442e
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x1008443f
dec eax
mov dword [edi + 0x9c], eax
mov al, byte [ebp - 0x2b]
mov cl, byte [ebp - 0x29]
test edx, edx
jne 0x1008445b
test al, al
je 0x10084451
test cl, cl
jne 0x1008445b
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x6c], 0
mov edx, dword [ebp - 0x28]
je 0x100844b9
test edx, 0x6000000
je 0x100844b9
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x100844b9
test al, al
jne 0x1008448d
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1008449f
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 [0x102b3160]
mov dword [ecx + 0x1a00], edi
mov eax, dword [0x102b3160]
movss xmm0, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x100844ec
mulss xmm0, dword [eax + 0x270]
movss dword [ecx + 0x18e4], xmm0
movss dword [ecx + 0x18d0], xmm0
test edx, 0x1000000
je 0x1008450e
movss xmm0, dword [esi + 0x1544]
jmp 0x10084530
test edx, 0x6000000
je 0x10084528
test edx, 0x8000000
jne 0x10084528
movss xmm0, dword [esi + 0x154c]
jmp 0x10084530
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 0x10084588
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10084588
test edx, 0x400
je 0x10084570
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 0x100845ff
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.10094a40
cmp dword [esi + 0x1a04], edi
jne 0x100845de
cmp dword [esi + 0x1a20], 0
jne 0x100845de
cmp dword [esi + 0x1a28], 0
jne 0x100845de
push 1
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.1008bf10
add esp, 0xc
test al, al
je 0x100845de
cmp byte [esi + 0x3e5], 0
je 0x100845de
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x10084603
cmp byte [edi + 0x7d], 0
push edi
sete al
mov byte [edi + 0x7d], al
call fcn.1008cd20
push edi
call fcn.100896b0
add esp, 8
jmp 0x10084603
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.100870f0
mov al, byte [ebp - 0x2c]
add esp, 0xc
test byte [ebp - 0x28], 0x40
mov byte [ebp - 0x21], al
je 0x1008465b
cmp byte [edi + 0x7d], 0
jne 0x1008465b
cmp byte [ebp - 0x2b], 0
jne 0x1008463e
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x2c], 1
cmp byte [ebp - 0x29], 0
jne 0x100846fb
movss xmm0, dword [ebp - 0x34]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x21], 1
jmp 0x100846fb
mov al, byte [edi + 0x90]
test al, al
jg 0x10084672
cmp byte [edi + 0x91], 0
jle 0x100846fb
cmp byte [ebp - 0x2b], 0
jne 0x1008469f
test al, al
jle 0x1008469f
cmp byte [edi + 0x93], 0
je 0x10084691
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x38]
jmp 0x10084696
movss xmm0, dword [ebp - 0x38]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x2c], 1
cmp byte [ebp - 0x29], 0
jne 0x100846d1
cmp byte [edi + 0x91], 0
jle 0x100846d1
cmp byte [edi + 0x93], 0
je 0x100846c3
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x34]
jmp 0x100846c8
movss xmm0, dword [ebp - 0x34]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x21], 1
cmp byte [edi + 0x7d], 0
jne 0x100846fb
test dword [edi + 8], 0x100
mov ecx, dword [0x102b3160]
jne 0x100846fb
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2da0]
jb 0x100846fb
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.10087330
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 0x10084757
test dword [ebp - 0x28], 0x1000000
jne 0x10084757
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.10094a40
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 0x10084766
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 [0x102b3160]
test edx, 0x400
je 0x100847c3
movss xmm1, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x270]
test ecx, ecx
je 0x100847a9
mulss xmm1, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x100847c6
xorps xmm1, xmm1
test dl, 1
je 0x100847d0
xorps xmm2, xmm2
jmp 0x10084802
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x100847f2
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 0x1008484c
mov dword [edi + 0x94], 0xffffffff
test edx, 0x4000000
je 0x1008484c
cmp byte [ebp - 0x2a], 0
jne 0x1008484c
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 0x100848e1
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 0x100848a2
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0x30], edx
test eax, eax
je 0x1008488c
cdq
sub eax, edx
mov edx, dword [ebp - 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10084891
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100968e0
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 0x100848e7
test al, al
jne 0x100848e7
cmp ecx, 0x3000000
je 0x100848e7
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 0x1008494a
cmp dword [edi + 0x9c], 0
jne 0x1008494a
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.10094090
add esp, 0xc
jmp 0x10084990
test edx, 0x10000000
jne 0x10084978
test edx, 0x4000000
je 0x10084964
test al, al
jne 0x10084964
cmp dword [ebp - 0x5c], 0
jg 0x10084978
test edx, 0x2000000
je 0x10084993
test al, al
jne 0x10084993
cmp ecx, 0x3000000
je 0x10084993
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.10088d90
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 [0x102b3160]
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 0x10084acb
test edx, 0x1000000
jne 0x10084acb
cmp byte [edi + 0x90], 0
jg 0x10084acb
cmp byte [edi + 0x91], 0
jg 0x10084acb
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 0x10084acb
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm0, xmm1
jbe 0x10084acb
cmp byte [eax + 0xb4], 0
je 0x10084a73
test byte [edi + 8], 1
jne 0x10084a73
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x10084a61
mulss xmm0, dword [ecx + 0x270]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
jmp 0x10084a78
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 0x10084b0b
movss xmm2, dword [esi + 0x1540]
jmp 0x10084b2b
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10084b23
movss xmm2, dword [esi + 0x1548]
jmp 0x10084b2b
movss xmm2, dword [esi + 0x1524]
xor cl, cl
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x3c], ecx
cmp byte [ebp - 0x6c], cl
je 0x10084b64
test edx, 0x1000
jne 0x10084b64
test edx, 0x4000000
je 0x10084b50
mov byte [ebp - 0x3c], 1
jmp 0x10084b64
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 [0x10104b1c]
setne al
mov dword [ebp - 0x68], 0xffffffff
mulss xmm0, dword [0x10104b40]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [ebp - 0x44], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x10084bd9
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.100957d0
mov edx, dword [ebp - 0x28]
add esp, 0x14
test al, al
je 0x10084bd9
mov cl, 1
mov ah, cl
jmp 0x10084bdf
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 0x10084d0b
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 0x10084c3c
xorps xmm2, xmm2
xorps xmm1, xmm1
jmp 0x10084c58
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 0x10084c5f
movaps xmm6, xmm3
test cl, cl
jne 0x10084c66
movaps xmm5, xmm4
test edx, 0x4000
jne 0x10084c7c
comiss xmm1, xmm5
jbe 0x10084c78
test dl, 8
je 0x10084c7c
xor cl, cl
jmp 0x10084c7e
mov cl, 1
mov byte [edi + 0x79], cl
test edx, 0x8000
jne 0x10084cc1
mov edx, dword [ebp - 0x54]
test cl, cl
je 0x10084c9a
movss xmm3, dword [edx + 0x1580]
jmp 0x10084c9d
xorps xmm3, xmm3
subss xmm6, xmm3
comiss xmm2, xmm6
jbe 0x10084cb5
mov eax, dword [ebp - 0x28]
and eax, 0x808
cmp eax, 0x800
je 0x10084cbe
mov byte [edi + 0x78], 0
xorps xmm1, xmm1
jmp 0x10084ce7
mov edx, dword [ebp - 0x28]
mov byte [edi + 0x78], 1
test cl, cl
jne 0x10084cdc
comiss xmm1, xmm5
jbe 0x10084cd7
test dl, 8
jne 0x10084cd7
mov cl, 1
jmp 0x10084cd9
xor cl, cl
mov byte [edi + 0x79], cl
mov edx, dword [ebp - 0x54]
movss xmm1, dword [edx + 0x1580]
test cl, cl
je 0x10084cf3
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 0x10084d0e
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x28]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10084d30
cmp dword [ebp - 0x58], 0x3000000
je 0x10084d30
mov eax, dword [ebp - 0x64]
add eax, 0x22c
jmp 0x10084d36
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 [0x102b3160]
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 0x10084daf
xorps xmm1, xmm1
jmp 0x10084de6
movss xmm0, dword [ecx + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10084dd1
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 0x10084f22
movss xmm0, dword [edi + 0x40]
jmp 0x10084f2a
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 0x10084fe4
movaps xmm1, xmm6
jmp 0x10084feb
movaps xmm1, xmm2
minss xmm1, xmm0
comiss xmm5, xmm7
movss xmm3, dword [ebp - 0x30]
jbe 0x10084ffa
movaps xmm0, xmm5
jmp 0x10085001
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 0x10085031
movaps xmm6, xmm2
minss xmm6, xmm0
movss xmm0, dword [edi + 0x214]
comiss xmm5, xmm0
ja 0x10085045
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 0x1008507e
test dword [ebp - 0x28], 0x2000040
jne 0x1008507e
mulss xmm0, dword [0x10104b28]
jmp 0x1008508e
movss xmm0, dword [edx + 0x18d0]
mulss xmm0, dword [0x10104b5c]
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.10086db0
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.10099990
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.1009c7b0
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10090f50
add esp, 0xc
test dword [ebp - 0x28], 0x8000000
je 0x1008518f
call fcn.1008a7d0
cmp edi, eax
jne 0x1008518f
cmp dword [edi + 0x9c], 0
jg 0x1008518f
mov dl, 1
jmp 0x10085191
xor dl, dl
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x1c2c]
test eax, eax
je 0x100851aa
cmp edi, dword [eax + 0x2f8]
jne 0x100851aa
mov al, 1
jmp 0x100851ac
xor al, al
mov byte [ebp - 0x21], al
test dl, dl
jne 0x100851bb
test al, al
je 0x100852d4
movss xmm0, dword [ecx + 0x1ca0]
push ecx
movzx eax, dl
add eax, 0x2e
movss dword [esp], xmm0
push eax
call fcn.10089d10
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.10098cd0
cmp byte [ebp - 0x21], 0
je 0x100852d4
mov ecx, dword [ebp - 0x54]
cmp edi, dword [ecx + 0x1c2c]
jne 0x100852d4
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 0x10085287
movss xmm0, dword [ebp - 0x80]
comiss xmm0, xmm4
jb 0x10085287
comiss xmm2, dword [ebp - 0x7c]
jb 0x10085287
comiss xmm3, dword [ebp - 0x78]
jae 0x100852d4
movss xmm0, dword [ecx + 0x1c38]
mulss xmm0, dword [0x100f00ec]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.10089d10
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.10098cd0
mov eax, dword [ebp - 0x28]
and eax, 0x5000000
mov byte [ebp - 0x21], 0
cmp eax, 0x1000000
jne 0x1008531e
cmp dword [ebp - 0x58], 0x3000000
je 0x1008531e
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 0x1008531e
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x1008531e
mov byte [ebp - 0x21], 1
mov dword [edi + 0x278], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1c28]
test ecx, ecx
jne 0x10085331
mov ecx, dword [eax + 0x1b28]
cmp byte [ebp - 0x3c], 0
jne 0x1008534f
test ecx, ecx
je 0x10085349
mov eax, dword [edi + 0x2fc]
cmp eax, dword [ecx + 0x2fc]
je 0x1008534f
mov byte [ebp - 0x30], 0
jmp 0x10085353
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.100921d0
add esp, 0x18
cmp byte [ebp - 0x21], 0
je 0x1008538c
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [ebp - 0x54]
cmp dword [esi + 0x1c2c], edi
jne 0x10085494
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 0x10085454
movss xmm0, dword [ebp - 0x80]
comiss xmm0, xmm4
jb 0x10085454
comiss xmm2, dword [ebp - 0x7c]
jb 0x10085454
comiss xmm3, dword [ebp - 0x78]
jb 0x10085454
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.10089d10
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.10098be0
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 0x100854b9
movss dword [ebp - 0x30], xmm6
jmp 0x100854f1
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 0x100854e5
movss xmm0, dword [edi + 0x24]
jmp 0x100854e8
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movss xmm5, dword [edi + 0x30]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x10085506
movss dword [ebp - 0x74], xmm5
jmp 0x10085539
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 0x1008552d
movss xmm0, dword [edi + 0x28]
jmp 0x10085530
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 0x1008561d
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 0x1008564c
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 0x10085755
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x144]
jmp 0x10085757
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.100b5230
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10085801
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.100968e0
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 0x10085836
mov eax, dword [eax + 0x194]
jmp 0x1008583b
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 0x1008589a
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.100968e0
lea eax, [edi + 0x1b0]
mov dword [eax], 0
lea eax, [edi + 0x1bc]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100858cf
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.100968e0
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10085904
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.100968e0
lea eax, [edi + 0x1c8]
push 0
lea ecx, [edi + 0x1d4]
mov dword [eax], 0
call fcn.10096a90
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1008593a
mov eax, dword [eax + 0x1a4]
lea ecx, [edi + 0x1a4]
mov dword [ecx], eax
push ecx
lea ecx, [edi + 0x1b0]
call fcn.10096590
jmp 0x10085944
mov dword [edi + 0x1a4], 0
mov al, byte [edi + 0x90]
test al, al
jle 0x10085956
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x10085968
dec al
mov byte [edi + 0x91], al
cmp byte [ebp - 0x3c], 0
je 0x1008597f
push edi
call fcn.100896b0
push 0
push edi
call fcn.1008cef0
add esp, 0xc
test byte [ebp - 0x28], 1
jne 0x1008599e
push dword [ebp - 0x98]
lea eax, [ebp - 0xb0]
push dword [ebp - 0x70]
push eax
push edi
call fcn.10092d70
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 [0x102b3160]
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 0x10085a17
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm4
jb 0x10085a17
comiss xmm3, xmm5
jbe 0x10085a17
comiss xmm2, xmm0
jbe 0x10085a17
mov eax, 1
jmp 0x10085a19
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.10090f50
mov byte [edi + 0x7c], 0
jmp 0x10085aa0
mov ecx, dword [0x102b3160]
mov dword [ecx + 0x1a00], edi
mov eax, dword [0x102b3160]
movss xmm0, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10085a7b
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.10090f50
inc word [edi + 0x86]
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x1a80], 0
test eax, 0x1000000
je 0x10085b39
test al, 0x40
jne 0x10085b00
cmp byte [edi + 0x90], 0
jg 0x10085b00
cmp byte [edi + 0x91], 0
jg 0x10085b00
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x10085af6
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x10085b00
mov dword [edi + 0x98], 1
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10085b39
cmp byte [eax + 0x7d], 0
jne 0x10085b16
cmp dword [eax + 0x98], 0
jle 0x10085b20
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x10085b2f
cmp dword [eax + 0x9c], 0
jle 0x10085b39
mov dword [edi + 0x9c], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x10085b4f
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x10085b65
cmp dword [edi + 0x9c], 0
jg 0x10085b65
xor cl, cl
jmp 0x10085b67
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x10085b7d
cmp byte [edi + 0x7a], al
je 0x10085b7d
test cl, cl
je 0x10085ba1
cmp byte [edi + 0x90], 0
jg 0x10085ba1
cmp byte [edi + 0x91], 0
jg 0x10085ba1
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.100bca5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret