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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x101a224c]
push edi
push eax
mov dword [ebp - 0x10], esi
call fcn.1004e090
mov edi, eax
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x68], edi
test eax, eax
mov dword [ebp - 8], edi
mov eax, dword [ebx + 0x10]
jne 0x100478f6
cmp dword [esi + 0x1a34], 0
je 0x100478b5
mov eax, dword [esi + 0x1a5c]
mov ecx, dword [esi + 0x1a60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], ecx
jmp 0x100478c3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x24]
movss xmm0, dword [ecx]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ecx + 4]
push eax
movss dword [ebp - 0x54], xmm0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebx + 8]
call fcn.1004c5a0
mov edi, eax
add esp, 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x68], edi
mov dword [ebp - 8], edi
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [edi + 0x21c]
mov dword [ebp - 0x7c], ecx
cmovne edx, eax
mov eax, dword [esi + 0x1940]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x78], eax
cmp ecx, eax
je 0x1004792a
mov dword [edi + 8], edx
jmp 0x10047930
mov edx, dword [edi + 8]
mov dword [ebp - 0xc], edx
cmp dword [esi + 0x1970], 0
lea ecx, [esi + 0x1970]
mov dword [ebp - 0x4c], ecx
jne 0x10047946
xor eax, eax
jmp 0x10047952
mov eax, dword [esi + 0x1978]
mov ecx, dword [ecx]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x7c], ecx
je 0x10047970
mov esi, edx
and esi, 0x5000000
neg esi
sbb esi, esi
and esi, eax
mov dword [ebp - 0x64], esi
mov esi, dword [ebp - 0x10]
jmp 0x10047979
mov eax, dword [edi + 0x2ec]
mov dword [ebp - 0x64], eax
cmp dword [ebx + 0xc], 0
setne al
mov byte [edi + 0x82], al
lea eax, [ecx - 1]
cmp dword [edi + 0x21c], eax
mov ecx, dword [edi + 0xa8]
mov dword [ebp - 0x14], ecx
setl al
mov ecx, edx
mov byte [ebp - 0x6c], al
and ecx, 0x4000000
mov dword [ebp - 0x5c], ecx
lea ecx, [esi + 0x1970]
je 0x100479e6
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x1a24]
mov edx, dword [ecx + 0x1a20]
lea esi, [eax + eax*8]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x10]
setne al
or cl, al
mov al, byte [ebp - 0x6c]
or al, cl
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 0x6c], al
test al, al
jne 0x100479f8
cmp dword [ebp - 0x14], 0
jg 0x100479f8
mov byte [edi + 0x80], al
jmp 0x10047a14
mov byte [edi + 0x80], 1
or dword [edi + 0xac], 8
or dword [edi + 0xb0], 8
or dword [edi + 0xb4], 8
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10047a4e
inc edx
mov dword [ebp - 0x4c], edx
test eax, eax
je 0x10047a32
cdq
sub eax, edx
mov edx, dword [ebp - 0x4c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10047a37
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.10059be0
mov edx, dword [esi + 0x1970]
lea ecx, [esi + 0x1970]
mov eax, dword [ecx + 8]
mov dword [eax + edx*4], edi
lea edx, [edi + 0x1a4]
inc dword [ecx]
cmp dword [ebp - 0x5c], 0
mov ecx, dword [0x101a224c]
mov dword [ecx + 0x198c], edi
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x18b0]
mulss xmm0, dword [edi + 0x26c]
movss dword [ecx + 0x18c0], xmm0
movss dword [ecx + 0x18ac], xmm0
mov ecx, dword [0x101a224c]
movzx eax, word [edi + 0x1c0]
mov word [edx], ax
movzx eax, word [edi + 0x198]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1a24]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x19f4]
mov word [edx + 6], ax
movzx eax, word [ecx + 0x1a00]
mov word [edx + 8], ax
movzx eax, word [ecx + 0x1a0c]
mov word [edx + 0xa], ax
je 0x10047b04
mov eax, dword [esi + 0x1a24]
lea ecx, [esi + 0x1a24]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1a20]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.100599b0
mov eax, dword [esi]
mov dword [edi + 0x8c], eax
cmp dword [ebp - 0x14], 0
jle 0x10047b1d
test dword [ebp - 0xc], 0x1000000
jne 0x10047b1d
mov dword [edi + 0x300], 0
mov esi, dword [ebp - 0x10]
mov byte [ebp - 3], 0
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
mov ecx, dword [esi + 0x1a30]
test ecx, ecx
je 0x10047bb5
mov eax, dword [edi + 0xac]
and eax, ecx
setne byte [ebp - 3]
test ecx, eax
je 0x10047ba4
movss xmm1, dword [esi + 0x1a58]
movss xmm0, dword [esi + 0x1a54]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x100e8e40]
jbe 0x10047ba4
mov eax, dword [esi + 0x1a4c]
mov ecx, dword [esi + 0x1a50]
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
mov eax, dword [esi + 0x1a54]
mov ecx, dword [esi + 0x1a58]
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], ecx
and dword [edi + 0xac], 0xfffffff1
jmp 0x10047bb5
push ecx
lea eax, [esi + 0x1a4c]
push eax
push edi
call fcn.10057510
add esp, 0xc
mov ecx, dword [esi + 0x1a34]
test ecx, ecx
je 0x10047c09
mov eax, dword [edi + 0xb0]
lea edx, [esi + 0x1a5c]
xorps xmm1, xmm1
and eax, ecx
je 0x10047be1
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x10047be1
mov byte [ebp - 1], 1
jmp 0x10047be9
mov byte [ebp - 1], 0
test eax, eax
je 0x10047bfa
movss xmm0, dword [esi + 0x1a60]
comiss xmm0, xmm1
mov byte [ebp - 2], 1
ja 0x10047bfe
mov byte [ebp - 2], 0
push ecx
push edx
push edi
call fcn.10057600
add esp, 0xc
cmp dword [esi + 0x1a38], 0
je 0x10047cc0
mov eax, dword [esi + 0x1a64]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x1a68]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
movss xmm3, dword [edi + 0x38]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10047cd6
mov ecx, dword [edi + 8]
mov eax, dword [0x101a224c]
test cl, 1
je 0x10047c4f
xorps xmm2, xmm2
jmp 0x10047c6f
movss xmm0, dword [eax + 0x1538]
movss xmm2, dword [eax + 0x18b0]
addss xmm0, xmm0
mulss xmm2, dword [edi + 0x26c]
addss xmm2, xmm0
test ecx, 0x400
je 0x10047cae
movss xmm1, dword [eax + 0x18b0]
mulss xmm1, dword [edi + 0x26c]
movss xmm0, dword [eax + 0x1538]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x14c]
addss xmm1, xmm0
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x10047cd6
xorps xmm1, xmm1
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x38], xmm1
jmp 0x10047cd6
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x78]
je 0x10047cd6
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [esi + 0x1a3c]
test ecx, ecx
je 0x10047cfc
mov eax, dword [edi + 0xb4]
mov dl, byte [esi + 0x1a6c]
test eax, ecx
je 0x10047cfc
and eax, 0xfffffff1
mov byte [edi + 0x7d], dl
mov dword [edi + 0xb4], eax
cmp dword [esi + 0x1a44], 0
je 0x10047d0e
push edi
call fcn.1004e1b0
add esp, 4
cmp byte [edi + 0x80], 0
je 0x10047d2c
and dword [edi + 0xac], 0xfffffff7
and dword [edi + 0xb0], 0xfffffff7
and dword [edi + 0xb4], 0xfffffff7
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x78]
je 0x1004a139
mov ecx, dword [ebp - 0xc]
mov eax, ecx
mov edx, dword [ebp - 0x64]
and eax, 0x3000000
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x2ec], edx
mov dword [edi + 0x2f8], edi
mov dword [edi + 0x2f4], edi
mov dword [edi + 0x2f0], edi
test edx, edx
je 0x10047d93
cmp eax, 0x1000000
jne 0x10047d77
mov eax, dword [edx + 0x2f0]
mov dword [edi + 0x2f0], eax
test ecx, 0x8000000
jne 0x10047d93
test ecx, 0x5000000
je 0x10047d93
mov eax, dword [edx + 0x2f4]
mov dword [edi + 0x2f4], eax
test dword [edi + 8], 0x800000
je 0x10047db7
mov ecx, edi
nop
mov eax, dword [ecx + 0x2ec]
mov ecx, eax
mov dword [edi + 0x2f8], ecx
test dword [eax + 8], 0x800000
jne 0x10047da0
mov byte [edi + 0x7a], 1
xor eax, eax
mov word [edi + 0x86], ax
movzx eax, word [esi + 0x1988]
inc dword [esi + 0x1988]
mov word [edi + 0x88], ax
xor eax, eax
mov word [edi + 0x84], ax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0x1cc], 0xff7fffff
mov dword [edi + 0x1d0], 0xff7fffff
mov dword [edi + 0x1d4], 0x7f7fffff
mov dword [edi + 0x1d8], 0x7f7fffff
mov dword [edi + 0x21c], eax
mov eax, dword [edi + 0x1c4]
cmp eax, 1
jge 0x10047e50
test eax, eax
je 0x10047e33
cdq
sub eax, edx
lea edx, [edi + 0x1c0]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10047e3e
mov ecx, 8
lea edx, [edi + 0x1c0]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10059be0
mov dword [edi + 0x1c0], 1
cmp dword [esi + 0x1ae4], 0
je 0x10047f3c
test dword [edi + 8], 0x80000
jne 0x10047f3c
cmp dword [ebp - 0x18], 0
je 0x10047f3c
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047ea8
test dl, dl
je 0x10047ea4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047ea8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047e88
xor eax, eax
jmp 0x10047ead
sbb eax, eax
or eax, 1
test eax, eax
je 0x10047f3c
mov ecx, dword [ebx + 8]
mov edx, dword [edi + 0x4c]
mov dword [ebp - 0x60], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047ec4
sub ecx, dword [ebp - 0x4c]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
cmp edx, eax
jae 0x10047f27
test ecx, ecx
je 0x10047eee
mov eax, dword [0x101a224c]
test eax, eax
je 0x10047eee
dec dword [eax + 0x36c]
push dword [0x101a2254]
push ecx
call dword [0x1015c17c]
mov eax, dword [0x101a224c]
add esp, 8
test eax, eax
je 0x10047f0d
inc dword [eax + 0x36c]
push dword [0x101a2254]
push dword [ebp - 0x4c]
call dword [0x1015c178]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
push eax
push dword [ebx + 8]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x4c], eax
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.1004b9f0
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x2c], xmm0
movss dword [edi + 0x30], xmm1
mov eax, dword [edi + 0xa4]
test eax, eax
jle 0x10047f6d
dec eax
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
test eax, eax
jle 0x10047f7e
dec eax
mov dword [edi + 0xa8], eax
cmp dword [ebp - 0x18], 0
mov al, byte [ebp - 1]
mov cl, byte [ebp - 2]
jne 0x10047f9c
test al, al
je 0x10047f92
test cl, cl
jne 0x10047f9c
mov dword [edi + 0xa8], 1
cmp byte [ebp - 0x6c], 0
mov edx, dword [ebp - 0xc]
je 0x10047fee
test edx, 0x6000000
je 0x10047fee
mov dword [edi + 0xa8], 1
test dl, 0x40
je 0x10047fee
test al, al
jne 0x10047fce
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x10047fe0
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [0x101a224c]
mov dword [ecx + 0x198c], edi
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x18b0]
mov eax, edx
mulss xmm0, dword [edi + 0x26c]
and eax, 0x1000000
mov dword [ebp - 0x60], eax
movss dword [ecx + 0x18c0], xmm0
movss dword [ecx + 0x18ac], xmm0
je 0x10048035
movss xmm0, dword [esi + 0x1528]
jmp 0x10048057
test edx, 0x6000000
je 0x1004804f
test edx, 0x8000000
jne 0x1004804f
movss xmm0, dword [esi + 0x1530]
jmp 0x10048057
movss xmm0, dword [esi + 0x1510]
movss dword [edi + 0x48], xmm0
mov eax, dword [esi + 0x1504]
mov ecx, dword [esi + 0x1508]
mov dword [edi + 0x3c], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x40], ecx
cmp eax, 0x1000000
jne 0x100480a9
movss xmm0, dword [edi + 0x48]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100480a9
test edx, 0x400
je 0x1004809d
movss xmm1, dword [esi + 0x1508]
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm1
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1544]
maxss xmm0, dword [esi + 0x1a8c]
movss dword [edi + 0x148], xmm0
mov eax, dword [esi + 0x1a90]
mov dword [edi + 0x14c], eax
test dl, 0x21
jne 0x10048140
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.100582c0
cmp dword [esi + 0x1990], edi
jne 0x1004811f
cmp dword [esi + 0x1998], 0
jne 0x1004811f
cmp dword [esi + 0x19a0], 0
jne 0x1004811f
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10050860
add esp, 0xc
test al, al
je 0x1004811f
cmp byte [esi + 0x3d5], 0
je 0x1004811f
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x10048144
cmp byte [edi + 0x7d], 0
push edi
sete al
mov byte [edi + 0x7d], al
call fcn.10051240
push edi
call fcn.1004e1b0
add esp, 8
jmp 0x10048144
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x7e], 0
push eax
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.1004b8a0
movss xmm0, dword [0x100e8e9c]
add esp, 0xc
mov eax, dword [ebp - 0xc]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x4c], xmm0
test al, 0x40
je 0x100481ab
cmp byte [edi + 0x7d], 0
jne 0x100481ab
cmp byte [ebp - 1], 0
jne 0x1004818d
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x28], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [ebp - 2], 0
jne 0x1004824d
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x4c], xmm0
movss dword [edi + 0x20], xmm0
jmp 0x1004824d
mov eax, dword [edi + 0x90]
test eax, eax
jg 0x100481c2
cmp dword [edi + 0x94], 0
jle 0x1004824d
cmp byte [ebp - 1], 0
jne 0x100481f0
test eax, eax
jle 0x100481f0
cmp byte [edi + 0x98], 0
je 0x100481e1
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x24]
jmp 0x100481e6
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x28], xmm0
movss dword [edi + 0x1c], xmm0
cmp byte [ebp - 2], 0
jne 0x10048223
cmp dword [edi + 0x94], 0
jle 0x10048223
cmp byte [edi + 0x98], 0
je 0x10048214
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x20]
jmp 0x10048219
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x4c], xmm0
movss dword [edi + 0x20], xmm0
cmp byte [edi + 0x7d], 0
jne 0x1004824d
test dword [edi + 8], 0x100
mov ecx, dword [0x101a224c]
jne 0x1004824d
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2c40]
jb 0x1004824d
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c40], eax
push dword [edi + 0x20]
lea eax, [ebp - 0x38]
push dword [edi + 0x1c]
push edi
push eax
call fcn.1004b6d0
add esp, 0x10
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
cmp byte [edi + 0x7d], 0
je 0x100482ac
cmp dword [ebp - 0x60], 0
jne 0x100482ac
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.100582c0
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x54], xmm0
jmp 0x100482b8
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x58]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
cmp byte [edi + 0x7d], 0
jne 0x100483c2
movss xmm0, dword [ebp - 0x28]
movss xmm1, dword [0x100e8e9c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100482ed
movss xmm2, dword [edi + 0x1c]
jmp 0x100482f2
movss xmm2, dword [edi + 0x24]
movss xmm0, dword [ebp - 0x4c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10048307
movss xmm1, dword [edi + 0x20]
jmp 0x1004830c
movss xmm1, dword [edi + 0x28]
mov eax, dword [ebp - 0xc]
test eax, 0x4000
jne 0x10048328
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm1
jbe 0x10048324
test al, 8
je 0x10048328
xor cl, cl
jmp 0x1004832a
mov cl, 1
mov byte [edi + 0x79], cl
test eax, 0x8000
jne 0x1004836b
test cl, cl
je 0x10048342
movss xmm0, dword [esi + 0x1564]
jmp 0x10048345
xorps xmm0, xmm0
subss xmm2, xmm0
movss xmm0, dword [edi + 0x2c]
comiss xmm0, xmm2
jbe 0x1004835f
and eax, 0x808
cmp eax, 0x800
je 0x10048368
mov byte [edi + 0x78], 0
xorps xmm1, xmm1
jmp 0x100483a7
mov eax, dword [ebp - 0xc]
mov byte [edi + 0x78], 1
cmp byte [edi + 0x79], 0
jne 0x1004839f
subss xmm1, dword [esi + 0x1564]
movss xmm0, dword [edi + 0x30]
comiss xmm0, xmm1
jbe 0x1004838f
test al, 8
jne 0x1004838f
mov al, 1
jmp 0x10048391
xor al, al
mov byte [edi + 0x79], al
cmp byte [edi + 0x78], 0
jne 0x1004839f
xorps xmm1, xmm1
jmp 0x100483a7
movss xmm1, dword [esi + 0x1564]
cmp byte [edi + 0x79], 0
xorps xmm0, xmm0
je 0x100483b8
movss xmm0, dword [esi + 0x1564]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
cmp byte [ebp - 0x6c], 0
je 0x10048403
cmp dword [ebp - 0x5c], 0
mov dword [edi + 0xa0], 0xffffffff
je 0x10048403
cmp byte [ebp - 3], 0
jne 0x10048403
mov eax, dword [esi + 0x1a24]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1a2c]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp dword [ebp - 0x60], 0
je 0x10048454
mov ecx, dword [ebp - 0x64]
add ecx, 0x150
mov ax, word [ecx]
mov word [edi + 0x86], ax
lea eax, [ebp - 8]
push eax
call fcn.10059890
cmp dword [ebp - 0x5c], 0
mov cl, byte [ebp - 3]
mov edx, dword [ebp - 0x1c]
jne 0x1004845a
test cl, cl
jne 0x1004845a
cmp edx, 0x3000000
je 0x1004845a
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
jmp 0x10048457
mov edx, dword [ebp - 0x1c]
mov cl, byte [ebp - 3]
movss xmm0, dword [edi + 0xb8]
ucomiss xmm0, dword [0x100e8e9c]
movss dword [ebp - 8], xmm0
lahf
test ah, 0x44
jnp 0x1004862b
cmp dword [edi + 0xa8], 0
jne 0x1004862b
movss xmm5, dword [edi + 0xc4]
movss xmm0, dword [esi + 0x1594]
movss xmm2, dword [edi + 0x1c]
movss xmm6, dword [edi + 0x20]
movss xmm4, dword [edi + 0xbc]
movss xmm3, dword [esi + 0x1598]
and dword [edi + 0xac], 0xfffffff1
movss xmm1, dword [ebp - 8]
mov dword [edi + 0xb8], 0x7f7fffff
mov dword [edi + 0xbc], 0x7f7fffff
mulss xmm2, dword [edi + 0xc0]
movss dword [ebp - 0x18], xmm5
mulss xmm6, dword [ebp - 0x18]
subss xmm1, xmm2
movss xmm5, dword [edi + 0x10]
movss xmm7, dword [edi + 0xc]
subss xmm4, xmm6
movss dword [ebp - 0x14], xmm5
maxss xmm0, xmm1
maxss xmm3, xmm4
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, xmm3
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
subss xmm1, xmm7
movss dword [edi + 0x10], xmm0
subss xmm0, xmm5
addss xmm1, dword [edi + 0xc8]
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xc8], xmm1
movss dword [edi + 0xcc], xmm0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0xc]
subss xmm1, xmm5
subss xmm0, xmm7
addss xmm1, dword [edi + 0xe4]
addss xmm0, dword [edi + 0xe0]
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xe0], xmm0
cmp byte [ebp - 3], 0
jne 0x10048712
cmp dword [ebp - 0x60], 0
jne 0x10048712
cmp dword [edi + 0x90], 0
jg 0x10048712
cmp dword [edi + 0x94], 0
xorps xmm3, xmm3
jg 0x10048715
movss xmm0, dword [esi + 0x10]
comiss xmm0, xmm3
jbe 0x10048715
movss xmm0, dword [esi + 0x14]
comiss xmm0, xmm3
jbe 0x10048715
cmp byte [esi + 0xb0], 0
movss xmm4, dword [esi + 0x1590]
movss xmm5, dword [esi + 0x158c]
maxss xmm4, dword [esi + 0x1598]
maxss xmm5, dword [esi + 0x1594]
movss dword [ebp - 8], xmm4
movss dword [ebp - 0x18], xmm5
je 0x100486ac
test byte [edi + 8], 1
jne 0x100486ac
movss xmm0, dword [edi + 0x14]
mov ecx, edi
movss dword [ebp - 0x58], xmm0
call fcn.10058270
movss xmm4, dword [ebp - 8]
movss xmm5, dword [ebp - 0x18]
fstp dword [ebp - 0x54]
jmp 0x100486b8
mov eax, dword [ebp - 0xc]
test eax, 0x10000000
je 0x1004865a
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.1004d830
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
jmp 0x1004857a
cmp dword [ebp - 0x5c], 0
je 0x1004868f
test cl, cl
jne 0x1004868f
cmp dword [ebp - 0x14], 0
jle 0x1004868f
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.1004d830
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
jmp 0x10048584
test eax, 0x2000000
je 0x1004857a
test cl, cl
jne 0x10048712
cmp edx, 0x3000000
je 0x10048584
jmp 0x1004866a
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
lea eax, [ebp - 0x58]
movss xmm1, dword [eax]
addss xmm1, dword [edi + 0xc]
movss xmm3, dword [eax + 4]
addss xmm3, dword [edi + 0x10]
maxss xmm1, xmm5
maxss xmm3, xmm4
subss xmm1, dword [eax]
subss xmm3, dword [eax + 4]
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm3
movss xmm0, dword [esi + 0x10]
movss xmm1, dword [edi + 0xc]
subss xmm0, xmm5
minss xmm1, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, xmm4
movss dword [edi + 0xc], xmm1
minss xmm3, xmm0
movss dword [edi + 0x10], xmm3
xorps xmm3, xmm3
cmp dword [ebp - 0x60], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm0, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
je 0x10048747
movss xmm0, dword [esi + 0x1524]
jmp 0x10048768
mov eax, dword [ebp - 0xc]
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10048760
movss xmm0, dword [esi + 0x152c]
jmp 0x10048768
movss xmm0, dword [esi + 0x150c]
movss dword [edi + 0x44], xmm0
mov eax, dword [edi + 0x338]
cmp eax, 0x7fffffff
je 0x1004878e
mov ecx, dword [edi + 0x328]
cmp ecx, 0xffffffff
je 0x1004878e
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x10048793
mov edx, closesocket
mov dword [edi + 0x330], edx
mov eax, dword [edi + 0x33c]
cmp eax, 0x7fffffff
je 0x100487ba
mov ecx, dword [edi + 0x32c]
cmp ecx, 0xffffffff
je 0x100487ba
inc eax
add eax, ecx
inc ecx
cdq
idiv ecx
jmp 0x100487bf
mov edx, closesocket
movss xmm5, dword [0x100e8e9c]
mov dword [edi + 0x334], edx
mov dword [edi + 0x32c], 0xffffffff
mov dword [edi + 0x328], 0xffffffff
mov dword [edi + 0x33c], closesocket
mov dword [edi + 0x338], closesocket
movss xmm1, dword [edi + 0x60]
comiss xmm5, xmm1
mov eax, dword [0x101a224c]
movss xmm4, dword [edi + 0x58]
movss xmm2, dword [edi + 0x5c]
jbe 0x10048824
movss xmm0, dword [edi + 0x1c]
movaps xmm4, xmm1
subss xmm0, dword [edi + 0x70]
mulss xmm0, dword [edi + 0x68]
subss xmm4, xmm0
movss xmm0, dword [edi + 0x64]
comiss xmm5, xmm0
movss xmm7, dword [0x100e4318]
jbe 0x100488fd
movss xmm6, dword [edi + 0x6c]
movaps xmm2, xmm0
comiss xmm3, xmm6
jb 0x10048854
movss xmm0, dword [edi + 0x40]
comiss xmm0, xmm2
jb 0x10048854
xorps xmm2, xmm2
comiss xmm6, xmm7
jb 0x10048876
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm1
subss xmm0, dword [edi + 0x40]
addss xmm0, dword [eax + 0x1548]
comiss xmm2, xmm0
jb 0x10048876
movaps xmm2, xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x10048883
xorps xmm5, xmm5
jmp 0x100488a3
movss xmm0, dword [eax + 0x1538]
movss xmm5, dword [eax + 0x18b0]
addss xmm0, xmm0
mulss xmm5, dword [edi + 0x26c]
addss xmm5, xmm0
test ecx, 0x400
je 0x100488d5
movss xmm1, dword [eax + 0x18b0]
mulss xmm1, dword [edi + 0x26c]
movss xmm0, dword [eax + 0x1538]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x14c]
addss xmm1, xmm0
jmp 0x100488d8
xorps xmm1, xmm1
movaps xmm0, xmm7
addss xmm1, xmm5
subss xmm0, xmm6
mulss xmm1, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
subss xmm2, xmm1
mulss xmm0, xmm6
subss xmm2, xmm0
cmp byte [edi + 0x7d], 0
maxss xmm4, xmm3
maxss xmm2, xmm3
jne 0x10048955
cmp byte [edi + 0x7f], 0
jne 0x10048955
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm4
ja 0x10048933
movaps xmm4, xmm0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm2
ja 0x10048955
movaps xmm2, xmm0
movss dword [edi + 0x58], xmm4
xor dl, dl
movss dword [edi + 0x5c], xmm2
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
mov dword [ebp - 0x14], edx
cmp byte [ebp - 0x6c], dl
je 0x1004899e
test dword [ebp - 0xc], 0x1000
jne 0x1004899e
cmp dword [ebp - 0x5c], 0
je 0x1004898c
mov byte [ebp - 0x14], 1
jmp 0x1004899e
cmp dword [ebp - 0x1c], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0x14], edx
movss xmm2, dword [esi + 0x18ac]
xorps xmm0, xmm0
movaps xmmword [ebp - 0xf0], xmm0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x44]
xor ecx, ecx
mulss xmm2, dword [0x100e4304]
addss xmm0, xmm7
or eax, 0xffffffff
cmp byte [esi + 0xaf], cl
mulss xmm1, dword [0x100e8e74]
setne cl
mov dword [ebp - 8], eax
inc ecx
cmp byte [edi + 0x7d], 0
addss xmm0, xmm2
mov dword [ebp - 0x54], ecx
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x10048a12
lea eax, [ebp - 0xf0]
push eax
push ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.10058670
mov eax, dword [ebp - 8]
add esp, 0x14
xorps xmm3, xmm3
mov byte [edi + 0x83], al
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm3
jbe 0x10048a35
test dword [ebp - 0xc], 0x2000040
jne 0x10048a35
mulss xmm0, dword [0x100e8e58]
jmp 0x10048a48
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ecx + 0x18ac]
mulss xmm0, dword [0x100e8e84]
mov ecx, dword [edi + 0x274]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x220], xmm0
call fcn.1005d060
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov eax, 2
cmp byte [edx + 0x15a1], cl
cmovne ecx, eax
xor eax, eax
cmp byte [edx + 0x15a0], al
setne al
or ecx, eax
mov eax, dword [edi + 0x274]
mov dword [eax + 0x24], ecx
mov eax, dword [edx + 0x18a8]
mov ecx, dword [edi + 0x274]
mov eax, dword [eax + 0x38]
push dword [eax + 8]
call fcn.1005f820
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
mov eax, dword [ebp - 0xc]
and eax, 0x5000000
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
movss dword [ebp - 0x98], xmm0
movss dword [ebp - 0x94], xmm1
cmp eax, 0x1000000
jne 0x10048b02
cmp dword [ebp - 0x1c], 0x3000000
je 0x10048b02
mov ecx, dword [ebp - 0x64]
lea eax, [ecx + 0x1cc]
add ecx, 0x1d4
jmp 0x10048b0e
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x98]
push 1
push ecx
push eax
call fcn.100554b0
add esp, 0xc
test dword [ebp - 0xc], 0x8000000
je 0x10048b39
call fcn.1004eb20
cmp edi, eax
jne 0x10048b39
cmp dword [edi + 0xa8], 0
jg 0x10048b39
mov dl, 1
jmp 0x10048b3b
xor dl, dl
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x1ae0]
test eax, eax
je 0x10048b54
cmp edi, dword [eax + 0x2f0]
jne 0x10048b54
mov al, 1
jmp 0x10048b56
xor al, al
mov byte [ebp - 1], al
test dl, dl
jne 0x10048b65
test al, al
je 0x10048c83
movss xmm0, dword [ecx + 0x1bec]
push ecx
movzx eax, dl
add eax, 0x2e
movss dword [esp], xmm0
push eax
call fcn.1004e7b0
add esp, 8
push 0xf
push ecx
mov ecx, dword [edi + 0x274]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.1005be00
cmp byte [ebp - 1], 0
mov ecx, dword [ebp - 0x10]
je 0x10048c83
cmp edi, dword [ecx + 0x1ae0]
jne 0x10048c83
movss xmm0, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm2, xmm0
movss xmm4, dword [edi + 0x14]
movaps xmm6, xmm3
movss xmm5, dword [edi + 0x18]
addss xmm4, xmm0
movss xmm1, dword [ecx + 0x18ac]
addss xmm5, xmm3
movss xmm0, dword [ebp - 0xa0]
subss xmm2, xmm1
subss xmm6, xmm1
addss xmm4, xmm1
addss xmm5, xmm1
comiss xmm0, xmm2
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x3c], xmm6
movss dword [ebp - 0x38], xmm4
movss dword [ebp - 0x34], xmm5
jb 0x10048c39
movss xmm0, dword [ebp - 0x9c]
comiss xmm0, xmm6
jb 0x10048c39
comiss xmm4, dword [ebp - 0x98]
jb 0x10048c39
comiss xmm5, dword [ebp - 0x94]
jae 0x10048c83
movss xmm0, dword [ecx + 0x1aec]
mulss xmm0, dword [0x100e4308]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.1004e7b0
add esp, 8
push 0xf
push ecx
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [ecx + 0x150c]
mov ecx, dword [edi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1005be00
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [edi + 0x44]
mov edx, dword [ecx + 0x1adc]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edi + 0x48]
movss dword [ebp - 0x28], xmm0
test edx, edx
jne 0x10048ca7
mov edx, dword [ecx + 0x1a9c]
cmp byte [ebp - 0x14], 0
jne 0x10048cc3
test edx, edx
je 0x10048cbf
mov eax, dword [edi + 0x2f4]
cmp eax, dword [edx + 0x2f4]
je 0x10048cc3
xor dl, dl
jmp 0x10048cc5
mov dl, 1
test byte [edi + 8], 1
mov byte [ebp - 1], dl
je 0x10048cd3
xorps xmm1, xmm1
jmp 0x10048cf8
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x1538]
movss xmm1, dword [eax + 0x18b0]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x26c]
addss xmm1, xmm0
movss xmm2, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
movaps xmm0, xmm2
movss dword [ebp - 0x50], xmm2
addss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x90], xmm2
movss xmm2, dword [edi + 0x10]
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x84], xmm1
movss dword [ebp - 0x88], xmm0
cmp byte [edi + 0x7d], 0
movss dword [ebp - 8], xmm0
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x5c], xmm2
je 0x10048ecf
movss xmm0, dword [ecx + 0x1540]
mov eax, dword [edi + 0x48]
movss dword [ebp - 0x28], xmm0
mov dword [ecx + 0x1540], eax
test dl, dl
je 0x10048d75
cmp byte [ecx + 0x1afe], 0
mov eax, 0xb
je 0x10048d7a
mov eax, 0xc
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1004e7b0
movss xmm0, dword [ebp - 8]
add esp, 8
mov esi, dword [0x101a224c]
movss xmm1, dword [ebp - 0x1c]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x5c]
push 0xf
movss dword [ebp - 0x20], xmm0
mov ecx, dword [esi + 0x198c]
push ecx
movss dword [esp], xmm1
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ecx + 0x274]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1005be00
movss xmm0, dword [esi + 0x1540]
comiss xmm0, dword [0x100e42f0]
movss dword [ebp - 8], xmm0
jbe 0x10048eba
push ecx
mov dword [esp], 0x3f800000
push 6
call fcn.1004e7b0
movss xmm1, dword [0x100e4318]
add esp, 4
movss xmm0, dword [ebp - 0x58]
addss xmm0, xmm1
mov esi, dword [ebp - 0x18]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x54]
addss xmm0, xmm1
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, xmm1
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x20]
addss xmm0, xmm1
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x1c]
push 0xf
push ecx
mov ecx, dword [esi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1005bd20
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.1004e7b0
movss xmm0, dword [ebp - 8]
add esp, 4
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x1c]
push 0xf
push ecx
mov ecx, dword [esi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1005bd20
mov esi, dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x28]
movss dword [esi + 0x1540], xmm0
jmp 0x10049442
mov eax, dword [ebp - 0xc]
test al, al
js 0x10049008
test eax, 0x6000000
je 0x10048ee8
mov eax, 4
jmp 0x10048ef3
xor eax, eax
cmp dword [ebp - 0x60], eax
setne al
add eax, 2
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.1004e7b0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x10]
xorps xmm2, xmm2
cmp dword [eax + 0x1a48], 0
je 0x10048f5b
movss xmm1, dword [eax + 0x1a88]
movss xmm0, dword [0x100e4318]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10048f5b
comiss xmm2, xmm1
jbe 0x10048f38
xorps xmm0, xmm0
jmp 0x10048f3c
minss xmm0, xmm1
mulss xmm0, dword [0x100e4618]
and ecx, 0xffffff
addss xmm0, dword [0x100e4310]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
movss xmm1, dword [edi + 0x18]
lea eax, [edi + 0xc]
movss xmm0, dword [edi + 0x14]
addss xmm1, dword [eax + 4]
addss xmm0, dword [eax]
mov edx, dword [edi + 0x274]
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x24], xmm0
test byte [edi + 8], 1
je 0x10048f8c
xorps xmm1, xmm1
jmp 0x10048fb4
mov eax, dword [0x101a224c]
movss xmm0, dword [eax + 0x1538]
movss xmm1, dword [eax + 0x18b0]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x26c]
lea eax, [edi + 0xc]
addss xmm1, xmm0
movss xmm0, dword [eax]
addss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xc]
addss xmm0, xmm2
and eax, 1
mov dword [ebp - 8], 0xf
mov dword [ebp - 0x4c], eax
mov eax, 0xc
cmovne eax, dword [ebp - 8]
push eax
push ecx
movss dword [ebp - 0x74], xmm0
lea eax, [ebp - 0x24]
movss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm0
push ecx
push eax
lea eax, [ebp - 0x74]
movss dword [ebp - 0x70], xmm1
push eax
mov ecx, edx
call fcn.1005be00
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
jmp 0x1004900e
and eax, 1
mov dword [ebp - 0x4c], eax
mov dword [ecx + 0x1a48], 0
test eax, eax
jne 0x1004905e
movzx eax, byte [ebp - 1]
push ecx
add eax, 0xa
mov dword [esp], 0x3f800000
push eax
call fcn.1004e7b0
movss xmm0, dword [ebp - 0x1c]
add esp, 8
push 3
push ecx
mov ecx, dword [edi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.1005be00
mov eax, dword [ebp - 0x4c]
test dword [ebp - 0xc], 0x400
je 0x1004920c
mov edx, dword [edi + 8]
mov ecx, dword [0x101a224c]
test dl, 1
je 0x1004907e
xorps xmm1, xmm1
jmp 0x1004909e
movss xmm0, dword [ecx + 0x1538]
movss xmm1, dword [ecx + 0x18b0]
addss xmm0, xmm0
mulss xmm1, dword [edi + 0x26c]
addss xmm1, xmm0
xorps xmm0, xmm0
addss xmm1, dword [edi + 0x10]
movss dword [ebp - 8], xmm1
test edx, 0x400
je 0x100490e2
movss xmm1, dword [ecx + 0x18b0]
mulss xmm1, dword [edi + 0x26c]
movss xmm0, dword [ecx + 0x1538]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x14c]
addss xmm1, xmm0
movss dword [ebp - 0x18], xmm1
jmp 0x100490e7
movss dword [ebp - 0x18], xmm0
movss xmm6, dword [edi + 0x10]
lea ecx, [edi + 0xc]
movss xmm0, dword [ebp - 8]
movss xmm7, dword [ecx]
maxss xmm0, xmm6
movss xmm5, dword [edi + 0x1c]
movaps xmm4, xmm7
movss xmm2, dword [edi + 0x14]
movaps xmm1, xmm7
movss xmm3, dword [edi + 0x18]
maxss xmm1, xmm4
addss xmm7, xmm5
movss dword [ebp - 0x3c], xmm0
addss xmm4, xmm2
movss xmm0, dword [ebp - 8]
addss xmm6, xmm3
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x40], xmm1
minss xmm7, xmm4
minss xmm0, xmm6
movss dword [ebp - 0x38], xmm7
movss dword [ebp - 0x34], xmm0
test eax, eax
je 0x10049152
movss xmm0, dword [ebp - 0x1c]
jmp 0x10049155
xorps xmm0, xmm0
push ecx
mov dword [esp], 0x3f800000
push 0xd
movss dword [ebp - 8], xmm0
call fcn.1004e7b0
movss xmm0, dword [ebp - 8]
add esp, 8
push 3
push ecx
mov ecx, dword [edi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1005be00
mov eax, dword [ebp - 0x10]
movss xmm0, dword [eax + 0x1540]
comiss xmm0, dword [0x100e42f0]
jbe 0x1004920c
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
comiss xmm0, dword [ebp - 0x34]
jbe 0x1004920c
mov edi, dword [edi + 0x274]
push ecx
mov dword [esp], 0x3f800000
push 5
call fcn.1004e7b0
mov ecx, dword [ebp - 0x38]
add esp, 4
movss xmm0, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x10]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ecx + 0x1540]
mov ecx, edi
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], edx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.1005b0d0
mov edi, dword [ebp - 0x68]
cmp byte [edi + 0x78], 0
je 0x1004921c
push 0
call fcn.10076200
add esp, 4
cmp byte [edi + 0x79], 0
je 0x1004922c
push 1
call fcn.10076200
add esp, 4
test byte [ebp - 0xc], 2
jne 0x10049436
movss xmm4, dword [ebp - 0x28]
xor eax, eax
movaps xmm0, xmm4
mov dword [ebp - 0x5c], eax
addss xmm0, dword [ebp - 0x1c]
mov ecx, 0x1015c188
mov dword [ebp - 0x4c], ecx
movss dword [ebp - 0x20], xmm0
nop word [eax + eax]
movss xmm0, dword [edi + 0xc]
mov edx, eax
movss xmm1, dword [edi + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x14]
movaps xmm3, xmm1
and edx, 1
addss xmm3, dword [edi + 0x18]
mov dword [ebp - 0x70], edx
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [ecx - 8]
mulss xmm3, dword [ecx - 4]
addss xmm2, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm3, xmm1
movss dword [ebp - 8], xmm2
movss dword [ebp - 0x18], xmm3
je 0x100492c4
movss dword [ebp - 0xdc], xmm0
movaps xmm0, xmm4
movss dword [ebp - 0xe0], xmm4
jmp 0x100492d4
movss dword [ebp - 0xd8], xmm0
movss dword [ebp - 0xd4], xmm4
mulss xmm0, dword [ecx]
lea eax, [ebp - 0xd4]
mov edi, dword [ebp - 0x68]
test edx, edx
lea edx, [ebp - 0xdc]
cmovne eax, edx
addss xmm0, xmm2
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [eax]
lea eax, [ebp - 0xc8]
mulss xmm0, dword [ecx + 4]
mov ecx, dword [edi + 0x274]
push eax
addss xmm0, xmm3
movss dword [ebp - 0xc4], xmm0
call fcn.100550c0
mov ecx, dword [ebp - 0x70]
movss xmm0, dword [ebp - 0x28]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
test ecx, ecx
je 0x10049347
movss dword [ebp - 0xb4], xmm0
movaps xmm0, xmm1
movss dword [ebp - 0xb8], xmm1
jmp 0x10049357
movss dword [ebp - 0xa8], xmm0
movss dword [ebp - 0xa4], xmm1
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0xa4]
mov edi, dword [ebp - 0x68]
test ecx, ecx
lea ecx, [ebp - 0xb4]
cmovne eax, ecx
mulss xmm0, dword [edx]
mov ecx, dword [edi + 0x274]
addss xmm0, dword [ebp - 8]
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [eax]
lea eax, [ebp - 0xc0]
mulss xmm0, dword [edx + 4]
push eax
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0xbc], xmm0
call fcn.100550c0
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x20]
mov ecx, dword [edi + 0x274]
mulss xmm0, dword [eax]
push dword [eax + 0xc]
addss xmm0, dword [ebp - 8]
push dword [eax + 8]
push ecx
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x20]
mulss xmm0, dword [eax + 4]
lea eax, [ebp - 0x38]
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esp], xmm0
push eax
call fcn.1005f0e0
mov eax, dword [ebp - 0x5c]
mov edi, dword [edi + 0x274]
mov ecx, edi
push dword [ebp + eax*4 - 0xf0]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1005a460
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
inc eax
movss xmm4, dword [ebp - 0x28]
add ecx, 0x18
mov dword [edi + 0x54], 0
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], ecx
cmp eax, dword [ebp - 0x54]
jl 0x10049260
push edi
call fcn.10056470
mov esi, dword [ebp - 0x10]
add esp, 4
cmp dword [esi + 0x1ae0], edi
jne 0x1004955a
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [esi + 0x150c]
movss xmm5, dword [edi + 0x10]
movss xmm4, dword [edi + 0xc]
movaps xmm3, xmm5
movss xmm1, dword [edi + 0x18]
movaps xmm6, xmm4
movss xmm2, dword [esi + 0x18ac]
addss xmm5, xmm1
movss dword [ebp - 8], xmm0
subss xmm6, xmm2
movss xmm0, dword [edi + 0x14]
subss xmm3, xmm2
addss xmm4, xmm0
movss xmm0, dword [ebp - 0xa0]
addss xmm5, xmm2
comiss xmm0, xmm6
addss xmm4, xmm2
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x34], xmm5
movss dword [ebp - 0x38], xmm4
jb 0x1004951a
movss xmm0, dword [ebp - 0x9c]
comiss xmm0, xmm3
jb 0x1004951a
comiss xmm4, dword [ebp - 0x98]
jb 0x1004951a
comiss xmm5, dword [ebp - 0x94]
jb 0x1004951a
xorps xmm2, xmmword [0x100e4350]
subss xmm2, dword [0x100e4318]
movaps xmm0, xmm2
subss xmm6, xmm2
subss xmm3, xmm2
addss xmm0, xmm4
addss xmm2, xmm5
movss dword [ebp - 0x40], xmm6
movss dword [ebp - 0x3c], xmm3
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm2
movss xmm0, dword [edi + 0x44]
movss dword [ebp - 8], xmm0
movss xmm0, dword [esi + 0x1aec]
push ecx
movss dword [esp], xmm0
push 0x2d
call fcn.1004e7b0
movss xmm0, dword [ebp - 8]
add esp, 4
mov dword [esp], 0x40400000
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x274]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1005bd20
mov eax, dword [edi + 0x1c]
xorps xmm2, xmm2
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
movss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x3c]
movss dword [edi + 0x20c], xmm0
mov ecx, dword [edi + 8]
mov eax, dword [0x101a224c]
test cl, 1
je 0x10049592
xorps xmm3, xmm3
jmp 0x100495b2
movss xmm0, dword [eax + 0x1538]
movss xmm3, dword [eax + 0x18b0]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x26c]
addss xmm3, xmm0
test ecx, 0x400
je 0x100495e4
movss xmm1, dword [eax + 0x18b0]
mulss xmm1, dword [edi + 0x26c]
movss xmm0, dword [eax + 0x1538]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x14c]
addss xmm1, xmm0
jmp 0x100495e7
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x40]
addss xmm0, xmm3
addss xmm0, xmm1
movss dword [edi + 0x210], xmm0
movss xmm1, dword [edi + 0x34]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x1004961e
movss xmm1, dword [edi + 0x14]
subss xmm1, dword [edi + 0x70]
movss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x58]
subss xmm0, dword [edi + 0x3c]
addss xmm0, xmm1
movss dword [edi + 0x214], xmm0
movss xmm1, dword [edi + 0x38]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jp 0x10049651
movss xmm1, dword [edi + 0x18]
subss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x5c]
subss xmm0, dword [edi + 0x40]
addss xmm0, xmm1
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x3c]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x58]
movss dword [edi + 0x1b0], xmm0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
mov ecx, dword [edi + 8]
mov eax, dword [0x101a224c]
test cl, 1
je 0x100496a8
xorps xmm3, xmm3
jmp 0x100496c8
movss xmm0, dword [eax + 0x1538]
movss xmm3, dword [eax + 0x18b0]
addss xmm0, xmm0
mulss xmm3, dword [edi + 0x26c]
addss xmm3, xmm0
test ecx, 0x400
je 0x100496fa
movss xmm1, dword [eax + 0x18b0]
mulss xmm1, dword [edi + 0x26c]
movss xmm0, dword [eax + 0x1538]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x14c]
addss xmm1, xmm0
jmp 0x100496fd
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x1b0]
addss xmm1, xmm3
addss xmm0, xmm2
addss xmm1, dword [edi + 0x40]
addss xmm0, dword [edi + 0xc]
subss xmm1, dword [edi + 0x5c]
addss xmm1, dword [edi + 0x10]
movss dword [edi + 0xd8], xmm0
movss dword [edi + 0xdc], xmm1
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], ecx
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], ecx
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], ecx
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov eax, dword [edi + 0xf4]
mov ecx, dword [edi + 0xf8]
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], ecx
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf0], 0
mov byte [edi + 0x144], 0
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
comiss xmm0, xmm2
seta al
mov byte [edi + 0x145], al
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
lea eax, [edi + 0x150]
mov dword [edi + 0x140], 0
mov byte [edi + 0x146], 0
movss xmm0, dword [edi + 0xcc]
subss xmm0, dword [0x100e8e98]
movss dword [edi + 0x100], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004984a
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 + 0x150]
call fcn.10059be0
lea eax, [edi + 0x150]
mov ecx, dword [ebp - 0x64]
mov dword [eax], 0
mov dword [edi + 0x160], 1
test ecx, ecx
je 0x10049875
mov eax, dword [ecx + 0x160]
mov dword [edi + 0x164], eax
mov ecx, dword [ecx + 0x168]
jmp 0x10049881
mov dword [edi + 0x164], 1
xor ecx, ecx
mov dword [edi + 0x168], ecx
mov eax, dword [edi + 0x220]
mov dword [edi + 0x16c], eax
lea eax, [edi + 0x174]
mov dword [edi + 0x170], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100498cc
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 + 0x174]
call fcn.10059be0
lea eax, [edi + 0x174]
mov dword [eax], 0
lea eax, [edi + 0x180]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10049901
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x180]
call fcn.10059be0
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x18c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10049936
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 + 0x18c]
call fcn.10059be0
lea eax, [edi + 0x18c]
mov dword [eax], 0
lea ecx, [edi + 0x198]
mov dword [edi + 0x1bc], 0
lea eax, [edi + 0x254]
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
push 0
mov dword [edi + 0x15c], eax
call fcn.10059e80
push dword [ebp - 0x6c]
movss xmm0, dword [esi + 0x1544]
push ecx
movss dword [esp], xmm0
lea ecx, [edi + 0x224]
push 3
call fcn.10077b70
cmp dword [ebp - 0x60], 0
je 0x100499b8
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x168]
lea eax, [edi + 0x168]
cmp dword [eax], ecx
je 0x100499b8
mov dword [eax], ecx
lea ecx, [edi + 0x174]
push eax
call fcn.10059890
mov eax, dword [edi + 0x90]
test eax, eax
jle 0x100499c9
dec eax
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x100499da
dec eax
mov dword [edi + 0x94], eax
cmp byte [ebp - 0x14], 0
je 0x100499f1
push edi
call fcn.1004e1b0
push 0
push edi
call fcn.10051420
add esp, 0xc
mov eax, dword [ebp - 0xc]
test al, 1
jne 0x10049e92
mov eax, dword [edi + 0x168]
mov dword [ebp - 0x20], eax
or eax, 0x10
mov dword [edi + 0x168], eax
mov eax, dword [ebp - 0xc]
and eax, 0x20
mov dword [edi + 0x134], 1
mov dword [edi + 0x138], 2
mov dword [ebp - 0x70], eax
jne 0x10049a84
mov ecx, dword [edi + 0x1c0]
mov eax, dword [edi + 0x1c8]
push dword [eax + ecx*4 - 4]
push 0
push str.COLLAPSE
call fcn.1004f700
mov ecx, dword [0x101a224c]
add esp, 0xc
cmp dword [ecx + 0x19ac], eax
jne 0x10049a60
mov dword [ecx + 0x19b4], eax
cmp dword [ecx + 0x19b0], eax
jne 0x10049a6f
mov byte [ecx + 0x19c0], 1
lea ecx, [edi + 0xc]
push ecx
push eax
call fcn.1006e2a0
add esp, 8
test al, al
je 0x10049a84
mov byte [edi + 0x7e], 1
cmp dword [ebx + 0xc], 0
je 0x10049b4d
movss xmm4, dword [esi + 0x18ac]
movss xmm3, dword [esi + 0x1538]
mulss xmm4, dword [0x100e4310]
movaps xmm0, xmm3
xorps xmm0, xmmword [0x100e4350]
movss xmm1, dword [edi + 0xc]
addss xmm1, dword [edi + 0x14]
movss xmm2, dword [edi + 0x10]
subss xmm0, xmm4
movss dword [ebp - 0x54], xmm4
addss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, xmm3
movss dword [ebp - 0x38], xmm1
addss xmm0, xmm2
movss dword [ebp - 0x34], xmm0
mov ecx, dword [edi + 0x1c0]
mov eax, dword [edi + 0x1c8]
push dword [eax + ecx*4 - 4]
push 0
push str.CLOSE
call fcn.1004f700
mov ecx, dword [0x101a224c]
add esp, 0xc
cmp dword [ecx + 0x19ac], eax
jne 0x10049b14
mov dword [ecx + 0x19b4], eax
cmp dword [ecx + 0x19b0], eax
jne 0x10049b23
mov byte [ecx + 0x19c0], 1
movss xmm0, dword [ebp - 0x54]
addss xmm0, dword [0x100e4318]
push ecx
lea ecx, [ebp - 0x38]
movss dword [esp], xmm0
push ecx
push eax
call fcn.1006e090
add esp, 0xc
test al, al
je 0x10049b4d
mov eax, dword [ebx + 0xc]
mov byte [eax], 0
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov dword [edi + 0x168], eax
mov eax, dword [ebp - 0xc]
and eax, 0x100000
mov dword [ebp - 0x54], eax
je 0x10049bd7
mov ecx, dword [0x101a224c]
lea eax, [ebp - 0x38]
push 0
push 0
push 0x100e8d08
movss xmm0, dword [ecx + 0x18ac]
sub esp, 0xc
mov ecx, dword [ecx + 0x18a8]
mov dword [esp + 8], 0xbf800000
mov dword [esp + 4], 0x7f7fffff
movss dword [esp], xmm0
push eax
call fcn.1005c780
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [0x100e8e70]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x14], xmm1
jmp 0x10049bdf
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
mov ecx, dword [ebx + 8]
mov eax, ecx
mov edx, dword [0x101a224c]
cmp ecx, 0xffffffff
jae 0x10049c09
nop
mov cl, byte [eax]
test cl, cl
je 0x10049c06
cmp cl, 0x23
jne 0x10049c00
cmp byte [eax + 1], cl
je 0x10049c06
inc eax
cmp eax, 0xffffffff
jb 0x10049bf0
mov ecx, dword [ebx + 8]
movss xmm1, dword [edx + 0x18ac]
cmp ecx, eax
jne 0x10049c1a
movaps xmm3, xmm0
jmp 0x10049c65
push 0
push eax
push ecx
mov ecx, dword [edx + 0x18a8]
lea eax, [ebp - 0x38]
sub esp, 0xc
mov dword [esp + 8], 0xbf800000
mov dword [esp + 4], 0x7f7fffff
movss dword [esp], xmm1
push eax
call fcn.1005c780
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [0x100e8e70]
movss xmm1, dword [ebp - 0x34]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
cmp dword [ebp - 0x70], 0
addss xmm1, xmm0
movss xmm2, dword [ebp - 0x14]
movss xmm6, dword [ebp - 0x8c]
addss xmm2, xmm3
movss xmm3, dword [ebp - 0x84]
movss dword [ebp - 0xac], xmm6
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0xa4], xmm3
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x38], xmm2
je 0x10049cb4
movss xmm4, dword [esi + 0x1534]
movaps xmm5, xmm4
jmp 0x10049ccf
movss xmm5, dword [esi + 0x1534]
movaps xmm4, xmm5
addss xmm4, dword [esi + 0x18ac]
addss xmm4, dword [esi + 0x154c]
mov ecx, dword [ebx + 0xc]
movaps xmm2, xmm5
test ecx, ecx
je 0x10049ce9
addss xmm2, dword [esi + 0x18ac]
addss xmm2, dword [esi + 0x154c]
movss xmm1, dword [esi + 0x151c]
lea eax, [esi + 0x151c]
comiss xmm1, xmm0
jbe 0x10049d0b
movaps xmm0, xmm4
subss xmm0, xmm2
mulss xmm0, xmm1
addss xmm2, xmm0
movss xmm1, dword [ebp - 0x90]
movss xmm0, dword [ebp - 0x88]
addss xmm1, xmm4
movss dword [ebp - 0xcc], xmm6
subss xmm0, xmm2
movss dword [ebp - 0xc4], xmm3
movss dword [ebp - 0xb0], xmm1
movss dword [ebp - 0xa8], xmm0
movss dword [ebp - 0xd0], xmm1
test ecx, ecx
je 0x10049d5d
subss xmm3, xmm6
subss xmm3, dword [0x100e432c]
jmp 0x10049d60
movaps xmm3, xmm5
movss xmm0, dword [edi + 0xc]
lea ecx, [ebp - 0xd0]
addss xmm0, dword [edi + 0x14]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push dword [ebx + 8]
subss xmm0, xmm3
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb0]
push eax
movss dword [ebp - 0xc8], xmm0
call fcn.10056850
add esp, 0x1c
cmp dword [ebp - 0x54], 0
je 0x10049e8f
movss xmm0, dword [esi + 0x18ac]
xorps xmm4, xmm4
xorps xmm0, xmmword [0x100e4350]
mulss xmm0, dword [0x100e4308]
mov dword [ebp - 0x38], 0
movss xmm2, dword [ebp - 0xa8]
movss xmm1, dword [ebp - 0xb0]
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x1520]
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmm2
subss xmm2, xmm1
addss xmm0, xmm4
movd xmm3, eax
lea eax, [ebp - 0xd0]
cvtdq2ps xmm3, xmm3
push eax
lea eax, [ebp - 0x38]
push eax
push 0
subss xmm2, dword [ebp - 0x20]
movss dword [ebp - 0xc0], xmm0
lea eax, [ebp - 0xc0]
movaps xmm0, xmm3
addss xmm0, dword [ebp - 0xa4]
push 0
mulss xmm2, dword [esi + 0x151c]
push 0x100e8d08
push eax
movss dword [ebp - 0xbc], xmm0
lea eax, [ebp - 0xb8]
movss xmm0, dword [0x100e4328]
addss xmm2, xmm1
subss xmm0, dword [ebp - 0x14]
push eax
maxss xmm1, xmm2
addss xmm1, dword [ebp - 0x20]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0xac]
addss xmm0, xmm4
addss xmm1, xmm4
addss xmm0, xmm3
movss dword [ebp - 0xb8], xmm1
movss dword [ebp - 0xb4], xmm0
call fcn.10056850
add esp, 0x1c
mov eax, dword [ebp - 0xc]
movss xmm0, dword [edi + 0xc]
and eax, 0x401
movss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x3c], xmm1
addss xmm0, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [edi + 0x1dc], xmm0
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [edi + 0x1e0]
maxss xmm0, dword [edi + 0x1d0]
maxss xmm1, dword [edi + 0x1cc]
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1dc], xmm1
movss xmm0, dword [edi + 0x1e8]
movss xmm1, dword [edi + 0x1e4]
minss xmm0, dword [edi + 0x1d8]
minss xmm1, dword [edi + 0x1d4]
movss dword [edi + 0x1e8], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [ebp - 0x90]
addss xmm0, dword [edi + 0x48]
movss dword [edi + 0x1ec], xmm0
cmp eax, 1
jne 0x10049f4b
movss xmm2, dword [edi + 0x48]
jmp 0x10049f53
movss xmm2, dword [esi + 0x1540]
test dword [edi + 8], 0x400
je 0x10049f8b
mov eax, dword [0x101a224c]
movss xmm1, dword [eax + 0x18b0]
mulss xmm1, dword [edi + 0x26c]
movss xmm0, dword [eax + 0x1538]
addss xmm0, xmm0
addss xmm1, dword [edi + 0x14c]
addss xmm1, xmm0
jmp 0x10049f8e
xorps xmm1, xmm1
movss xmm0, dword [ebp - 0x84]
addss xmm0, xmm1
movss xmm4, dword [0x100e4310]
xorps xmm1, xmm1
addss xmm0, xmm2
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, dword [edi + 0x14]
subss xmm0, dword [edi + 0x70]
subss xmm0, dword [edi + 0x48]
movss dword [edi + 0x1f4], xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x74]
subss xmm0, dword [edi + 0x48]
movss dword [edi + 0x1f8], xmm0
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm4
subss xmm0, dword [edi + 0x48]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [edi + 0x1ec]
addss xmm0, xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1fc], xmm0
movss xmm0, dword [edi + 0x1f0]
addss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm4
movss xmm2, dword [edi + 0x1f4]
addss xmm2, xmm4
subss xmm0, dword [edi + 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 [edi + 0x204], xmm0
movss xmm0, dword [edi + 0x1f8]
addss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
mov eax, dword [edi + 0x50]
mov dword [edi + 0x10c], eax
mov eax, dword [0x101a224c]
movss xmm2, dword [ebp - 0x90]
movss xmm4, dword [ebp - 0x88]
movss xmm3, dword [ebp - 0x84]
movss xmm1, dword [eax + 0x1554]
movss xmm0, dword [eax + 0x1558]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe0]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x8c]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x1004a123
movss xmm0, dword [eax + 0xe4]
comiss xmm0, xmm1
jb 0x1004a123
comiss xmm4, xmm5
jbe 0x1004a123
comiss xmm3, xmm0
jbe 0x1004a123
mov eax, 1
jmp 0x1004a125
xor eax, eax
mov dword [edi + 0x110], eax
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [edi + 0x114], xmm0
mov ecx, dword [0x101a224c]
push 1
mov eax, dword [ecx + 0x198c]
mov byte [eax + 0x7c], 1
push dword [edi + 0x208]
mov esi, dword [ecx + 0x198c]
push dword [edi + 0x204]
push dword [edi + 0x200]
mov ecx, dword [esi + 0x274]
push dword [edi + 0x1fc]
call fcn.1005f600
mov eax, dword [esi + 0x274]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x1cc], eax
mov eax, dword [ebp - 0x7c]
movss dword [esi + 0x1d0], xmm0
movss dword [esi + 0x1d4], xmm1
movss dword [esi + 0x1d8], xmm2
cmp eax, dword [ebp - 0x78]
je 0x1004a1c2
mov byte [edi + 0x7c], 0
mov eax, dword [ebp - 0x10]
inc word [edi + 0x84]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x1a48], 0
mov dword [eax + 0x1a44], 0
mov dword [eax + 0x1a40], 0
mov dword [eax + 0x1a3c], 0
mov dword [eax + 0x1a38], 0
mov dword [eax + 0x1a34], 0
mov dword [eax + 0x1a30], 0
test ecx, 0x1000000
je 0x1004a280
test cl, 0x40
jne 0x1004a260
cmp dword [edi + 0x90], 0
jg 0x1004a260
cmp dword [edi + 0x94], 0
jg 0x1004a260
movss xmm0, dword [edi + 0x1dc]
comiss xmm0, dword [edi + 0x1e4]
jae 0x1004a256
movss xmm0, dword [edi + 0x1e0]
comiss xmm0, dword [edi + 0x1e8]
jb 0x1004a260
mov dword [edi + 0xa4], 1
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x1004a280
cmp byte [ecx + 0x7d], 0
jne 0x1004a276
cmp byte [ecx + 0x81], 0
je 0x1004a280
mov dword [edi + 0xa4], 1
xorps xmm0, xmm0
comiss xmm0, dword [eax + 0x1500]
jb 0x1004a296
mov dword [edi + 0xa4], 1
cmp dword [edi + 0xa4], 0
jg 0x1004a2ac
cmp dword [edi + 0xa8], 0
jg 0x1004a2ac
xor al, al
jmp 0x1004a2ae
mov al, 1
mov byte [edi + 0x81], al
cmp byte [edi + 0x7d], 0
jne 0x1004a2c4
cmp byte [edi + 0x7a], 0
je 0x1004a2c4
test al, al
je 0x1004a2ef
cmp dword [edi + 0x90], 0
jg 0x1004a2ef
cmp dword [edi + 0x94], 0
jg 0x1004a2ef
cmp dword [edi + 0xa8], 0
jg 0x1004a2ef
mov al, 1
mov byte [edi + 0x7f], al
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor al, al
mov byte [edi + 0x7f], al
xor al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret