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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
mov ebx, dword [0x4e8088]
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], ebx
call fcn.004070d2
mov edi, dword [ebp + 8]
test eax, eax
mov esi, eax
mov dword [ebp - 0x48], eax
sete byte [ebp - 0xc]
mov dword [ebp - 8], esi
test eax, eax
jne 0x408f40
mov ecx, dword [ebp - 0x40]
mov edx, edi
call fcn.004071f9
mov esi, eax
mov dword [ebp - 8], esi
mov eax, 0xc0200
mov ecx, edi
and ecx, eax
mov edx, edi
or edx, 6
cmp ecx, eax
mov eax, dword [esi + 0x21c]
cmovne edx, edi
mov dword [ebp - 0x2c], eax
mov edi, dword [ebx + 0x10e8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x10], edx
inc ecx
mov dword [ebp - 0x44], edi
cmp dword [ebx + 0x1124], eax
jne 0x408f7f
cmp byte [ebx + 0x10f5], al
je 0x408f7f
mov al, cl
mov byte [esi + 0x96], al
lea eax, [edi - 1]
mov esi, dword [ebp - 8]
cmp dword [esi + 0x21c], eax
setl ch
mov byte [ebp - 0x3c], ch
test edx, 0x4000000
je 0x408fc4
imul edx, dword [ebx + 0x1a8c], 0x28
mov eax, dword [esi + 0xa4]
add edx, dword [ebx + 0x1a88]
cmp esi, dword [edx + 4]
setne cl
cmp eax, dword [edx]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0x3c], ch
mov byte [esi + 0x94], ch
mov esi, dword [ebp - 8]
cmp byte [esi + 0x94], 0
je 0x408fe5
xor eax, eax
mov ecx, esi
inc eax
push eax
call fcn.00407067
mov esi, dword [ebp - 8]
pop ecx
cmp dword [ebp - 0x2c], edi
je 0x40904c
mov edi, dword [ebp - 0x10]
mov ecx, esi
mov dl, byte [ebp - 0xc]
push edi
call fcn.00407115
mov eax, dword [ebp - 8]
mov edx, edi
mov edi, dword [ebp - 0x44]
pop ecx
xor ecx, ecx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x21c], edi
movsd xmm0, qword [ebx + 0x10e0]
mov eax, dword [ebp - 8]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x220], xmm0
mov eax, dword [ebp - 8]
mov word [eax + 0x9e], cx
mov eax, dword [ebp - 8]
mov cx, word [ebx + 0x113c]
mov word [eax + 0xa0], cx
inc dword [ebx + 0x113c]
mov esi, dword [ebp - 8]
jmp 0x409052
mov edx, dword [esi + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebx + 0x1124]
test eax, eax
jne 0x409060
xor ecx, ecx
jmp 0x40906d
imul ecx, eax, 0x54
mov eax, dword [ebx + 0x112c]
mov ecx, dword [ecx + eax - 0x54]
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x2c], edi
je 0x409084
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x40908a
mov eax, dword [esi + 0x2dc]
lea ecx, [esi + 0xc8]
mov dword [ebp - 0x20], eax
cmp dword [ecx], 0
jne 0x4090a4
lea eax, [esi + 4]
push eax
call fcn.00410b61
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x110]
mov dword [ebx + 0x1148], esi
call fcn.0040133a
push 0x12
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.00453150
mov eax, dword [ebp - 8]
lea esi, [ebx + 0x199c]
mov dword [ebp - 0x114], eax
lea edi, [ebp - 0x110]
add esp, 0xc
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4e8088]
lea esi, [ebx + 0x1124]
mov edi, dword [esi + 4]
mov eax, dword [ecx + 0x1148]
mov ax, word [eax + 0xc8]
mov word [ebp - 0xd4], ax
mov ax, word [ecx + 0x1a38]
mov word [ebp - 0xd2], ax
mov ax, word [ecx + 0x1a44]
mov word [ebp - 0xd0], ax
mov ax, word [ecx + 0x1a50]
mov word [ebp - 0xce], ax
mov ax, word [ecx + 0x1a5c]
mov word [ebp - 0xcc], ax
mov ax, word [ecx + 0x1a74]
mov word [ebp - 0xca], ax
mov ax, word [ecx + 0x1a68]
mov word [ebp - 0xc8], ax
mov ax, word [ecx + 0x1a8c]
mov word [ebp - 0xc6], ax
mov ax, word [ecx + 0x2c70]
mov word [ebp - 0xc4], ax
mov eax, dword [esi]
cmp eax, edi
jne 0x40919f
lea ecx, [eax + 1]
test edi, edi
je 0x40918d
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x409190
push 8
pop eax
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00410eb8
mov eax, dword [esi]
imul eax, eax, 0x54
lea ecx, [ebp - 0x114]
push 0x54
push ecx
add eax, dword [esi + 8]
push eax
call fcn.00451c10
mov eax, dword [ebp - 0x10]
add esp, 0xc
inc dword [esi]
mov ecx, eax
and ecx, 0x10000000
mov dword [ebp - 0x24], ecx
je 0x4091cf
inc dword [ebx + 0x1a98]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x44]
je 0x4091f1
push dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, eax
call fcn.00408dd2
mov eax, dword [ebp - 8]
pop ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x2e0], ecx
mov eax, dword [ebp - 8]
mov esi, dword [0x4e8088]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
lea ecx, [esi + 0x1a5c]
lea eax, [ebp - 0x30]
push eax
call fcn.00410b61
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x10]
mov dword [esi + 0x1980], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x1980]
mov dword [eax + 0x320], ecx
xor eax, eax
mov ecx, edi
mov dword [ebx + 0x1148], eax
and ecx, 0x4000000
mov dword [ebp - 0x28], ecx
je 0x409273
mov eax, dword [ebp - 8]
lea ecx, [ebx + 0x1a8c]
imul esi, dword [ecx], 0x28
add esi, dword [ebx + 0x1a88]
push esi
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x12c]
mov dword [esi + 0xc], eax
call fcn.004107b1
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
mov dword [eax + 0xa4], ecx
xor eax, eax
xor ecx, ecx
mov byte [ebp - 0xb], al
inc ecx
mov byte [ebp - 0xa], al
mov byte [ebp + 0xb], al
test byte [ebx + 0x19d8], cl
je 0x409333
mov esi, dword [ebp - 8]
mov ecx, dword [ebx + 0x19dc]
movsx eax, byte [esi + 0xb4]
and eax, ecx
setne byte [ebp - 0xb]
test ecx, eax
je 0x409322
movss xmm1, dword [ebx + 0x19f4]
movss xmm0, dword [ebx + 0x19f0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x490408]
jbe 0x409322
mov eax, dword [ebx + 0x19e8]
mov ecx, dword [ebx + 0x19ec]
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x19f0]
mov edx, dword [ebx + 0x19f4]
mov dword [eax + 0xc0], ecx
mov dword [eax + 0xc4], edx
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + 0xb4]
mov eax, dword [edx + 0xb4]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edx + 0xb4], ecx
jmp 0x409331
push ecx
lea edx, [ebx + 0x19e8]
mov ecx, esi
call fcn.0040b077
pop ecx
xor eax, eax
mov ecx, dword [ebx + 0x19d8]
xorps xmm1, xmm1
test cl, 2
je 0x40939c
mov ecx, dword [ebp - 8]
lea edx, [ebx + 0x19f8]
mov esi, dword [ebx + 0x19e0]
movsx ecx, byte [ecx + 0xb5]
and ecx, esi
je 0x40936c
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x40936c
xor ecx, ecx
inc ecx
mov byte [ebp - 0xa], cl
jmp 0x409376
mov byte [ebp - 0xa], al
test ecx, ecx
je 0x409386
xor ecx, ecx
inc ecx
movss xmm0, dword [ebx + 0x19fc]
comiss xmm0, xmm1
mov byte [ebp + 0xb], cl
ja 0x409389
mov byte [ebp + 0xb], al
mov ecx, dword [ebp - 8]
push esi
call fcn.0040b1b2
pop ecx
mov ecx, dword [ebx + 0x19d8]
xorps xmm1, xmm1
test cl, cl
jns 0x4093d8
movss xmm0, dword [ebx + 0x1a08]
comiss xmm0, xmm1
jb 0x4093bc
mov eax, dword [ebp - 8]
movss dword [eax + 0x6c], xmm0
mov eax, dword [ebp - 8]
and dword [eax + 0x74], 0
movss xmm0, dword [ebx + 0x1a0c]
comiss xmm0, xmm1
jb 0x4093d8
mov eax, dword [ebp - 8]
movss dword [eax + 0x70], xmm0
mov eax, dword [ebp - 8]
and dword [eax + 0x78], 0
test byte [ebx + 0x19d8], 4
mov esi, dword [ebp - 0x44]
je 0x4093fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x1a00]
mov edx, dword [ebx + 0x1a04]
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
jmp 0x409410
cmp dword [ebp - 0x2c], esi
je 0x409410
mov eax, dword [ebp - 8]
movss dword [eax + 0x38], xmm1
mov eax, dword [ebp - 8]
movss dword [eax + 0x3c], xmm1
mov eax, dword [ebx + 0x19d8]
test al, 8
je 0x409435
push dword [ebx + 0x19e4]
mov dl, byte [ebx + 0x1a10]
mov ecx, dword [ebp - 8]
call fcn.0040b256
mov eax, dword [ebx + 0x19d8]
pop ecx
test al, 0x20
je 0x409441
mov ecx, dword [ebp - 8]
call fcn.0040adcd
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x94], 0
je 0x409458
push 0
call fcn.00407067
pop ecx
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x2c], esi
je 0x40a9e5
mov eax, edi
xor edx, edx
and eax, 0x3000000
inc edx
cmp dword [ebp - 0x88], 0
mov dword [ebp - 0x14], eax
mov al, byte [ecx + 0xb1]
mov byte [ecx + 0x8e], dl
setne cl
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
push edx
mov byte [eax + 0x98], cl
mov eax, dword [ebp - 8]
mov dword [eax + 0x1f4], 0xff7fffff
mov dword [eax + 0x1f8], 0xff7fffff
mov dword [eax + 0x1fc], 0x7f7fffff
mov dword [eax + 0x200], 0x7f7fffff
mov ecx, dword [ebp - 8]
lea ecx, [ecx + 0xc8]
call fcn.00410b16
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x248]
call fcn.004165d6
mov eax, dword [ebp - 8]
or dword [eax + 0x178], 0xffffffff
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0x32c], 0
je 0x4094f6
call fcn.00403dea
mov ecx, dword [ebp - 8]
cmp dword [ebx + 0x1c08], 0
mov esi, dword [ebp - 0x48]
je 0x40956e
test dword [ecx + 8], 0x80000
jne 0x40956e
test esi, esi
je 0x40956e
push dword [ecx]
push dword [ebp - 0x40]
call fcn.00455c10
pop ecx
pop ecx
test eax, eax
je 0x40956b
mov eax, dword [ebp - 8]
push dword [ebp - 0x40]
mov edi, dword [eax + 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
call fcn.004560d0
pop ecx
lea esi, [eax + 1]
cmp edi, esi
jae 0x40954d
mov ecx, dword [ebp - 0x30]
call fcn.0040425f
mov ecx, esi
call fcn.00404248
mov edi, esi
jmp 0x409550
mov eax, dword [ebp - 0x30]
push esi
push dword [ebp - 0x40]
push eax
call fcn.00451c10
mov ecx, dword [ebp - 8]
add esp, 0xc
mov esi, dword [ebp - 0x48]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x50], edi
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x30]
push eax
lea edx, [ecx + 0x28]
call fcn.00407515
pop ecx
mov ecx, dword [ebp - 8]
mov al, byte [ecx + 0xb0]
test al, al
jle 0x409590
dec al
mov byte [ecx + 0xb0], al
mov ecx, dword [ebp - 8]
mov al, byte [ecx + 0xb1]
test al, al
jle 0x4095a5
dec al
mov byte [ecx + 0xb1], al
mov ecx, dword [ebp - 8]
mov al, byte [ecx + 0xb2]
test al, al
jle 0x4095ba
dec al
mov byte [ecx + 0xb2], al
mov dl, byte [ebp - 0xa]
mov dh, byte [ebp + 0xb]
test esi, esi
jne 0x4095d8
test dl, dl
je 0x4095cc
test dh, dh
jne 0x4095d8
mov eax, dword [ebp - 8]
xor ecx, ecx
inc ecx
mov byte [eax + 0xb1], cl
cmp byte [ebp - 0x3c], 0
je 0x409640
mov ecx, dword [ebp - 0x10]
test ecx, 0x6000000
je 0x409640
mov eax, dword [ebp - 8]
mov byte [eax + 0xb1], 1
test cl, 0x40
je 0x409640
test dl, dl
jne 0x40960a
mov eax, dword [ebp - 8]
and dword [eax + 0x20], 0
mov eax, dword [ebp - 8]
and dword [eax + 0x18], 0
test dh, dh
jne 0x40961c
mov eax, dword [ebp - 8]
and dword [eax + 0x24], 0
mov eax, dword [ebp - 8]
and dword [eax + 0x1c], 0
mov eax, dword [ebp - 8]
xorps xmm1, xmm1
movss dword [eax + 0x30], xmm1
mov eax, dword [ebp - 8]
movss dword [eax + 0x34], xmm1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x34]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
jmp 0x409643
xorps xmm1, xmm1
mov eax, dword [0x4e8088]
mov eax, dword [eax + 0x1aa4]
mov edi, dword [eax]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], edi
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 8]
call fcn.00403d2b
mov eax, dword [ebp - 0x10]
mov esi, eax
and esi, 0x1000000
mov dword [ebp - 0x38], esi
je 0x40967f
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0xac8]
mov dword [eax + 0x4c], ecx
jmp 0x4096a7
test eax, 0x6000000
je 0x409697
test eax, 0x8000000
jne 0x409697
movss xmm0, dword [ebx + 0xad0]
jmp 0x40969f
movss xmm0, dword [ebx + 0xaac]
mov eax, dword [ebp - 8]
movss dword [eax + 0x4c], xmm0
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0xaa4]
mov ecx, dword [ebx + 0xaa0]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov edx, dword [ebp - 0x10]
test esi, esi
je 0x4096fe
test edx, 0x4010000
jne 0x4096fe
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x4c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x409701
test edx, 0x400
je 0x4096ee
movss xmm0, dword [ebx + 0xaa4]
jmp 0x4096f1
xorps xmm0, xmm0
movss dword [ecx + 0x40], xmm1
mov eax, dword [ebp - 8]
movss dword [eax + 0x44], xmm0
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x40]
maxss xmm0, dword [ebx + 0xae4]
maxss xmm0, dword [ebx + 0x1a30]
movss dword [ecx + 0x138], xmm0
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x1a34]
mov dword [eax + 0x13c], ecx
mov al, byte [ebp - 0xc]
mov byte [ebp - 9], al
test dl, 0x21
jne 0x4097e0
mov esi, dword [ebp - 8]
mov ecx, esi
movss xmm2, dword [esi + 0x20]
addss xmm2, dword [esi + 0x10]
call fcn.00401e75
addss xmm0, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
movss dword [ebp - 0x5c], xmm2
movss dword [ebp - 0x58], xmm0
cmp dword [ebx + 0x114c], esi
jne 0x4097b3
cmp dword [ebx + 0x1168], 0
jne 0x4097b3
cmp dword [ebx + 0x116c], 0
jne 0x4097b3
xor eax, eax
lea edx, [ebp - 0x5c]
inc eax
lea ecx, [ebp - 0x64]
push eax
call fcn.0040b400
pop ecx
xor ecx, ecx
inc ecx
test al, al
je 0x4097b6
push 2
pop eax
cmp word [ebx + 0xa02], ax
jne 0x4097b6
mov byte [esi + 0x92], cl
mov esi, dword [ebp - 8]
jmp 0x4097b6
xor ecx, ecx
inc ecx
cmp byte [esi + 0x92], 0
je 0x4097ed
cmp byte [esi + 0x91], 0
sete al
mov byte [esi + 0x91], al
mov esi, dword [ebp - 8]
cmp byte [esi + 0x91], 0
jne 0x4097ed
mov byte [ebp - 9], cl
jmp 0x4097ed
mov eax, dword [ebp - 8]
mov byte [eax + 0x91], 0
mov esi, dword [ebp - 8]
mov byte [esi + 0x92], 0
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 8]
lea eax, [edx + 0x30]
push eax
call fcn.0040763e
test byte [ebp - 0x10], 0x40
mov edx, dword [ebp - 8]
pop ecx
je 0x4098bd
cmp byte [edx + 0x91], 0
jne 0x4098bd
xor eax, eax
inc eax
cmp byte [ebp - 0xa], 0
jne 0x409837
movss xmm0, dword [ebp - 0x70]
movss dword [edx + 0x20], xmm0
mov edx, dword [ebp - 8]
mov byte [ebp - 0xc], al
cmp byte [ebp + 0xb], 0
jne 0x40984d
movss xmm0, dword [ebp - 0x6c]
movss dword [edx + 0x24], xmm0
mov edx, dword [ebp - 8]
mov byte [ebp - 9], al
lea eax, [edx + 0x20]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407397
pop ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 8]
cmp byte [edx + 0x91], 0
je 0x40993e
cmp dword [ebp - 0x38], 0
jne 0x40993e
movss xmm0, dword [edx + 0x20]
addss xmm0, dword [edx + 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov ecx, edx
subss xmm0, dword [ebp - 0x80]
movss dword [ebp - 0x5c], xmm0
call fcn.00401e75
addss xmm0, dword [edx + 0x14]
subss xmm0, dword [ebp - 0x7c]
movss dword [ebp - 0x58], xmm0
jmp 0x40994a
mov al, byte [edx + 0xa8]
test al, al
jg 0x4098d4
cmp byte [edx + 0xa9], 0
jle 0x40984d
cmp byte [ebp - 0xa], 0
jne 0x409908
test al, al
jle 0x409908
cmp byte [edx + 0xab], 0
je 0x4098f3
movss xmm0, dword [edx + 0x20]
maxss xmm0, dword [ebp - 0x70]
jmp 0x4098f8
movss xmm0, dword [ebp - 0x70]
xor eax, eax
movss dword [edx + 0x20], xmm0
mov edx, dword [ebp - 8]
inc eax
mov byte [ebp - 0xc], al
jmp 0x40990b
xor eax, eax
inc eax
cmp byte [ebp + 0xb], 0
jne 0x40984d
cmp byte [edx + 0xa9], 0
jle 0x40984d
cmp byte [edx + 0xab], 0
je 0x40983d
movss xmm0, dword [edx + 0x24]
maxss xmm0, dword [ebp - 0x6c]
jmp 0x409842
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x5c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00401e9a
movaps xmm2, xmm0
call fcn.00401e75
cmp byte [ebp - 0x3c], 0
addss xmm2, xmm0
movss dword [ebp - 0x68], xmm2
je 0x4099b6
or dword [esi + 0xac], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x4099b3
test dword [ebp - 0x10], 0x8000000
jne 0x4099b3
cmp byte [ebp - 0xb], 0
jne 0x4099b3
imul edx, dword [ebx + 0x1a8c], 0x28
mov eax, dword [ebx + 0x1a94]
mov ecx, dword [edx + eax - 0x10]
mov edx, dword [edx + eax - 0xc]
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov esi, dword [ebp - 8]
cmp dword [ebp - 0x38], 0
je 0x409a10
mov edi, dword [ebp - 0x20]
lea ecx, [edi + 0x164]
mov ax, word [ecx]
mov word [esi + 0x9e], ax
lea eax, [ebp - 8]
push eax
call fcn.004109a1
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x409a74
cmp byte [ebp - 0xb], cl
jne 0x409a74
cmp dword [ebp - 0x14], 0x3000000
je 0x409a74
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 0xd4]
mov edx, dword [edi + 0xd8]
mov edi, dword [ebp - 0x30]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
movss xmm1, dword [esi + 0xb8]
ucomiss xmm1, dword [0x490740]
lahf
test ah, 0x44
jnp 0x409a7c
cmp byte [esi + 0xb1], 0
jne 0x409a7c
movss xmm0, dword [esi + 0x18]
lea edx, [ebp - 0x5c]
mulss xmm0, dword [esi + 0xc0]
mov ecx, esi
push 0
subss xmm1, xmm0
movss xmm0, dword [esi + 0xbc]
movss dword [ebp - 0x5c], xmm1
movss xmm1, dword [esi + 0xc4]
mulss xmm1, dword [esi + 0x1c]
subss xmm0, xmm1
movss dword [ebp - 0x58], xmm0
call fcn.0040b077
pop ecx
jmp 0x409ac2
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x30]
jmp 0x409a13
cmp dword [ebp - 0x24], 0
jne 0x409aaa
mov al, byte [ebp - 0xb]
test ecx, ecx
je 0x409a92
test al, al
jne 0x409a92
cmp byte [ebp - 0x19], al
jg 0x409aaa
mov edx, dword [ebp - 0x10]
test edx, 0x2000000
je 0x409ac8
test al, al
jne 0x409ac8
cmp dword [ebp - 0x14], 0x3000000
je 0x409ac8
mov edx, esi
lea ecx, [ebp - 0x5c]
call fcn.0040d57c
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
cmp byte [ebp - 0xb], 0
movss xmm6, dword [edi + 0x14]
movss xmm5, dword [edi + 0x18]
addss xmm6, dword [edi + 0x1c]
addss xmm5, dword [edi + 0x20]
movss xmm0, dword [edi + 4]
movss xmm7, dword [edi + 8]
movaps xmm4, xmm0
movss xmm3, dword [ebx + 0xb44]
movaps xmm1, xmm7
movss xmm2, dword [ebx + 0xb48]
maxss xmm3, dword [ebx + 0xb4c]
maxss xmm2, dword [ebx + 0xb40]
addss xmm4, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x80], xmm0
subss xmm5, xmm3
movss dword [ebp - 0x7c], xmm7
addss xmm3, dword [edi + 0x18]
subss xmm6, xmm2
movss dword [ebp - 0x78], xmm4
addss xmm2, dword [edi + 0x14]
movss dword [ebp - 0x74], xmm1
movss dword [ebp - 0x9c], xmm5
movss dword [ebp - 0xa4], xmm3
movss dword [ebp - 0xa0], xmm6
movss dword [ebp - 0xa8], xmm2
jne 0x409bce
cmp dword [ebp - 0x38], 0
jne 0x409bce
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x409bce
subss xmm1, xmm7
comiss xmm1, xmm0
jbe 0x409bce
mov eax, dword [0x4e8088]
movss xmm0, dword [esi + 0x1c]
cmp byte [eax + 0x67], 0
je 0x409b9c
xor eax, eax
inc eax
test byte [esi + 8], al
jne 0x409b9c
mov ecx, esi
call fcn.00401e75
subss xmm2, dword [esi + 0x18]
subss xmm3, xmm0
comiss xmm3, dword [esi + 0x14]
ja 0x409bb3
movaps xmm3, xmm5
minss xmm3, dword [esi + 0x14]
comiss xmm2, dword [esi + 0x10]
ja 0x409bc1
movaps xmm2, xmm6
minss xmm2, dword [esi + 0x10]
movss dword [esi + 0x10], xmm2
movss dword [esi + 0x14], xmm3
mov esi, dword [ebp - 8]
cmp dword [ebp - 0x38], 0
cvttss2si eax, dword [esi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [esi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
je 0x409c00
movss xmm0, dword [ebx + 0xac4]
jmp 0x409c20
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x409c18
movss xmm0, dword [ebx + 0xacc]
jmp 0x409c20
movss xmm0, dword [ebx + 0xaa8]
mov eax, dword [ebp - 8]
movss dword [eax + 0x48], xmm0
xor al, al
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x3c], al
je 0x409c8c
test edx, 0x1000
jne 0x409c8c
cmp dword [ebp - 0x28], 0
je 0x409c48
xor eax, eax
inc eax
mov byte [ebp - 0x24], al
jmp 0x409c58
cmp dword [ebp - 0x14], 0
push 1
movzx eax, al
pop ecx
cmove eax, ecx
mov dword [ebp - 0x24], eax
call fcn.0040cd41
test eax, eax
je 0x409c8c
mov esi, dword [ebp - 8]
mov edx, eax
mov ecx, esi
call fcn.0040b03b
test al, al
jne 0x409c8f
mov byte [ebp - 0x24], al
cmp esi, dword [esi + 0x2e4]
jne 0x409c8f
mov ecx, esi
call fcn.00408e65
mov edx, eax
mov ecx, esi
call fcn.0040ad17
mov esi, dword [ebp - 8]
movss xmm1, dword [ebx + 0xed4]
lea edi, [ebp - 0xb8]
or dword [ebp - 0x84], 0xffffffff
xor eax, eax
stosd dword es:[edi], eax
movaps xmm0, xmm1
mulss xmm0, dword [0x49046c]
mulss xmm1, dword [0x490514]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
addss xmm0, dword [esi + 0x48]
cmp byte [ebx + 0x66], al
setne al
inc eax
cmp byte [esi + 0x91], 0
addss xmm0, dword [0x490510]
mov dword [ebp - 0x58], eax
maxss xmm0, xmm1
cvttss2si ebx, xmm0
jne 0x409d1a
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
push eax
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
lea edx, [ebp - 0x70]
call fcn.004078ef
mov esi, dword [ebp - 8]
add esp, 0x10
test al, al
je 0x409d1a
xor eax, eax
inc eax
mov dl, al
mov dh, al
jmp 0x409d20
mov dh, byte [ebp - 0xc]
mov dl, byte [ebp - 9]
mov al, byte [ebp - 0x84]
movss xmm7, dword [ebp - 0x68]
mov byte [esi + 0x99], al
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
cmp byte [ecx + 0x91], 0
jne 0x409ec6
cmp dword [ebp - 0x48], 0
lea eax, [ebp - 0x4c]
movss xmm2, dword [ecx + 0x1bc]
movss xmm3, dword [ecx + 0x1c0]
subss xmm2, dword [ecx + 0x1b4]
subss xmm3, dword [ecx + 0x1b8]
movss xmm4, dword [ecx + 0x24]
movss xmm5, dword [ecx + 0x20]
subss xmm4, xmm7
addss xmm2, dword [ecx + 0x84]
addss xmm3, dword [ecx + 0x88]
jne 0x409d95
and dword [ebp - 0x4c], 0
and dword [ebp - 0x48], 0
jmp 0x409dbb
movss xmm0, dword [ecx + 0x40]
movss xmm1, dword [ecx + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [ecx + 0x28]
addss xmm1, dword [ecx + 0x2c]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x48], xmm1
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
test dh, dh
jne 0x409dcb
movaps xmm5, xmm2
test dl, dl
jne 0x409dd2
movaps xmm4, xmm3
mov eax, dword [ebp - 0x10]
test eax, 0x4000
jne 0x409def
comiss xmm1, xmm4
jbe 0x409de5
test al, 8
je 0x409def
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov byte [ebp + 0xb], dl
jmp 0x409df7
xor edx, edx
inc edx
mov byte [ebp + 0xb], dl
xor edx, edx
mov al, byte [ebp + 0xb]
mov byte [ecx + 0x8d], al
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
test eax, 0x8000
jne 0x409e43
cmp byte [esi + 0x8d], 0
je 0x409e23
mov ecx, dword [ebp - 0x18]
movss xmm0, dword [ecx + 0xb0c]
jmp 0x409e26
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x409e3e
and eax, 0x808
cmp eax, 0x800
mov eax, dword [ebp - 0x10]
je 0x409e43
mov byte [ebp + 0xb], dl
jmp 0x409e49
xor ecx, ecx
inc ecx
mov byte [ebp + 0xb], cl
mov cl, byte [ebp + 0xb]
mov byte [esi + 0x8c], cl
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
cmp byte [esi + 0x8c], 0
je 0x409e96
cmp byte [esi + 0x8d], 0
jne 0x409e83
comiss xmm1, xmm4
jbe 0x409e78
test al, 8
jne 0x409e78
xor eax, eax
inc eax
jmp 0x409e7a
mov al, dl
mov byte [esi + 0x8d], al
mov esi, dword [ebp - 8]
cmp byte [esi + 0x8c], 0
je 0x409e96
movss xmm1, dword [ecx + 0xb0c]
jmp 0x409e99
xorps xmm1, xmm1
cmp byte [esi + 0x8d], 0
xorps xmm0, xmm0
je 0x409ead
movss xmm0, dword [ecx + 0xb0c]
movss dword [esi + 0x84], xmm0
mov eax, dword [ebp - 8]
movss dword [eax + 0x88], xmm1
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x409eeb
cmp dword [ebp - 0x14], 0x3000000
je 0x409eeb
mov esi, dword [ebp - 0x20]
add esi, 0x1f4
jmp 0x409eee
lea esi, [ebp - 0x80]
movss xmm5, dword [ecx + 0x10]
lea edi, [ebp - 0x54]
movss xmm6, dword [ecx + 0x14]
movaps xmm4, xmm5
addss xmm4, dword [ecx + 0x18]
movsd dword es:[edi], dword [esi]
movaps xmm3, xmm6
addss xmm3, dword [ecx + 0x1c]
movaps xmm2, xmm5
addss xmm2, dword [ecx + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00401e75
mov eax, dword [ecx + 0x10]
addss xmm0, xmm6
mov ecx, dword [ecx + 0x14]
mov edi, edx
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x94], ecx
movss dword [ebp - 0x8c], xmm0
movss dword [ebp - 0x90], xmm2
movss dword [eax + 0x1a4], xmm5
movss dword [eax + 0x1a8], xmm6
movss dword [eax + 0x1ac], xmm4
movss dword [eax + 0x1b0], xmm3
xorps xmm3, xmm3
mov eax, dword [ebp - 8]
movss xmm4, dword [ebp - 0x54]
movss xmm5, dword [ebp - 0x50]
movaps xmm1, xmm4
movss xmm6, dword [0x490568]
movss xmm0, dword [eax + 0x1a8]
maxss xmm0, xmm5
maxss xmm1, dword [eax + 0x1a4]
movss dword [eax + 0x1a8], xmm0
movss dword [eax + 0x1a4], xmm1
movss xmm1, dword [eax + 0x1ac]
movss xmm0, dword [eax + 0x1b0]
minss xmm1, dword [ebp - 0x4c]
minss xmm0, dword [ebp - 0x48]
movss dword [eax + 0x1ac], xmm1
movss dword [eax + 0x1b0], xmm0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x10]
mov dword [ecx + 0x1b4], eax
and edi, 0x20000000
je 0x409fe9
movaps xmm1, xmm6
jmp 0x409fec
xorps xmm1, xmm1
mov eax, dword [ebp - 8]
movaps xmm0, xmm7
addss xmm0, dword [eax + 0x14]
addss xmm0, xmm1
movss dword [eax + 0x1b8], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x84]
movss dword [eax + 0x1bc], xmm0
test edi, edi
je 0x40a029
movaps xmm1, xmm6
jmp 0x40a02c
xorps xmm1, xmm1
mov eax, dword [ebp - 8]
xor ecx, ecx
mov esi, dword [ebp - 0x18]
inc ecx
movss xmm0, dword [eax + 0x1c]
addss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x88]
subss xmm0, xmm1
movss dword [eax + 0x1c0], xmm0
mov eax, edx
and eax, 0x401
cmp eax, ecx
mov ecx, dword [ebp - 8]
jne 0x40a068
movss xmm1, dword [ecx + 0x4c]
jmp 0x40a070
movss xmm1, dword [esi + 0xae0]
movss xmm0, dword [ecx + 0x40]
movss xmm2, dword [0x4904ac]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [ecx + 0x4c]
addss xmm0, dword [ecx + 0x1b4]
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1c4], xmm0
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x1b8]
addss xmm0, xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1c8], xmm0
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x40]
movss xmm1, dword [ecx + 0x1bc]
mulss xmm0, xmm2
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [ecx + 0x4c]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1cc], xmm0
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x1c0]
addss xmm0, xmm2
subss xmm0, dword [ecx + 0x4c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1d0], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x1c8]
comiss xmm5, xmm0
jbe 0x40a151
movaps xmm1, xmm5
jmp 0x40a15a
movss xmm1, dword [ebp - 0x48]
minss xmm1, xmm0
movss xmm2, dword [eax + 0x1c4]
comiss xmm4, xmm2
jbe 0x40a16c
movaps xmm0, xmm4
jmp 0x40a175
movss xmm0, dword [ebp - 0x4c]
minss xmm0, xmm2
movss dword [eax + 0x1c4], xmm0
movss dword [eax + 0x1c8], xmm1
movss xmm0, dword [eax + 0x1d0]
comiss xmm5, xmm0
ja 0x40a19b
movss xmm5, dword [ebp - 0x48]
minss xmm5, xmm0
movss xmm0, dword [eax + 0x1cc]
comiss xmm4, xmm0
ja 0x40a1b1
movss xmm4, dword [ebp - 0x4c]
minss xmm4, xmm0
movss dword [eax + 0x1cc], xmm4
movss dword [eax + 0x1d0], xmm5
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x18]
comiss xmm0, xmm3
jbe 0x40a1e0
test edx, 0x2000040
jne 0x40a1e0
mulss xmm0, dword [0x4904bc]
jmp 0x40a1f0
movss xmm0, dword [esi + 0xed4]
mulss xmm0, dword [0x490594]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x224], xmm0
mov eax, dword [ebp - 8]
movss xmm1, dword [eax + 0x40]
movss xmm0, dword [eax + 0x1bc]
addss xmm1, xmm1
subss xmm0, dword [eax + 0x1b4]
addss xmm1, dword [eax + 0x28]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [eax + 0x64], xmm1
test edi, edi
jne 0x40a238
xorps xmm6, xmm6
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x34]
movss xmm1, dword [eax + 0x44]
movss xmm0, dword [eax + 0x1c0]
addss xmm1, xmm1
subss xmm0, dword [eax + 0x1b8]
addss xmm1, dword [eax + 0x2c]
subss xmm1, xmm0
maxss xmm1, xmm3
subss xmm1, xmm6
movss dword [eax + 0x68], xmm1
mov edx, dword [ebp - 8]
call fcn.0040c6f5
movss xmm0, dword [0x490740]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx + 0x5c], ecx
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 8]
movss dword [eax + 0x6c], xmm0
mov eax, dword [ebp - 8]
movss dword [eax + 0x70], xmm0
mov eax, dword [esi + 0xed0]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [ecx + 0x248]
push dword [eax + 4]
call fcn.00416a61
push 0
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x54]
call fcn.0040614f
xor edx, edx
pop ecx
mov byte [ebp - 9], dl
cmp dword [ebp - 0x38], edx
je 0x40a389
cmp dword [ebp - 0x28], edx
jne 0x40a389
cmp dword [ebp - 0x14], 0x3000000
je 0x40a389
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
cmp dword [edi + 0x164], 2
jl 0x40a355
mov esi, dword [edi + 0x164]
mov eax, dword [edi + 0x16c]
mov eax, dword [eax + esi*4 - 8]
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x40a355
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0x1c]
movss xmm3, dword [ecx + 0x10]
movss xmm1, dword [ecx + 0x14]
movss xmm2, dword [eax + 0x10]
addss xmm3, dword [ecx + 0x18]
comiss xmm0, dword [ecx + 0x14]
addss xmm1, dword [ecx + 0x1c]
addss xmm2, dword [eax + 0x18]
jbe 0x40a355
comiss xmm1, dword [eax + 0x14]
jbe 0x40a355
comiss xmm2, dword [ecx + 0x10]
jbe 0x40a355
comiss xmm3, dword [eax + 0x10]
jbe 0x40a355
xor eax, eax
inc eax
mov byte [ebp + 0xb], al
jmp 0x40a358
mov byte [ebp + 0xb], dl
mov eax, dword [ecx + 0x248]
imul ecx, dword [eax], 0x28
mov eax, dword [eax + 8]
cmp dword [ecx + eax - 0xc], edx
jne 0x40a38e
mov eax, dword [edi + 0x248]
cmp dword [eax + 0x18], edx
jle 0x40a38e
cmp byte [ebp + 0xb], dl
jne 0x40a38e
xor ecx, ecx
inc ecx
mov byte [ebp - 9], cl
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x248], eax
mov ecx, dword [ebp - 8]
jmp 0x40a391
mov ecx, dword [ebp - 0x14]
mov edi, dword [esi + 0x1c00]
test edi, edi
jne 0x40a3a1
mov edi, dword [esi + 0x1aa8]
cmp byte [ebp - 0x24], dl
jne 0x40a3bd
test edi, edi
je 0x40a3b8
mov eax, dword [ecx + 0x2ec]
cmp eax, dword [edi + 0x2ec]
je 0x40a3bd
mov byte [ebp + 8], dl
jmp 0x40a3c3
xor eax, eax
inc eax
mov byte [ebp + 8], al
movd xmm0, ebx
lea eax, [ebp - 0xb8]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [ebp - 0x98]
movss dword [esp], xmm0
push eax
push dword [ebp - 0x58]
push dword [ebp + 8]
call fcn.00408546
add esp, 0x10
cmp byte [ebp - 9], 0
je 0x40a400
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x24c]
mov dword [ecx + 0x248], eax
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov edx, dword [ebp - 8]
mov ebx, ecx
shr ebx, 3
inc eax
not bl
xorps xmm4, xmm4
and bl, al
movss xmm3, dword [edx + 0x38]
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x40a459
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x40a438
movss xmm1, dword [edx + 0x28]
jmp 0x40a43b
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x40]
movss xmm3, dword [edx + 0x18]
addss xmm0, xmm0
subss xmm3, xmm0
subss xmm3, dword [edx + 0x84]
maxss xmm3, xmm1
movss xmm2, dword [edx + 0x3c]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jnp 0x40a46e
movss xmm5, dword [ebp - 0x68]
jmp 0x40a4a3
test bl, bl
je 0x40a479
movss xmm1, dword [edx + 0x2c]
jmp 0x40a47c
xorps xmm1, xmm1
movss xmm0, dword [edx + 0x44]
movss xmm2, dword [edx + 0x1c]
addss xmm0, xmm0
movss xmm5, dword [ebp - 0x68]
subss xmm2, xmm0
subss xmm2, xmm5
subss xmm2, dword [edx + 0x88]
maxss xmm2, xmm1
movss xmm1, dword [edx + 0x4c]
maxss xmm1, dword [edx + 0x40]
movss xmm0, dword [edx + 0x1b4]
subss xmm0, dword [edx + 0x5c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x1d4], xmm0
mov ecx, dword [ebp - 8]
movss xmm1, dword [ecx + 0x4c]
movss xmm0, dword [ecx + 0x1b8]
subss xmm0, dword [ecx + 0x60]
maxss xmm1, dword [ecx + 0x44]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x1d8], xmm0
mov eax, dword [ebp - 8]
addss xmm3, dword [eax + 0x1d4]
movss dword [eax + 0x1dc], xmm3
mov eax, dword [ebp - 8]
addss xmm2, dword [eax + 0x1d8]
movss dword [eax + 0x1e0], xmm2
mov eax, dword [ebp - 8]
lea esi, [eax + 0x1d4]
lea edi, [eax + 0x1e4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [eax + 0x5c]
addss xmm0, dword [eax + 0x40]
movss dword [eax + 0x204], xmm0
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x60]
addss xmm0, dword [eax + 0x44]
addss xmm0, xmm5
movss dword [eax + 0x208], xmm0
mov ecx, dword [ebp - 8]
movss xmm1, dword [ecx + 0x38]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x40a59e
movss xmm0, dword [ecx + 0x40]
movss xmm1, dword [ecx + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ecx + 0x84]
addss xmm1, dword [ecx + 0x204]
movss dword [ecx + 0x20c], xmm1
mov ecx, dword [ebp - 8]
movss xmm1, dword [ecx + 0x3c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x40a5dd
movss xmm0, dword [ecx + 0x44]
movss xmm1, dword [ecx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm5
subss xmm1, dword [ecx + 0x88]
addss xmm1, dword [ecx + 0x208]
movss dword [ecx + 0x210], xmm1
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0x40]
subss xmm0, dword [eax + 0x5c]
movss dword [eax + 0x118], xmm0
mov eax, dword [ebp - 8]
and dword [eax + 0x120], 0
mov eax, dword [ebp - 8]
and dword [eax + 0x11c], 0
mov eax, dword [ebp - 8]
movss xmm3, dword [eax + 0x40]
movss xmm0, dword [eax + 0x10]
movss xmm2, dword [eax + 0x44]
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [eax + 0x5c]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [eax + 0x11c]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [eax + 0x14]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
movss xmm0, dword [eax + 0x60]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm5
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [eax + 0xe4], xmm0
mov eax, dword [ebp - 8]
movss dword [eax + 0xe8], xmm1
mov eax, dword [ebp - 8]
movss xmm0, dword [eax + 0xe4]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [eax + 0xe8]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [eax + 0x124], xmm1
mov eax, dword [ebp - 8]
cvtpd2ps xmm0, xmm2
movss dword [eax + 0x128], xmm0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe4]
mov ecx, dword [edx + 0xe8]
mov dword [edx + 0xd4], eax
mov dword [edx + 0xd8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xd4]
mov ecx, dword [edx + 0xd8]
mov dword [edx + 0xdc], eax
mov dword [edx + 0xe0], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe4]
mov ecx, dword [edx + 0xe8]
mov dword [edx + 0xec], eax
mov dword [edx + 0xf0], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe4]
mov ecx, dword [edx + 0xe8]
mov dword [edx + 0xf4], eax
mov dword [edx + 0xf8], ecx
mov eax, dword [ebp - 8]
movss dword [eax + 0x104], xmm4
mov eax, dword [ebp - 8]
movss dword [eax + 0x108], xmm4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x104]
mov ecx, dword [edx + 0x108]
mov dword [edx + 0xfc], eax
mov dword [edx + 0x100], ecx
mov eax, dword [ebp - 8]
and dword [eax + 0x110], 0
mov eax, dword [ebp - 8]
and dword [eax + 0x10c], 0
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x3c]
mov byte [eax + 0x115], dl
mov eax, dword [ebp - 8]
mov byte [eax + 0x114], dl
mov eax, dword [ebp - 8]
mov dword [eax + 0x12c], edx
mov ecx, dword [ebp - 8]
mov ax, word [ecx + 0x132]
mov word [ecx + 0x130], ax
xor ecx, ecx
mov eax, dword [ebp - 8]
mov word [eax + 0x132], cx
mov eax, dword [ebp - 8]
mov byte [eax + 0x134], dl
mov ecx, dword [ebp - 8]
movss xmm0, dword [ecx + 0x68]
comiss xmm0, xmm4
seta al
mov byte [ecx + 0x135], al
mov eax, dword [ebp - 8]
mov byte [eax + 0x136], dl
mov ecx, dword [ebp - 8]
movss xmm1, dword [ebx + 0xae4]
lea ecx, [ecx + 0x140]
call fcn.004256ae
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x15c], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x160], edx
mov esi, dword [ebp - 8]
cmp dword [esi + 0x168], edx
jge 0x40a82c
push edx
lea ecx, [esi + 0x164]
call fcn.00410f6c
push eax
lea ecx, [esi + 0x164]
call fcn.004109de
xor edx, edx
mov dword [esi + 0x164], edx
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x228]
mov dword [ecx + 0x170], eax
xor ecx, ecx
mov eax, dword [ebp - 8]
inc ecx
mov dword [eax + 0x174], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x17c], ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40a863
mov ecx, dword [eax + 0x17c]
mov eax, dword [ebp - 8]
mov dword [eax + 0x180], ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x224]
mov dword [ecx + 0x184], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x188], 0xbf800000
mov esi, dword [ebp - 8]
cmp dword [esi + 0x190], edx
jge 0x40a8ad
push edx
lea ecx, [esi + 0x18c]
call fcn.00410f6c
push eax
lea ecx, [esi + 0x18c]
call fcn.004109de
xor edx, edx
mov dword [esi + 0x18c], edx
mov esi, dword [ebp - 8]
cmp dword [esi + 0x19c], edx
jge 0x40a8d8
push edx
lea ecx, [esi + 0x198]
call fcn.00410f6c
push eax
lea ecx, [esi + 0x198]
call fcn.004109de
xor edx, edx
mov dword [esi + 0x198], edx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0xa8]
test cl, cl
jle 0x40a8f6
dec cl
mov byte [eax + 0xa8], cl
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0xa9]
test cl, cl
jle 0x40a90b
dec cl
mov byte [eax + 0xa9], cl
mov eax, dword [ebp - 8]
cmp byte [ebp - 0x24], 0
je 0x40a925
mov ecx, eax
call fcn.0040adcd
mov ecx, dword [ebp - 8]
xor dl, dl
call fcn.0040e317
mov eax, dword [ebp - 8]
xor ecx, ecx
inc ecx
test byte [ebp - 0x10], cl
jne 0x40a983
movss xmm0, dword [eax + 0x4c]
lea edx, [ebp - 0x80]
addss xmm0, dword [ebp - 0x98]
push dword [ebp - 0x88]
mov ecx, eax
push dword [ebp - 0x40]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x90]
subss xmm0, dword [eax + 0x4c]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x8c]
movss dword [ebp - 0x74], xmm0
call fcn.00408a04
mov eax, dword [ebp - 8]
pop ecx
pop ecx
xor ecx, ecx
lea edx, [ebp - 0x90]
mov word [eax + 0x216], cx
mov eax, dword [ebp - 8]
push ecx
mov word [eax + 0x214], cx
lea ecx, [ebp - 0x98]
call fcn.0040b400
mov edi, dword [0x4e8088]
lea esi, [ebp - 0x98]
movzx edx, al
mov eax, dword [ebp - 8]
pop ecx
mov ecx, dword [ebx + 0x1984]
mov eax, dword [eax + 0x54]
mov dword [edi + 0x199c], eax
mov dword [edi + 0x19a0], ecx
mov dword [edi + 0x19a4], edx
add edi, 0x19a8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x44]
jmp 0x40a9ea
call fcn.00403d2b
xor eax, eax
inc eax
push eax
mov eax, dword [ebp - 8]
lea edx, [eax + 0x1cc]
lea ecx, [eax + 0x1c4]
call fcn.0040614f
mov eax, dword [ebp - 8]
pop ecx
xor ecx, ecx
mov byte [eax + 0x90], cl
mov eax, dword [ebp - 8]
inc word [eax + 0x9a]
mov dword [ebx + 0x19d8], ecx
cmp dword [ebp - 0x2c], esi
je 0x40ab7b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
test eax, 0x1000000
je 0x40aae0
test al, 0x40
jne 0x40aaa1
cmp byte [edx + 0xa8], cl
jg 0x40aaa1
cmp byte [edx + 0xa9], cl
jg 0x40aaa1
test eax, 0x800000
je 0x40aa73
cmp byte [ebx + 0x1ae8], cl
je 0x40aa73
mov eax, dword [ebx + 0x1aa8]
test eax, eax
je 0x40aa73
mov eax, dword [eax + 0x2f0]
cmp eax, dword [edx + 0x2f0]
je 0x40aaa1
movss xmm0, dword [edx + 0x1a4]
comiss xmm0, dword [edx + 0x1ac]
jae 0x40aa95
movss xmm0, dword [edx + 0x1a8]
comiss xmm0, dword [edx + 0x1b0]
jb 0x40aaa1
xor eax, eax
inc eax
mov byte [edx + 0xb0], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40aae0
cmp byte [eax + 0x91], cl
jne 0x40aab8
cmp byte [eax + 0xb0], cl
jle 0x40aaca
mov byte [edx + 0xb0], 1
mov edx, dword [ebp - 8]
cmp byte [eax + 0x91], cl
jne 0x40aad2
cmp byte [eax + 0xb1], cl
jle 0x40aae0
xor eax, eax
inc eax
mov byte [edx + 0xb1], al
mov edx, dword [ebp - 8]
jmp 0x40aae3
xor eax, eax
inc eax
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0xa98]
jb 0x40aaf8
mov byte [edx + 0xb0], al
mov edx, dword [ebp - 8]
cmp byte [edx + 0xb0], cl
jg 0x40ab16
cmp byte [edx + 0xb1], cl
jg 0x40ab16
mov bl, cl
cmp byte [edx + 0xb2], cl
jg 0x40ab18
mov al, cl
jmp 0x40ab18
mov bl, al
mov byte [edx + 0x95], al
mov edx, dword [ebp - 8]
mov al, byte [edx + 0xb3]
test al, al
jle 0x40ab40
dec al
mov byte [edx + 0xb3], al
mov eax, dword [ebp - 8]
or dword [eax + 8], 0xc0200
mov edx, dword [ebp - 8]
cmp byte [edx + 0x91], cl
jne 0x40ab54
cmp byte [edx + 0x8e], cl
je 0x40ab54
test bl, bl
je 0x40ab75
cmp byte [edx + 0xa8], cl
jg 0x40ab75
cmp byte [edx + 0xa9], cl
jg 0x40ab75
cmp byte [edx + 0xb1], cl
movzx eax, cl
push 1
pop ecx
cmovle eax, ecx
mov cl, al
mov byte [edx + 0x93], cl
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
cmp byte [eax + 0x93], 0
sete al
leave
ret