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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x100ab000]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x100ab72c]
push edi
push 0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
push 0
push ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], esi
call fcn.10023bf0
push eax
call fcn.100226a0
add esp, 0x10
mov dword [ebp - 0x60], eax
mov edi, eax
test edi, edi
sete cl
mov byte [ebp - 0x52], cl
test eax, eax
jne 0x1001d34d
push dword [ebp - 0x4c]
push dword [ebp - 0x90]
call fcn.100210f0
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0x4c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1001d366
or edx, 6
mov dword [ebp - 0x4c], edx
cmp dword [esi + 0x1a50], 0
mov ecx, dword [esi + 0x1a10]
mov eax, dword [edi + 0x258]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x78], eax
jne 0x1001d391
cmp byte [esi + 0x1a1d], 0
je 0x1001d391
mov al, 1
jmp 0x1001d393
xor al, al
mov byte [edi + 0x8a], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x78], eax
mov eax, dword [edi + 0xa4]
setl ch
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x8c], ch
test edx, 0x4000000
je 0x1001d3f1
mov eax, dword [esi + 0x1bb8]
lea esi, [eax + eax*8]
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x1bb4]
mov eax, dword [edi + 0x94]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
setne al
or cl, al
mov eax, dword [ebp - 0x64]
or ch, cl
mov byte [ebp - 0x8c], ch
test ch, ch
jne 0x1001d401
test eax, eax
jg 0x1001d401
mov byte [edi + 0x88], ch
jmp 0x1001d41d
or dword [edi + 0xa8], 8
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
mov byte [edi + 0x88], 1
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x78], eax
je 0x1001d464
mov dword [edi + 0x258], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1a08]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x90], ax
movss dword [edi + 0x25c], xmm0
mov ax, word [esi + 0x1a68]
mov word [edi + 0x92], ax
inc dword [esi + 0x1a68]
jmp 0x1001d46a
mov edx, dword [edi + 8]
mov dword [ebp - 0x4c], edx
mov ecx, dword [esi + 0x1a50]
test ecx, ecx
je 0x1001d47e
mov eax, dword [esi + 0x1a58]
mov ecx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x1001d498
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1001d49e
mov eax, dword [edi + 0x314]
cmp dword [edi + 0xc4], 0
mov dword [ebp - 0x74], eax
lea eax, [edi + 0xc4]
jne 0x1001d4d6
cmp dword [eax + 4], 0
jne 0x1001d4c5
push 8
mov ecx, eax
call fcn.1002f760
lea eax, [edi + 0xc4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc4]
mov ecx, dword [esi + 0x1a54]
lea edx, [esi + 0x1a50]
cmp dword [edx], ecx
jne 0x1001d519
test ecx, ecx
je 0x1001d4fb
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1a50]
sar eax, 1
add eax, ecx
jmp 0x1001d500
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [ebp - 0x5c]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1002f760
lea edx, [esi + 0x1a50]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov dword [esi + 0x1a6c], edi
mov ecx, dword [0x100ab72c]
mov eax, dword [ecx + 0x1a6c]
movzx eax, word [eax + 0xc4]
mov word [edi + 0x1d0], ax
movzx eax, word [ecx + 0x1b64]
mov word [edi + 0x1d2], ax
movzx eax, word [ecx + 0x1b70]
mov word [edi + 0x1d4], ax
movzx eax, word [ecx + 0x1b7c]
mov word [edi + 0x1d6], ax
movzx eax, word [ecx + 0x1b88]
mov word [edi + 0x1d8], ax
movzx eax, word [ecx + 0x1ba0]
mov word [edi + 0x1da], ax
movzx eax, word [ecx + 0x1bb8]
mov ecx, dword [ebp - 0x4c]
mov word [edi + 0x1dc], ax
mov dword [esi + 0x1a6c], 0
test ecx, 0x4000000
je 0x1001d5dc
mov eax, dword [esi + 0x1bb8]
lea ecx, [esi + 0x1bb8]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1bb4]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.1002f530
mov eax, dword [esi]
mov esi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x94], eax
cmp dword [ebp - 0x64], 0
jle 0x1001d5f4
test ecx, 0x1000000
jne 0x1001d5f4
mov dword [edi + 0x328], 0
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x1001d677
mov edx, dword [ebp - 0x74]
mov dword [edi + 0x314], edx
mov dword [edi + 0x320], edi
mov dword [edi + 0x31c], edi
mov dword [edi + 0x318], edi
test edx, edx
je 0x1001d654
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1001d638
mov eax, dword [edx + 0x318]
mov dword [edi + 0x318], eax
test ecx, 0x8000000
jne 0x1001d654
test ecx, 0x5000000
je 0x1001d654
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test dword [edi + 8], 0x800000
je 0x1001d677
mov ecx, edi
nop
mov eax, dword [ecx + 0x314]
mov ecx, eax
mov dword [edi + 0x320], eax
test dword [ecx + 8], 0x800000
jne 0x1001d660
xor dl, dl
mov byte [ebp - 0x47], 0
test byte [esi + 0x1af0], 1
mov byte [ebp - 0x51], dl
mov byte [ebp - 0x46], dl
je 0x1001d719
mov ecx, dword [esi + 0x1af4]
mov edx, dword [edi + 0xa8]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x47]
test ecx, eax
je 0x1001d708
movss xmm1, dword [esi + 0x1b0c]
movss xmm0, dword [esi + 0x1b08]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100a2810]
jbe 0x1001d708
mov eax, dword [esi + 0x1b00]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1b04]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov eax, dword [esi + 0x1b08]
mov ecx, dword [esi + 0x1b0c]
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xa8], edx
jmp 0x1001d719
push ecx
lea eax, [esi + 0x1b00]
push eax
push edi
call fcn.1002d250
add esp, 0xc
test byte [esi + 0x1af0], 2
xorps xmm1, xmm1
je 0x1001d77a
mov eax, dword [edi + 0xac]
mov ecx, dword [esi + 0x1af8]
and eax, ecx
je 0x1001d748
movss xmm0, dword [esi + 0x1b10]
comiss xmm0, xmm1
jbe 0x1001d748
mov byte [ebp - 0x51], 1
jmp 0x1001d751
xor dl, dl
mov byte [ebp - 0x51], dl
test eax, eax
je 0x1001d762
movss xmm0, dword [esi + 0x1b14]
comiss xmm0, xmm1
mov byte [ebp - 0x46], 1
ja 0x1001d766
mov byte [ebp - 0x46], 0
push ecx
lea eax, [esi + 0x1b10]
push eax
push edi
call fcn.1002d330
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x1af0], 0x80
je 0x1001d7b5
movss xmm0, dword [esi + 0x1b20]
comiss xmm0, xmm1
jb 0x1001d79c
movss dword [edi + 0x60], xmm0
mov dword [edi + 0x68], 0
movss xmm0, dword [esi + 0x1b24]
comiss xmm0, xmm1
jb 0x1001d7b5
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
test byte [esi + 0x1af0], 4
je 0x1001d7d2
mov eax, dword [esi + 0x1b18]
mov ecx, dword [esi + 0x1b1c]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x1001d7eb
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x1001d7eb
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1af0], 8
je 0x1001d819
mov eax, dword [esi + 0x1afc]
mov cl, byte [esi + 0x1b28]
test eax, eax
je 0x1001d80c
test dword [edi + 0xb0], eax
je 0x1001d819
and dword [edi + 0xb0], 0xfffffff1
mov byte [edi + 0x85], cl
test byte [esi + 0x1af0], 0x20
je 0x1001d82b
push edi
call fcn.100228a0
add esp, 4
cmp byte [edi + 0x88], 0
je 0x1001d849
and dword [edi + 0xa8], 0xfffffff7
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x1001f0c5
mov eax, dword [ebp - 0x4c]
and eax, 0x3000000
mov byte [edi + 0x82], 1
cmp dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], eax
setne al
mov byte [edi + 0x8b], al
mov dword [edi + 0x230], 0xff7fffff
mov dword [edi + 0x234], 0xff7fffff
mov dword [edi + 0x238], 0x7f7fffff
mov dword [edi + 0x23c], 0x7f7fffff
mov eax, dword [edi + 0xc8]
cmp eax, 1
jge 0x1001d8e0
test eax, eax
je 0x1001d8c3
cdq
sub eax, edx
lea edx, [edi + 0xc4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1001d8ce
mov ecx, 8
lea edx, [edi + 0xc4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1002f760
mov dword [edi + 0xc4], 1
mov ecx, dword [edi + 0x284]
call fcn.10037950
cmp byte [edi + 0x358], 0
mov dword [edi + 0x198], 0xffffffff
je 0x1001d9d4
mov ecx, dword [edi + 0x284]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.1002f6e0
mov eax, dword [edi + 0x284]
mov ecx, dword [edi + 0x354]
add eax, 0x18
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], eax
cmp ecx, dword [eax + 4]
jle 0x1001d9c0
mov eax, dword [0x100ab72c]
test eax, eax
je 0x1001d950
inc dword [eax + 0x370]
push dword [0x100ab734]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x100aa3a0]
mov dword [ebp - 0x68], eax
add esp, 8
mov eax, dword [ebp - 0x58]
mov edx, dword [eax + 8]
test edx, edx
je 0x1001d9b4
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x68]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001d9a1
mov eax, dword [0x100ab72c]
test eax, eax
je 0x1001d9a1
dec dword [eax + 0x370]
push dword [0x100ab734]
push ecx
call dword [0x100aa3a4]
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, dword [ebp - 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 4], ecx
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x1cd4], 0
mov ecx, dword [ebp - 0x60]
je 0x1001dac3
test dword [edi + 8], 0x80000
jne 0x1001dac3
test ecx, ecx
je 0x1001dac3
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001da26
test dl, dl
je 0x1001da22
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001da26
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001da06
xor eax, eax
jmp 0x1001da2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001dac0
mov ecx, dword [ebp - 0x90]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x50], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001da45
sub ecx, dword [ebp - 0x58]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
cmp edx, eax
jae 0x1001daa8
test ecx, ecx
je 0x1001da6f
mov eax, dword [0x100ab72c]
test eax, eax
je 0x1001da6f
dec dword [eax + 0x370]
push dword [0x100ab734]
push ecx
call dword [0x100aa3a4]
mov eax, dword [0x100ab72c]
add esp, 8
test eax, eax
je 0x1001da8e
inc dword [eax + 0x370]
push dword [0x100ab734]
push dword [ebp - 0x58]
call dword [0x100aa3a0]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
push eax
push dword [ebp - 0x90]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x44], eax
mov ecx, dword [ebp - 0x60]
cmp byte [edi + 0x85], 0
je 0x1001daf0
cmp byte [edi + 0x98], 0
jg 0x1001daf0
cmp byte [edi + 0x99], 0
jg 0x1001daf0
movss xmm2, dword [edi + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x28]
jmp 0x1001db6f
cmp byte [edi + 0x89], 0
je 0x1001db1a
cmp dword [edi + 0xa4], 0
jne 0x1001db1a
cmp dword [edi + 0xa0], 0
jle 0x1001db1a
movss xmm2, dword [edi + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x28]
jmp 0x1001db6f
movss xmm1, dword [edi + 0x2c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001db3b
movss xmm1, dword [edi + 0xe8]
subss xmm1, dword [edi + 0xe0]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x30]
ucomiss xmm1, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
test ah, 0x44
jp 0x1001db64
movss xmm1, dword [edi + 0xec]
subss xmm1, dword [edi + 0xe4]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [edi + 0xa0]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x1001db8a
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x1001db9b
dec eax
mov dword [edi + 0xa4], eax
mov al, byte [ebp - 0x51]
test ecx, ecx
mov cl, byte [ebp - 0x46]
jne 0x1001dbb7
test al, al
je 0x1001dbad
test cl, cl
jne 0x1001dbb7
mov dword [edi + 0xa4], 1
cmp byte [ebp - 0x8c], 0
mov edx, dword [ebp - 0x4c]
je 0x1001dc0c
test edx, 0x6000000
je 0x1001dc0c
mov dword [edi + 0xa4], 1
test dl, 0x40
je 0x1001dc0c
test al, al
jne 0x1001dbec
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x1001dbfe
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [0x100ab72c]
mov dword [ecx + 0x1a6c], edi
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x1001dc31
imul eax, eax, 0x1f8
add eax, dword [ecx + 0x1f00]
jmp 0x1001dc33
xor eax, eax
mov dword [ecx + 0x1ef4], eax
mov eax, dword [0x100ab72c]
movss xmm1, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm1, dword [edi + 0x27c]
test eax, eax
je 0x1001dc60
mulss xmm1, dword [eax + 0x27c]
movss dword [ecx + 0x1944], xmm1
movss dword [ecx + 0x1930], xmm1
test edx, 0x1000000
je 0x1001dc82
movss xmm1, dword [esi + 0x1544]
jmp 0x1001dca4
test edx, 0x6000000
je 0x1001dc9c
test edx, 0x8000000
jne 0x1001dc9c
movss xmm1, dword [esi + 0x154c]
jmp 0x1001dca4
movss xmm1, dword [esi + 0x1528]
mov eax, edi
movss dword [eax + 0x40], xmm1
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 0x1001dcf0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001dcf0
test edx, 0x400
je 0x1001dce4
movss xmm0, dword [esi + 0x1520]
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1b48]
movss dword [edi + 0x150], xmm0
mov eax, dword [esi + 0x1b4c]
mov dword [edi + 0x154], eax
test dl, 0x21
jne 0x1001dd93
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.1002d480
cmp dword [esi + 0x1a70], edi
jne 0x1001dd69
cmp dword [esi + 0x1a90], 0
jne 0x1001dd69
cmp dword [esi + 0x1a94], 0
jne 0x1001dd69
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10024d50
add esp, 0xc
test al, al
je 0x1001dd69
cmp byte [esi + 0x3dd], 0
je 0x1001dd69
mov byte [edi + 0x86], 1
cmp byte [edi + 0x86], 0
je 0x1001dd9a
cmp byte [edi + 0x85], 0
push edi
sete al
mov byte [edi + 0x85], al
call fcn.100258e0
push edi
call fcn.100228a0
add esp, 8
jmp 0x1001dd9a
mov byte [edi + 0x85], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x86], 0
push eax
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.10020120
mov cl, byte [ebp - 0x52]
add esp, 0xc
test byte [ebp - 0x4c], 0x40
mov byte [ebp - 0x45], cl
je 0x1001ddfe
cmp byte [edi + 0x85], 0
jne 0x1001ddfe
cmp byte [ebp - 0x51], 0
jne 0x1001dde1
movss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x52], 1
cmp byte [ebp - 0x46], 0
jne 0x1001dea7
movss xmm0, dword [ebp - 0x80]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x45], 1
jmp 0x1001dea7
mov al, byte [edi + 0x98]
test al, al
jg 0x1001de15
cmp byte [edi + 0x99], 0
jle 0x1001dea7
cmp byte [ebp - 0x51], 0
jne 0x1001de48
test al, al
jle 0x1001de48
cmp byte [edi + 0x9b], 0
je 0x1001de37
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x84]
jmp 0x1001de3f
movss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x52], 1
cmp byte [ebp - 0x46], 0
jne 0x1001de7a
cmp byte [edi + 0x99], 0
jle 0x1001de7a
cmp byte [edi + 0x9b], 0
je 0x1001de6c
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x80]
jmp 0x1001de71
movss xmm0, dword [ebp - 0x80]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x45], 1
cmp byte [edi + 0x85], 0
jne 0x1001dea7
test dword [edi + 8], 0x100
mov ecx, dword [0x100ab72c]
jne 0x1001dea7
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2ebc]
jb 0x1001dea7
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2ebc], eax
push dword [edi + 0x20]
lea eax, [ebp - 0x70]
push dword [edi + 0x1c]
push edi
push eax
call fcn.10020470
add esp, 0x10
mov dword [ebp - 0x50], eax
cmp byte [edi + 0x85], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
je 0x1001df04
test dword [ebp - 0x4c], 0x1000000
jne 0x1001df04
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.1002d480
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x6c], xmm0
jmp 0x1001df12
mov ecx, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov edx, dword [edi + 8]
lea ecx, [ebp - 0x70]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov eax, dword [0x100ab72c]
test dl, 1
je 0x1001df32
xorps xmm2, xmm2
jmp 0x1001df64
movss xmm0, dword [eax + 0x1934]
mov ecx, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test ecx, ecx
je 0x1001df54
mulss xmm0, dword [ecx + 0x27c]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x1001dfa8
movss xmm1, dword [eax + 0x1934]
mov ecx, dword [edi + 0x314]
mulss xmm1, dword [edi + 0x27c]
test ecx, ecx
je 0x1001df8e
mulss xmm1, dword [ecx + 0x27c]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x154]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x1001dfab
xorps xmm1, xmm1
cmp byte [ebp - 0x8c], 0
addss xmm1, xmm2
mov ecx, dword [ebp - 0x4c]
movss dword [ebp - 0x68], xmm1
je 0x1001dffe
mov eax, ecx
mov dword [edi + 0x9c], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1001dffe
cmp byte [ebp - 0x47], 0
jne 0x1001dffe
mov eax, dword [esi + 0x1bb8]
mov ecx, dword [esi + 0x1bc0]
lea edx, [eax + eax*8]
mov eax, dword [ecx + edx*4 - 0x10]
mov ecx, dword [ecx + edx*4 - 0xc]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0xc], eax
test ecx, 0x1000000
je 0x1001e099
mov edx, dword [ebp - 0x74]
mov ax, word [edx + 0x184]
lea ecx, [edx + 0x184]
mov word [edi + 0x90], ax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x58], ecx
cmp dword [ecx], eax
jne 0x1001e058
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0x50], edx
test eax, eax
je 0x1001e042
cdq
sub eax, edx
mov edx, dword [ebp - 0x50]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x1001e047
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002f760
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x18c]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x184]
mov ecx, dword [ebp - 0x4c]
mov al, byte [ebp - 0x47]
test ecx, 0x4000000
jne 0x1001e09c
test al, al
jne 0x1001e09c
cmp dword [ebp - 0x7c], 0x3000000
je 0x1001e09c
mov ecx, dword [edx + 0xd4]
mov eax, dword [edx + 0xd0]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0xc], eax
mov al, byte [ebp - 0x47]
movss xmm1, dword [edi + 0xb4]
ucomiss xmm1, dword [0x100a2884]
lahf
test ah, 0x44
jnp 0x1001e0ff
cmp dword [edi + 0xa4], 0
jne 0x1001e0ff
movss xmm0, dword [edi + 0x14]
lea eax, [ebp - 0x70]
mulss xmm0, dword [edi + 0xbc]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb8]
movss dword [ebp - 0x70], xmm1
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [edi + 0xc0]
subss xmm0, xmm1
movss dword [ebp - 0x6c], xmm0
call fcn.1002d250
add esp, 0xc
jmp 0x1001e146
test ecx, 0x10000000
jne 0x1001e12e
test ecx, 0x4000000
je 0x1001e119
test al, al
jne 0x1001e119
cmp dword [ebp - 0x64], 0
jg 0x1001e12e
test ecx, 0x2000000
je 0x1001e149
test al, al
jne 0x1001e149
cmp dword [ebp - 0x7c], 0x3000000
je 0x1001e149
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.10021e50
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
mov ecx, dword [ebp - 0x4c]
cmp byte [ebp - 0x47], 0
xorps xmm4, xmm4
mov eax, dword [0x100ab72c]
movss xmm1, dword [esi + 0x15c0]
movss xmm0, dword [esi + 0x15bc]
maxss xmm1, dword [esi + 0x15c8]
movss xmm2, dword [eax + 0x10]
movss xmm3, dword [eax + 0x14]
movaps xmm6, xmm2
maxss xmm0, dword [esi + 0x15c4]
movaps xmm5, xmm3
mov dword [ebp - 0x34], 0
subss xmm5, xmm1
mov dword [ebp - 0x30], 0
addss xmm1, xmm4
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm3
subss xmm6, xmm0
addss xmm0, xmm4
movss dword [ebp - 0x18], xmm5
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm6
movss dword [ebp - 0x24], xmm0
jne 0x1001e282
test ecx, 0x1000000
jne 0x1001e282
cmp byte [edi + 0x98], 0
jg 0x1001e282
cmp byte [edi + 0x99], 0
jg 0x1001e282
subss xmm2, xmm4
comiss xmm2, xmm4
jbe 0x1001e282
subss xmm3, xmm4
comiss xmm3, xmm4
jbe 0x1001e282
cmp byte [eax + 0xb4], 0
movss xmm3, dword [edi + 0x18]
je 0x1001e24d
test byte [edi + 8], 1
jne 0x1001e24d
movss xmm2, dword [eax + 0x1934]
mov edx, dword [edi + 0x314]
mulss xmm2, dword [edi + 0x27c]
test edx, edx
je 0x1001e23d
mulss xmm2, dword [edx + 0x27c]
movss xmm3, dword [eax + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm2
movss xmm2, dword [edi + 0x10]
subss xmm1, xmm3
subss xmm0, dword [edi + 0x14]
comiss xmm1, xmm2
ja 0x1001e267
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [edi + 0xc]
comiss xmm0, xmm2
ja 0x1001e278
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test ecx, 0x1000000
je 0x1001e2b6
movss xmm2, dword [esi + 0x1540]
jmp 0x1001e2d6
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1001e2ce
movss xmm2, dword [esi + 0x1548]
jmp 0x1001e2d6
movss xmm2, dword [esi + 0x1524]
xor al, al
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x8c], al
je 0x1001e312
test ecx, 0x1000
jne 0x1001e312
test ecx, 0x4000000
je 0x1001e2fe
mov byte [ebp - 0x58], 1
jmp 0x1001e312
test ecx, 0x3000000
movzx eax, al
mov edx, 1
cmove eax, edx
mov dword [ebp - 0x58], eax
movss xmm1, dword [esi + 0x1930]
xorps xmm0, xmm0
addss xmm2, dword [0x1005f368]
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x50], 0xffffffff
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x100a2824]
setne al
mulss xmm0, dword [0x100a2854]
inc eax
cmp byte [edi + 0x85], 0
addss xmm2, xmm1
mov dword [ebp - 0x6c], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x1001e394
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.1002e330
mov ecx, dword [ebp - 0x4c]
add esp, 0x18
xorps xmm4, xmm4
test al, al
je 0x1001e394
mov dl, 1
mov dh, dl
jmp 0x1001e39a
mov dh, byte [ebp - 0x52]
mov dl, byte [ebp - 0x45]
cmp byte [edi + 0x85], 0
mov al, byte [ebp - 0x50]
movss xmm3, dword [ebp - 0x68]
mov byte [edi + 0x8c], al
jne 0x1001e50b
cmp dword [ebp - 0x60], 0
lea eax, [ebp - 0x84]
movss xmm2, dword [edi + 0x1f8]
movss xmm5, dword [edi + 0x1fc]
subss xmm2, dword [edi + 0x1f0]
subss xmm5, dword [edi + 0x1f4]
movss xmm6, dword [edi + 0x20]
movss xmm7, dword [edi + 0x1c]
subss xmm6, xmm3
mov dword [ebp - 0x50], eax
addss xmm2, dword [edi + 0x78]
addss xmm5, dword [edi + 0x7c]
jne 0x1001e40f
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
jmp 0x1001e438
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 [ebp - 0x84], xmm0
movss dword [ebp - 0x80], xmm1
movss xmm1, dword [eax + 4]
test dh, dh
jne 0x1001e444
movaps xmm7, xmm2
test dl, dl
jne 0x1001e44b
movaps xmm6, xmm5
test ecx, 0x4000
jne 0x1001e461
comiss xmm1, xmm6
jbe 0x1001e45d
test cl, 8
je 0x1001e461
xor al, al
jmp 0x1001e463
mov al, 1
mov byte [ebp - 0x45], al
mov byte [edi + 0x81], al
test ecx, 0x8000
jne 0x1001e4b8
test al, al
je 0x1001e485
mov edx, dword [ebp - 0x5c]
movss xmm0, dword [edx + 0x1588]
jmp 0x1001e488
xorps xmm0, xmm0
mov edx, dword [ebp - 0x50]
subss xmm7, xmm0
movss xmm0, dword [edx]
comiss xmm0, xmm7
mov edx, dword [ebp - 0x5c]
jbe 0x1001e4ac
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0x45]
je 0x1001e4b8
mov byte [edi + 0x80], 0
xorps xmm1, xmm1
jmp 0x1001e4e4
mov byte [edi + 0x80], 1
test al, al
jne 0x1001e4d9
comiss xmm1, xmm6
jbe 0x1001e4d1
test cl, 8
jne 0x1001e4d1
mov al, 1
jmp 0x1001e4d3
xor al, al
mov byte [edi + 0x81], al
mov edx, dword [ebp - 0x5c]
movss xmm1, dword [edx + 0x1588]
test al, al
je 0x1001e4fc
movss xmm0, dword [edx + 0x1588]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
jmp 0x1001e50e
xorps xmm0, xmm0
movss dword [edi + 0x7c], xmm1
movss dword [edi + 0x78], xmm0
jmp 0x1001e50e
mov edx, dword [ebp - 0x5c]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1001e52f
cmp dword [ebp - 0x7c], 0x3000000
je 0x1001e52f
mov eax, dword [ebp - 0x74]
add eax, 0x230
jmp 0x1001e532
lea eax, [ebp - 0x34]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
movss xmm1, dword [edi + 0x10]
movups xmmword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0xc]
movaps xmm7, xmm1
addss xmm7, dword [edi + 0x18]
movaps xmm6, xmm0
movss dword [ebp - 0x50], xmm0
addss xmm6, dword [edi + 0x14]
movss dword [ebp - 0x64], xmm1
je 0x1001e568
xorps xmm5, xmm5
jmp 0x1001e5a9
mov eax, dword [0x100ab72c]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x1001e58f
mulss xmm0, dword [eax + 0x27c]
mov eax, dword [0x100ab72c]
movss xmm5, dword [eax + 0x1554]
addss xmm5, xmm5
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x50]
movaps xmm2, xmm0
movss dword [ebp - 0x44], xmm0
addss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
addss xmm1, xmm5
movss dword [ebp - 0x40], xmm0
mov eax, ecx
movss xmm0, dword [ebp - 0x50]
and eax, 0x401
movss dword [ebp - 0x3c], xmm2
movss dword [ebp - 0x38], xmm1
movss xmm1, dword [ebp - 0x64]
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss dword [edi + 0x1e8], xmm6
movss dword [edi + 0x1ec], xmm7
movss xmm0, dword [edi + 0x1e0]
movss xmm5, dword [ebp - 0x24]
movss xmm6, dword [ebp - 0x20]
maxss xmm0, xmm5
maxss xmm1, xmm6
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm1, dword [edi + 0x1e8]
movss xmm0, dword [edi + 0x1ec]
minss xmm0, dword [ebp - 0x18]
minss xmm1, dword [ebp - 0x1c]
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1e8], xmm1
movss xmm7, dword [edi + 0x10]
movss xmm1, dword [edi + 0xc]
movaps xmm0, xmm7
movss dword [edi + 0x1f0], xmm1
addss xmm0, xmm3
addss xmm7, dword [edi + 0x18]
movss dword [ebp - 0x64], xmm0
movss dword [edi + 0x1f4], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x14]
subss xmm7, dword [edi + 0x7c]
subss xmm0, dword [edi + 0x78]
movss dword [edi + 0x1fc], xmm7
movss dword [ebp - 0x60], xmm0
movss dword [edi + 0x1f8], xmm0
cmp eax, 1
jne 0x1001e6b1
movss xmm0, dword [edi + 0x40]
jmp 0x1001e6b9
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x1005f334]
movss dword [ebp - 0x50], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x34]
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x18]
subss xmm7, dword [edi + 0x40]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x40]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x50]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [ebp - 0x60]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x204]
comiss xmm6, xmm0
jbe 0x1001e773
movaps xmm1, xmm6
jmp 0x1001e77a
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [ebp - 0x1c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x1001e790
movaps xmm0, xmm5
jmp 0x1001e797
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x200], xmm0
movss dword [edi + 0x204], xmm1
movss xmm0, dword [edi + 0x20c]
comiss xmm6, xmm0
ja 0x1001e7bb
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x208]
comiss xmm5, xmm0
ja 0x1001e7cf
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [edi + 0x208], xmm5
movss dword [edi + 0x20c], xmm6
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x1001e7fc
test dword [ebp - 0x4c], 0x2000040
jne 0x1001e7fc
mulss xmm0, dword [0x100a2830]
jmp 0x1001e80c
movss xmm0, dword [edx + 0x1930]
mulss xmm0, dword [0x100a286c]
cvttss2si eax, xmm0
mov ecx, edi
push edi
movd xmm0, eax
lea eax, [ebp - 0x84]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ecx + 0x260], xmm0
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1f8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1f0]
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 + 0x1fc]
subss xmm0, dword [edi + 0x1f4]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x5c], xmm0
call fcn.1001fdc0
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x50], ecx
mov ecx, dword [edi + 0x284]
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
mov eax, dword [eax + 0x192c]
mov eax, dword [eax + 0x30]
push dword [eax + 8]
call fcn.10035810
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10029c70
add esp, 0xc
test dword [ebp - 0x4c], 0x8000000
je 0x1001e8f1
call fcn.10023700
cmp edi, eax
jne 0x1001e8f1
cmp dword [edi + 0xa4], 0
jg 0x1001e8f1
mov dl, 1
jmp 0x1001e8f3
xor dl, dl
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x1cd0]
test eax, eax
je 0x1001e90c
cmp edi, dword [eax + 0x318]
jne 0x1001e90c
mov al, 1
jmp 0x1001e90e
xor al, al
mov byte [ebp - 0x45], al
test dl, dl
jne 0x1001e91d
test al, al
je 0x1001ea1d
movss xmm0, dword [ecx + 0x1d44]
push ecx
movzx eax, dl
add eax, 0x33
movss dword [esp], xmm0
push eax
call fcn.10022d30
add esp, 8
push 0xf
push ecx
mov ecx, dword [edi + 0x284]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10031dc0
cmp byte [ebp - 0x45], 0
je 0x1001ea1d
mov ecx, dword [ebp - 0x5c]
cmp edi, dword [ecx + 0x1cd0]
jne 0x1001ea1d
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [ecx + 0x1930]
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 - 0x34]
comiss xmm0, xmm1
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm3
jb 0x1001e9d7
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm4
jb 0x1001e9d7
comiss xmm2, dword [ebp - 0x2c]
jb 0x1001e9d7
comiss xmm3, dword [ebp - 0x28]
jae 0x1001ea1d
movss xmm0, dword [ecx + 0x1524]
push 0xf
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + 0x1cdc]
mulss xmm0, dword [0x100a1d4c]
movss dword [esp], xmm0
push 0x32
call fcn.10022d30
mov ecx, dword [edi + 0x284]
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10031dc0
mov eax, dword [ebp - 0x4c]
and eax, 0x5000000
mov byte [ebp - 0x45], 0
cmp eax, 0x1000000
jne 0x1001ea67
cmp dword [ebp - 0x7c], 0x3000000
je 0x1001ea67
mov edx, dword [edi + 0x284]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1001ea67
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x284]
cmp dword [eax + 0x18], 0
jle 0x1001ea67
mov byte [ebp - 0x45], 1
mov dword [edi + 0x284], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1ccc]
test ecx, ecx
jne 0x1001ea7a
mov ecx, dword [eax + 0x1bc4]
cmp byte [ebp - 0x58], 0
jne 0x1001ea98
test ecx, ecx
je 0x1001ea92
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x1001ea98
mov byte [ebp - 0x50], 0
jmp 0x1001ea9c
mov byte [ebp - 0x50], 1
movd xmm0, esi
lea eax, [ebp - 0x14]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x44]
push dword [ebp - 0x50]
push eax
push edi
call fcn.1002b460
add esp, 0x18
cmp byte [ebp - 0x45], 0
je 0x1001ead2
lea eax, [edi + 0x288]
mov dword [edi + 0x284], eax
mov esi, dword [ebp - 0x5c]
cmp dword [esi + 0x1cd0], edi
jne 0x1001ebce
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm5, xmm2
movss xmm1, dword [esi + 0x1930]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
movss xmm7, dword [edi + 0x3c]
subss xmm5, xmm1
movss xmm0, dword [ebp - 0x34]
subss xmm4, xmm1
movaps xmm6, xmm7
maxss xmm6, dword [esi + 0x1524]
addss xmm2, xmm1
comiss xmm0, xmm5
addss xmm3, xmm1
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm3
jb 0x1001eb90
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm4
jb 0x1001eb90
comiss xmm2, dword [ebp - 0x2c]
jb 0x1001eb90
comiss xmm3, dword [ebp - 0x28]
jb 0x1001eb90
xorps xmm1, xmmword [0x1005f350]
movaps xmm6, xmm7
subss xmm1, dword [0x1005f368]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
movss xmm0, dword [esi + 0x1cdc]
push ecx
mov dword [esp], 0x40400000
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm6
movss dword [esp], xmm0
push 0x32
call fcn.10022d30
mov ecx, dword [edi + 0x284]
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10031cd0
mov ecx, dword [ebp - 0x4c]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x2c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x1001ebf3
movss dword [ebp - 0x50], xmm6
jmp 0x1001ec2b
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x1001ec08
movss xmm2, dword [edi + 0x24]
jmp 0x1001ec0b
xorps xmm2, xmm2
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x14]
addss xmm1, xmm1
subss xmm0, xmm1
subss xmm0, dword [edi + 0x78]
maxss xmm2, xmm0
movss dword [ebp - 0x50], xmm2
movss xmm5, dword [edi + 0x30]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x1001ec40
movss dword [ebp - 0x7c], xmm5
jmp 0x1001ec73
test dl, dl
je 0x1001ec4b
movss xmm2, dword [edi + 0x28]
jmp 0x1001ec4e
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x68]
subss xmm1, dword [edi + 0x7c]
maxss xmm2, xmm1
movss dword [ebp - 0x7c], xmm2
movss xmm0, dword [edi + 0x50]
movss xmm1, dword [edi + 0x1f0]
movss xmm7, dword [edi + 0x34]
subss xmm1, xmm0
movss dword [ebp - 0x60], xmm0
movaps xmm0, xmm7
maxss xmm0, dword [edi + 0x40]
ucomiss xmm6, xmm4
addss xmm1, xmm0
movss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x6c], xmm0
maxss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [ebp - 0x64], xmm1
movss xmm1, dword [edi + 0x1f4]
subss xmm1, dword [ebp - 0x64]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x210], xmm2
addss xmm2, dword [ebp - 0x50]
cvttss2si eax, xmm1
movss dword [edi + 0x218], xmm2
movss xmm2, dword [ebp - 0x6c]
movss xmm1, dword [ebp - 0x68]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x214], xmm0
addss xmm0, dword [ebp - 0x7c]
movss dword [edi + 0x21c], xmm0
movups xmm0, xmmword [edi + 0x210]
movups xmmword [edi + 0x220], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x50], xmm0
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0x60]
addss xmm3, xmm7
movss dword [edi + 0x240], xmm3
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [ebp - 0x64]
addss xmm0, xmm2
addss xmm0, xmm1
movss dword [ebp - 0x6c], xmm0
movss dword [edi + 0x244], xmm0
test ah, 0x44
jp 0x1001ed77
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
subss xmm6, dword [edi + 0x78]
ucomiss xmm5, xmm4
addss xmm6, xmm3
lahf
movss dword [edi + 0x248], xmm6
test ah, 0x44
jp 0x1001eda5
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
subss xmm5, xmm1
subss xmm5, dword [edi + 0x7c]
addss xmm5, dword [ebp - 0x6c]
addss xmm7, xmm4
addss xmm1, xmm2
push dword [ebp - 0x8c]
movss dword [edi + 0x24c], xmm5
subss xmm7, dword [ebp - 0x60]
subss xmm1, dword [ebp - 0x64]
push ecx
lea ecx, [edi + 0x158]
movss dword [edi + 0x108], xmm7
addss xmm7, xmm4
mov dword [edi + 0x110], 0
mov dword [edi + 0x10c], 0
addss xmm1, dword [edi + 0x10]
addss xmm7, dword [ebp - 0x50]
movss dword [edi + 0xe0], xmm7
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xd0], xmm7
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe8], xmm7
movss dword [edi + 0xec], xmm1
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x13c], 0
mov eax, dword [edi + 0x144]
mov dword [edi + 0x140], eax
mov dword [edi + 0x144], 0
mov byte [edi + 0x14c], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm4
seta al
mov byte [edi + 0x14d], al
mov byte [edi + 0x14e], 0
movss xmm0, dword [esi + 0x1560]
movss dword [esp], xmm0
push 3
call fcn.100587c0
mov dword [edi + 0x17c], 0
lea eax, [edi + 0x184]
mov dword [edi + 0x180], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001ef0d
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 + 0x184]
call fcn.1002f760
lea eax, [edi + 0x184]
mov dword [eax], 0
lea eax, [edi + 0x264]
mov dword [edi + 0x190], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x194], 0
mov dword [edi + 0x19c], 1
test eax, eax
je 0x1001ef42
mov eax, dword [eax + 0x19c]
jmp 0x1001ef47
mov eax, 1
mov dword [edi + 0x1a0], eax
mov dword [edi + 0x1a8], 0xffffffff
mov dword [edi + 0x1a4], 0xffffffff
mov eax, dword [edi + 0x260]
mov dword [edi + 0x1b0], eax
lea eax, [edi + 0x1b8]
mov dword [edi + 0x1b4], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001efa6
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 + 0x1b8]
call fcn.1002f760
lea eax, [edi + 0x1b8]
mov dword [eax], 0
lea eax, [edi + 0x1c4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001efdb
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 + 0x1c4]
call fcn.1002f760
lea eax, [edi + 0x1c4]
mov dword [eax], 0
mov al, byte [edi + 0x98]
test al, al
jle 0x1001eff3
dec al
mov byte [edi + 0x98], al
mov al, byte [edi + 0x99]
test al, al
jle 0x1001f005
dec al
mov byte [edi + 0x99], al
cmp byte [ebp - 0x58], 0
je 0x1001f01c
push edi
call fcn.100228a0
push 0
push edi
call fcn.10025d90
add esp, 0xc
test byte [ebp - 0x4c], 1
jne 0x1001f03b
push dword [ebp - 0x94]
lea eax, [ebp - 0x44]
push dword [ebp - 0x90]
push eax
push edi
call fcn.1002bfd0
add esp, 0x10
movss xmm2, dword [ebp - 0x44]
xor eax, eax
movss xmm4, dword [ebp - 0x3c]
movss xmm3, dword [ebp - 0x38]
mov dword [edi + 0x250], eax
mov eax, dword [0x100ab72c]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe4]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x40]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x1001f0a7
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm1
jb 0x1001f0a7
comiss xmm4, xmm5
jbe 0x1001f0a7
comiss xmm3, xmm0
jbe 0x1001f0a7
mov ecx, 1
jmp 0x1001f0a9
xor ecx, ecx
mov eax, dword [edi + 0x48]
movups xmm0, xmmword [ebp - 0x44]
mov dword [edi + 0x114], eax
mov dword [edi + 0x118], ecx
movups xmmword [edi + 0x11c], xmm0
jmp 0x1001f129
mov ecx, dword [0x100ab72c]
mov dword [ecx + 0x1a6c], edi
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x1001f0ea
imul eax, eax, 0x1f8
add eax, dword [ecx + 0x1f00]
jmp 0x1001f0ec
xor eax, eax
mov dword [ecx + 0x1ef4], eax
mov eax, dword [0x100ab72c]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x1001f119
mulss xmm0, dword [eax + 0x27c]
movss dword [ecx + 0x1944], xmm0
movss dword [ecx + 0x1930], xmm0
mov ecx, dword [esi + 0x1b94]
mov eax, dword [esi + 0x1b9c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x1ac], eax
mov eax, dword [ebp - 0x4c]
and eax, 0x1000000
mov dword [ebp - 0x6c], eax
je 0x1001f157
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x148]
jmp 0x1001f159
xor eax, eax
mov dword [edi + 0x148], eax
lea eax, [edi + 0x208]
push 1
push eax
lea eax, [edi + 0x200]
push eax
call fcn.10029c70
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov byte [edi + 0x84], 0
inc word [edi + 0x8e]
mov dword [esi + 0x1af0], 0
cmp eax, dword [ebp - 0x88]
je 0x1001f2a8
cmp dword [ebp - 0x6c], 0
je 0x1001f234
test byte [ebp - 0x4c], 0x40
jne 0x1001f1f5
cmp byte [edi + 0x98], 0
jg 0x1001f1f5
cmp byte [edi + 0x99], 0
jg 0x1001f1f5
cmp byte [esi + 0x2efc], 0
jne 0x1001f1f5
movss xmm0, dword [edi + 0x1e0]
comiss xmm0, dword [edi + 0x1e8]
jae 0x1001f1eb
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jb 0x1001f1f5
mov dword [edi + 0xa0], 1
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x1001f234
cmp byte [eax + 0x85], 0
jne 0x1001f20e
cmp dword [eax + 0xa0], 0
jle 0x1001f218
mov dword [edi + 0xa0], 1
cmp byte [eax + 0x85], 0
jne 0x1001f22a
cmp dword [eax + 0xa4], 0
jle 0x1001f234
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x1001f24a
mov dword [edi + 0xa0], 1
cmp dword [edi + 0xa0], 0
jg 0x1001f260
cmp dword [edi + 0xa4], 0
jg 0x1001f260
xor cl, cl
jmp 0x1001f262
mov cl, 1
xor al, al
mov byte [edi + 0x89], cl
cmp byte [edi + 0x85], al
jne 0x1001f27e
cmp byte [edi + 0x82], al
je 0x1001f27e
test cl, cl
je 0x1001f2a2
cmp byte [edi + 0x98], 0
jg 0x1001f2a2
cmp byte [edi + 0x99], 0
jg 0x1001f2a2
cmp dword [edi + 0xa4], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x87], al
cmp byte [edi + 0x87], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.1005c7f7
mov esp, ebp
pop ebp
ret