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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x48b040]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x48d2c8]
push edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], esi
call fcn.0040a6f0
mov edi, eax
mov dword [esp + 0x5c], eax
test edi, edi
mov dword [esp + 0x38], edi
sete byte [esp + 0x30]
test eax, eax
jne 0x40d382
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
call fcn.0040a9e0
mov edi, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x3f88]
cmp ecx, dword [edi + 8]
jne 0x40d38e
int3
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0x30200
cmp eax, 0x30200
jne 0x40d3a7
or ecx, 6
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x3f64], 0
mov edx, dword [esi + 0x3f08]
mov eax, dword [edi + 0x244]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
jne 0x40d3d1
cmp byte [esi + 0x3f15], 0
je 0x40d3d1
mov al, 1
jmp 0x40d3d3
xor al, al
mov byte [edi + 0xb6], al
lea eax, [edx - 1]
cmp dword [esp + 0x44], eax
setl al
mov byte [esp + 0x17], al
test ecx, 0x4000000
je 0x40d42d
mov eax, dword [esi + 0x4a14]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x4a10]
mov eax, dword [edi + 0xc8]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
setne al
or cl, al
mov al, byte [esp + 0x17]
or al, cl
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x17], al
mov byte [edi + 0xb4], al
test al, al
je 0x40d44c
or byte [edi + 0xd8], 8
or byte [edi + 0xd9], 8
or byte [edi + 0xda], 8
cmp dword [esp + 0x44], edx
je 0x40d4be
mov dl, byte [esp + 0x30]
push ecx
mov ecx, edi
call fcn.0040a740
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0xc], edx
test dword [esi + 0x4954], 0x100
je 0x40d47c
mov eax, dword [esi + 0x498c]
jmp 0x40d47e
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x244], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3f00]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xc0], ax
movss dword [edi + 0x248], xmm0
movzx eax, word [esi + 0x3f7c]
inc dword [esi + 0x3f7c]
mov word [edi + 0xc2], ax
jmp 0x40d4c5
mov edx, dword [edi + 0xc]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3f64]
test eax, eax
jne 0x40d4d3
xor ecx, ecx
jmp 0x40d4e0
imul ecx, eax, 0x64
mov eax, dword [esi + 0x3f6c]
mov ecx, dword [ecx + eax - 0x64]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x48]
je 0x40d4fd
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x40d503
mov eax, dword [edi + 0x304]
cmp dword [edi + 0xec], 0
mov dword [esp + 0x3c], eax
lea eax, [edi + 0xec]
jne 0x40d53c
cmp dword [eax + 4], 0
jne 0x40d52b
push 8
mov ecx, eax
call fcn.0041a620
lea eax, [edi + 0xec]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xec]
lea ecx, [esp + 0xec]
mov dword [esi + 0x3f8c], edi
call fcn.00401460
mov eax, dword [esi + 0x4950]
xorps xmm0, xmm0
mov dword [esp + 0x134], eax
mov eax, dword [esi + 0x3f8c]
movups xmmword [esp + 0x138], xmm0
mov ecx, dword [esi + 0x3f64]
movups xmm0, xmmword [esi + 0x4908]
movzx eax, word [eax + 0xec]
mov word [esp + 0x138], ax
movzx eax, word [esi + 0x49c0]
mov word [esp + 0x13a], ax
movzx eax, word [esi + 0x49cc]
mov word [esp + 0x13c], ax
movzx eax, word [esi + 0x49d8]
mov word [esp + 0x13e], ax
movzx eax, word [esi + 0x49e4]
movups xmmword [esp + 0xec], xmm0
mov word [esp + 0x140], ax
movups xmm0, xmmword [esi + 0x4918]
movzx eax, word [esi + 0x49fc]
mov word [esp + 0x142], ax
movzx eax, word [esi + 0x49f0]
movups xmmword [esp + 0xfc], xmm0
mov word [esp + 0x144], ax
movups xmm0, xmmword [esi + 0x4928]
movzx eax, word [esi + 0x4a14]
mov word [esp + 0x146], ax
movzx eax, word [esi + 0x5d1c]
movups xmmword [esp + 0x10c], xmm0
mov word [esp + 0x148], 0
movups xmm0, xmmword [esi + 0x4938]
mov word [esp + 0x148], ax
lea eax, [esi + 0x3f64]
mov dword [esp + 0xe8], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x18], eax
movups xmmword [esp + 0x11c], xmm0
movq xmm0, qword [esi + 0x4948]
movq qword [esp + 0x12c], xmm0
cmp ecx, edi
jne 0x40d692
inc ecx
test edi, edi
je 0x40d678
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x40d67d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [esi + 0x3f64]
call fcn.0041ae40
mov eax, dword [esp + 0x18]
imul edi, dword [eax], 0x64
lea esi, [esp + 0xe8]
mov ecx, 0x19
add edi, dword [eax + 8]
rep movsd dword es:[edi], dword [esi]
inc dword [eax]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
test ecx, 0x10000000
je 0x40d6be
inc dword [esi + 0x5c8c]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
cmp eax, dword [esp + 0x48]
je 0x40d784
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x304], edx
mov dword [edi + 0x318], edi
mov dword [edi + 0x314], edi
mov dword [edi + 0x310], edi
mov dword [edi + 0x30c], edi
test edx, edx
je 0x40d740
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40d710
mov eax, dword [edx + 0x30c]
mov dword [edi + 0x30c], eax
test ecx, 0x4000000
je 0x40d724
mov eax, dword [edx + 0x310]
mov dword [edi + 0x310], eax
test ecx, 0x8000000
jne 0x40d740
test ecx, 0x5000000
je 0x40d740
mov eax, dword [edx + 0x314]
mov dword [edi + 0x314], eax
test dword [edi + 0xc], 0x800000
je 0x40d767
mov edx, edi
nop dword [eax + eax]
mov eax, dword [edx + 0x304]
mov edx, eax
mov dword [edi + 0x318], eax
test dword [edx + 0xc], 0x800000
jne 0x40d750
mov edx, dword [esp + 0x1c]
mov eax, ecx
and eax, 0x1000000
mov dword [edi + 0x308], edx
neg eax
sbb eax, eax
and eax, edx
mov dword [edi + 0x31c], eax
test ecx, 0x800000
je 0x40d794
mov eax, dword [esi + 0x48d8]
jmp 0x40d797
mov eax, dword [edi + 8]
mov ecx, dword [0x48d2c8]
mov dword [esp + 0x28], eax
lea edx, [ecx + 0x49e4]
mov dword [esp + 0x150], ecx
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x3f8c]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
cmp dword [edx], ecx
jne 0x40d7f6
test ecx, ecx
je 0x40d7d9
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x40d7de
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041ad80
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x28]
mov dword [ecx + eax*8], esi
mov esi, dword [esp + 0x18]
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [esp + 0x150]
inc dword [edx]
test dword [esp + 0x10], 0x4000000
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x48d8], eax
mov eax, dword [esi + 0x48d8]
mov dword [edi + 0x35c], eax
je 0x40d8ea
mov eax, dword [esi + 0x4a14]
mov edx, dword [esi + 0x4a10]
mov dword [esp + 0x20], edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*8 + 4], edi
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x150]
mov dword [edx + ecx*8 + 0xc], eax
lea edx, [esi + 0x4a14]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x18], eax
cmp ecx, eax
jne 0x40d8a5
inc ecx
test eax, eax
je 0x40d88d
cdq
sub eax, edx
lea edx, [esi + 0x4a14]
sar eax, 1
add eax, dword [esp + 0x18]
jmp 0x40d892
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041acb0
lea edx, [esi + 0x4a14]
mov eax, dword [edx]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
movups xmm0, xmmword [esi + edi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esi + edi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + edi*8 + 0x20]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, edi
mov edi, dword [esp + 0x38]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x2c]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0xc8], eax
xor dl, dl
mov byte [esp + 0xd], 0
test byte [esi + 0x4954], 1
mov byte [esp + 0xf], dl
mov byte [esp + 0xe], dl
je 0x40d9a4
mov dl, byte [edi + 0xd8]
mov ecx, dword [esi + 0x4958]
movsx eax, dl
test ecx, eax
setne byte [esp + 0xd]
test ecx, eax
je 0x40d993
movss xmm1, dword [esi + 0x4970]
movss xmm0, dword [esi + 0x496c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x48342c]
jbe 0x40d993
mov eax, dword [esi + 0x4964]
mov ecx, dword [esi + 0x4968]
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xdc], eax
mov eax, dword [esi + 0x496c]
mov ecx, dword [esi + 0x4970]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [edi + 0xd8]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xd8], ecx
jmp 0x40d9a4
push ecx
lea edx, [esi + 0x4964]
mov ecx, edi
call fcn.004100c0
add esp, 4
test byte [esi + 0x4954], 2
xorps xmm1, xmm1
je 0x40da46
mov cl, byte [edi + 0xd9]
movsx eax, cl
and eax, dword [esi + 0x495c]
je 0x40d9d9
movss xmm0, dword [esi + 0x4974]
comiss xmm0, xmm1
jbe 0x40d9d9
mov byte [esp + 0xf], 1
jmp 0x40d9e2
mov byte [esp + 0xf], 0
test eax, eax
je 0x40d9f6
movss xmm0, dword [esi + 0x4978]
comiss xmm0, xmm1
jbe 0x40d9fc
mov byte [esp + 0xe], 1
jmp 0x40da01
xor dl, dl
mov byte [esp + 0xf], dl
mov byte [esp + 0xe], 0
test byte [edi + 0x10], 4
je 0x40da15
test cl, 4
jne 0x40da15
mov eax, dword [edi + 0x28]
mov dword [esi + 0x4974], eax
test byte [edi + 0x10], 8
je 0x40da2d
test byte [edi + 0xd9], 4
jne 0x40da2d
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x4978], eax
push dword [esi + 0x495c]
lea edx, [esi + 0x4974]
mov ecx, edi
call fcn.00410220
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x4954], 0x80
je 0x40da8d
movss xmm0, dword [esi + 0x4984]
comiss xmm0, xmm1
jb 0x40da6e
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
movss xmm0, dword [esi + 0x4988]
comiss xmm0, xmm1
jb 0x40da8d
movss dword [edi + 0x90], xmm0
mov dword [edi + 0x98], 0
test byte [esi + 0x4954], 4
je 0x40daaa
mov eax, dword [esi + 0x497c]
mov ecx, dword [esi + 0x4980]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x40dac2
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
je 0x40dac2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x4954], 8
je 0x40db0f
mov ecx, dword [esi + 0x4960]
mov dl, byte [esi + 0x4990]
test ecx, ecx
je 0x40dae6
movsx eax, byte [edi + 0xda]
test ecx, eax
je 0x40db0f
movzx ecx, byte [edi + 0xda]
mov eax, dword [edi + 0xd8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xb1], dl
mov dword [edi + 0xd8], ecx
test byte [esi + 0x4954], 0x20
je 0x40db21
xor edx, edx
mov ecx, edi
call fcn.0040fcb0
cmp byte [edi + 0xb4], 0
je 0x40db3f
and byte [edi + 0xd8], 0xf7
and byte [edi + 0xd9], 0xf7
and byte [edi + 0xda], 0xf7
mov eax, dword [esp + 0x44]
mov dword [esi + 0x3f8c], 0
cmp eax, dword [esp + 0x48]
je 0x40f79f
mov eax, dword [esp + 0x10]
and eax, 0x3000000
mov byte [edi + 0xae], 1
cmp dword [esp + 0x50], 0
mov dword [esp + 0x28], eax
mov al, byte [edi + 0xd5]
mov byte [esp + 0x43], al
setne al
mov byte [edi + 0xb8], al
mov dword [edi + 0x21c], 0xff7fffff
mov dword [edi + 0x220], 0xff7fffff
mov dword [edi + 0x224], 0x7f7fffff
mov dword [edi + 0x228], 0x7f7fffff
mov eax, dword [edi + 0xf0]
cmp eax, 1
jge 0x40dbe9
test eax, eax
je 0x40dbcc
cdq
sub eax, edx
lea edx, [edi + 0xec]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x40dbd7
mov ecx, 8
lea edx, [edi + 0xec]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.0041a620
mov dword [edi + 0xec], 1
mov ecx, dword [edi + 0x270]
call fcn.00423e40
cmp byte [edi + 0x368], 0
mov dword [edi + 0x19c], 0xffffffff
je 0x40dc54
mov ecx, dword [edi + 0x270]
push dword [edi + 0x360]
add ecx, 0xc
mov byte [edi + 0x368], 0
call fcn.0041ab30
mov ecx, dword [edi + 0x270]
push dword [edi + 0x364]
add ecx, 0x18
call fcn.0041a850
mov dword [edi + 0x364], 0
mov dword [edi + 0x360], 0
cmp dword [esi + 0x4c08], 0
je 0x40dd95
test dword [edi + 0xc], 0x20000
jne 0x40dd95
cmp dword [esp + 0x5c], 0
je 0x40dd95
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40dca6
test dl, dl
je 0x40dca2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40dca6
add eax, 2
add ecx, 2
test dl, dl
jne 0x40dc86
xor eax, eax
jmp 0x40dcab
sbb eax, eax
or eax, 1
test eax, eax
je 0x40dd95
mov ecx, dword [esp + 0x4c]
mov edx, dword [edi + 0x70]
mov dword [esp + 0x1c], edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40dcc5
sub ecx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
cmp edx, eax
jae 0x40dd7a
mov edx, dword [esp + 0x20]
test edx, edx
je 0x40dd5c
mov ecx, dword [0x48d2c8]
test ecx, ecx
je 0x40dd5c
mov eax, dword [ecx + 0x3f08]
mov dword [esp + 0x1c], eax
movsx eax, word [ecx + 0x5ee4]
mov esi, dword [esp + 0x1c]
add eax, 0xbdd
cmp dword [ecx + eax*8], esi
mov esi, dword [esp + 0x2c]
lea eax, [ecx + eax*8]
je 0x40dd52
movsx eax, word [ecx + 0x5ee4]
inc eax
mov dword [esp + 0x18], 6
cdq
idiv dword [esp + 0x18]
movzx eax, dx
mov edx, dword [esp + 0x1c]
mov word [ecx + 0x5ee4], ax
cwde
add eax, 0xbdd
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
inc word [eax + 6]
inc dword [ecx + 0x5ee0]
push edx
call fcn.004562b2
mov ecx, dword [esp + 0x28]
add esp, 4
call fcn.00407200
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
push eax
push dword [esp + 0x50]
push dword [esp + 0x28]
call fcn.0044efb0
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x70], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.0040aea0
mov al, byte [edi + 0xd4]
add esp, 4
test al, al
jle 0x40ddb8
dec al
mov byte [edi + 0xd4], al
mov al, byte [edi + 0xd5]
test al, al
jle 0x40ddca
dec al
mov byte [edi + 0xd5], al
mov al, byte [edi + 0xd6]
test al, al
jle 0x40dddc
dec al
mov byte [edi + 0xd6], al
cmp dword [esp + 0x5c], 0
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xe]
jne 0x40ddfa
test al, al
je 0x40ddf3
test cl, cl
jne 0x40ddfa
mov byte [edi + 0xd5], 1
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x10]
je 0x40de59
test edx, 0x6000000
je 0x40de59
mov byte [edi + 0xd5], 1
test dl, 0x40
je 0x40de59
test al, al
jne 0x40de2b
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x40de3d
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov ecx, dword [0x48d2c8]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x4a34]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [esp + 0x58], eax
mov dword [ecx + 0x3f8c], edi
mov eax, dword [edi + 0x19c]
cmp eax, 0xffffffff
je 0x40de8e
shl eax, 9
add eax, dword [ecx + 0x4d00]
jmp 0x40de90
xor eax, eax
mov dword [ecx + 0x4ce0], eax
mov dword [esp + 0x24], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x40debe
mulss xmm0, dword [eax + 0x268]
cmp dword [esp + 0x24], 0
movss dword [ecx + 0x3d08], xmm0
movss dword [ecx + 0x3cf4], xmm0
jne 0x40dee2
cmp dword [edi + 0x198], 0
jne 0x40dee2
mov al, 1
jmp 0x40dee4
xor al, al
mov byte [edi + 0x158], al
test edx, 0x1000000
je 0x40defc
movss xmm0, dword [esi + 0x38d8]
jmp 0x40df1e
test edx, 0x6000000
je 0x40df16
test edx, 0x8000000
jne 0x40df16
movss xmm0, dword [esi + 0x38e0]
jmp 0x40df1e
movss xmm0, dword [esi + 0x38bc]
mov eax, edi
xorps xmm1, xmm1
movss dword [eax + 0x54], xmm0
mov eax, dword [esi + 0x38b0]
mov ecx, dword [esi + 0x38b4]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x40df78
test byte [edi + 0x10], 2
jne 0x40df78
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40df78
test edx, 0x400
je 0x40df69
movss xmm0, dword [esi + 0x38b4]
jmp 0x40df6c
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x38f4]
maxss xmm0, dword [esi + 0x49b0]
movss dword [edi + 0x15c], xmm0
mov eax, dword [esi + 0x49b4]
mov dword [edi + 0x160], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x20], al
test dl, 0x21
jne 0x40e0f9
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x40dfbf
xorps xmm0, xmm0
jmp 0x40dff1
movss xmm2, dword [ecx + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm2, dword [edi + 0x268]
test eax, eax
je 0x40dfe1
mulss xmm2, dword [eax + 0x268]
movss xmm0, dword [ecx + 0x38e8]
addss xmm0, xmm0
addss xmm0, xmm2
movss xmm3, dword [edi + 0x18]
movaps xmm2, xmm3
movss xmm4, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x28]
addss xmm0, dword [edi + 0x1c]
mov edx, dword [esp + 0x1c]
cmp dword [esi + 0x3f90], edi
jne 0x40e0ad
cmp dword [esi + 0x3fc8], 0
jne 0x40e0ad
cmp dword [esi + 0x3fcc], 0
jne 0x40e0ad
mov eax, dword [edx + 0x3f8c]
movss xmm6, dword [edx + 0x390c]
movss xmm7, dword [edx + 0xe00]
maxss xmm3, dword [eax + 0x21c]
maxss xmm4, dword [eax + 0x220]
minss xmm2, dword [eax + 0x224]
minss xmm0, dword [eax + 0x228]
subss xmm3, xmm6
comiss xmm7, xmm3
jb 0x40e0ad
movss xmm3, dword [edx + 0x3910]
movss xmm5, dword [edx + 0xe04]
subss xmm4, xmm3
comiss xmm5, xmm4
jb 0x40e0ad
addss xmm2, xmm6
comiss xmm2, xmm7
jbe 0x40e0ad
addss xmm0, xmm3
comiss xmm0, xmm5
jbe 0x40e0ad
cmp word [esi + 0x382a], 2
jne 0x40e0ad
mov byte [edi + 0xb2], 1
cmp byte [edi + 0xb2], 0
je 0x40e100
mov cl, byte [edi + 0xb1]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xb1], al
mov ecx, 1
mov eax, dword [esp + 0x20]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0x20], eax
jne 0x40e100
comiss xmm1, dword [edx + 0x5dc0]
jb 0x40e100
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5dc0], eax
jmp 0x40e100
mov byte [edi + 0xb1], 0
movss xmm0, dword [edi + 0xa4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [edi + 0xa8]
mov byte [edi + 0xb2], 0
movss dword [esp + 0x34], xmm0
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], 0
test dl, 1
je 0x40e140
xorps xmm2, xmm2
jmp 0x40e175
movss xmm0, dword [edi + 0x268]
mov edx, dword [edi + 0x304]
mulss xmm0, dword [ecx + 0x3cf8]
test edx, edx
je 0x40e162
mulss xmm0, dword [edx + 0x268]
movss xmm2, dword [ecx + 0x38e8]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x40e1b7
movss xmm1, dword [edi + 0x268]
mov eax, dword [edi + 0x304]
mulss xmm1, dword [ecx + 0x3cf8]
test eax, eax
je 0x40e19f
mulss xmm1, dword [eax + 0x268]
movss xmm0, dword [ecx + 0x38e8]
addss xmm1, dword [edi + 0x160]
addss xmm0, xmm0
addss xmm1, xmm0
addss xmm1, xmm2
mov dword [edi + 0x64], 0
lea eax, [edi + 0x38]
mov dword [edi + 0xa4], 0
push eax
mov edx, edi
mov dword [edi + 0xa8], 0
lea ecx, [esp + 0x158]
movss dword [edi + 0x5c], xmm1
call fcn.0040afd0
add esp, 4
test byte [esp + 0x10], 0x40
je 0x40e23d
cmp byte [edi + 0xb1], 0
jne 0x40e23d
cmp byte [esp + 0xf], 0
jne 0x40e21a
movss xmm0, dword [esp + 0x154]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x30], 1
cmp byte [esp + 0xe], 0
jne 0x40e2f4
movss xmm0, dword [esp + 0x158]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x20], 1
jmp 0x40e2f4
mov al, byte [edi + 0xcc]
test al, al
jg 0x40e254
cmp byte [edi + 0xcd], 0
jle 0x40e2f4
cmp byte [esp + 0xf], 0
jne 0x40e28b
test al, al
jle 0x40e28b
cmp byte [edi + 0xce], 0
je 0x40e278
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x154]
jmp 0x40e281
movss xmm0, dword [esp + 0x154]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x30], 1
cmp byte [esp + 0xe], 0
jne 0x40e2c7
cmp byte [edi + 0xcd], 0
jle 0x40e2c7
cmp byte [edi + 0xce], 0
je 0x40e2b4
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0x158]
jmp 0x40e2bd
movss xmm0, dword [esp + 0x158]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x20], 1
cmp byte [edi + 0xb1], 0
jne 0x40e2f4
test dword [edi + 0xc], 0x100
mov ecx, dword [0x48d2c8]
jne 0x40e2f4
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5dc0]
jb 0x40e2f4
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5dc0], eax
lea eax, [edi + 0x28]
mov edx, edi
push eax
lea ecx, [esp + 0xc4]
call fcn.0040ad50
add esp, 4
cmp byte [edi + 0xb1], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x28], xmm2
movss dword [edi + 0x2c], xmm0
je 0x40e3a1
test dword [esp + 0x10], 0x1000000
jne 0x40e3a1
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x40e340
xorps xmm1, xmm1
jmp 0x40e372
movss xmm0, dword [ecx + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x40e362
mulss xmm0, dword [eax + 0x268]
movss xmm1, dword [ecx + 0x38e8]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0x18]
addss xmm1, dword [edi + 0x1c]
lea ecx, [esp + 0x88]
subss xmm2, dword [edi + 0x18]
subss xmm1, dword [edi + 0x1c]
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x8c], xmm1
jmp 0x40e3bc
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], eax
cmp byte [esp + 0x17], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x20], eax
je 0x40e41a
mov eax, ecx
mov dword [edi + 0xd0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40e41a
cmp byte [esp + 0xd], 0
jne 0x40e41a
mov eax, dword [esi + 0x4a14]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4a1c]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
mov ecx, dword [esp + 0x10]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
test ecx, 0x1000000
je 0x40e4bf
mov edx, dword [esp + 0x3c]
mov ax, word [edx + 0x188]
lea ecx, [edx + 0x188]
mov word [edi + 0xc0], ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], ecx
cmp dword [ecx], eax
jne 0x40e47a
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x40e462
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e467
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041a620
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x190]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x188]
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0xd]
test ecx, 0x4000000
jne 0x40e4c3
test al, al
jne 0x40e4c3
cmp dword [esp + 0x28], 0x3000000
je 0x40e4c3
mov ecx, dword [edx + 0xfc]
mov eax, dword [edx + 0xf8]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov al, byte [esp + 0xd]
movss xmm1, dword [edi + 0xdc]
ucomiss xmm1, dword [0x483544]
lahf
test ah, 0x44
jnp 0x40e532
cmp byte [edi + 0xd5], 0
jne 0x40e532
movss xmm0, dword [edi + 0xe4]
lea edx, [esp + 0x98]
mulss xmm0, dword [edi + 0x20]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe0]
movss dword [esp + 0x9c], xmm1
movss xmm1, dword [edi + 0x24]
mulss xmm1, dword [edi + 0xe8]
subss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
call fcn.004100c0
add esp, 4
jmp 0x40e595
test ecx, 0x10000000
je 0x40e543
lea ecx, [esp + 0xe0]
jmp 0x40e57b
test ecx, 0x4000000
je 0x40e55e
test al, al
jne 0x40e55e
cmp byte [esp + 0x43], al
jle 0x40e55e
lea ecx, [esp + 0xc8]
jmp 0x40e57b
test ecx, 0x2000000
je 0x40e599
test al, al
jne 0x40e599
cmp dword [esp + 0x28], 0x3000000
je 0x40e599
lea ecx, [esp + 0xd0]
mov edx, edi
call fcn.00414010
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0xd], 0
mov eax, dword [esp + 0x58]
movss xmm3, dword [esi + 0x3970]
movss xmm2, dword [esi + 0x396c]
maxss xmm3, dword [esi + 0x3978]
movss xmm7, dword [eax + 0x18]
movss xmm6, dword [eax + 0x1c]
addss xmm7, dword [eax + 0x20]
addss xmm6, dword [eax + 0x24]
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
movaps xmm5, xmm0
maxss xmm2, dword [esi + 0x3974]
addss xmm5, dword [eax + 0x10]
movaps xmm4, xmm1
movss dword [esp + 0x170], xmm0
addss xmm4, dword [eax + 0x14]
subss xmm6, xmm3
movss dword [esp + 0x174], xmm1
addss xmm3, dword [eax + 0x1c]
subss xmm7, xmm2
movss dword [esp + 0x178], xmm5
addss xmm2, dword [eax + 0x18]
movss dword [esp + 0x17c], xmm4
movss dword [esp + 0x16c], xmm6
movss dword [esp + 0x164], xmm3
movss dword [esp + 0x168], xmm7
movss dword [esp + 0x160], xmm2
jne 0x40e6f8
test ecx, 0x1000000
jne 0x40e6f8
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40e6f8
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x40e6f8
mov eax, dword [0x48d2c8]
movss xmm1, dword [edi + 0x24]
cmp byte [eax + 0x4b], 0
je 0x40e6c3
test byte [edi + 0xc], 1
jne 0x40e6c3
mov edx, dword [edi]
mov eax, dword [edi + 0x304]
movss xmm0, dword [edx + 0x3cf8]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x40e6b3
mulss xmm0, dword [eax + 0x268]
movss xmm1, dword [edx + 0x38e8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x20]
comiss xmm3, xmm0
ja 0x40e6dd
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x40e6ee
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x18], xmm2
movss dword [edi + 0x1c], xmm3
cvttss2si eax, dword [edi + 0x18]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x18], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c], xmm0
test ecx, 0x1000000
je 0x40e72c
movss xmm3, dword [esi + 0x38d4]
jmp 0x40e74c
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40e744
movss xmm3, dword [esi + 0x38dc]
jmp 0x40e74c
movss xmm3, dword [esi + 0x38b8]
xor dl, dl
movss dword [edi + 0x50], xmm3
mov dword [esp + 0x1c], edx
cmp byte [esp + 0x17], dl
je 0x40e789
test ecx, 0x1000
jne 0x40e789
test ecx, 0x4000000
je 0x40e774
mov byte [esp + 0x1c], 1
jmp 0x40e789
test ecx, 0x3000000
movzx edx, dl
mov eax, 1
cmove edx, eax
mov dword [esp + 0x1c], edx
mov eax, ecx
mov dword [esp + 0x15c], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0x150], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x180], xmm0
cmp eax, 0x1000000
jne 0x40e7bc
xor eax, eax
jmp 0x40e7c5
xor eax, eax
cmp byte [esi + 0x4a], al
setne al
inc eax
cmp byte [edi + 0xb1], 0
movss xmm1, dword [esi + 0x3cf4]
addss xmm3, dword [0x4834a4]
movaps xmm0, xmm1
mov dword [esp + 0x18], eax
mulss xmm1, dword [0x48344c]
mulss xmm0, dword [0x4834a8]
addss xmm1, xmm3
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x40e864
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x184]
push ecx
push eax
lea eax, [esp + 0x15c]
mov ecx, edi
push eax
lea eax, [esp + 0x16c]
push eax
lea edx, [esp + 0x168]
call fcn.0040b2e0
add esp, 0x14
test eax, eax
je 0x40e860
mov ecx, dword [esp + 0x30]
test al, 1
mov edx, 1
movzx ecx, cl
cmovne ecx, edx
test al, 2
mov eax, dword [esp + 0x20]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
mov dl, al
jmp 0x40e868
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
cmp byte [edi + 0xb1], 0
mov al, byte [esp + 0x15c]
mov byte [edi + 0xb9], al
mov al, byte [esp + 0x150]
mov byte [edi + 0xba], al
jne 0x40ea16
cmp dword [esp + 0x5c], 0
movss xmm0, dword [edi + 0x64]
movss xmm2, dword [edi + 0x1e4]
movss xmm3, dword [edi + 0x1e8]
addss xmm0, dword [edi + 0x5c]
subss xmm2, dword [edi + 0x1dc]
subss xmm3, dword [edi + 0x1e0]
movss xmm4, dword [edi + 0x2c]
movss xmm5, dword [edi + 0x28]
subss xmm4, xmm0
addss xmm2, dword [esp + 0x54]
addss xmm3, dword [esp + 0x34]
jne 0x40e8f9
mov dword [esp + 0xa0], 0
lea eax, [esp + 0xa0]
mov dword [esp + 0xa4], 0
jmp 0x40e92e
movss xmm0, dword [edi + 0x48]
lea eax, [esp + 0xa8]
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x30]
addss xmm1, dword [edi + 0x34]
movss dword [esp + 0xa8], xmm0
movss dword [esp + 0xac], xmm1
cmp byte [esp + 0x30], 0
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
jne 0x40e941
movaps xmm5, xmm2
test dl, dl
jne 0x40e948
movaps xmm4, xmm3
test ecx, 0x4000
jne 0x40e95e
comiss xmm6, xmm4
jbe 0x40e95a
test cl, 8
je 0x40e95e
xor al, al
jmp 0x40e960
mov al, 1
mov byte [esp + 0xd], al
mov byte [edi + 0xad], al
test ecx, 0x8000
jne 0x40e9b1
mov edx, dword [esp + 0x2c]
xorps xmm0, xmm0
test al, al
je 0x40e987
movss xmm1, dword [edx + 0x391c]
jmp 0x40e98a
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm7, xmm5
jbe 0x40e9a5
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0xd]
je 0x40e9b1
mov byte [edi + 0xac], 0
xorps xmm1, xmm1
jmp 0x40e9e1
mov byte [edi + 0xac], 1
test al, al
jne 0x40e9d2
comiss xmm6, xmm4
jbe 0x40e9ca
test cl, 8
jne 0x40e9ca
mov al, 1
jmp 0x40e9cc
xor al, al
mov byte [edi + 0xad], al
mov edx, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x391c]
test al, al
je 0x40e9ed
movss xmm0, dword [edx + 0x391c]
movss dword [edi + 0xa4], xmm0
addss xmm0, dword [edi + 0x60]
movss dword [edi + 0xa8], xmm1
movss dword [edi + 0x60], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x64]
movss dword [edi + 0x64], xmm0
jmp 0x40ea1a
mov edx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40ea3d
cmp dword [esp + 0x28], 0x3000000
je 0x40ea3d
mov eax, dword [esp + 0x3c]
add eax, 0x21c
jmp 0x40ea44
lea eax, [esp + 0x170]
test byte [edi + 0xc], 1
movups xmm0, xmmword [eax]
mov eax, dword [edi]
movss xmm3, dword [edi + 0x18]
movss xmm6, dword [edi + 0x1c]
movaps xmm5, xmm3
addss xmm5, dword [edi + 0x20]
movaps xmm7, xmm6
movss dword [esp + 0x34], xmm3
addss xmm7, dword [edi + 0x24]
movups xmmword [esp + 0x70], xmm0
je 0x40ea79
xorps xmm4, xmm4
jmp 0x40eaad
movss xmm0, dword [eax + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x40ea9b
mulss xmm0, dword [eax + 0x268]
mov eax, dword [edi]
movss xmm4, dword [eax + 0x38e8]
addss xmm4, xmm4
addss xmm4, xmm0
movss xmm0, dword [edi + 0x1c]
movaps xmm1, xmm6
movss dword [esp + 0x64], xmm0
addss xmm1, xmm4
movaps xmm2, xmm3
movss dword [esp + 0x60], xmm3
addss xmm2, dword [edi + 0x28]
mov eax, ecx
and eax, 0x401
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x68], xmm2
movss dword [edi + 0x1cc], xmm3
movss dword [edi + 0x1d0], xmm6
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm7
movss xmm0, dword [edi + 0x1cc]
movss xmm4, dword [esp + 0x70]
movss xmm5, dword [esp + 0x74]
maxss xmm0, xmm4
maxss xmm6, xmm5
movss dword [edi + 0x1cc], xmm0
movss dword [edi + 0x1d0], xmm6
movss xmm0, dword [edi + 0x1d8]
movss xmm1, dword [edi + 0x1d4]
minss xmm0, dword [esp + 0x7c]
minss xmm1, dword [esp + 0x78]
movss dword [edi + 0x1d8], xmm0
movss dword [edi + 0x1d4], xmm1
movss xmm6, dword [edi + 0x18]
movss xmm7, dword [edi + 0x1c]
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x58]
addss xmm6, dword [edi + 0x20]
movss dword [esp + 0x34], xmm0
movss dword [edi + 0x1dc], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x24]
addss xmm0, dword [edi + 0x5c]
subss xmm6, dword [edi + 0x60]
subss xmm7, dword [edi + 0x64]
movss dword [esp + 0x54], xmm0
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm6
movss dword [edi + 0x1e8], xmm7
cmp eax, 1
jne 0x40ebbe
movss xmm0, dword [edi + 0x54]
jmp 0x40ebc6
movss xmm0, dword [edx + 0x38f0]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x48]
mulss xmm0, dword [0x48346c]
movss xmm3, dword [esp + 0x34]
addss xmm3, dword [0x48346c]
cvttss2si eax, xmm0
addss xmm6, dword [0x48346c]
addss xmm7, dword [0x48346c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm7, dword [edi + 0x54]
maxss xmm1, dword [edi + 0x54]
addss xmm3, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [edi + 0x1ec], xmm3
movss xmm3, dword [esp + 0x54]
addss xmm3, dword [0x48346c]
addss xmm3, dword [esp + 0x24]
cvttss2si ecx, xmm3
movss xmm3, dword [esp + 0x7c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm6
movss dword [edi + 0x1f0], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f8], xmm0
movss xmm0, dword [edi + 0x1f0]
comiss xmm5, xmm0
jbe 0x40ec8c
movaps xmm1, xmm5
jmp 0x40ec93
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm6, dword [esp + 0x78]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x40ecaa
movaps xmm0, xmm4
jmp 0x40ecb1
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss xmm0, dword [edi + 0x1f8]
comiss xmm5, xmm0
ja 0x40ecd5
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1f4]
comiss xmm4, xmm0
ja 0x40ece9
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [edi + 0x1f4], xmm4
xorps xmm3, xmm3
movss dword [edi + 0x1f8], xmm5
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm3
jbe 0x40ed1a
test dword [esp + 0x10], 0x2000040
jne 0x40ed1a
mulss xmm0, dword [0x483474]
jmp 0x40ed2a
movss xmm0, dword [edx + 0x3cf4]
mulss xmm0, dword [0x483500]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x24c], xmm0
lea ecx, [esp + 0xd8]
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1e4]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1dc]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x4c]
addss xmm1, xmm1
movss dword [edi + 0x84], xmm0
movss xmm0, dword [edi + 0x1e8]
subss xmm0, dword [edi + 0x1e0]
addss xmm1, dword [edi + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x88], xmm0
call fcn.00413460
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x2c]
movss dword [edi + 0x7c], xmm0
movss dword [edi + 0x80], xmm1
mov dword [edi + 0x8c], 0x7f7fffff
mov dword [edi + 0x90], 0x7f7fffff
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], 0
mov eax, dword [eax + 0x3cf0]
mov ecx, dword [edi + 0x270]
mov edx, dword [ecx + 0x48]
lea edi, [ecx + 0x48]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 4]
cmp edx, eax
jne 0x40ee35
lea ecx, [edx + 1]
test eax, eax
je 0x40ee23
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x40ee28
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.0041a620
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x34]
inc dword [edi]
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x70], eax
call fcn.00424250
mov ecx, dword [0x48d2c8]
push 0
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
lea eax, [esp + 0x7c]
mov edi, dword [ecx + 0x3f8c]
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, dword [edi + 0x270]
call fcn.004243a0
mov eax, dword [edi + 0x270]
mov byte [esp + 0xe], 0
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 [edi + 0x21c], eax
mov eax, dword [esp + 0x10]
movss dword [edi + 0x220], xmm0
and eax, 0x5000000
movss dword [edi + 0x224], xmm1
movss dword [edi + 0x228], xmm2
cmp eax, 0x1000000
jne 0x40ef9c
cmp dword [esp + 0x28], 0x3000000
je 0x40ef9c
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x188]
cmp ecx, 2
jl 0x40ef5a
mov eax, dword [eax + 0x190]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x40ef5a
mov edi, dword [esp + 0x38]
movss xmm5, dword [eax + 0x1c]
movss xmm7, dword [eax + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x24]
movss xmm6, dword [edi + 0x18]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x1c]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x20]
addss xmm4, dword [edi + 0x20]
comiss xmm0, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x24]
jbe 0x40ef5e
comiss xmm2, xmm5
jbe 0x40ef5e
comiss xmm3, xmm6
jbe 0x40ef5e
comiss xmm4, xmm7
jbe 0x40ef5e
mov byte [esp + 0xd], 1
jmp 0x40ef63
mov edi, dword [esp + 0x38]
mov byte [esp + 0xd], 0
mov edx, dword [edi + 0x270]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x40efa0
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x270]
cmp dword [eax + 0x18], 0
je 0x40efa0
cmp byte [esp + 0xd], 0
jne 0x40efa0
mov byte [esp + 0xe], 1
mov dword [edi + 0x270], eax
jmp 0x40efa0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x4c00]
test ecx, ecx
jne 0x40efb4
mov ecx, dword [eax + 0x4a38]
cmp byte [esp + 0x1c], 0
jne 0x40efd4
test ecx, ecx
je 0x40efcd
mov eax, dword [edi + 0x314]
cmp eax, dword [ecx + 0x314]
je 0x40efd4
mov byte [esp + 0x24], 0
jmp 0x40efd9
mov byte [esp + 0x24], 1
movd xmm0, esi
lea eax, [esp + 0x180]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x64]
movss dword [esp], xmm0
push eax
push dword [esp + 0x20]
push ecx
push dword [esp + 0x34]
mov ecx, edi
call fcn.0040c7c0
add esp, 0x14
cmp byte [esp + 0xe], 0
je 0x40f018
lea eax, [edi + 0x274]
mov dword [edi + 0x270], eax
mov ecx, dword [esp + 0x10]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x40f03f
movss dword [esp + 0x18], xmm6
jmp 0x40f081
movss xmm0, dword [edi + 0x48]
mov eax, ecx
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x40f074
movss xmm0, dword [edi + 0x30]
jmp 0x40f077
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm5, dword [edi + 0x44]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x40f094
movaps xmm7, xmm5
jmp 0x40f0c6
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x64]
addss xmm0, dword [edi + 0x5c]
subss xmm1, xmm0
test dl, dl
je 0x40f0bf
movss xmm7, dword [edi + 0x34]
jmp 0x40f0c2
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x48]
movss xmm4, dword [edi + 0x7c]
movss xmm0, dword [edi + 0x1dc]
movss dword [esp + 0x34], xmm1
subss xmm0, xmm4
maxss xmm1, dword [edi + 0x54]
movss xmm3, dword [esp + 0x34]
movss dword [esp + 0x58], xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x1fc], xmm2
movss xmm0, dword [edi + 0x80]
movss xmm1, dword [edi + 0x4c]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x1e0]
subss xmm0, dword [esp + 0x30]
movss dword [esp + 0x54], xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x18]
addss xmm1, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
addss xmm7, xmm0
movss dword [edi + 0x204], xmm1
movss dword [edi + 0x208], xmm7
movups xmm0, xmmword [edi + 0x1fc]
movups xmmword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x18]
movss xmm7, dword [edi + 0x58]
movaps xmm1, xmm0
subss xmm1, xmm4
movss dword [esp + 0x24], xmm0
addss xmm1, xmm3
addss xmm1, xmm7
movss dword [edi + 0x22c], xmm1
movss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x5c]
movss dword [esp + 0x34], xmm2
subss xmm2, dword [esp + 0x30]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x28], xmm2
movss xmm4, dword [esp + 0x28]
movss xmm2, dword [esp + 0x54]
addss xmm4, xmm2
addss xmm4, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x28], xmm4
xorps xmm4, xmm4
movss dword [edi + 0x230], xmm0
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jp 0x40f20f
movss xmm6, dword [edi + 0x20]
movaps xmm0, xmm3
addss xmm0, xmm3
subss xmm6, xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x60]
subss xmm6, xmm0
ucomiss xmm5, xmm4
addss xmm1, xmm6
lahf
movss dword [edi + 0x234], xmm1
movss xmm1, dword [esp + 0x18]
test ah, 0x44
jp 0x40f246
movss xmm5, dword [edi + 0x24]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x64]
subss xmm5, xmm0
addss xmm5, dword [esp + 0x28]
movaps xmm0, xmm7
mov esi, dword [esp + 0x2c]
addss xmm0, xmm3
cvtps2pd xmm3, xmm3
lea ecx, [edi + 0x164]
movss dword [edi + 0x238], xmm5
movss xmm5, dword [esp + 0x58]
subss xmm0, xmm5
cvtps2pd xmm2, xmm2
movss dword [edi + 0x13c], xmm0
movss xmm0, dword [esp + 0x24]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm5
subsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, xmm0
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x483420]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x30]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm1
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm1
movss xmm0, dword [edi + 0x108]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x10c]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x148], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x14c], xmm0
movss xmm1, dword [edi + 0x108]
movss xmm0, dword [edi + 0x10c]
movss dword [edi + 0xf8], xmm1
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x100], xmm1
movss dword [edi + 0x104], xmm0
movss dword [edi + 0x110], xmm1
movss dword [edi + 0x114], xmm0
movss dword [edi + 0x118], xmm1
movss dword [edi + 0x11c], xmm0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x130], 0
mov word [edi + 0x138], 0
mov dword [edi + 0x150], 0
mov ax, word [edi + 0x156]
mov word [edi + 0x154], ax
mov dword [edi + 0x156], 0x10000
movss xmm0, dword [edi + 0x88]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x17], 0
mov byte [edi + 0x15a], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x15b], 0
movss xmm1, dword [esi + 0x38f4]
mov dword [esp + 0x18], eax
je 0x40f414
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x40f418
mov dword [esp + 0x18], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.00436610
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x168]
mov dword [edi + 0x164], eax
lea eax, [edi + 0x188]
mov dword [edi + 0x168], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f48a
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 + 0x188]
call fcn.0041a620
lea eax, [edi + 0x188]
mov dword [eax], 0
lea eax, [edi + 0x250]
mov dword [edi + 0x194], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x40f4c0
mov eax, dword [eax + 0x1a0]
jmp 0x40f4c5
mov eax, 1
mov dword [edi + 0x1a4], eax
mov eax, dword [edi + 0x24c]
mov dword [edi + 0x1ac], eax
lea eax, [edi + 0x1b4]
mov dword [edi + 0x1b0], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f510
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 + 0x1b4]
call fcn.0041a620
lea eax, [edi + 0x1b4]
mov dword [eax], 0
lea eax, [edi + 0x1c0]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f545
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 + 0x1c0]
call fcn.0041a620
lea eax, [edi + 0x1c0]
test dword [esp + 0x10], 0x8000000
mov dword [eax], 0
je 0x40f620
mov edx, dword [0x48d2c8]
xorps xmm0, xmm0
movss xmm2, dword [0x4834a4]
movss xmm3, dword [edx + 0x3ccc]
comiss xmm0, xmm3
jbe 0x40f57c
xorps xmm1, xmm1
jmp 0x40f583
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [0x483524]
movss xmm4, dword [0x48346c]
movss xmm5, dword [edx + 0x3cd0]
comiss xmm0, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x40f5b1
xorps xmm1, xmm1
jmp 0x40f5b8
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [edx + 0x3cd4]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x40f5db
xorps xmm1, xmm1
jmp 0x40f5e2
movaps xmm1, xmm2
minss xmm1, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0x3cd8]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x40f605
xorps xmm2, xmm2
jmp 0x40f609
minss xmm2, xmm1
mulss xmm2, xmm3
addss xmm2, xmm4
cvttss2si eax, xmm2
shl eax, 0x18
or eax, ecx
mov dword [edi + 0x1a8], eax
mov al, byte [edi + 0xcc]
test al, al
jle 0x40f632
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x40f644
dec al
mov byte [edi + 0xcd], al
cmp byte [esp + 0x1c], 0
je 0x40f668
mov edx, 2
mov ecx, edi
call fcn.0040fcb0
cmp edi, dword [esi + 0x4a38]
jne 0x40f668
xor dl, dl
mov ecx, edi
call fcn.004151e0
test byte [esp + 0x10], 1
movss xmm2, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x68]
movss xmm4, dword [esp + 0x64]
movss xmm0, dword [esp + 0x60]
jne 0x40f6e9
addss xmm0, dword [edi + 0x54]
push dword [esp + 0x50]
lea edx, [esp + 0xb4]
movss dword [esp + 0xb8], xmm4
push dword [esp + 0x50]
mov ecx, edi
movss dword [esp + 0xc4], xmm2
movss dword [esp + 0xb8], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x54]
movss dword [esp + 0xc0], xmm0
call fcn.0040cdc0
movss xmm2, dword [esp + 0x74]
add esp, 8
movss xmm3, dword [esp + 0x68]
movss xmm4, dword [esp + 0x64]
movss xmm0, dword [esp + 0x60]
mov edx, dword [0x48d2c8]
xor eax, eax
mov dword [edi + 0x23c], eax
movss xmm5, dword [edx + 0x390c]
movss xmm6, dword [edx + 0xe00]
subss xmm0, xmm5
comiss xmm6, xmm0
jb 0x40f743
movss xmm0, dword [edx + 0x3910]
movss xmm1, dword [edx + 0xe04]
subss xmm4, xmm0
comiss xmm1, xmm4
jb 0x40f743
addss xmm3, xmm5
comiss xmm3, xmm6
jbe 0x40f743
addss xmm2, xmm0
mov dword [esp + 0x50], 1
comiss xmm2, xmm1
ja 0x40f747
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x74]
mov ecx, dword [esi + 0x48dc]
movaps xmm0, xmmword [esp + 0x60]
mov dword [edx + 0x4908], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x490c], ecx
mov dword [edx + 0x4910], eax
movups xmmword [edx + 0x4924], xmm0
movups xmmword [edx + 0x4914], xmm0
mov eax, dword [esi + 0x48e0]
test eax, eax
je 0x40f815
cmp dword [edi + 8], eax
je 0x40f795
cmp dword [edi + 0x74], eax
jne 0x40f815
call fcn.004198b0
jmp 0x40f815
mov edx, dword [0x48d2c8]
mov dword [edx + 0x3f8c], edi
mov ecx, dword [edi + 0x19c]
cmp ecx, 0xffffffff
je 0x40f7c1
shl ecx, 9
add ecx, dword [edx + 0x4d00]
jmp 0x40f7c3
xor ecx, ecx
mov dword [edx + 0x4ce0], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3cf8]
mov eax, dword [edi + 0x304]
mulss xmm0, dword [edi + 0x268]
test eax, eax
je 0x40f7ed
mulss xmm0, dword [eax + 0x268]
movss dword [edx + 0x3d08], xmm0
movss dword [edx + 0x3cf4], xmm0
test ecx, ecx
jne 0x40f80d
cmp dword [edi + 0x198], ecx
jne 0x40f80d
mov al, 1
jmp 0x40f80f
xor al, al
mov byte [edi + 0x158], al
mov ecx, dword [0x48d2c8]
push 1
mov eax, dword [ecx + 0x3f8c]
mov byte [eax + 0xb0], 1
lea eax, [edi + 0x1f4]
mov esi, dword [ecx + 0x3f8c]
push eax
lea eax, [edi + 0x1ec]
push eax
mov ecx, dword [esi + 0x270]
call fcn.004243a0
mov eax, dword [esi + 0x270]
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 ecx, dword [esp + 0x2c]
mov dword [esi + 0x21c], eax
mov eax, dword [esp + 0x44]
movss dword [esi + 0x220], xmm0
movss dword [esi + 0x224], xmm1
movss dword [esi + 0x228], xmm2
mov byte [edi + 0xb0], 0
inc word [edi + 0xbc]
mov dword [ecx + 0x4954], 0
cmp eax, dword [esp + 0x48]
je 0x40fa1f
mov edx, dword [esp + 0x10]
mov eax, edx
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x40f985
test edx, 0x800000
je 0x40f8f8
cmp byte [ecx + 0x4a94], 0
je 0x40f8f8
mov eax, dword [ecx + 0x4a38]
test eax, eax
je 0x40f8f8
mov eax, dword [eax + 0x318]
cmp eax, dword [edi + 0x318]
jne 0x40f8f8
mov al, 1
jmp 0x40f8fa
xor al, al
cmp byte [ecx + 0x5e24], 0
jne 0x40f94b
test al, al
jne 0x40f94b
movss xmm0, dword [edi + 0x1cc]
comiss xmm0, dword [edi + 0x1d4]
jae 0x40f929
movss xmm0, dword [edi + 0x1d0]
comiss xmm0, dword [edi + 0x1d8]
jb 0x40f94b
cmp byte [edi + 0xcc], 0
jg 0x40f944
cmp byte [edi + 0xcd], 0
jg 0x40f944
mov byte [edi + 0xd4], 1
jmp 0x40f94b
mov byte [edi + 0xd5], 1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40f985
cmp byte [eax + 0xb1], 0
jne 0x40f965
cmp byte [eax + 0xd4], 0
jle 0x40f96c
mov byte [edi + 0xd4], 1
cmp byte [eax + 0xb1], 0
jne 0x40f97e
cmp byte [eax + 0xd5], 0
jle 0x40f985
mov byte [edi + 0xd5], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x38a8]
jb 0x40f998
mov byte [edi + 0xd4], 1
cmp byte [edi + 0xd4], 0
jg 0x40f9b8
cmp byte [edi + 0xd5], 0
jg 0x40f9b8
xor dl, dl
cmp byte [edi + 0xd6], dl
jg 0x40f9ba
xor al, al
jmp 0x40f9bc
mov dl, 1
mov al, 1
mov byte [edi + 0xb5], al
mov al, byte [edi + 0xd7]
test al, al
jle 0x40f9df
dec al
mov byte [edi + 0xd7], al
mov eax, dword [edi + 0xc]
or eax, 0x30200
mov dword [edi + 0xc], eax
xor al, al
cmp byte [edi + 0xb1], al
jne 0x40f9f5
cmp byte [edi + 0xae], al
je 0x40f9f5
test dl, dl
je 0x40fa19
cmp byte [edi + 0xcc], 0
jg 0x40fa19
cmp byte [edi + 0xcd], 0
jg 0x40fa19
cmp byte [edi + 0xd5], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [edi + 0xb3], al
cmp byte [edi + 0xb6], 0
jne 0x40fa84
cmp byte [ecx + 0x65], 0
je 0x40fa35
cmp dword [esp + 0x5c], 0
je 0x40fa4a
cmp byte [ecx + 0x66], 0
je 0x40fa84
movsx eax, byte [ecx + 0x5e84]
cmp eax, dword [ecx + 0x3f64]
jne 0x40fa84
mov al, byte [edi + 0xcc]
test al, al
jle 0x40fa5c
inc al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x40fa6e
inc al
mov byte [edi + 0xcd], al
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0044c777
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xb3], 0
mov ecx, dword [esp + 0x19c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.0044c777
mov esp, ebp
pop ebp
ret