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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
push edi
mov edi, dword [0x103f3c74]
mov eax, ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], edi
call fcn.10034a60
mov edx, dword [ebp + 8]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
sete byte [esp + 0x1b]
test esi, esi
jne 0x100363a5
cmp dword [edi + 0x1a34], 0
je 0x10036350
mov eax, dword [edi + 0x1a5c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1a60]
mov dword [esp + 0x2c], eax
jmp 0x10036360
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x28]
movss xmm0, dword [eax]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x8c], xmm0
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.10034b10
mov edx, dword [ebp + 8]
mov esi, eax
add esp, 8
mov dword [esp + 0x14], esi
mov eax, edx
mov ecx, edx
and eax, 0xc0200
or ecx, 6
cmp eax, 0xc0200
mov eax, dword [edi + 0x1940]
mov dword [esp + 0x78], eax
cmovne ecx, edx
mov edx, dword [esi + 0x21c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xac], edx
cmp edx, eax
je 0x100363e1
mov dword [esi + 8], ecx
mov esi, dword [esp + 0x14]
jmp 0x100363e8
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [edi + 0x1970]
test edx, edx
jne 0x100363f6
xor eax, eax
jmp 0x10036400
mov eax, dword [edi + 0x1978]
mov eax, dword [eax + edx*4 - 4]
mov edx, dword [esp + 0xac]
cmp edx, dword [esp + 0x78]
je 0x10036421
mov edx, ecx
and edx, 0x5000000
neg edx
sbb edx, edx
and edx, eax
mov dword [esp + 0x6c], edx
jmp 0x1003642b
mov eax, dword [esi + 0x2ec]
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x84], 0
setne al
mov byte [esi + 0x82], al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x50], edx
cmp dword [edx + 0x21c], eax
mov esi, dword [edx + 0xa8]
mov dword [esp + 0x20], esi
setl al
mov esi, ecx
mov byte [esp + 0x74], al
and esi, 0x4000000
mov dword [esp + 0x24], esi
je 0x100364a8
mov eax, dword [edi + 0x1a24]
mov edx, dword [edi + 0x1a20]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x50]
cmp eax, dword [edx + esi*4 + 4]
setne cl
mov eax, dword [eax + 0x8c]
cmp eax, dword [edx + esi*4]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x24]
setne al
or cl, al
mov al, byte [esp + 0x74]
or al, cl
mov byte [esp + 0x74], al
test al, al
jne 0x100364b3
cmp dword [esp + 0x20], 0
jle 0x100364b5
mov al, 1
mov byte [edx + 0x80], al
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x80], 0
je 0x100364d7
push 1
mov edx, 8
call fcn.100349f0
add esp, 4
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x1970]
call fcn.1003ef10
mov ecx, dword [esp + 0x14]
call fcn.10030f60
mov ecx, dword [esp + 0x14]
mov dl, 1
call fcn.10034990
test esi, esi
je 0x10036530
mov eax, dword [edi + 0x1a24]
lea ecx, [edi + 0x1a24]
lea edx, [eax + eax*8]
mov eax, dword [edi + 0x1a20]
lea esi, [eax + edx*4]
mov eax, dword [esp + 0x14]
push esi
mov dword [esi + 4], eax
call fcn.1003ed10
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
mov dword [eax + 0x8c], ecx
cmp dword [esp + 0x20], 0
jle 0x1003654f
test dword [esp + 0x1c], 0x1000000
jne 0x1003654f
mov eax, dword [esp + 0x14]
mov dword [eax + 0x300], 0
mov edx, dword [edi + 0x1a30]
mov byte [esp + 0x18], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
test edx, edx
je 0x100365f6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xac]
and eax, edx
setne byte [esp + 0x18]
test eax, eax
je 0x100365e7
movss xmm1, dword [edi + 0x1a58]
movss xmm0, dword [edi + 0x1a54]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x103b7120]
jbe 0x100365e7
mov eax, dword [edi + 0x1a4c]
mov dword [ecx + 0xb8], eax
mov eax, dword [edi + 0x1a50]
mov dword [ecx + 0xbc], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x1a54]
mov dword [ecx + 0xc0], eax
mov eax, dword [edi + 0x1a58]
mov dword [ecx + 0xc4], eax
mov eax, dword [esp + 0x14]
and dword [eax + 0xac], 0xfffffff1
jmp 0x100365f6
push edx
lea edx, [edi + 0x1a4c]
call fcn.100390f0
add esp, 4
mov ecx, dword [edi + 0x1a34]
test ecx, ecx
je 0x10036650
mov esi, dword [esp + 0x14]
lea edx, [edi + 0x1a5c]
xorps xmm1, xmm1
mov eax, dword [esi + 0xb0]
and eax, ecx
je 0x10036625
movss xmm0, dword [edx]
comiss xmm0, xmm1
mov byte [esp + 0x1a], 1
ja 0x1003662a
mov byte [esp + 0x1a], 0
test eax, eax
je 0x10036640
movss xmm0, dword [edi + 0x1a60]
comiss xmm0, xmm1
mov byte [esp + 0x19], 1
ja 0x10036645
mov byte [esp + 0x19], 0
push ecx
mov ecx, esi
call fcn.100391b0
add esp, 4
cmp dword [edi + 0x1a38], 0
je 0x10036820
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x1a64]
mov dword [ecx + 0x34], eax
mov eax, dword [edi + 0x1a68]
mov dword [ecx + 0x38], eax
mov ecx, dword [esp + 0x14]
movss xmm0, dword [ecx + 0x38]
ucomiss xmm0, dword [0x103b70f8]
lahf
test ah, 0x44
jnp 0x100366b9
call fcn.1002e2c0
mov ecx, dword [esp + 0x14]
movss dword [esp + 0x58], xmm0
call fcn.1002e220
movss xmm1, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
addss xmm1, xmm0
addss xmm1, dword [eax + 0x38]
movss dword [eax + 0x38], xmm1
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x78]
mov edx, dword [edi + 0x1a3c]
test edx, edx
je 0x100366ef
mov al, byte [edi + 0x1a6c]
mov byte [esp + 0x6b], al
mov eax, dword [ecx + 0xb4]
test edx, eax
je 0x100366ef
and eax, 0xfffffff1
mov dword [ecx + 0xb4], eax
mov al, byte [esp + 0x6b]
mov byte [ecx + 0x7d], al
mov ecx, dword [esp + 0x14]
cmp dword [edi + 0x1a44], 0
je 0x10036701
call fcn.100389d0
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x80], 0
je 0x1003671d
push 0
mov edx, 8
call fcn.100349f0
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [esp + 0xac], esi
je 0x10038679
mov edx, dword [esp + 0x1c]
push dword [esp + 0x6c]
and edx, 0x3000000
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x20]
call fcn.10036270
mov eax, dword [esp + 0x18]
xor ecx, ecx
movaps xmm0, xmmword [0x103b79b0]
add esp, 4
movups xmmword [esp + 0x30], xmm0
mov byte [eax + 0x7a], 1
mov eax, dword [esp + 0x14]
mov word [eax + 0x86], cx
mov eax, dword [esp + 0x14]
movzx ecx, word [edi + 0x1988]
inc dword [edi + 0x1988]
mov word [eax + 0x88], cx
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov word [eax + 0x84], cx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x94]
call fcn.1002d1d0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x90]
push 1
movups xmmword [eax + 0x1cc], xmm0
mov eax, dword [esp + 0x18]
mov dword [eax + 0x21c], esi
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + 0x1c0]
call fcn.1003f100
cmp dword [edi + 0x1ae4], 0
mov esi, dword [esp + 0x14]
je 0x10036882
test dword [esi + 8], 0x80000
jne 0x10036882
cmp byte [esp + 0x1b], 0
jne 0x10036882
mov ecx, dword [esi]
mov eax, dword [esp + 0x80]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10036848
test dl, dl
je 0x1003681c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10036848
add eax, 2
add ecx, 2
test dl, dl
jne 0x10036800
xor eax, eax
jmp 0x1003684d
mov esi, dword [esp + 0x78]
cmp dword [esp + 0xac], esi
je 0x1003683f
mov eax, dword [esp + 0x14]
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov ecx, dword [esp + 0x14]
jmp 0x100366bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x10036882
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x4c]
push dword [esp + 0x80]
mov ecx, dword [esi]
mov dword [esp + 0x50], eax
call fcn.1002eb30
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0x4c], eax
mov esi, dword [esp + 0x14]
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.100350b0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x14]
movss dword [eax + 0x2c], xmm0
movss dword [eax + 0x30], xmm1
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xa4]
test eax, eax
jle 0x100368b9
dec eax
mov dword [ecx + 0xa4], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xa8]
test eax, eax
jle 0x100368ce
dec eax
mov dword [ecx + 0xa8], eax
cmp byte [esp + 0x1b], 0
mov dl, byte [esp + 0x1a]
mov dh, byte [esp + 0x19]
je 0x100368f3
test dl, dl
je 0x100368e5
test dh, dh
jne 0x100368f3
mov eax, dword [esp + 0x14]
mov dword [eax + 0xa8], 1
cmp byte [esp + 0x74], 0
je 0x1003695f
mov ecx, dword [esp + 0x1c]
test ecx, 0x6000000
je 0x1003695f
mov eax, dword [esp + 0x14]
mov dword [eax + 0xa8], 1
test cl, 0x40
je 0x1003695f
test dl, dl
jne 0x10036933
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x14], 0
test dh, dh
jne 0x1003694d
mov eax, dword [esp + 0x14]
mov dword [eax + 0x20], 0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov ecx, dword [esp + 0x14]
call fcn.10030f60
mov edx, dword [esp + 0x1c]
mov esi, edx
and esi, 0x1000000
mov dword [esp + 0x7c], esi
je 0x10036984
movss xmm0, dword [edi + 0x1528]
jmp 0x100369a6
test edx, 0x6000000
je 0x1003699e
test edx, 0x8000000
jne 0x1003699e
movss xmm0, dword [edi + 0x1530]
jmp 0x100369a6
movss xmm0, dword [edi + 0x1510]
mov eax, dword [esp + 0x14]
movss dword [eax + 0x48], xmm0
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x1504]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi + 0x1508]
mov dword [ecx + 0x40], eax
mov eax, edx
mov ecx, dword [esp + 0x14]
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x10036a08
movss xmm0, dword [ecx + 0x48]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10036a08
test edx, 0x400
je 0x100369f8
movss xmm1, dword [edi + 0x1508]
mov dword [ecx + 0x3c], 0
movss dword [ecx + 0x40], xmm1
mov ecx, dword [esp + 0x14]
movss xmm0, dword [ecx + 0x3c]
maxss xmm0, dword [edi + 0x1544]
maxss xmm0, dword [edi + 0x1a8c]
movss dword [ecx + 0x148], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x1a90]
mov dword [eax + 0x14c], ecx
test dl, 0x21
jne 0x10036ada
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
call fcn.1002e250
mov eax, dword [edi + 0x1990]
cmp eax, dword [esp + 0x14]
jne 0x10036a91
cmp dword [edi + 0x1998], 0
jne 0x10036a91
cmp dword [edi + 0x19a0], 0
jne 0x10036a91
push 1
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x34]
call fcn.10034150
add esp, 4
test al, al
je 0x10036a91
cmp byte [edi + 0x3d5], 0
je 0x10036a91
mov eax, dword [esp + 0x14]
mov byte [eax + 0x7e], 1
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x7e], 0
je 0x10036ae2
cmp byte [ecx + 0x7d], 0
sete al
mov byte [ecx + 0x7d], al
mov eax, dword [esp + 0x14]
mov ecx, dword [0x103f3c74]
test dword [eax + 8], 0x100
jne 0x10036ad1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c40]
jb 0x10036ad1
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c40], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
call fcn.100389d0
jmp 0x10036ae2
mov eax, dword [esp + 0x14]
mov byte [eax + 0x7d], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x88]
mov byte [eax + 0x7e], 0
mov edx, dword [esp + 0x14]
lea eax, [edx + 0x2c]
push eax
call fcn.10035170
movss xmm0, dword [0x103b7400]
add esp, 4
test byte [esp + 0x1c], 0x40
mov edx, dword [esp + 0x14]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x4c], xmm0
je 0x10036b69
cmp byte [edx + 0x7d], 0
jne 0x10036b69
cmp byte [esp + 0x1a], 0
jne 0x10036b45
movss xmm0, dword [esp + 0x88]
movss dword [edx + 0x1c], xmm0
mov edx, dword [esp + 0x14]
movss dword [esp + 0x54], xmm0
cmp byte [esp + 0x19], 0
jne 0x10036c2b
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x4c], xmm0
movss dword [edx + 0x20], xmm0
jmp 0x10036c27
mov eax, dword [edx + 0x90]
test eax, eax
jg 0x10036b80
cmp dword [edx + 0x94], 0
jle 0x10036c2b
cmp byte [esp + 0x1a], 0
jne 0x10036bbc
test eax, eax
jle 0x10036bbc
cmp byte [edx + 0x98], 0
je 0x10036ba4
movss xmm0, dword [edx + 0x1c]
maxss xmm0, dword [esp + 0x88]
jmp 0x10036bad
movss xmm0, dword [esp + 0x88]
movss dword [edx + 0x1c], xmm0
mov edx, dword [esp + 0x14]
movss dword [esp + 0x54], xmm0
cmp byte [esp + 0x19], 0
jne 0x10036bfd
cmp dword [edx + 0x94], 0
jle 0x10036bfd
cmp byte [edx + 0x98], 0
je 0x10036be5
movss xmm0, dword [edx + 0x20]
maxss xmm0, dword [esp + 0x8c]
jmp 0x10036bee
movss xmm0, dword [esp + 0x8c]
movss dword [edx + 0x20], xmm0
mov edx, dword [esp + 0x14]
movss dword [esp + 0x4c], xmm0
cmp byte [edx + 0x7d], 0
jne 0x10036c2b
test dword [edx + 8], 0x100
mov ecx, dword [0x103f3c74]
jne 0x10036c2b
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c40]
jb 0x10036c2b
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c40], eax
mov edx, dword [esp + 0x14]
push dword [edx + 0x20]
lea ecx, [esp + 0x34]
push dword [edx + 0x1c]
call fcn.10034ee0
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x14]
movss dword [eax + 0x1c], xmm0
movss dword [eax + 0x20], xmm1
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x7d], 0
je 0x10036c83
test esi, esi
jne 0x10036c83
lea eax, [esp + 0x90]
push eax
call fcn.1002e250
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.1002d200
mov ecx, dword [esp + 0x14]
mov edx, eax
jmp 0x10036c95
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [edx]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 4]
mov dword [ecx + 0x18], eax
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x7d], 0
jne 0x10036db8
movss xmm0, dword [esp + 0x54]
movss xmm1, dword [0x103b7400]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10036ccc
movss xmm2, dword [esi + 0x1c]
jmp 0x10036cd1
movss xmm2, dword [esi + 0x24]
movss xmm0, dword [esp + 0x4c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10036ce7
movss xmm1, dword [esi + 0x20]
jmp 0x10036cec
movss xmm1, dword [esi + 0x28]
mov eax, dword [esp + 0x1c]
test eax, 0x4000
jne 0x10036d09
movss xmm0, dword [esi + 0x30]
comiss xmm0, xmm1
jbe 0x10036d05
test al, 8
je 0x10036d09
xor cl, cl
jmp 0x10036d0b
mov cl, 1
mov byte [esi + 0x79], cl
mov ecx, dword [esp + 0x14]
test eax, 0x8000
jne 0x10036d4e
cmp byte [ecx + 0x79], 0
je 0x10036d29
movss xmm0, dword [edi + 0x1564]
jmp 0x10036d2c
xorps xmm0, xmm0
subss xmm2, xmm0
movss xmm0, dword [ecx + 0x2c]
comiss xmm0, xmm2
jbe 0x10036d4a
and eax, 0x808
cmp eax, 0x800
mov eax, dword [esp + 0x1c]
je 0x10036d4e
xor dl, dl
jmp 0x10036d50
mov dl, 1
mov byte [ecx + 0x78], dl
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x78], 0
je 0x10036d96
cmp byte [ecx + 0x79], 0
jne 0x10036d86
subss xmm1, dword [edi + 0x1564]
movss xmm0, dword [ecx + 0x30]
comiss xmm0, xmm1
jbe 0x10036d7d
test al, 8
jne 0x10036d7d
mov al, 1
jmp 0x10036d7f
xor al, al
mov byte [ecx + 0x79], al
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x78], 0
je 0x10036d96
movss xmm1, dword [edi + 0x1564]
jmp 0x10036d99
xorps xmm1, xmm1
cmp byte [ecx + 0x79], 0
xorps xmm0, xmm0
je 0x10036daa
movss xmm0, dword [edi + 0x1564]
movss dword [ecx + 0x70], xmm0
movss dword [ecx + 0x74], xmm1
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x74], 0
je 0x10036e04
cmp dword [esp + 0x24], 0
mov dword [esi + 0xa0], 0xffffffff
je 0x10036e00
cmp byte [esp + 0x18], 0
jne 0x10036e00
mov eax, dword [edi + 0x1a24]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x1a2c]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
mov eax, dword [esp + 0x14]
movss dword [eax + 0xc], xmm0
movss dword [eax + 0x10], xmm1
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x7c], 0
je 0x10036e6b
mov ecx, dword [esp + 0x6c]
add ecx, 0x150
mov ax, word [ecx]
mov word [esi + 0x86], ax
lea eax, [esp + 0x14]
push eax
call fcn.1003ef10
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x10036f9d
cmp byte [esp + 0x18], cl
jne 0x10036f9d
cmp dword [esp + 0x50], 0x3000000
je 0x10036f9d
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0xc8]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0xcc]
mov dword [ecx + 0x10], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
movss xmm4, dword [esi + 0xb8]
ucomiss xmm4, dword [0x103b7400]
lahf
test ah, 0x44
jnp 0x10036fa6
cmp dword [esi + 0xa8], 0
jne 0x10036fa6
movss xmm0, dword [esi + 0xc0]
lea edx, [esp + 0x28]
mulss xmm0, dword [esi + 0x1c]
mov ecx, esi
push 0
movss xmm2, dword [esi + 0xc4]
movss xmm3, dword [esi + 0x20]
movss xmm1, dword [esi + 0xbc]
subss xmm4, xmm0
movss xmm0, dword [edi + 0x1594]
mulss xmm3, xmm2
maxss xmm0, xmm4
subss xmm1, xmm3
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0x1598]
maxss xmm0, xmm1
movss dword [esp + 0x30], xmm0
call fcn.100390f0
add esp, 4
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x18], 0
jne 0x100370b7
cmp dword [esp + 0x7c], 0
jne 0x100370b7
cmp dword [esi + 0x90], 0
jg 0x100370b7
cmp dword [esi + 0x94], 0
jg 0x100370b7
movss xmm0, dword [edi + 0x10]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x100370b7
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm1
jbe 0x100370b7
lea eax, [edi + 0x1594]
push eax
lea edx, [edi + 0x158c]
lea ecx, [esp + 0x2c]
call fcn.1002d180
mov ecx, dword [esp + 0x18]
add esp, 4
cmp byte [edi + 0xb0], 0
je 0x10037039
test byte [ecx + 8], 1
jne 0x10037039
call fcn.1002e220
mov ecx, dword [esp + 0x14]
movss dword [esp + 0x64], xmm0
movss xmm1, dword [ecx + 0x14]
movss dword [esp + 0x60], xmm1
jmp 0x10037047
mov esi, dword [esp + 0x14]
jmp 0x10036e6f
mov eax, dword [esp + 0x1c]
test eax, 0x10000000
je 0x10036fd8
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.1003a570
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x14]
movss dword [eax + 0xc], xmm0
movss dword [eax + 0x10], xmm1
jmp 0x10036ef7
test ecx, ecx
mov cl, byte [esp + 0x18]
je 0x10037016
test cl, cl
jne 0x10037016
cmp dword [esp + 0x20], 0
jle 0x10037016
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.1003a570
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x14]
movss dword [eax + 0xc], xmm0
movss dword [eax + 0x10], xmm1
mov esi, dword [esp + 0x14]
jmp 0x10036f06
test eax, 0x2000000
je 0x10036efb
test cl, cl
jne 0x100370b7
cmp dword [esp + 0x50], 0x3000000
je 0x10036f06
jmp 0x10036feb
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x64], eax
movss xmm0, dword [ecx + 0x10]
lea eax, [esp + 0x60]
addss xmm0, dword [eax + 4]
movss xmm1, dword [eax]
addss xmm1, dword [ecx + 0xc]
maxss xmm0, dword [esp + 0x2c]
maxss xmm1, dword [esp + 0x28]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
movss dword [ecx + 0xc], xmm1
movss dword [ecx + 0x10], xmm0
movss xmm0, dword [edi + 0x10]
mov eax, dword [esp + 0x14]
subss xmm0, dword [esp + 0x28]
movss xmm2, dword [eax + 0xc]
movss xmm1, dword [eax + 0x10]
minss xmm2, xmm0
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xc], xmm2
minss xmm1, xmm0
movss dword [eax + 0x10], xmm1
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x7c], 0
cvttss2si eax, dword [esi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [esi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm0
je 0x100370ea
movss xmm0, dword [edi + 0x1524]
jmp 0x1003710c
mov eax, dword [esp + 0x1c]
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10037104
movss xmm0, dword [edi + 0x152c]
jmp 0x1003710c
movss xmm0, dword [edi + 0x150c]
mov eax, dword [esp + 0x14]
movss dword [eax + 0x44], xmm0
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x338]
cmp eax, 0x7fffffff
je 0x1003713a
mov ecx, dword [esi + 0x328]
cmp ecx, 0xffffffff
je 0x1003713a
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1003713f
mov edx, 0x7fffffff
mov dword [esi + 0x330], edx
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x33c]
cmp eax, 0x7fffffff
je 0x1003716a
mov ecx, dword [esi + 0x32c]
cmp ecx, 0xffffffff
je 0x1003716a
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x1003716f
mov edx, 0x7fffffff
mov dword [esi + 0x334], edx
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x14]
push 1
mov dword [eax + 0x32c], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [eax + 0x328], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [eax + 0x33c], 0x7fffffff
mov eax, dword [esp + 0x18]
mov dword [eax + 0x338], 0x7fffffff
mov edx, dword [esp + 0x18]
call fcn.100352c0
add esp, 4
mov ecx, 1
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x14]
movss dword [eax + 0x58], xmm0
movss dword [eax + 0x5c], xmm1
mov eax, dword [esp + 0x14]
mov dword [eax + 0x60], 0x7f7fffff
mov dword [eax + 0x64], 0x7f7fffff
xor al, al
mov dword [esp + 0x4c], eax
cmp byte [esp + 0x74], al
je 0x1003721f
test dword [esp + 0x1c], 0x1000
jne 0x1003721f
cmp dword [esp + 0x24], 0
je 0x10037210
mov byte [esp + 0x4c], cl
jmp 0x1003721f
cmp dword [esp + 0x50], 0
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
movss xmm2, dword [edi + 0x18ac]
xorps xmm0, xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmm1, xmm2
mulss xmm2, dword [0x103b7184]
xor edx, edx
cmp byte [edi + 0xaf], dl
mulss xmm1, dword [0x103b720c]
mov dword [esp + 0xd0], ecx
setne dl
movss xmm0, dword [eax + 0x44]
inc edx
cmp byte [eax + 0x7d], 0
addss xmm0, dword [0x103b71f0]
mov dword [esp + 0x28], edx
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x100372af
lea ecx, [esp + 0x120]
push ecx
push edx
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x94]
mov ecx, eax
call fcn.10035580
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xd0]
mov byte [eax + 0x83], cl
mov ecx, dword [esp + 0x14]
movss xmm0, dword [ecx + 0x14]
comiss xmm0, dword [0x103b70f8]
jbe 0x100372db
test dword [esp + 0x1c], 0x2000040
jne 0x100372db
mulss xmm0, dword [0x103b71b4]
jmp 0x100372eb
movss xmm0, dword [edi + 0x18ac]
mulss xmm0, dword [0x103b72f0]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x220], xmm0
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x274]
call fcn.100467a0
xor ecx, ecx
mov eax, 2
cmp byte [edi + 0x15a1], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edi + 0x15a0], al
setne al
or ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x274]
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov edi, dword [eax + 0x274]
mov eax, dword [ecx + 0x18a8]
lea ecx, [edi + 0x48]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
call fcn.1003ef10
mov ecx, edi
call fcn.10046cd0
lea ecx, [esp + 0x100]
call fcn.10034400
mov eax, dword [esp + 0x1c]
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x100373a1
cmp dword [esp + 0x50], 0x3000000
je 0x100373a1
mov eax, dword [esp + 0x6c]
lea ecx, [eax + 0x1cc]
lea edx, [eax + 0x1d4]
jmp 0x100373af
lea ecx, [esp + 0x100]
lea edx, [esp + 0x108]
push 1
call fcn.100338c0
add esp, 4
test dword [esp + 0x1c], 0x8000000
je 0x100373dd
call fcn.10039b40
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x100373e1
cmp dword [ecx + 0xa8], 0
jg 0x100373e1
mov dl, 1
jmp 0x100373e3
mov ecx, dword [esp + 0x14]
xor dl, dl
mov edi, dword [esp + 0x70]
mov eax, dword [edi + 0x1ae0]
test eax, eax
je 0x100373fd
cmp ecx, dword [eax + 0x2f0]
jne 0x100373fd
mov al, 1
jmp 0x100373ff
xor al, al
mov byte [esp + 0x1b], al
test dl, dl
jne 0x1003740f
test al, al
je 0x10037554
mov ecx, dword [0x103f3c74]
movss xmm0, dword [edi + 0x1bec]
movzx eax, dl
add eax, eax
mulss xmm0, dword [ecx + 0x1500]
movups xmm1, xmmword [ecx + eax*8 + 0x1888]
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
call fcn.1002f290
push 0xf
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp], 0
push eax
lea eax, [esp + 0x114]
mov ecx, dword [ecx + 0x274]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.10048a80
cmp byte [esp + 0x1b], 0
je 0x10037550
mov ecx, dword [esp + 0x14]
cmp ecx, dword [edi + 0x1ae0]
jne 0x10037554
lea eax, [esp + 0x30]
push eax
call fcn.1002e1e0
movss xmm1, dword [edi + 0x18ac]
lea ecx, [esp + 0x30]
call fcn.1002d2b0
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x34]
call fcn.1002d230
test al, al
jne 0x10037550
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
movss xmm0, dword [ecx + 0x150c]
mov edi, dword [eax + 0x274]
mov eax, dword [0x103f3c74]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [ecx + 0x1aec]
lea ecx, [esp + 0x90]
mulss xmm0, dword [0x103b718c]
movups xmm1, xmmword [eax + 0x1878]
mulss xmm0, dword [eax + 0x1500]
movaps xmmword [esp + 0x90], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
call fcn.1002f290
movss xmm0, dword [esp + 0x58]
push 0xf
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10048a80
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
movss xmm0, dword [ecx + 0x44]
mov edx, dword [edi + 0x1adc]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [ecx + 0x48]
movss dword [esp + 0x50], xmm0
test edx, edx
jne 0x1003757a
mov edx, dword [edi + 0x1a9c]
cmp byte [esp + 0x4c], 0
jne 0x1003759a
test edx, edx
je 0x10037593
mov eax, dword [ecx + 0x2f4]
cmp eax, dword [edx + 0x2f4]
je 0x1003759a
mov byte [esp + 0x18], 0
jmp 0x1003759f
mov byte [esp + 0x18], 1
lea eax, [esp + 0xb0]
push eax
call fcn.1002e250
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x7d], 0
je 0x10037659
cmp byte [esp + 0x18], 0
movss xmm0, dword [edi + 0x1540]
mov eax, dword [ecx + 0x48]
movss dword [esp + 0x58], xmm0
mov dword [edi + 0x1540], eax
je 0x100375e6
cmp byte [edi + 0x1afe], 0
mov ecx, 0x158
je 0x100375eb
mov ecx, 0x168
mov eax, dword [0x103f3c74]
movups xmm0, xmmword [ecx + eax + 0x1500]
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1500]
movss dword [esp + 0x3c], xmm0
call fcn.1002f290
push dword [esp + 0xbc]
movss xmm2, dword [esp + 0x28]
mov dl, 1
push dword [esp + 0xbc]
mov ecx, eax
push dword [esp + 0xbc]
push dword [esp + 0xbc]
call fcn.1002fbb0
movss xmm0, dword [esp + 0x68]
add esp, 0x10
movss dword [edi + 0x1540], xmm0
jmp 0x10037c0f
mov eax, dword [esp + 0x1c]
test al, al
js 0x100377a9
test eax, 0x6000000
je 0x10037673
mov ecx, 0xe8
jmp 0x10037685
cmp dword [esp + 0x7c], 0
mov ecx, 0xc8
mov eax, 0xd8
cmovne ecx, eax
mov eax, dword [0x103f3c74]
movups xmm0, xmmword [ecx + eax + 0x1500]
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1500]
movss dword [esp + 0x3c], xmm0
call fcn.1002f290
cmp dword [edi + 0x1a48], 0
mov ecx, eax
mov dword [esp + 0x54], ecx
je 0x1003770c
movss xmm1, dword [edi + 0x1a88]
movss xmm2, dword [0x103b71f0]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1003770c
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x100376e9
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, dword [0x103b7390]
and ecx, 0xffffff
addss xmm0, dword [0x103b71a8]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x14]
movss xmm1, dword [ecx + 0x18]
movss xmm0, dword [ecx + 0x14]
addss xmm1, dword [ecx + 0x10]
addss xmm0, dword [ecx + 0xc]
mov edi, dword [ecx + 0x274]
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x60], xmm0
call fcn.1002e220
mov eax, dword [esp + 0x14]
mov ecx, 0xf
movss xmm1, dword [eax + 0x10]
addss xmm1, xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
addss xmm0, dword [0x103b70f8]
and eax, 1
mov dword [esp + 0x20], eax
mov eax, 0xc
cmovne eax, ecx
movss dword [esp + 0x5c], xmm1
push eax
push ecx
movss dword [esp + 0x60], xmm0
lea eax, [esp + 0x68]
movss xmm0, dword [esp + 0x2c]
mov ecx, edi
movss dword [esp], xmm0
push dword [esp + 0x5c]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10048a80
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x20]
jmp 0x100377b0
and eax, 1
mov dword [esp + 0x20], eax
mov dword [edi + 0x1a48], 0
test eax, eax
jne 0x10037825
mov ecx, dword [0x103f3c74]
movzx eax, byte [esp + 0x18]
add eax, eax
movups xmm0, xmmword [ecx + eax*8 + 0x1648]
movaps xmmword [esp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [ecx + 0x1500]
lea ecx, [esp + 0x30]
movss dword [esp + 0x3c], xmm0
call fcn.1002f290
movss xmm0, dword [esp + 0x24]
push 3
push ecx
mov ecx, dword [esp + 0x1c]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0xc4]
mov ecx, dword [ecx + 0x274]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10048a80
mov ecx, dword [esp + 0x14]
test dword [esp + 0x1c], 0x400
je 0x1003799f
lea eax, [esp + 0x30]
push eax
call fcn.1002e300
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xf0]
push eax
call fcn.1002e1e0
push eax
lea ecx, [esp + 0x34]
call fcn.1002d2f0
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x274]
mov dword [esp + 0x58], eax
je 0x10037875
movss xmm0, dword [esp + 0x24]
jmp 0x10037878
xorps xmm0, xmm0
mov eax, dword [0x103f3c74]
lea ecx, [esp + 0x90]
movss dword [esp + 0x20], xmm0
movups xmm1, xmmword [eax + 0x1678]
movss xmm0, dword [eax + 0x1500]
movaps xmmword [esp + 0x90], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
call fcn.1002f290
movss xmm0, dword [esp + 0x20]
push 3
push ecx
mov ecx, dword [esp + 0x60]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10048a80
movss xmm0, dword [edi + 0x1540]
comiss xmm0, dword [0x103b70f8]
mov ecx, dword [esp + 0x14]
movss dword [esp + 0x58], xmm0
jbe 0x1003799f
movss xmm0, dword [ecx + 0x18]
addss xmm0, dword [ecx + 0x10]
comiss xmm0, dword [esp + 0x3c]
jbe 0x1003799f
mov eax, dword [0x103f3c74]
mov edi, dword [ecx + 0x274]
lea ecx, [esp + 0x90]
movups xmm1, xmmword [eax + 0x15f8]
movss xmm0, dword [eax + 0x1500]
movaps xmmword [esp + 0x90], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
call fcn.1002f290
movss xmm0, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x3c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x3c]
push ecx
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x68]
mov dword [esp + 0x6c], ecx
push eax
lea eax, [esp + 0xe4]
mov ecx, edi
push eax
call fcn.10048890
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x78], 0
je 0x100379b0
xor ecx, ecx
call fcn.1004e7d0
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x79], 0
je 0x100379c4
mov ecx, 1
call fcn.1004e7d0
mov ecx, dword [esp + 0x14]
test byte [esp + 0x1c], 2
jne 0x10037c06
movss xmm4, dword [esp + 0x50]
xor eax, eax
movaps xmm0, xmm4
mov dword [esp + 0x54], eax
addss xmm0, dword [esp + 0x24]
mov edi, 0x103ef498
mov dword [esp + 0x58], edi
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [ecx + 0x14]
movss xmm3, dword [ecx + 0x18]
mov edx, dword [ecx + 0x274]
addss xmm3, xmm1
mov ecx, eax
and ecx, 1
subss xmm2, xmm0
mov dword [esp + 0x20], ecx
subss xmm3, xmm1
mulss xmm2, dword [edi - 8]
mulss xmm3, dword [edi - 4]
addss xmm2, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm3, xmm1
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0xd8], xmm3
je 0x10037a69
movss dword [esp + 0x11c], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x118], xmm4
jmp 0x10037a7b
movss dword [esp + 0x110], xmm0
movss dword [esp + 0x114], xmm4
mulss xmm0, dword [edi]
lea ecx, [esp + 0x11c]
cmp dword [esp + 0x20], 0
lea eax, [esp + 0x114]
cmovne eax, ecx
lea ecx, [edx + 0x54]
addss xmm0, xmm2
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [eax]
lea eax, [esp + 0xe0]
mulss xmm0, dword [edi + 4]
push eax
addss xmm0, xmm3
movss dword [esp + 0xe8], xmm0
call fcn.1003f140
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x14]
movss xmm0, dword [esp + 0x50]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov edx, dword [eax + 0x274]
je 0x10037afd
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm1
movss dword [esp + 0xf0], xmm1
jmp 0x10037b0f
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm1
mulss xmm0, dword [edi]
lea ecx, [esp + 0xf4]
lea eax, [esp + 0xc4]
cmovne eax, ecx
lea ecx, [edx + 0x54]
addss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax]
lea eax, [esp + 0x90]
mulss xmm0, dword [edi + 4]
push eax
addss xmm0, dword [esp + 0xdc]
movss dword [esp + 0x98], xmm0
call fcn.1003f140
movss xmm0, dword [edi]
mulss xmm0, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
push dword [edi + 0xc]
movss xmm2, dword [esp + 0x28]
addss xmm0, dword [esp + 0xd8]
mov ecx, dword [eax + 0x274]
lea eax, [esp + 0x34]
push dword [edi + 8]
push eax
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x6c]
mulss xmm0, dword [edi + 4]
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x40], xmm0
call fcn.100482d0
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x274]
mov ecx, edi
mov eax, dword [esp + 0x54]
push dword [esp + eax*4 + 0x120]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10047ec0
mov eax, dword [esp + 0x54]
mov dword [edi + 0x54], 0
inc eax
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
add edi, 0x18
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edi
cmp eax, dword [esp + 0x28]
jge 0x10037c06
movss xmm4, dword [esp + 0x50]
jmp 0x100379f3
call fcn.10035ec0
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
cmp dword [edi + 0x1ae0], ecx
jne 0x10037d0a
movss xmm0, dword [ecx + 0x44]
lea eax, [esp + 0x30]
maxss xmm0, dword [edi + 0x150c]
push eax
movss dword [esp + 0x5c], xmm0
call fcn.1002e1e0
movss xmm1, dword [edi + 0x18ac]
lea ecx, [esp + 0x30]
call fcn.1002d2b0
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x34]
call fcn.1002d230
test al, al
je 0x10037c93
movss xmm1, dword [edi + 0x18ac]
lea ecx, [esp + 0x30]
xorps xmm1, xmmword [0x103b79f0]
subss xmm1, dword [0x103b71f0]
call fcn.1002d2b0
mov esi, dword [esp + 0x14]
movss xmm0, dword [esi + 0x44]
movss dword [esp + 0x58], xmm0
jmp 0x10037c97
mov esi, dword [esp + 0x14]
mov eax, dword [0x103f3c74]
lea ecx, [esp + 0x90]
movss xmm0, dword [edi + 0x1aec]
mov esi, dword [esi + 0x274]
movups xmm1, xmmword [eax + 0x1878]
mulss xmm0, dword [eax + 0x1500]
movaps xmmword [esp + 0x90], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp + 0x9c], xmm0
call fcn.1002f290
movss xmm0, dword [esp + 0x58]
push ecx
mov dword [esp], 0x40400000
push 0xffffffffffffffff
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.100489b0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x24], eax
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 0x58]
addss xmm0, dword [eax + 0x3c]
movss dword [eax + 0x20c], xmm0
mov ecx, dword [esp + 0x14]
call fcn.1002e220
mov ecx, dword [esp + 0x14]
movss xmm1, dword [ecx + 0x10]
subss xmm1, dword [ecx + 0x5c]
addss xmm1, dword [ecx + 0x40]
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
call fcn.1002e2c0
addss xmm0, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
xorps xmm1, xmm1
movss dword [eax + 0x210], xmm0
mov ecx, dword [esp + 0x14]
movss xmm2, dword [ecx + 0x34]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10037d8d
movss xmm2, dword [ecx + 0x14]
subss xmm2, dword [ecx + 0x70]
movss xmm0, dword [ecx + 0xc]
subss xmm0, dword [ecx + 0x58]
subss xmm0, dword [ecx + 0x3c]
addss xmm0, xmm2
movss dword [ecx + 0x214], xmm0
mov ecx, dword [esp + 0x14]
movss xmm2, dword [ecx + 0x38]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10037dc4
movss xmm2, dword [ecx + 0x18]
subss xmm2, dword [ecx + 0x74]
movss xmm0, dword [ecx + 0x10]
subss xmm0, dword [ecx + 0x5c]
subss xmm0, dword [ecx + 0x40]
addss xmm0, xmm2
movss dword [ecx + 0x218], xmm0
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x3c]
addss xmm0, xmm1
subss xmm0, dword [eax + 0x58]
movss dword [eax + 0x1b0], xmm0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1b4], 0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1b8], 0
mov ecx, dword [esp + 0x14]
call fcn.1002e2c0
mov ecx, dword [esp + 0x14]
movss dword [esp + 0x28], xmm0
call fcn.1002e220
mov eax, dword [esp + 0x14]
movss xmm1, dword [esp + 0x28]
addss xmm1, xmm0
movss xmm2, dword [eax + 0x40]
movss xmm0, dword [eax + 0x10]
addss xmm2, xmm1
movss xmm1, dword [eax + 0x1b8]
addss xmm1, dword [eax + 0x1b0]
subss xmm2, dword [eax + 0x5c]
addss xmm1, dword [eax + 0xc]
addss xmm0, xmm2
xorps xmm2, xmm2
movss dword [eax + 0xd8], xmm1
movss dword [eax + 0xdc], xmm0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xd8]
mov dword [ecx + 0xc8], eax
mov eax, dword [ecx + 0xdc]
mov dword [ecx + 0xcc], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc8]
mov dword [ecx + 0xd0], eax
mov eax, dword [ecx + 0xcc]
mov dword [ecx + 0xd4], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xd8]
mov dword [ecx + 0xe0], eax
mov eax, dword [ecx + 0xdc]
mov dword [ecx + 0xe4], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xf4]
mov dword [ecx + 0xe8], eax
mov eax, dword [ecx + 0xf8]
mov dword [ecx + 0xec], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0xfc], 0
mov eax, dword [esp + 0x14]
mov dword [eax + 0xf0], 0
mov eax, dword [esp + 0x14]
mov byte [eax + 0x144], 0
mov ecx, dword [esp + 0x14]
movss xmm0, dword [ecx + 0x20]
subss xmm0, dword [ecx + 0x74]
movss xmm1, dword [ecx + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm2
seta al
mov byte [ecx + 0x145], al
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x140]
mov dword [ecx + 0x13c], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x140], 0
mov eax, dword [esp + 0x14]
mov byte [eax + 0x146], 0
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0xcc]
subss xmm0, dword [0x103b73ec]
push 0
movss dword [eax + 0x100], xmm0
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + 0x150]
call fcn.1003efe0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
mov dword [eax + 0x160], 1
test esi, esi
je 0x10037fc7
mov ecx, dword [esi + 0x160]
jmp 0x10037fcc
mov ecx, 1
mov eax, dword [esp + 0x14]
mov dword [eax + 0x164], ecx
test esi, esi
je 0x10037fe2
mov ecx, dword [esi + 0x168]
jmp 0x10037fe4
xor ecx, ecx
mov eax, dword [esp + 0x14]
push 0
mov dword [eax + 0x168], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x220]
mov dword [ecx + 0x16c], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 0x170], 0xbf800000
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + 0x174]
call fcn.1003f100
mov ecx, dword [esp + 0x14]
push 0
lea ecx, [ecx + 0x180]
call fcn.1003efe0
mov ecx, dword [esp + 0x14]
push 0
lea ecx, [ecx + 0x18c]
call fcn.1003efe0
mov eax, dword [esp + 0x14]
push 0
mov dword [eax + 0x1bc], 0
mov eax, dword [esp + 0x18]
mov dword [eax + 0x104], 0
mov eax, dword [esp + 0x18]
mov dword [eax + 0x108], 0
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 0x254]
mov dword [ecx + 0x15c], eax
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + 0x198]
call fcn.1003ea20
mov ecx, dword [esp + 0x14]
push dword [esp + 0x74]
movss xmm2, dword [edi + 0x1544]
push 3
lea ecx, [ecx + 0x224]
call fcn.1005a1d0
cmp dword [esp + 0x7c], 0
je 0x100380dc
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x168]
cmp dword [ecx + 0x168], eax
je 0x100380dc
mov dword [ecx + 0x168], eax
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x168]
add ecx, 0x174
push eax
call fcn.1003ef10
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x90]
test eax, eax
jle 0x100380f1
dec eax
mov dword [ecx + 0x90], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x94]
test eax, eax
jle 0x10038106
dec eax
mov dword [ecx + 0x94], eax
cmp byte [esp + 0x4c], 0
je 0x10038121
mov ecx, dword [esp + 0x14]
call fcn.100389d0
mov ecx, dword [esp + 0x14]
xor dl, dl
call fcn.1003b180
mov edx, dword [esp + 0x1c]
test dl, 1
jne 0x10038473
mov ecx, dword [esp + 0x14]
mov esi, edx
mov eax, dword [ecx + 0x168]
mov dword [esp + 0x28], eax
or eax, 0x10
mov dword [ecx + 0x168], eax
and esi, 0x20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], esi
mov dword [eax + 0x134], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 0x138], 2
jne 0x10038198
mov ecx, dword [esp + 0x14]
push 0
push str.COLLAPSE
lea esi, [ecx + 0xc]
call fcn.10030e20
mov edx, esi
mov ecx, eax
call fcn.1004e5b0
mov esi, dword [esp + 0x58]
test al, al
je 0x10038198
mov eax, dword [esp + 0x14]
mov byte [eax + 0x7e], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x134], 0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x138], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 0x168], ecx
mov eax, dword [esp + 0x1c]
and eax, 0x100000
mov dword [esp + 0x28], eax
je 0x100381f4
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x34]
push 0
push 0
mov edx, 0x103b3fc8
call fcn.10034090
add esp, 0xc
movss xmm0, dword [eax]
jmp 0x100381f7
xorps xmm0, xmm0
mov edx, dword [esp + 0x80]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [esp + 0x34]
push 1
push 0
movss dword [esp + 0x2c], xmm0
call fcn.10034090
movss xmm7, dword [esp + 0xc0]
xorps xmm3, xmm3
movss xmm4, dword [esp + 0xc8]
add esp, 0xc
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
addss xmm1, xmm3
movss dword [esp + 0xc4], xmm7
movss dword [esp + 0xcc], xmm4
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x60], xmm0
test esi, esi
je 0x10038273
movss xmm5, dword [edi + 0x1534]
movaps xmm6, xmm5
jmp 0x1003828e
movss xmm6, dword [edi + 0x1534]
movaps xmm5, xmm6
addss xmm5, dword [edi + 0x18ac]
addss xmm5, dword [edi + 0x154c]
mov eax, dword [esp + 0x84]
movaps xmm2, xmm6
test eax, eax
je 0x100382ac
addss xmm2, dword [edi + 0x18ac]
addss xmm2, dword [edi + 0x154c]
movss xmm1, dword [edi + 0x151c]
lea esi, [edi + 0x151c]
comiss xmm1, xmm3
jbe 0x100382ce
movaps xmm0, xmm5
subss xmm0, xmm2
mulss xmm0, xmm1
addss xmm2, xmm0
movss xmm1, dword [esp + 0xb0]
movss xmm0, dword [esp + 0xb8]
addss xmm1, xmm5
movss dword [esp + 0xe4], xmm7
subss xmm0, xmm2
movss dword [esp + 0xec], xmm4
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0xe0], xmm1
movss dword [esp + 0xe8], xmm0
test eax, eax
je 0x10038330
subss xmm4, xmm7
subss xmm4, dword [0x103b7290]
jmp 0x10038333
movaps xmm4, xmm6
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc8]
lea ecx, [esp + 0xc0]
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0xc]
lea eax, [esp + 0xe0]
push eax
push esi
lea eax, [esp + 0x68]
push eax
subss xmm0, xmm4
push 0
push dword [esp + 0x90]
movss dword [esp + 0xfc], xmm0
call fcn.1002fb20
add esp, 0x14
cmp dword [esp + 0x28], 0
je 0x10038473
movss xmm0, dword [edi + 0x18ac]
lea edx, [esp + 0x90]
mulss xmm0, dword [0x103b7414]
lea ecx, [esp + 0xf0]
mov dword [esp + 0x30], 0
movss xmm2, dword [esp + 0xc8]
xorps xmm4, xmm4
movss xmm1, dword [esp + 0xc0]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x1520]
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm2
subss xmm2, xmm1
addss xmm0, xmm4
movd xmm3, eax
lea eax, [esp + 0xe0]
cvtdq2ps xmm3, xmm3
push eax
lea eax, [esp + 0x34]
push eax
push 0
subss xmm2, dword [esp + 0x6c]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xd8]
addss xmm0, xmm3
push 0
mulss xmm2, dword [esi]
push 0x103b3fc8
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [0x103b725c]
addss xmm2, xmm1
subss xmm0, dword [esp + 0x34]
maxss xmm1, xmm2
addss xmm1, dword [esp + 0x74]
addss xmm1, xmm0
movss xmm0, dword [esp + 0xd8]
addss xmm0, xmm4
addss xmm1, xmm4
addss xmm0, xmm3
movss dword [esp + 0x104], xmm1
movss dword [esp + 0x108], xmm0
call fcn.1002fb20
add esp, 0x14
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
call fcn.1002e1e0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x14]
movups xmmword [eax + 0x1dc], xmm0
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x1cc]
add ecx, 0x1dc
push eax
call fcn.1002d2f0
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + 0x48]
addss xmm0, dword [esp + 0xb0]
movss dword [eax + 0x1ec], xmm0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
and eax, 0x401
cmp eax, 1
jne 0x100384d8
movss xmm0, dword [ecx + 0x48]
jmp 0x100384e0
movss xmm0, dword [edi + 0x1540]
movss dword [esp + 0x84], xmm0
call fcn.1002e2c0
addss xmm0, dword [esp + 0xbc]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xb8]
movss xmm4, dword [0x103b71a8]
xorps xmm1, xmm1
push 0
addss xmm0, dword [esp + 0x88]
movss dword [eax + 0x1f0], xmm0
mov eax, dword [esp + 0x18]
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 0x70]
subss xmm0, dword [eax + 0x48]
movss dword [eax + 0x1f4], xmm0
mov eax, dword [esp + 0x18]
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x74]
subss xmm0, dword [eax + 0x48]
movss dword [eax + 0x1f8], xmm0
mov ecx, dword [esp + 0x18]
movss xmm0, dword [ecx + 0x3c]
mulss xmm0, xmm4
subss xmm0, dword [ecx + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [ecx + 0x1ec]
addss xmm0, xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1fc], xmm0
mov ecx, dword [esp + 0x18]
movss xmm0, dword [ecx + 0x1f0]
addss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x200], xmm0
mov ecx, dword [esp + 0x18]
movss xmm0, dword [ecx + 0x3c]
movss xmm2, dword [ecx + 0x1f4]
mulss xmm0, xmm4
addss xmm2, xmm4
subss xmm0, dword [ecx + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
subss xmm2, xmm1
cvttss2si eax, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x204], xmm0
mov ecx, dword [esp + 0x18]
movss xmm0, dword [ecx + 0x1f8]
addss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x208], xmm0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x50]
mov dword [ecx + 0x10c], eax
lea ecx, [esp + 0xb4]
call fcn.10034150
xor ecx, ecx
add esp, 4
test al, al
mov eax, dword [esp + 0x14]
setne cl
mov dword [eax + 0x110], ecx
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [eax + 0x114], xmm0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x78]
lea edx, [ecx + 0x204]
add ecx, 0x1fc
push 1
call fcn.100338c0
add esp, 4
cmp dword [esp + 0xac], esi
je 0x100386a0
mov eax, dword [esp + 0x14]
mov byte [eax + 0x7c], 0
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x1a30]
inc word [eax + 0x84]
call fcn.1002d340
mov eax, dword [esp + 0x1c]
test eax, 0x1000000
je 0x1003872c
test al, 0x40
mov eax, dword [esp + 0x14]
jne 0x1003870b
cmp dword [eax + 0x90], 0
jg 0x1003870b
cmp dword [eax + 0x94], 0
jg 0x1003870b
movss xmm0, dword [eax + 0x1dc]
comiss xmm0, dword [eax + 0x1e4]
jae 0x100386fd
movss xmm0, dword [eax + 0x1e0]
comiss xmm0, dword [eax + 0x1e8]
jb 0x1003870b
mov dword [eax + 0xa4], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x10038730
cmp byte [ecx + 0x7d], 0
jne 0x10038722
cmp byte [ecx + 0x81], 0
je 0x10038730
mov dword [eax + 0xa4], 1
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x1500]
jb 0x1003874a
mov dword [eax + 0xa4], 1
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xa4], 0
jg 0x10038760
cmp dword [eax + 0xa8], 0
jg 0x10038760
xor cl, cl
jmp 0x10038762
mov cl, 1
mov byte [eax + 0x81], cl
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7d], 0
jne 0x10038781
cmp byte [eax + 0x7a], 0
je 0x10038781
cmp byte [eax + 0x81], 0
je 0x100387b2
cmp dword [eax + 0x90], 0
jg 0x100387b2
cmp dword [eax + 0x94], 0
jg 0x100387b2
cmp dword [eax + 0xa8], 0
jg 0x100387b2
mov cl, 1
mov byte [eax + 0x7f], cl
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7f], 0
sete al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor cl, cl
mov byte [eax + 0x7f], cl
mov eax, dword [esp + 0x14]
pop edi
pop esi
cmp byte [eax + 0x7f], cl
sete al
mov esp, ebp
pop ebp
ret