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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x4a5724]
push edi
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], esi
call fcn.0040d620
mov edi, eax
test edi, edi
mov dword [ebp - 0x98], edi
sete al
mov byte [ebp - 0x25], al
test al, al
je 0x40fbfc
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x9c]
call fcn.0040d730
mov edi, eax
mov dword [ebp - 0x98], edi
mov edx, dword [ebp - 0x54]
mov eax, edx
and eax, 0xc0200
mov ecx, edx
or ecx, 6
cmp eax, 0xc0200
mov eax, dword [edi + 0x264]
cmovne ecx, edx
mov dword [ebp - 0x68], eax
cmp dword [esi + 0x1a4c], 0
lea edx, [esi + 0x1a4c]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x1a10]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x58], edx
jne 0x40fc4a
cmp byte [esi + 0x1a1d], 0
je 0x40fc4a
mov eax, 1
jmp 0x40fc4c
xor eax, eax
mov byte [edi + 0x82], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x68], eax
mov ecx, dword [edi + 0x9c]
setl al
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x78], al
test ecx, 0x4000000
je 0x40fcaa
mov eax, dword [esi + 0x1b94]
lea esi, [eax + eax*8]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x1b90]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x58]
setne al
or cl, al
mov al, byte [ebp - 0x78]
or al, cl
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x78], al
test al, al
jne 0x40fcb8
cmp dword [ebp - 0x54], 0
jg 0x40fcb8
xor eax, eax
jmp 0x40fcbd
mov eax, 1
mov byte [edi + 0x80], al
test al, al
je 0x40fcdc
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x68], eax
je 0x40fd20
mov dword [edi + 0x264], eax
xor eax, eax
mov dword [edi + 8], ecx
movsd xmm0, qword [esi + 0x1a08]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x88], ax
movss dword [edi + 0x268], xmm0
mov ax, word [esi + 0x1a64]
mov word [edi + 0x8a], ax
inc dword [esi + 0x1a64]
jmp 0x40fd26
mov eax, dword [edi + 8]
mov dword [ebp - 0x2c], eax
cmp dword [edx], 0
jne 0x40fd2f
xor eax, eax
jmp 0x40fd38
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x7c]
je 0x40fd54
mov ecx, dword [ebp - 0x2c]
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x5c], ecx
jmp 0x40fd5d
mov eax, dword [edi + 0x330]
mov dword [ebp - 0x5c], eax
cmp dword [edi + 0xbc], 0
lea ecx, [edi + 0xbc]
jne 0x40fdb7
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40fda0
inc edx
mov dword [ebp - 0x58], edx
test eax, eax
je 0x40fd8a
cdq
sub eax, edx
mov edx, dword [ebp - 0x58]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40fd8f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004177c0
lea ecx, [edi + 0xbc]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
lea edx, [esi + 0x1a4c]
inc dword [edi + 0xbc]
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x40fdf4
test ecx, ecx
je 0x40fdd3
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1a4c]
sar eax, 1
add eax, ecx
jmp 0x40fdd8
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004177c0
mov edi, dword [ebp - 0x98]
lea edx, [esi + 0x1a4c]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
lea edx, [edi + 0x1e0]
mov ecx, dword [0x4a5724]
mov dword [esi + 0x1a68], 0
movzx eax, word [edi + 0xbc]
mov word [edx], ax
movzx eax, word [edi + 0x1d4]
mov word [edx + 2], ax
movzx eax, word [ecx + 0x1b94]
mov word [edx + 4], ax
movzx eax, word [ecx + 0x1b64]
mov word [edx + 6], ax
add edx, 8
movzx eax, word [ecx + 0x1b70]
mov word [edx], ax
movzx eax, word [ecx + 0x1b7c]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x2c]
mov ecx, eax
and ecx, 0x4000000
mov dword [ebp - 0x80], ecx
je 0x40fe97
mov eax, dword [esi + 0x1b94]
lea ecx, [esi + 0x1b94]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1b90]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.00417700
mov eax, dword [esi]
mov esi, dword [ebp - 0x34]
mov dword [edi + 0x8c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x54], 0
jle 0x40feae
test eax, 0x1000000
jne 0x40feae
mov dword [edi + 0x344], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x7c]
je 0x40fec5
push dword [ebp - 0x5c]
mov edx, eax
mov ecx, edi
call fcn.0040fb00
add esp, 4
xor dl, dl
mov byte [ebp - 0x27], 0
test byte [esi + 0x1af0], 1
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x26], dl
je 0x40ff67
mov ecx, dword [edi + 0xa0]
mov eax, ecx
mov edx, dword [esi + 0x1af4]
and eax, edx
setne byte [ebp - 0x27]
test eax, eax
je 0x40ff56
movss xmm1, dword [esi + 0x1b0c]
movss xmm0, dword [esi + 0x1b08]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x491304]
jbe 0x40ff56
mov eax, dword [esi + 0x1b00]
and ecx, 0xfffffff1
mov dword [edi + 0xac], eax
mov eax, dword [esi + 0x1b04]
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0x1b08]
mov dword [edi + 0xb4], eax
mov eax, dword [esi + 0x1b0c]
mov dword [edi + 0xb8], eax
mov dword [edi + 0xa0], ecx
jmp 0x40ff67
push edx
lea edx, [esi + 0x1b00]
mov ecx, edi
call fcn.00411e90
add esp, 4
test byte [esi + 0x1af0], 2
je 0x40ffc5
mov eax, dword [edi + 0xa4]
xorps xmm1, xmm1
mov ecx, dword [esi + 0x1af8]
and eax, ecx
je 0x40ff96
movss xmm0, dword [esi + 0x1b10]
comiss xmm0, xmm1
jbe 0x40ff96
mov byte [ebp - 0x28], 1
jmp 0x40ff9b
xor dl, dl
mov byte [ebp - 0x28], dl
test eax, eax
je 0x40ffb0
movss xmm0, dword [esi + 0x1b14]
comiss xmm0, xmm1
mov byte [ebp - 0x26], 1
ja 0x40ffb4
mov byte [ebp - 0x26], 0
push ecx
lea edx, [esi + 0x1b10]
mov ecx, edi
call fcn.00411fa0
add esp, 4
test byte [esi + 0x1af0], 0x80
je 0x410003
movss xmm0, dword [esi + 0x1b20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x40ffea
movss dword [edi + 0x60], xmm0
mov dword [edi + 0x68], 0
movss xmm0, dword [esi + 0x1b24]
comiss xmm0, xmm1
jb 0x410003
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
test byte [esi + 0x1af0], 4
je 0x41001d
mov eax, dword [esi + 0x1b18]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x1b1c]
jmp 0x41003c
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x7c]
je 0x41003f
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], 0
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x30], eax
test byte [esi + 0x1af0], 8
je 0x41006a
mov eax, dword [esi + 0x1afc]
mov cl, byte [esi + 0x1b28]
test eax, eax
je 0x410060
test dword [edi + 0xa8], eax
je 0x41006a
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1af0], 0x20
je 0x41007a
mov ecx, edi
call fcn.00411c70
cmp byte [edi + 0x80], 0
je 0x410098
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x7c]
je 0x4118e0
mov eax, dword [ebp - 0x2c]
lea ecx, [edi + 0xbc]
movaps xmm0, xmmword [0x491d80]
and eax, 0x3000000
mov dword [ebp - 0x64], eax
mov byte [edi + 0x7a], 1
mov byte [edi + 0x83], 0
movups xmmword [edi + 0x23c], xmm0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x58], eax
cmp eax, 1
jge 0x410104
test eax, eax
je 0x4100e9
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x58]
jmp 0x4100ee
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.004177c0
lea ecx, [edi + 0xbc]
mov dword [ecx], 1
mov ecx, dword [edi + 0x290]
call fcn.0041fca0
cmp byte [edi + 0x36c], 0
je 0x410125
mov ecx, edi
call fcn.00409ee0
cmp dword [esi + 0x1cb0], 0
je 0x41018f
test dword [edi + 8], 0x80000
jne 0x41018f
cmp byte [ebp - 0x25], 0
jne 0x41018f
mov ecx, dword [edi]
mov eax, dword [ebp - 0x9c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410165
test dl, dl
je 0x410161
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410165
add eax, 2
add ecx, 2
test dl, dl
jne 0x410145
xor eax, eax
jmp 0x41016a
sbb eax, eax
or eax, 1
test eax, eax
je 0x41018f
mov eax, dword [edi + 0x44]
lea edx, [ebp - 0x60]
push dword [ebp - 0x9c]
mov ecx, dword [edi]
mov dword [ebp - 0x60], eax
call fcn.00407b20
mov dword [edi], eax
add esp, 4
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x44], eax
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.0040db50
lea edx, [edi + 0x24]
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov eax, dword [edi + 0x98]
test eax, eax
jle 0x4101b7
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x4101c8
dec eax
mov dword [edi + 0x9c], eax
cmp byte [ebp - 0x25], 0
mov al, byte [ebp - 0x28]
mov dl, byte [ebp - 0x26]
je 0x4101e6
test al, al
je 0x4101dc
test dl, dl
jne 0x4101e6
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x78], 0
mov ecx, dword [ebp - 0x2c]
je 0x410244
test ecx, 0x6000000
je 0x410244
mov dword [edi + 0x9c], 1
test cl, 0x40
je 0x410244
test al, al
jne 0x410218
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test dl, dl
jne 0x41022a
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], 0
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x28], eax
mov eax, dword [0x4a5724]
movss xmm1, dword [eax + 0x1930]
mov dword [eax + 0x1a68], edi
mov edx, dword [edi + 0x330]
mulss xmm1, dword [edi + 0x288]
test edx, edx
je 0x410271
mulss xmm1, dword [edx + 0x288]
mov edx, ecx
movss dword [eax + 0x1940], xmm1
and edx, 0x1000000
movss dword [eax + 0x192c], xmm1
mov dword [ebp - 0x60], edx
je 0x410299
mov eax, dword [esi + 0x154c]
mov dword [edi + 0x40], eax
jmp 0x4102c0
test ecx, 0x6000000
je 0x4102b3
test ecx, 0x8000000
jne 0x4102b3
movss xmm0, dword [esi + 0x1554]
jmp 0x4102bb
movss xmm0, dword [esi + 0x1530]
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x1524]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x1528]
mov dword [edi + 0x38], eax
test edx, edx
je 0x41031c
test ecx, 0x4010000
jne 0x41031c
movss xmm0, dword [edi + 0x40]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41031c
test ecx, 0x400
je 0x410301
movss xmm0, dword [esi + 0x1528]
jmp 0x410304
movaps xmm0, xmm1
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
movss dword [ebp - 0x40], xmm0
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x38], eax
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1568]
maxss xmm0, dword [esi + 0x1b48]
movss dword [edi + 0x14c], xmm0
mov eax, dword [esi + 0x1b4c]
mov dword [edi + 0x150], eax
test cl, 0x21
jne 0x4103b7
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.004071d0
cmp dword [esi + 0x1a6c], edi
jne 0x410399
cmp dword [esi + 0x1a8c], 0
jne 0x410399
cmp dword [esi + 0x1a90], 0
jne 0x410399
push 1
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0xb4]
call fcn.0040d2a0
add esp, 4
test al, al
je 0x410399
cmp byte [esi + 0x3e5], 0
je 0x410399
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x4103bb
cmp byte [edi + 0x7d], 0
mov ecx, edi
sete al
mov byte [edi + 0x7d], al
call fcn.00416a60
call fcn.00411c70
jmp 0x4103bb
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.0040dc10
mov al, byte [ebp - 0x25]
add esp, 4
test byte [ebp - 0x2c], 0x40
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2e], al
je 0x410417
cmp byte [edi + 0x7d], 0
jne 0x410417
mov dl, byte [ebp - 0x28]
test dl, dl
jne 0x4103fa
movss xmm0, dword [ebp - 0x44]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x2d], 1
cmp byte [ebp - 0x26], 0
jne 0x4104b7
movss xmm0, dword [ebp - 0x40]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x2e], 1
jmp 0x4104b7
mov al, byte [edi + 0x90]
test al, al
jg 0x41042e
cmp byte [edi + 0x91], 0
jle 0x4104b7
mov dl, byte [ebp - 0x28]
test dl, dl
jne 0x41045b
test al, al
jle 0x41045b
cmp byte [edi + 0x93], dl
je 0x41044d
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x44]
jmp 0x410452
movss xmm0, dword [ebp - 0x44]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x2d], 1
cmp byte [ebp - 0x26], 0
jne 0x41048d
cmp byte [edi + 0x91], 0
jle 0x41048d
cmp byte [edi + 0x93], 0
je 0x41047f
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x40]
jmp 0x410484
movss xmm0, dword [ebp - 0x40]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x2e], 1
cmp byte [edi + 0x7d], 0
jne 0x4104b7
test dword [edi + 8], 0x100
mov ecx, dword [0x4a5724]
jne 0x4104b7
xorps xmm5, xmm5
comiss xmm5, dword [ecx + 0x2e6c]
jb 0x4104b7
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e6c], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [ebp - 0x3c]
push dword [edi + 0x1c]
call fcn.0040d940
mov edx, eax
add esp, 8
cmp byte [edi + 0x7d], 0
mov ecx, dword [edx]
mov dword [edi + 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 0x20], ecx
je 0x410510
cmp dword [ebp - 0x60], 0
jne 0x410510
lea eax, [ebp - 0xd4]
mov ecx, edi
push eax
call fcn.004071d0
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x4c], xmm0
jmp 0x41051b
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x4c], eax
mov edx, dword [0x4a5724]
lea ecx, [ebp - 0x50]
mov eax, dword [ecx]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, dword [edi + 8]
mov dword [edi + 0x18], eax
test cl, 1
je 0x41053f
xorps xmm0, xmm0
movaps xmm1, xmm0
jmp 0x410574
movss xmm2, dword [edx + 0x1930]
mov eax, dword [edi + 0x330]
mulss xmm2, dword [edi + 0x288]
test eax, eax
je 0x410561
mulss xmm2, dword [eax + 0x288]
movss xmm1, dword [edx + 0x155c]
xorps xmm0, xmm0
addss xmm1, xmm1
addss xmm1, xmm2
test ecx, 0x400
je 0x4105bc
movss xmm2, dword [edx + 0x1930]
mov eax, dword [edi + 0x330]
mulss xmm2, dword [edi + 0x288]
test eax, eax
je 0x41059e
mulss xmm2, dword [eax + 0x288]
movss xmm0, dword [edx + 0x155c]
movss xmm3, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm3, xmm2
addss xmm3, xmm0
jmp 0x4105bf
movaps xmm3, xmm0
cmp byte [ebp - 0x78], 0
addss xmm3, xmm1
movss dword [ebp - 0x74], xmm3
je 0x41060a
cmp dword [ebp - 0x80], 0
mov dword [edi + 0x94], 0xffffffff
je 0x41060a
test dword [ebp - 0x2c], 0x8000000
jne 0x41060a
cmp byte [ebp - 0x27], 0
jne 0x41060a
mov eax, dword [esi + 0x1b94]
mov ecx, dword [esi + 0x1b9c]
lea edx, [eax + eax*8]
mov eax, dword [ecx + edx*4 - 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + edx*4 - 0xc]
mov dword [edi + 0x10], eax
cmp dword [ebp - 0x60], 0
je 0x410697
mov edx, dword [ebp - 0x5c]
add edx, 0x180
mov dword [ebp - 0x48], edx
mov ax, word [edx]
mov word [edi + 0x88], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x41065e
test ecx, ecx
je 0x410643
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x48]
sar eax, 1
add eax, ecx
jmp 0x410648
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004177c0
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
cmp dword [ebp - 0x80], 0
mov cl, byte [ebp - 0x27]
mov edx, dword [ebp - 0x64]
jne 0x41069d
test cl, cl
jne 0x41069d
cmp edx, 0x3000000
je 0x41069d
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0xc8]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0xcc]
mov dword [edi + 0x10], eax
jmp 0x41069a
mov edx, dword [ebp - 0x64]
mov cl, byte [ebp - 0x27]
movss xmm0, dword [edi + 0xac]
ucomiss xmm0, dword [0x491470]
lahf
test ah, 0x44
jnp 0x410700
cmp dword [edi + 0x9c], 0
jne 0x410700
movss xmm1, dword [edi + 0x1c]
lea edx, [ebp - 0x50]
mulss xmm1, dword [edi + 0xb4]
mov ecx, edi
push 0
movss xmm2, dword [edi + 0x20]
mulss xmm2, dword [edi + 0xb8]
subss xmm0, xmm1
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [edi + 0xb0]
subss xmm0, xmm2
movss dword [ebp - 0x4c], xmm0
call fcn.00411e90
add esp, 4
jmp 0x410745
mov eax, dword [ebp - 0x2c]
test eax, 0x10000000
jne 0x41072d
cmp dword [ebp - 0x80], 0
je 0x41071a
test cl, cl
jne 0x41071a
cmp dword [ebp - 0x54], 0
jg 0x41072d
test eax, 0x2000000
je 0x410745
test cl, cl
jne 0x410745
cmp edx, 0x3000000
je 0x410745
mov edx, edi
lea ecx, [ebp - 0xa4]
call fcn.00413290
mov ecx, dword [eax]
mov dword [edi + 0xc], ecx
mov eax, dword [eax + 4]
mov dword [edi + 0x10], eax
cmp byte [ebp - 0x27], 0
xorps xmm6, xmm6
mov eax, dword [0x4a5724]
movss xmm1, dword [esi + 0x15b8]
maxss xmm1, dword [esi + 0x15c0]
movss xmm2, dword [esi + 0x15bc]
movss xmm3, dword [eax + 0x10]
movss xmm4, dword [eax + 0x14]
movaps xmm0, xmm3
maxss xmm2, dword [esi + 0x15c4]
subss xmm0, xmm1
mov dword [ebp - 0x24], 0
addss xmm1, xmm6
mov dword [ebp - 0x20], 0
movss dword [ebp - 0x84], xmm3
movss dword [ebp - 0x1c], xmm3
movss dword [ebp - 0x58], xmm4
movss dword [ebp - 0x70], xmm0
movaps xmm0, xmm4
subss xmm0, xmm2
movss dword [ebp - 0x50], xmm1
mov eax, dword [ebp - 0x50]
addss xmm2, xmm6
mov dword [ebp - 0xc4], eax
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x6c], xmm0
movss dword [ebp - 0x4c], xmm2
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb8], eax
jne 0x41082d
cmp dword [ebp - 0x60], 0
jne 0x41082d
cmp byte [edi + 0x90], 0
jg 0x41082d
cmp byte [edi + 0x91], 0
jg 0x41082d
movaps xmm0, xmm3
subss xmm0, xmm6
comiss xmm0, xmm6
jbe 0x41082d
movaps xmm0, xmm4
subss xmm0, xmm6
comiss xmm0, xmm6
jbe 0x41082d
lea edx, [ebp - 0xc4]
mov ecx, edi
call fcn.0040ebd0
cmp dword [ebp - 0x60], 0
cvttss2si eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x2c]
movd xmm0, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x50], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x50]
cvtdq2ps xmm0, xmm0
mov dword [edi + 0xc], eax
movss dword [ebp - 0x4c], xmm0
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x10], eax
je 0x41086e
movss xmm2, dword [esi + 0x1548]
jmp 0x41088e
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x410886
movss xmm2, dword [esi + 0x1550]
jmp 0x41088e
movss xmm2, dword [esi + 0x152c]
xor dl, dl
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x54], edx
cmp byte [ebp - 0x78], dl
je 0x4108c3
test ecx, 0x1000
jne 0x4108c3
cmp dword [ebp - 0x80], 0
je 0x4108b1
mov byte [ebp - 0x54], 1
jmp 0x4108c3
cmp dword [ebp - 0x64], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0x54], edx
movss xmm1, dword [esi + 0x192c]
xorps xmm0, xmm0
addss xmm2, dword [0x491374]
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x48], 0xffffffff
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x491328]
setne al
mulss xmm0, dword [0x49137c]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [ebp - 0x6c], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x41093f
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
lea edx, [ebp - 0x44]
call fcn.0040dfc0
add esp, 0x10
xorps xmm6, xmm6
test al, al
je 0x41093f
mov dh, 1
mov dl, dh
jmp 0x410945
mov dh, byte [ebp - 0x2e]
mov dl, byte [ebp - 0x2d]
cmp byte [edi + 0x7d], 0
mov al, byte [ebp - 0x48]
movss xmm7, dword [ebp - 0x74]
mov byte [edi + 0x84], al
jne 0x410acd
cmp byte [ebp - 0x25], 0
lea ecx, [ebp - 0x50]
movss xmm0, dword [edi + 0x204]
movss xmm1, dword [edi + 0x208]
subss xmm0, dword [edi + 0x1fc]
subss xmm1, dword [edi + 0x200]
movss xmm3, dword [edi + 0x20]
movss xmm2, dword [edi + 0x70]
subss xmm3, xmm7
movss xmm5, dword [edi + 0x74]
movss xmm4, dword [edi + 0x1c]
addss xmm2, xmm0
addss xmm5, xmm1
je 0x4109b6
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
jmp 0x4109e0
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [edi + 0x28]
addss xmm0, xmm1
movss dword [ebp - 0x4c], xmm0
mov eax, dword [ecx]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], eax
test dl, dl
jne 0x4109f2
movaps xmm4, xmm2
test dh, dh
jne 0x4109f9
movaps xmm3, xmm5
mov edx, dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x40]
test edx, 0x4000
jne 0x410a17
comiss xmm1, xmm3
jbe 0x410a13
test dl, 8
je 0x410a17
xor ecx, ecx
jmp 0x410a1c
mov ecx, 1
mov byte [edi + 0x79], cl
test edx, 0x8000
jne 0x410a5b
test cl, cl
je 0x410a38
mov eax, dword [ebp - 0x34]
movss xmm0, dword [eax + 0x1588]
jmp 0x410a3b
movaps xmm0, xmm6
subss xmm4, xmm0
movss xmm0, dword [ebp - 0x44]
comiss xmm0, xmm4
jbe 0x410a57
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x410a5b
xor eax, eax
jmp 0x410a60
mov eax, 1
mov byte [edi + 0x78], al
test al, al
je 0x410a9c
test cl, cl
jne 0x410a8f
comiss xmm1, xmm3
jbe 0x410a8a
test dl, 8
jne 0x410a8a
mov eax, 1
mov byte [edi + 0x79], al
mov eax, dword [ebp - 0x34]
movss xmm1, dword [eax + 0x1588]
jmp 0x410aa2
xor eax, eax
mov byte [edi + 0x79], al
mov eax, dword [ebp - 0x34]
movss xmm1, dword [eax + 0x1588]
jmp 0x410aa2
mov eax, dword [ebp - 0x34]
movaps xmm1, xmm6
cmp byte [edi + 0x79], 0
je 0x410ab2
movss xmm0, dword [eax + 0x1588]
jmp 0x410ab5
movaps xmm0, xmm6
movss dword [ebp - 0x44], xmm0
mov eax, dword [ebp - 0x44]
movss dword [ebp - 0x40], xmm1
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x74], eax
jmp 0x410ad0
mov edx, dword [ebp - 0x2c]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x410af1
cmp dword [ebp - 0x64], 0x3000000
je 0x410af1
mov eax, dword [ebp - 0x5c]
add eax, 0x23c
jmp 0x410af4
lea eax, [ebp - 0x24]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movups xmmword [ebp - 0x94], xmm0
movaps xmm0, xmm2
movss dword [ebp - 0xb4], xmm2
addss xmm0, dword [edi + 0x14]
movss dword [ebp - 0xb0], xmm3
movss dword [ebp - 0xac], xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0xa8], xmm0
je 0x410b43
movaps xmm0, xmm6
jmp 0x410b7b
mov ecx, dword [0x4a5724]
mov eax, dword [edi + 0x330]
movss xmm1, dword [ecx + 0x1930]
mulss xmm1, dword [edi + 0x288]
test eax, eax
je 0x410b6b
mulss xmm1, dword [eax + 0x288]
movss xmm0, dword [ecx + 0x155c]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm2, dword [edi + 0x1c]
mov eax, dword [edi + 0xc]
addss xmm3, xmm0
movups xmm0, xmmword [ebp - 0xb4]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x10]
movss xmm4, dword [ebp - 0x94]
movss xmm5, dword [ebp - 0x90]
movups xmmword [edi + 0x1ec], xmm0
mov dword [ebp - 0xc0], eax
movss xmm0, dword [edi + 0x1ec]
maxss xmm0, xmm4
movss dword [ebp - 0x3c], xmm2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xbc], eax
movss dword [ebp - 0x38], xmm3
mov eax, dword [ebp - 0x38]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [edi + 0x1f0]
maxss xmm0, xmm5
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x1ec], eax
mov ecx, dword [ebp - 0x34]
movss dword [ebp - 0x4c], xmm2
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x1f0], eax
movss xmm0, dword [edi + 0x1f4]
minss xmm0, dword [ebp - 0x8c]
movss dword [ebp - 0x40], xmm3
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [edi + 0x1f8]
minss xmm0, dword [ebp - 0x88]
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x1f4], eax
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x1f8], eax
mov eax, edx
movss xmm0, dword [edi + 0x10]
and eax, 0x401
movss xmm2, dword [edi + 0xc]
movaps xmm1, xmm0
movss dword [edi + 0x1fc], xmm2
addss xmm1, xmm7
addss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x48], xmm1
movss dword [edi + 0x200], xmm1
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x14]
subss xmm0, dword [edi + 0x74]
subss xmm1, dword [edi + 0x70]
movss dword [ebp - 0x38], xmm0
movss dword [edi + 0x208], xmm0
movss dword [ebp - 0xa0], xmm1
movss dword [edi + 0x204], xmm1
cmp eax, 1
jne 0x410cba
movss xmm7, dword [edi + 0x40]
jmp 0x410cc2
movss xmm7, dword [ecx + 0x1564]
movss xmm2, dword [0x491340]
movss xmm0, dword [edi + 0x34]
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x88]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x40]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movss xmm0, dword [ebp - 0x48]
addss xmm0, xmm2
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [ebp - 0xa0]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x214], xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x40]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x210]
comiss xmm5, xmm0
jbe 0x410d81
movaps xmm1, xmm5
jmp 0x410d88
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm2, dword [edi + 0x20c]
comiss xmm4, xmm2
movss xmm7, dword [ebp - 0x8c]
jbe 0x410da2
movaps xmm0, xmm4
jmp 0x410da9
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [ebp - 0x3c], xmm0
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x20c], eax
movss dword [ebp - 0x38], xmm1
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x210], eax
movss xmm0, dword [edi + 0x218]
comiss xmm5, xmm0
ja 0x410dd9
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [edi + 0x214]
comiss xmm4, xmm0
ja 0x410ded
movaps xmm4, xmm7
minss xmm4, xmm0
movss dword [ebp - 0x3c], xmm4
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x214], eax
movss dword [ebp - 0x38], xmm5
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x218], eax
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm6
jbe 0x410e25
test edx, 0x2000040
jne 0x410e25
mulss xmm0, dword [0x491348]
jmp 0x410e35
movss xmm0, dword [ecx + 0x192c]
mulss xmm0, dword [0x4913c4]
movss xmm1, dword [edi + 0x34]
lea ecx, [ebp - 0x3c]
cvttss2si eax, xmm0
mov edx, edi
addss xmm1, xmm1
movd xmm0, eax
addss xmm1, dword [edi + 0x24]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x26c], xmm0
movss xmm0, dword [edi + 0x204]
subss xmm0, dword [edi + 0x1fc]
subss xmm1, xmm0
movaps xmm0, xmm6
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x208]
subss xmm0, dword [edi + 0x200]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm6
maxss xmm0, xmm1
movss dword [edi + 0x5c], xmm0
call fcn.00412480
mov ecx, dword [eax]
mov dword [edi + 0x50], ecx
mov eax, dword [eax + 4]
mov dword [edi + 0x54], eax
mov dword [ebp - 0x3c], 0x7f7fffff
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x60], eax
mov dword [ebp - 0x38], 0x7f7fffff
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1928]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [edi + 0x290]
mov edi, dword [eax + 0x4c]
mov dword [ebp - 0xa0], eax
lea ecx, [eax + 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x48], ecx
cmp eax, edi
jne 0x410f28
lea ecx, [eax + 1]
test edi, edi
je 0x410f12
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x410f17
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004177c0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov edi, dword [ebp - 0x38]
mov dword [eax + edx*4], edi
inc dword [ecx]
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x70], edi
call fcn.00420130
mov ecx, dword [0x4a5724]
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
mov eax, dword [ecx + 0x1a68]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
mov byte [eax + 0x7c], 1
mov edi, dword [ecx + 0x1a68]
push 0
mov ecx, dword [edi + 0x290]
call fcn.004201a0
mov eax, dword [edi + 0x290]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
test dword [ebp - 0x2c], 0x8000000
movups xmm0, xmmword [eax + ecx*8 - 0x10]
movups xmmword [ebp - 0xb4], xmm0
movups xmm0, xmmword [ebp - 0xb4]
movups xmmword [edi + 0x23c], xmm0
je 0x410fcb
call fcn.00412ab0
mov edi, dword [ebp - 0x98]
cmp edi, eax
jne 0x410fd1
cmp dword [edi + 0x9c], 0
jg 0x410fd1
mov ah, 1
jmp 0x410fd3
mov edi, dword [ebp - 0x98]
xor ah, ah
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0x1cac]
test ecx, ecx
je 0x410fec
cmp edi, dword [ecx + 0x334]
jne 0x410fec
mov al, 1
jmp 0x410fee
xor al, al
mov byte [ebp - 0x25], al
test ah, ah
jne 0x410ffd
test al, al
je 0x411107
movss xmm1, dword [edx + 0x1d20]
xor ecx, ecx
test ah, ah
setne cl
add ecx, 0x33
call fcn.00408460
mov ecx, eax
mov eax, dword [edi + 0x290]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0xa0], eax
test ecx, 0xff000000
je 0x411051
push 4
push 6
mov ecx, eax
call fcn.00420330
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00420430
mov edx, dword [ebp - 0x34]
cmp byte [ebp - 0x25], 0
je 0x411107
cmp edi, dword [edx + 0x1cac]
jne 0x411107
movss xmm1, dword [edi + 0xc]
movss xmm4, dword [edi + 0x10]
movaps xmm2, xmm1
movss xmm0, dword [edx + 0x192c]
movaps xmm3, xmm4
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm3
jb 0x4110c9
comiss xmm0, xmm4
jb 0x4110c9
comiss xmm2, dword [ebp - 0x84]
jb 0x4110c9
comiss xmm3, dword [ebp - 0x58]
jae 0x411107
movss xmm1, dword [edx + 0x1cb8]
mulss xmm1, dword [0x49132c]
push 0xf
movss xmm0, dword [edx + 0x152c]
push ecx
mov ecx, 0x32
movss dword [esp], xmm0
call fcn.00408460
mov ecx, dword [edi + 0x290]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00422040
cmp dword [ebp - 0x60], 0
mov byte [ebp - 0x25], 0
je 0x41114e
cmp dword [ebp - 0x80], 0
jne 0x41114e
cmp dword [ebp - 0x64], 0x3000000
je 0x41114e
mov edx, dword [edi + 0x290]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x41114e
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x290]
cmp dword [eax + 0x18], 0
jle 0x41114e
mov byte [ebp - 0x25], 1
mov dword [edi + 0x290], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x1ca8]
test ecx, ecx
jne 0x411161
mov ecx, dword [eax + 0x1ba0]
cmp byte [ebp - 0x54], 0
jne 0x41117f
test ecx, ecx
je 0x411179
mov eax, dword [edi + 0x338]
cmp eax, dword [ecx + 0x338]
je 0x41117f
mov byte [ebp - 0x48], 0
jmp 0x411183
mov byte [ebp - 0x48], 1
movd xmm0, esi
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [ebp - 0xc4]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x48]
call fcn.0040efc0
add esp, 0x10
cmp byte [ebp - 0x25], 0
je 0x4111bc
lea eax, [edi + 0x294]
mov dword [edi + 0x290], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x1cac], edi
jne 0x4112d0
movss xmm4, dword [edi + 0xc]
xorps xmm5, xmm5
movss xmm3, dword [edi + 0x10]
movaps xmm2, xmm4
addss xmm2, dword [edi + 0x14]
movss xmm0, dword [edx + 0x192c]
movaps xmm1, xmm3
addss xmm1, dword [edi + 0x18]
movss xmm7, dword [edi + 0x3c]
subss xmm4, xmm0
subss xmm3, xmm0
movaps xmm6, xmm7
maxss xmm6, dword [edx + 0x152c]
addss xmm2, xmm0
addss xmm1, xmm0
comiss xmm5, xmm4
movss dword [ebp - 0x94], xmm4
movss dword [ebp - 0x90], xmm3
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x88], xmm1
jb 0x41128b
comiss xmm5, xmm3
jb 0x41128b
comiss xmm2, dword [ebp - 0x84]
jb 0x41128b
comiss xmm1, dword [ebp - 0x58]
jb 0x41128b
xorps xmm0, xmmword [0x491db0]
movaps xmm6, xmm7
subss xmm0, dword [0x491374]
subss xmm4, xmm0
subss xmm3, xmm0
addss xmm2, xmm0
addss xmm1, xmm0
movss dword [ebp - 0x94], xmm4
movss dword [ebp - 0x90], xmm3
movss dword [ebp - 0x8c], xmm2
movss dword [ebp - 0x88], xmm1
movss xmm1, dword [edx + 0x1cb8]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x32
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm6
call fcn.00408460
mov ecx, dword [edi + 0x290]
add esp, 4
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00421f50
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
xorps xmm3, xmm3
mov esi, dword [ebp - 0x2c]
movss xmm5, dword [edi + 0x2c]
and esi, 0x808
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jnp 0x4112fc
movss dword [ebp - 0x58], xmm5
jmp 0x41132e
cmp esi, 0x800
jne 0x41130b
movss xmm2, dword [edi + 0x24]
jmp 0x41130e
movaps xmm2, xmm3
movss xmm1, dword [edi + 0x34]
movss xmm0, dword [edi + 0x14]
addss xmm1, xmm1
subss xmm0, xmm1
subss xmm0, dword [edi + 0x70]
maxss xmm2, xmm0
movss dword [ebp - 0x58], xmm2
movss xmm4, dword [edi + 0x30]
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x411346
movss dword [ebp - 0x84], xmm4
jmp 0x41137c
test cl, cl
je 0x411351
movss xmm2, dword [edi + 0x28]
jmp 0x411354
movaps xmm2, xmm3
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x74]
subss xmm1, dword [edi + 0x74]
maxss xmm2, xmm1
movss dword [ebp - 0x84], xmm2
movss xmm6, dword [edi + 0x34]
movss xmm0, dword [edi + 0x1fc]
movaps xmm1, xmm6
subss xmm0, dword [edi + 0x50]
maxss xmm1, dword [edi + 0x40]
movss xmm7, dword [edi + 0x38]
movss xmm2, dword [edi + 0x10]
subss xmm2, dword [edi + 0x54]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x200]
subss xmm0, dword [edi + 0x54]
addss xmm2, xmm7
cvttss2si eax, xmm1
movaps xmm1, xmm7
maxss xmm1, dword [edi + 0x40]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [edi + 0x21c], xmm3
addss xmm3, dword [ebp - 0x58]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0xc]
subss xmm1, dword [edi + 0x50]
movss dword [edi + 0x224], xmm3
xorps xmm3, xmm3
ucomiss xmm5, xmm3
movd xmm0, eax
addss xmm1, xmm6
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x220], xmm0
movss dword [edi + 0x24c], xmm1
addss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x228], xmm0
movups xmm0, xmmword [edi + 0x21c]
movups xmmword [edi + 0x22c], xmm0
movss xmm0, dword [ebp - 0x74]
addss xmm2, xmm0
movss dword [edi + 0x250], xmm2
test ah, 0x44
jp 0x411464
movss xmm5, dword [edi + 0x14]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm5, xmm0
movss xmm0, dword [ebp - 0x74]
subss xmm5, dword [edi + 0x70]
ucomiss xmm4, xmm3
addss xmm1, xmm5
lahf
movss dword [edi + 0x254], xmm1
test ah, 0x44
jp 0x411497
movss xmm4, dword [edi + 0x18]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
movss xmm0, dword [ebp - 0x74]
subss xmm4, xmm0
subss xmm4, dword [edi + 0x74]
cmp dword [ebp - 0x60], 0
addss xmm6, xmm3
mov dword [edi + 0x108], 0
addss xmm2, xmm4
mov dword [edi + 0x104], 0
addss xmm7, xmm0
subss xmm6, dword [edi + 0x50]
movss dword [edi + 0x258], xmm2
subss xmm7, dword [edi + 0x54]
movss dword [edi + 0x100], xmm6
addss xmm6, xmm3
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm6
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [edi + 0x10]
mov ecx, dword [ebp - 0x70]
addss xmm0, xmm7
mov dword [edi + 0xd8], ecx
mov dword [ebp - 0x70], 0
movss dword [ebp - 0x6c], xmm0
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0xdc], eax
mov dword [edi + 0xc8], ecx
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], ecx
mov ecx, dword [ebp - 0x70]
mov dword [edi + 0xd4], eax
mov eax, dword [edi + 0xd8]
mov dword [edi + 0xe0], eax
mov eax, dword [edi + 0xdc]
mov dword [edi + 0xe4], eax
mov dword [edi + 0xf0], ecx
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xec], eax
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], 0
je 0x4115ae
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x144]
jmp 0x4115b0
xor eax, eax
push dword [ebp - 0x78]
mov dword [edi + 0x144], eax
mov byte [edi + 0x148], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm3
push ecx
lea ecx, [edi + 0x154]
seta al
mov byte [edi + 0x149], al
mov byte [edi + 0x14a], 0
movss xmm2, dword [edx + 0x1568]
call fcn.0042df60
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov esi, dword [eax + 4]
test esi, esi
jns 0x41163a
je 0x41161c
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x411621
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
lea ecx, [edi + 0x180]
push eax
call fcn.004177c0
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x270]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x41166f
mov eax, dword [eax + 0x194]
jmp 0x411674
mov eax, 1
mov dword [edi + 0x198], eax
lea esi, [edi + 0x1b0]
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x19c], 0xffffffff
mov eax, dword [edi + 0x26c]
mov dword [edi + 0x1a8], eax
mov dword [edi + 0x1ac], 0xbf800000
mov eax, dword [esi + 4]
test eax, eax
jns 0x4116d3
je 0x4116bf
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esi + 4]
jmp 0x4116c4
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.004177c0
mov dword [esi], 0
mov eax, dword [edi + 0x1c0]
test eax, eax
jns 0x411711
je 0x4116f7
cdq
sub eax, edx
lea edx, [edi + 0x1bc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x411702
mov ecx, 8
lea edx, [edi + 0x1bc]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.004177c0
mov dword [edi + 0x1bc], 0
mov eax, dword [edi + 0x1cc]
test eax, eax
jns 0x411753
je 0x411739
cdq
sub eax, edx
lea edx, [edi + 0x1c8]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x411744
mov ecx, 8
lea edx, [edi + 0x1c8]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.004177c0
mov dword [edi + 0x1c8], 0
mov eax, dword [edi + 0x1d8]
test eax, eax
jns 0x411790
je 0x411778
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0x1d8]
jmp 0x41177d
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
lea ecx, [edi + 0x1d4]
push eax
call fcn.00417b10
mov ecx, dword [ebp - 0x5c]
mov dword [edi + 0x1d4], 0
test ecx, ecx
je 0x4117a9
mov eax, dword [ecx + 0x1a4]
jmp 0x4117ab
xor eax, eax
mov dword [edi + 0x1a4], eax
test ecx, ecx
je 0x4117f6
mov edx, dword [esi]
mov ecx, dword [esi + 4]
cmp edx, ecx
jne 0x4117e6
inc edx
mov dword [ebp - 0x6c], edx
test ecx, ecx
je 0x4117d4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x6c]
sar eax, 1
add eax, ecx
jmp 0x4117d9
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.004177c0
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [edi + 0x1a4]
mov dword [ecx + edx*4], eax
inc dword [esi]
mov al, byte [edi + 0x90]
test al, al
jle 0x411808
sub al, 1
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x41181a
dec al
mov byte [edi + 0x91], al
cmp byte [ebp - 0x54], 0
je 0x411830
mov ecx, edi
call fcn.00411c70
xor dl, dl
mov ecx, edi
call fcn.00413eb0
test byte [ebp - 0x2c], 1
jne 0x41184d
push ecx
push dword [ebp - 0x9c]
lea edx, [ebp - 0xc4]
mov ecx, edi
call fcn.0040f650
add esp, 8
movss xmm0, dword [ebp - 0xc4]
xor eax, eax
movss xmm3, dword [ebp - 0xc0]
mov dword [edi + 0x25c], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x10c], eax
mov eax, dword [0x4a5724]
subss xmm0, dword [eax + 0x1578]
movss xmm4, dword [eax + 0xe8]
movss xmm2, dword [eax + 0x1578]
movss xmm1, dword [eax + 0x157c]
addss xmm2, dword [ebp - 0x4c]
comiss xmm4, xmm0
addss xmm1, dword [ebp - 0x40]
subss xmm3, dword [eax + 0x157c]
jb 0x4118c8
movss xmm0, dword [eax + 0xec]
comiss xmm0, xmm3
jb 0x4118c8
comiss xmm2, xmm4
jbe 0x4118c8
comiss xmm1, xmm0
jbe 0x4118c8
mov eax, 1
jmp 0x4118ca
xor eax, eax
movups xmm0, xmmword [ebp - 0xc4]
mov dword [edi + 0x110], eax
movups xmmword [edi + 0x114], xmm0
jmp 0x41191d
mov eax, dword [0x4a5724]
movss xmm1, dword [eax + 0x1930]
mov dword [eax + 0x1a68], edi
mov ecx, dword [edi + 0x330]
mulss xmm1, dword [edi + 0x288]
test ecx, ecx
je 0x41190d
mulss xmm1, dword [ecx + 0x288]
movss dword [eax + 0x1940], xmm1
movss dword [eax + 0x192c], xmm1
mov ecx, dword [0x4a5724]
mov eax, dword [ecx + 0x1a68]
mov byte [eax + 0x7c], 1
push dword [edi + 0x218]
mov esi, dword [ecx + 0x1a68]
push dword [edi + 0x214]
push dword [edi + 0x210]
mov ecx, dword [esi + 0x290]
push dword [edi + 0x20c]
push 1
call fcn.004201a0
mov eax, dword [esi + 0x290]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmm0, xmmword [eax + ecx*8 - 0x10]
mov eax, dword [ebp - 0x68]
movups xmmword [ebp - 0xb4], xmm0
movups xmm0, xmmword [ebp - 0xb4]
movups xmmword [esi + 0x23c], xmm0
cmp eax, dword [ebp - 0x7c]
je 0x41198c
mov byte [edi + 0x7c], 0
mov eax, dword [ebp - 0x34]
inc word [edi + 0x86]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x1af0], 0
test ecx, 0x1000000
je 0x411a27
test cl, 0x40
jne 0x4119ee
cmp byte [edi + 0x90], 0
jg 0x4119ee
cmp byte [edi + 0x91], 0
jg 0x4119ee
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x4119e4
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x4119ee
mov dword [edi + 0x98], 1
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x411a27
cmp byte [ecx + 0x7d], 0
jne 0x411a04
cmp dword [ecx + 0x98], 0
jle 0x411a0e
mov dword [edi + 0x98], 1
cmp byte [ecx + 0x7d], 0
jne 0x411a1d
cmp dword [ecx + 0x9c], 0
jle 0x411a27
mov dword [edi + 0x9c], 1
xorps xmm5, xmm5
comiss xmm5, dword [eax + 0x1520]
jb 0x411a3d
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x411a53
cmp dword [edi + 0x9c], 0
jg 0x411a53
xor ecx, ecx
jmp 0x411a58
mov ecx, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x411a6e
cmp byte [edi + 0x7a], al
je 0x411a6e
test cl, cl
je 0x411a92
cmp byte [edi + 0x90], 0
jg 0x411a92
cmp byte [edi + 0x91], 0
jg 0x411a92
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7f], al
xor ecx, ebp
movzx eax, al
pop edi
xor eax, 1
pop esi
call fcn.0043eeb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret