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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x101344c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x10135110]
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.1003bc20
push eax
call fcn.1003a6d0
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 0x1003537d
push dword [ebp - 0x4c]
push dword [ebp - 0x90]
call fcn.10039120
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0x4c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10035396
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 0x100353c1
cmp byte [esi + 0x1a1d], 0
je 0x100353c1
mov al, 1
jmp 0x100353c3
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 0x10035421
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 0x10035431
test eax, eax
jg 0x10035431
mov byte [edi + 0x88], ch
jmp 0x1003544d
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 0x10035494
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 0x1003549a
mov edx, dword [edi + 8]
mov dword [ebp - 0x4c], edx
mov ecx, dword [esi + 0x1a50]
test ecx, ecx
je 0x100354ae
mov eax, dword [esi + 0x1a58]
mov ecx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x100354c8
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x100354ce
mov eax, dword [edi + 0x314]
cmp dword [edi + 0xc4], 0
mov dword [ebp - 0x74], eax
lea eax, [edi + 0xc4]
jne 0x10035506
cmp dword [eax + 4], 0
jne 0x100354f5
push 8
mov ecx, eax
call fcn.100479b0
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 0x10035549
test ecx, ecx
je 0x1003552b
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1a50]
sar eax, 1
add eax, ecx
jmp 0x10035530
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.100479b0
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 [0x10135110]
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 0x1003560c
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.10047780
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 0x10035624
test ecx, 0x1000000
jne 0x10035624
mov dword [edi + 0x328], 0
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x100356a7
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 0x10035684
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10035668
mov eax, dword [edx + 0x318]
mov dword [edi + 0x318], eax
test ecx, 0x8000000
jne 0x10035684
test ecx, 0x5000000
je 0x10035684
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test dword [edi + 8], 0x800000
je 0x100356a7
mov ecx, edi
nop
mov eax, dword [ecx + 0x314]
mov ecx, eax
mov dword [edi + 0x320], eax
test dword [ecx + 8], 0x800000
jne 0x10035690
xor dl, dl
mov byte [ebp - 0x47], 0
test byte [esi + 0x1af0], 1
mov byte [ebp - 0x51], dl
mov byte [ebp - 0x46], dl
je 0x10035749
mov ecx, dword [esi + 0x1af4]
mov edx, dword [edi + 0xa8]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x47]
test ecx, eax
je 0x10035738
movss xmm1, dword [esi + 0x1b0c]
movss xmm0, dword [esi + 0x1b08]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10114fa4]
jbe 0x10035738
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 0x10035749
push ecx
lea eax, [esi + 0x1b00]
push eax
push edi
call fcn.100454a0
add esp, 0xc
test byte [esi + 0x1af0], 2
xorps xmm1, xmm1
je 0x100357aa
mov eax, dword [edi + 0xac]
mov ecx, dword [esi + 0x1af8]
and eax, ecx
je 0x10035778
movss xmm0, dword [esi + 0x1b10]
comiss xmm0, xmm1
jbe 0x10035778
mov byte [ebp - 0x51], 1
jmp 0x10035781
xor dl, dl
mov byte [ebp - 0x51], dl
test eax, eax
je 0x10035792
movss xmm0, dword [esi + 0x1b14]
comiss xmm0, xmm1
mov byte [ebp - 0x46], 1
ja 0x10035796
mov byte [ebp - 0x46], 0
push ecx
lea eax, [esi + 0x1b10]
push eax
push edi
call fcn.10045580
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x1af0], 0x80
je 0x100357e5
movss xmm0, dword [esi + 0x1b20]
comiss xmm0, xmm1
jb 0x100357cc
movss dword [edi + 0x60], xmm0
mov dword [edi + 0x68], 0
movss xmm0, dword [esi + 0x1b24]
comiss xmm0, xmm1
jb 0x100357e5
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
test byte [esi + 0x1af0], 4
je 0x10035802
mov eax, dword [esi + 0x1b18]
mov ecx, dword [esi + 0x1b1c]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x1003581b
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x88]
je 0x1003581b
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1af0], 8
je 0x10035849
mov eax, dword [esi + 0x1afc]
mov cl, byte [esi + 0x1b28]
test eax, eax
je 0x1003583c
test dword [edi + 0xb0], eax
je 0x10035849
and dword [edi + 0xb0], 0xfffffff1
mov byte [edi + 0x85], cl
test byte [esi + 0x1af0], 0x20
je 0x1003585b
push edi
call fcn.1003a8d0
add esp, 4
cmp byte [edi + 0x88], 0
je 0x10035879
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 0x100370f5
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 0x10035910
test eax, eax
je 0x100358f3
cdq
sub eax, edx
lea edx, [edi + 0xc4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100358fe
mov ecx, 8
lea edx, [edi + 0xc4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.100479b0
mov dword [edi + 0xc4], 1
mov ecx, dword [edi + 0x284]
call fcn.1004fb60
cmp byte [edi + 0x358], 0
mov dword [edi + 0x198], 0xffffffff
je 0x10035a04
mov ecx, dword [edi + 0x284]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.10047930
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 0x100359f0
mov eax, dword [0x10135110]
test eax, eax
je 0x10035980
inc dword [eax + 0x370]
push dword [0x10135118]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x101334f0]
mov dword [ebp - 0x68], eax
add esp, 8
mov eax, dword [ebp - 0x58]
mov edx, dword [eax + 8]
test edx, edx
je 0x100359e4
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 0x100359d1
mov eax, dword [0x10135110]
test eax, eax
je 0x100359d1
dec dword [eax + 0x370]
push dword [0x10135118]
push ecx
call dword [0x101334f4]
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 0x10035af3
test dword [edi + 8], 0x80000
jne 0x10035af3
test ecx, ecx
je 0x10035af3
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 0x10035a56
test dl, dl
je 0x10035a52
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10035a56
add eax, 2
add ecx, 2
test dl, dl
jne 0x10035a36
xor eax, eax
jmp 0x10035a5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10035af0
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 0x10035a75
sub ecx, dword [ebp - 0x58]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
cmp edx, eax
jae 0x10035ad8
test ecx, ecx
je 0x10035a9f
mov eax, dword [0x10135110]
test eax, eax
je 0x10035a9f
dec dword [eax + 0x370]
push dword [0x10135118]
push ecx
call dword [0x101334f4]
mov eax, dword [0x10135110]
add esp, 8
test eax, eax
je 0x10035abe
inc dword [eax + 0x370]
push dword [0x10135118]
push dword [ebp - 0x58]
call dword [0x101334f0]
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 0x10035b20
cmp byte [edi + 0x98], 0
jg 0x10035b20
cmp byte [edi + 0x99], 0
jg 0x10035b20
movss xmm2, dword [edi + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x28]
jmp 0x10035b9f
cmp byte [edi + 0x89], 0
je 0x10035b4a
cmp dword [edi + 0xa4], 0
jne 0x10035b4a
cmp dword [edi + 0xa0], 0
jle 0x10035b4a
movss xmm2, dword [edi + 0x24]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x28]
jmp 0x10035b9f
movss xmm1, dword [edi + 0x2c]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10035b6b
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 0x10035b94
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 0x10035bba
dec eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x10035bcb
dec eax
mov dword [edi + 0xa4], eax
mov al, byte [ebp - 0x51]
test ecx, ecx
mov cl, byte [ebp - 0x46]
jne 0x10035be7
test al, al
je 0x10035bdd
test cl, cl
jne 0x10035be7
mov dword [edi + 0xa4], 1
cmp byte [ebp - 0x8c], 0
mov edx, dword [ebp - 0x4c]
je 0x10035c3c
test edx, 0x6000000
je 0x10035c3c
mov dword [edi + 0xa4], 1
test dl, 0x40
je 0x10035c3c
test al, al
jne 0x10035c1c
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x10035c2e
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [0x10135110]
mov dword [ecx + 0x1a6c], edi
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x10035c61
imul eax, eax, 0x1f8
add eax, dword [ecx + 0x1f00]
jmp 0x10035c63
xor eax, eax
mov dword [ecx + 0x1ef4], eax
mov eax, dword [0x10135110]
movss xmm1, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm1, dword [edi + 0x27c]
test eax, eax
je 0x10035c90
mulss xmm1, dword [eax + 0x27c]
movss dword [ecx + 0x1944], xmm1
movss dword [ecx + 0x1930], xmm1
test edx, 0x1000000
je 0x10035cb2
movss xmm1, dword [esi + 0x1544]
jmp 0x10035cd4
test edx, 0x6000000
je 0x10035ccc
test edx, 0x8000000
jne 0x10035ccc
movss xmm1, dword [esi + 0x154c]
jmp 0x10035cd4
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 0x10035d20
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10035d20
test edx, 0x400
je 0x10035d14
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 0x10035dc3
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.100456d0
cmp dword [esi + 0x1a70], edi
jne 0x10035d99
cmp dword [esi + 0x1a90], 0
jne 0x10035d99
cmp dword [esi + 0x1a94], 0
jne 0x10035d99
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1003cd80
add esp, 0xc
test al, al
je 0x10035d99
cmp byte [esi + 0x3dd], 0
je 0x10035d99
mov byte [edi + 0x86], 1
cmp byte [edi + 0x86], 0
je 0x10035dca
cmp byte [edi + 0x85], 0
push edi
sete al
mov byte [edi + 0x85], al
call fcn.1003da10
push edi
call fcn.1003a8d0
add esp, 8
jmp 0x10035dca
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.10038150
mov cl, byte [ebp - 0x52]
add esp, 0xc
test byte [ebp - 0x4c], 0x40
mov byte [ebp - 0x45], cl
je 0x10035e2e
cmp byte [edi + 0x85], 0
jne 0x10035e2e
cmp byte [ebp - 0x51], 0
jne 0x10035e11
movss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x52], 1
cmp byte [ebp - 0x46], 0
jne 0x10035ed7
movss xmm0, dword [ebp - 0x80]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x45], 1
jmp 0x10035ed7
mov al, byte [edi + 0x98]
test al, al
jg 0x10035e45
cmp byte [edi + 0x99], 0
jle 0x10035ed7
cmp byte [ebp - 0x51], 0
jne 0x10035e78
test al, al
jle 0x10035e78
cmp byte [edi + 0x9b], 0
je 0x10035e67
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x84]
jmp 0x10035e6f
movss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x52], 1
cmp byte [ebp - 0x46], 0
jne 0x10035eaa
cmp byte [edi + 0x99], 0
jle 0x10035eaa
cmp byte [edi + 0x9b], 0
je 0x10035e9c
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x80]
jmp 0x10035ea1
movss xmm0, dword [ebp - 0x80]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x45], 1
cmp byte [edi + 0x85], 0
jne 0x10035ed7
test dword [edi + 8], 0x100
mov ecx, dword [0x10135110]
jne 0x10035ed7
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2ebc]
jb 0x10035ed7
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.100384a0
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 0x10035f34
test dword [ebp - 0x4c], 0x1000000
jne 0x10035f34
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.100456d0
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 0x10035f42
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 [0x10135110]
test dl, 1
je 0x10035f62
xorps xmm2, xmm2
jmp 0x10035f94
movss xmm0, dword [eax + 0x1934]
mov ecx, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test ecx, ecx
je 0x10035f84
mulss xmm0, dword [ecx + 0x27c]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x10035fd8
movss xmm1, dword [eax + 0x1934]
mov ecx, dword [edi + 0x314]
mulss xmm1, dword [edi + 0x27c]
test ecx, ecx
je 0x10035fbe
mulss xmm1, dword [ecx + 0x27c]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x154]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x10035fdb
xorps xmm1, xmm1
cmp byte [ebp - 0x8c], 0
addss xmm1, xmm2
mov ecx, dword [ebp - 0x4c]
movss dword [ebp - 0x68], xmm1
je 0x1003602e
mov eax, ecx
mov dword [edi + 0x9c], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1003602e
cmp byte [ebp - 0x47], 0
jne 0x1003602e
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 0x100360c9
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 0x10036088
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0x50], edx
test eax, eax
je 0x10036072
cdq
sub eax, edx
mov edx, dword [ebp - 0x50]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10036077
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.100479b0
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 0x100360cc
test al, al
jne 0x100360cc
cmp dword [ebp - 0x7c], 0x3000000
je 0x100360cc
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 [0x10115014]
lahf
test ah, 0x44
jnp 0x1003612f
cmp dword [edi + 0xa4], 0
jne 0x1003612f
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.100454a0
add esp, 0xc
jmp 0x10036176
test ecx, 0x10000000
jne 0x1003615e
test ecx, 0x4000000
je 0x10036149
test al, al
jne 0x10036149
cmp dword [ebp - 0x64], 0
jg 0x1003615e
test ecx, 0x2000000
je 0x10036179
test al, al
jne 0x10036179
cmp dword [ebp - 0x7c], 0x3000000
je 0x10036179
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.10039e80
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 [0x10135110]
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 0x100362b2
test ecx, 0x1000000
jne 0x100362b2
cmp byte [edi + 0x98], 0
jg 0x100362b2
cmp byte [edi + 0x99], 0
jg 0x100362b2
subss xmm2, xmm4
comiss xmm2, xmm4
jbe 0x100362b2
subss xmm3, xmm4
comiss xmm3, xmm4
jbe 0x100362b2
cmp byte [eax + 0xb4], 0
movss xmm3, dword [edi + 0x18]
je 0x1003627d
test byte [edi + 8], 1
jne 0x1003627d
movss xmm2, dword [eax + 0x1934]
mov edx, dword [edi + 0x314]
mulss xmm2, dword [edi + 0x27c]
test edx, edx
je 0x1003626d
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 0x10036297
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [edi + 0xc]
comiss xmm0, xmm2
ja 0x100362a8
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 0x100362e6
movss xmm2, dword [esi + 0x1540]
jmp 0x10036306
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100362fe
movss xmm2, dword [esi + 0x1548]
jmp 0x10036306
movss xmm2, dword [esi + 0x1524]
xor al, al
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x8c], al
je 0x10036342
test ecx, 0x1000
jne 0x10036342
test ecx, 0x4000000
je 0x1003632e
mov byte [ebp - 0x58], 1
jmp 0x10036342
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 [0x100cf748]
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x50], 0xffffffff
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x10114fb4]
setne al
mulss xmm0, dword [0x10114fe4]
inc eax
cmp byte [edi + 0x85], 0
addss xmm2, xmm1
mov dword [ebp - 0x6c], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x100363c4
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.10046580
mov ecx, dword [ebp - 0x4c]
add esp, 0x18
xorps xmm4, xmm4
test al, al
je 0x100363c4
mov dl, 1
mov dh, dl
jmp 0x100363ca
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 0x1003653b
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 0x1003643f
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
jmp 0x10036468
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 0x10036474
movaps xmm7, xmm2
test dl, dl
jne 0x1003647b
movaps xmm6, xmm5
test ecx, 0x4000
jne 0x10036491
comiss xmm1, xmm6
jbe 0x1003648d
test cl, 8
je 0x10036491
xor al, al
jmp 0x10036493
mov al, 1
mov byte [ebp - 0x45], al
mov byte [edi + 0x81], al
test ecx, 0x8000
jne 0x100364e8
test al, al
je 0x100364b5
mov edx, dword [ebp - 0x5c]
movss xmm0, dword [edx + 0x1588]
jmp 0x100364b8
xorps xmm0, xmm0
mov edx, dword [ebp - 0x50]
subss xmm7, xmm0
movss xmm0, dword [edx]
comiss xmm0, xmm7
mov edx, dword [ebp - 0x5c]
jbe 0x100364dc
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0x45]
je 0x100364e8
mov byte [edi + 0x80], 0
xorps xmm1, xmm1
jmp 0x10036514
mov byte [edi + 0x80], 1
test al, al
jne 0x10036509
comiss xmm1, xmm6
jbe 0x10036501
test cl, 8
jne 0x10036501
mov al, 1
jmp 0x10036503
xor al, al
mov byte [edi + 0x81], al
mov edx, dword [ebp - 0x5c]
movss xmm1, dword [edx + 0x1588]
test al, al
je 0x1003652c
movss xmm0, dword [edx + 0x1588]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
jmp 0x1003653e
xorps xmm0, xmm0
movss dword [edi + 0x7c], xmm1
movss dword [edi + 0x78], xmm0
jmp 0x1003653e
mov edx, dword [ebp - 0x5c]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1003655f
cmp dword [ebp - 0x7c], 0x3000000
je 0x1003655f
mov eax, dword [ebp - 0x74]
add eax, 0x230
jmp 0x10036562
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 0x10036598
xorps xmm5, xmm5
jmp 0x100365d9
mov eax, dword [0x10135110]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x100365bf
mulss xmm0, dword [eax + 0x27c]
mov eax, dword [0x10135110]
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 0x100366e1
movss xmm0, dword [edi + 0x40]
jmp 0x100366e9
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x100cf714]
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 0x100367a3
movaps xmm1, xmm6
jmp 0x100367aa
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [ebp - 0x1c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x100367c0
movaps xmm0, xmm5
jmp 0x100367c7
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 0x100367eb
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x208]
comiss xmm5, xmm0
ja 0x100367ff
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 0x1003682c
test dword [ebp - 0x4c], 0x2000040
jne 0x1003682c
mulss xmm0, dword [0x10114fc0]
jmp 0x1003683c
movss xmm0, dword [edx + 0x1930]
mulss xmm0, dword [0x10114ffc]
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.10037df0
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.1004da20
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10041da0
add esp, 0xc
test dword [ebp - 0x4c], 0x8000000
je 0x10036921
call fcn.1003b730
cmp edi, eax
jne 0x10036921
cmp dword [edi + 0xa4], 0
jg 0x10036921
mov dl, 1
jmp 0x10036923
xor dl, dl
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x1cd0]
test eax, eax
je 0x1003693c
cmp edi, dword [eax + 0x318]
jne 0x1003693c
mov al, 1
jmp 0x1003693e
xor al, al
mov byte [ebp - 0x45], al
test dl, dl
jne 0x1003694d
test al, al
je 0x10036a4d
movss xmm0, dword [ecx + 0x1d44]
push ecx
movzx eax, dl
add eax, 0x33
movss dword [esp], xmm0
push eax
call fcn.1003ad60
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.10049fd0
cmp byte [ebp - 0x45], 0
je 0x10036a4d
mov ecx, dword [ebp - 0x5c]
cmp edi, dword [ecx + 0x1cd0]
jne 0x10036a4d
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 0x10036a07
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm4
jb 0x10036a07
comiss xmm2, dword [ebp - 0x2c]
jb 0x10036a07
comiss xmm3, dword [ebp - 0x28]
jae 0x10036a4d
movss xmm0, dword [ecx + 0x1524]
push 0xf
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + 0x1cdc]
mulss xmm0, dword [0x10114440]
movss dword [esp], xmm0
push 0x32
call fcn.1003ad60
mov ecx, dword [edi + 0x284]
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10049fd0
mov eax, dword [ebp - 0x4c]
and eax, 0x5000000
mov byte [ebp - 0x45], 0
cmp eax, 0x1000000
jne 0x10036a97
cmp dword [ebp - 0x7c], 0x3000000
je 0x10036a97
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 0x10036a97
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x284]
cmp dword [eax + 0x18], 0
jle 0x10036a97
mov byte [ebp - 0x45], 1
mov dword [edi + 0x284], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x1ccc]
test ecx, ecx
jne 0x10036aaa
mov ecx, dword [eax + 0x1bc4]
cmp byte [ebp - 0x58], 0
jne 0x10036ac8
test ecx, ecx
je 0x10036ac2
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x10036ac8
mov byte [ebp - 0x50], 0
jmp 0x10036acc
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.10043680
add esp, 0x18
cmp byte [ebp - 0x45], 0
je 0x10036b02
lea eax, [edi + 0x288]
mov dword [edi + 0x284], eax
mov esi, dword [ebp - 0x5c]
cmp dword [esi + 0x1cd0], edi
jne 0x10036bfe
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 0x10036bc0
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm4
jb 0x10036bc0
comiss xmm2, dword [ebp - 0x2c]
jb 0x10036bc0
comiss xmm3, dword [ebp - 0x28]
jb 0x10036bc0
xorps xmm1, xmmword [0x100cf730]
movaps xmm6, xmm7
subss xmm1, dword [0x100cf748]
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.1003ad60
mov ecx, dword [edi + 0x284]
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10049ee0
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 0x10036c23
movss dword [ebp - 0x50], xmm6
jmp 0x10036c5b
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x10036c38
movss xmm2, dword [edi + 0x24]
jmp 0x10036c3b
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 0x10036c70
movss dword [ebp - 0x7c], xmm5
jmp 0x10036ca3
test dl, dl
je 0x10036c7b
movss xmm2, dword [edi + 0x28]
jmp 0x10036c7e
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 0x10036da7
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 0x10036dd5
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.10070ac0
mov dword [edi + 0x17c], 0
lea eax, [edi + 0x184]
mov dword [edi + 0x180], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10036f3d
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.100479b0
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 0x10036f72
mov eax, dword [eax + 0x19c]
jmp 0x10036f77
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 0x10036fd6
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.100479b0
lea eax, [edi + 0x1b8]
mov dword [eax], 0
lea eax, [edi + 0x1c4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1003700b
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.100479b0
lea eax, [edi + 0x1c4]
mov dword [eax], 0
mov al, byte [edi + 0x98]
test al, al
jle 0x10037023
dec al
mov byte [edi + 0x98], al
mov al, byte [edi + 0x99]
test al, al
jle 0x10037035
dec al
mov byte [edi + 0x99], al
cmp byte [ebp - 0x58], 0
je 0x1003704c
push edi
call fcn.1003a8d0
push 0
push edi
call fcn.1003dec0
add esp, 0xc
test byte [ebp - 0x4c], 1
jne 0x1003706b
push dword [ebp - 0x94]
lea eax, [ebp - 0x44]
push dword [ebp - 0x90]
push eax
push edi
call fcn.10044220
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 [0x10135110]
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 0x100370d7
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm1
jb 0x100370d7
comiss xmm4, xmm5
jbe 0x100370d7
comiss xmm3, xmm0
jbe 0x100370d7
mov ecx, 1
jmp 0x100370d9
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 0x10037159
mov ecx, dword [0x10135110]
mov dword [ecx + 0x1a6c], edi
mov eax, dword [edi + 0x198]
cmp eax, 0xffffffff
je 0x1003711a
imul eax, eax, 0x1f8
add eax, dword [ecx + 0x1f00]
jmp 0x1003711c
xor eax, eax
mov dword [ecx + 0x1ef4], eax
mov eax, dword [0x10135110]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x314]
mulss xmm0, dword [edi + 0x27c]
test eax, eax
je 0x10037149
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 0x10037187
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x148]
jmp 0x10037189
xor eax, eax
mov dword [edi + 0x148], eax
lea eax, [edi + 0x208]
push 1
push eax
lea eax, [edi + 0x200]
push eax
call fcn.10041da0
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 0x100372d8
cmp dword [ebp - 0x6c], 0
je 0x10037264
test byte [ebp - 0x4c], 0x40
jne 0x10037225
cmp byte [edi + 0x98], 0
jg 0x10037225
cmp byte [edi + 0x99], 0
jg 0x10037225
cmp byte [esi + 0x2efc], 0
jne 0x10037225
movss xmm0, dword [edi + 0x1e0]
comiss xmm0, dword [edi + 0x1e8]
jae 0x1003721b
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jb 0x10037225
mov dword [edi + 0xa0], 1
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10037264
cmp byte [eax + 0x85], 0
jne 0x1003723e
cmp dword [eax + 0xa0], 0
jle 0x10037248
mov dword [edi + 0xa0], 1
cmp byte [eax + 0x85], 0
jne 0x1003725a
cmp dword [eax + 0xa4], 0
jle 0x10037264
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x1003727a
mov dword [edi + 0xa0], 1
cmp dword [edi + 0xa0], 0
jg 0x10037290
cmp dword [edi + 0xa4], 0
jg 0x10037290
xor cl, cl
jmp 0x10037292
mov cl, 1
xor al, al
mov byte [edi + 0x89], cl
cmp byte [edi + 0x85], al
jne 0x100372ae
cmp byte [edi + 0x82], al
je 0x100372ae
test cl, cl
je 0x100372d2
cmp byte [edi + 0x98], 0
jg 0x100372d2
cmp byte [edi + 0x99], 0
jg 0x100372d2
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.100c9684
mov esp, ebp
pop ebp
ret