Function at 0x40d4c0
Capabilities:
Encrypt data using rc4 ksa
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x466040]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x466af0]
mov dword [esp + 0xc], eax
mov al, byte [ecx]
mov dword [esp + 0x58], edx
or edx, 0xffffffff
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], esi
push edi
lea edi, [ecx + 1]
test al, al
je 0x40d52f
or esi, 0xffffffff
cmp al, 0x23
jne 0x40d512
cmp byte [edi], al
jne 0x40d512
cmp byte [edi + 1], al
cmove edx, esi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [edi]
inc edi
xor edx, dword [ecx*4 + 0x45aef0]
test al, al
jne 0x40d504
mov esi, dword [esp + 0x28]
not edx
mov ecx, edx
call fcn.0040a710
mov edi, eax
mov dword [esp + 0x58], eax
test edi, edi
mov dword [esp + 0x30], edi
sete byte [esp + 0x38]
test eax, eax
jne 0x40d560
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
call fcn.0040aa10
mov edi, eax
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x12c0]
cmp ecx, dword [edi + 8]
jne 0x40d56c
int3
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0x30200
cmp eax, 0x30200
jne 0x40d585
or ecx, 6
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x129c], 0
mov eax, dword [edi + 0x24c]
mov edx, dword [esi + 0x1230]
mov dword [esp + 0x44], eax
lea eax, [esi + 0x129c]
mov dword [esp + 0x48], edx
jne 0x40d5b5
cmp byte [esi + 0x123d], 0
je 0x40d5b5
mov al, 1
jmp 0x40d5b7
xor al, al
mov byte [edi + 0xc3], al
lea eax, [edx - 1]
cmp dword [esp + 0x44], eax
setl al
mov byte [esp + 0x17], al
test ecx, 0x4000000
je 0x40d611
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x1d74]
mov edx, dword [edx + 0x1d70]
lea esi, [eax + eax*4]
mov eax, dword [edi + 0x84]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x28]
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 + 0xc1], al
test al, al
je 0x40d630
or byte [edi + 0xe0], 8
or byte [edi + 0xe1], 8
or byte [edi + 0xe2], 8
cmp dword [esp + 0x44], edx
je 0x40d6a2
mov dl, byte [esp + 0x38]
push ecx
mov ecx, edi
call fcn.0040a770
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [edi + 0xc], edx
test dword [esi + 0x1cb0], 0x100
je 0x40d660
mov eax, dword [esi + 0x1ce8]
jmp 0x40d662
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x24c], eax
xor eax, eax
movsd xmm0, qword [esi + 0x1228]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xcc], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x12b4]
inc dword [esi + 0x12b4]
mov word [edi + 0xce], ax
jmp 0x40d6a9
mov edx, dword [edi + 0xc]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x129c]
test eax, eax
jne 0x40d6b7
xor ecx, ecx
jmp 0x40d6c4
imul ecx, eax, 0x6c
mov eax, dword [esi + 0x12a4]
mov ecx, dword [ecx + eax - 0x6c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x48]
je 0x40d6e1
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x40d6e7
mov eax, dword [edi + 0x328]
cmp dword [edi + 0xf4], 0
mov dword [esp + 0x3c], eax
lea eax, [edi + 0xf4]
jne 0x40d720
cmp dword [eax + 4], 0
jne 0x40d70f
push 8
mov ecx, eax
call fcn.0041c040
lea eax, [edi + 0xf4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xf4]
mov eax, dword [esi + 0x129c]
lea ecx, [esi + 0x129c]
inc eax
mov dword [esi + 0x12c4], edi
push eax
call fcn.0041bf40
imul eax, dword [esi + 0x129c], 0x6c
test dword [esp + 0x10], 0x2000000
mov ecx, dword [esi + 0x12a4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
mov dword [ecx + eax - 0x6c], edi
movups xmm0, xmmword [esi + 0x1c60]
movups xmmword [ecx + eax - 0x68], xmm0
movups xmm0, xmmword [esi + 0x1c70]
movups xmmword [ecx + eax - 0x58], xmm0
movups xmm0, xmmword [esi + 0x1c80]
movups xmmword [ecx + eax - 0x48], xmm0
movups xmm0, xmmword [esi + 0x1c90]
movups xmmword [ecx + eax - 0x38], xmm0
movups xmm0, xmmword [esi + 0x1ca0]
movups xmmword [ecx + eax - 0x28], xmm0
je 0x40d7a8
test dword [esi + 0x1c20], 0x400
je 0x40d7a8
mov dl, 1
jmp 0x40d7aa
xor dl, dl
mov byte [ecx + eax - 2], dl
add eax, 0xffffffe8
add ecx, eax
call fcn.00413010
mov dword [esi + 0x2470], ecx
mov ecx, dword [esp + 0x10]
test ecx, 0x10000000
je 0x40d7d0
inc dword [esi + 0x2268]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
je 0x40d894
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x328], edx
mov dword [edi + 0x33c], edi
mov dword [edi + 0x338], edi
mov dword [edi + 0x334], edi
mov dword [edi + 0x330], edi
test edx, edx
je 0x40d84e
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40d81e
mov eax, dword [edx + 0x330]
mov dword [edi + 0x330], eax
test ecx, 0x4000000
je 0x40d832
mov eax, dword [edx + 0x334]
mov dword [edi + 0x334], eax
test ecx, 0x8000000
jne 0x40d84e
test ecx, 0x5000000
je 0x40d84e
mov eax, dword [edx + 0x338]
mov dword [edi + 0x338], eax
test dword [edi + 0x10], 0x100
je 0x40d877
mov edx, edi
nop dword [eax]
mov eax, dword [edx + 0x328]
mov edx, eax
mov dword [edi + 0x33c], eax
test dword [edx + 0x10], 0x100
jne 0x40d860
mov edx, dword [esp + 0x1c]
mov eax, ecx
and eax, 0x1000000
mov dword [edi + 0x32c], edx
neg eax
sbb eax, eax
and eax, edx
mov dword [edi + 0x340], eax
test dword [edi + 0x10], 0x100
je 0x40d8a5
mov eax, dword [esi + 0x1c1c]
jmp 0x40d8a8
mov eax, dword [edi + 8]
mov ecx, dword [0x466af0]
mov dword [esp + 0x18], eax
lea edx, [ecx + 0x1d44]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x12c4]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xd0], eax
cmp dword [edx], ecx
jne 0x40d90a
test ecx, ecx
je 0x40d8ed
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x40d8f2
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041c780
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x18]
mov dword [ecx + eax*8], esi
mov esi, dword [esp + 0xd0]
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [esp + 0xd4]
inc dword [edx]
test dword [esp + 0x10], 0x4000000
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x1c1c], eax
mov eax, dword [esi + 0x1c1c]
mov dword [edi + 0x380], eax
je 0x40da0b
mov eax, dword [esi + 0x1d74]
lea edx, [esi + 0x1d74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x1d70]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [eax + 0x158]
mov dword [edi + ecx*8 + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0xd0], eax
cmp ecx, eax
jne 0x40d9c6
inc ecx
test eax, eax
je 0x40d9ae
cdq
sub eax, edx
lea edx, [esi + 0x1d74]
sar eax, 1
add eax, dword [esp + 0xd0]
jmp 0x40d9b3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041c6b0
lea edx, [esi + 0x1d74]
mov eax, dword [edx]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
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 + 0x30]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x28]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0x84], eax
test byte [esi + 0x1cb0], 1
mov byte [esp + 0xd], 0
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 0
je 0x40dac5
mov dl, byte [edi + 0xe0]
mov ecx, dword [esi + 0x1cb4]
movsx eax, dl
test ecx, eax
setne byte [esp + 0xd]
test ecx, eax
je 0x40dab4
movss xmm1, dword [esi + 0x1ccc]
movss xmm0, dword [esi + 0x1cc8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x4605bc]
jbe 0x40dab4
mov eax, dword [esi + 0x1cc0]
mov ecx, dword [esi + 0x1cc4]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [esi + 0x1cc8]
mov ecx, dword [esi + 0x1ccc]
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xe0], ecx
jmp 0x40dac5
push ecx
lea edx, [esi + 0x1cc0]
mov ecx, edi
call fcn.004106b0
add esp, 4
test byte [esi + 0x1cb0], 2
xorps xmm1, xmm1
je 0x40db66
mov cl, byte [edi + 0xe1]
movsx eax, cl
and eax, dword [esi + 0x1cb8]
je 0x40dafa
movss xmm0, dword [esi + 0x1cd0]
comiss xmm0, xmm1
jbe 0x40dafa
mov byte [esp + 0xf], 1
jmp 0x40db03
mov byte [esp + 0xf], 0
test eax, eax
je 0x40db17
movss xmm0, dword [esi + 0x1cd4]
comiss xmm0, xmm1
jbe 0x40db1c
mov byte [esp + 0xe], 1
jmp 0x40db21
mov byte [esp + 0xf], 0
mov byte [esp + 0xe], 0
test byte [edi + 0x10], 4
je 0x40db35
test cl, 4
jne 0x40db35
mov eax, dword [edi + 0x28]
mov dword [esi + 0x1cd0], eax
test byte [edi + 0x10], 8
je 0x40db4d
test byte [edi + 0xe1], 4
jne 0x40db4d
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x1cd4], eax
push dword [esi + 0x1cb8]
lea edx, [esi + 0x1cd0]
mov ecx, edi
call fcn.00410810
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x1cb0], 0x80
je 0x40dbad
movss xmm0, dword [esi + 0x1ce0]
comiss xmm0, xmm1
jb 0x40db8e
movss dword [edi + 0x98], xmm0
mov dword [edi + 0xa0], 0
movss xmm0, dword [esi + 0x1ce4]
comiss xmm0, xmm1
jb 0x40dbad
movss dword [edi + 0x9c], xmm0
mov dword [edi + 0xa4], 0
test byte [esi + 0x1cb0], 4
je 0x40dbca
mov eax, dword [esi + 0x1cd8]
mov ecx, dword [esi + 0x1cdc]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x40dbe2
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x48]
je 0x40dbe2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x1cb0], 8
je 0x40dc2f
mov ecx, dword [esi + 0x1cbc]
mov dl, byte [esi + 0x1cec]
test ecx, ecx
je 0x40dc06
movsx eax, byte [edi + 0xe2]
test ecx, eax
je 0x40dc2f
movzx ecx, byte [edi + 0xe2]
mov eax, dword [edi + 0xe0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xbd], dl
mov dword [edi + 0xe0], ecx
test byte [esi + 0x1cb0], 0x20
je 0x40dc41
xor edx, edx
mov ecx, edi
call fcn.004100c0
mov dl, byte [edi + 0xc1]
test dl, dl
je 0x40dc60
and byte [edi + 0xe0], 0xf7
and byte [edi + 0xe1], 0xf7
and byte [edi + 0xe2], 0xf7
mov ecx, dword [0x466af0]
mov byte [edi + 0xc0], 0
test dword [ecx + 0x1cb0], 0x200
je 0x40dd1f
mov eax, dword [ecx + 0x1d14]
test al, 1
je 0x40dd1f
test dl, dl
jne 0x40dd1f
cmp byte [edi + 0xc2], dl
jne 0x40dd1f
test al, 2
je 0x40dcd1
mov eax, dword [ecx + 0x12c8]
test eax, eax
je 0x40dcd1
mov eax, dword [eax + 0x330]
cmp dword [edi + 0x330], eax
je 0x40dd1f
cmp dword [eax + 0x330], edi
je 0x40dd1f
cmp eax, edi
je 0x40dd1f
mov eax, dword [eax + 0x32c]
test eax, eax
jne 0x40dcc3
test byte [ecx + 0x1d14], 4
je 0x40dd0e
mov eax, dword [ecx + 0x1da0]
test eax, eax
je 0x40dd0e
mov eax, dword [eax + 0x330]
cmp dword [edi + 0x330], eax
je 0x40dd1f
cmp dword [eax + 0x330], edi
je 0x40dd1f
nop word [eax + eax]
cmp eax, edi
je 0x40dd1f
mov eax, dword [eax + 0x32c]
test eax, eax
jne 0x40dd00
mov dword [edi + 0x278], 0
mov byte [edi + 0xc0], 1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
cmp byte [ecx + eax - 2], 0
je 0x40ddbf
cmp dword [edi + 0x330], edi
jne 0x40ddbf
mov ecx, dword [0x466af0]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x22f4]
and dword [ecx + 0x1c20], 0xfffffbff
mov dword [ecx + 0xb8c], eax
add ecx, 0x1d50
mov dword [esp + 0x18], ecx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40dd9c
inc edx
mov dword [esp + 0x34], edx
test eax, eax
je 0x40dd88
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40dd8d
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041c040
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1c20]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
inc dword [eax]
mov eax, dword [esp + 0x1c]
inc word [eax + 0x22f8]
mov eax, dword [esp + 0x44]
mov dword [esi + 0x12c4], 0
cmp eax, dword [esp + 0x48]
je 0x40f8e6
cmp byte [edi + 0xc0], 0
jne 0x40f8ef
mov eax, dword [esp + 0x10]
and eax, 0x3000000
mov byte [edi + 0xba], 1
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x18], eax
mov al, byte [edi + 0xdd]
mov byte [esp + 0x43], al
setne al
mov byte [edi + 0xc5], al
mov dword [edi + 0x224], 0xff7fffff
mov dword [edi + 0x228], 0xff7fffff
mov dword [edi + 0x22c], 0x7f7fffff
mov dword [edi + 0x230], 0x7f7fffff
mov eax, dword [edi + 0xf8]
cmp eax, 1
jge 0x40de76
test eax, eax
je 0x40de59
cdq
sub eax, edx
lea edx, [edi + 0xf4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x40de64
mov ecx, 8
lea edx, [edi + 0xf4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.0041c040
mov dword [edi + 0xf4], 1
mov ecx, dword [edi + 0x278]
call fcn.004248e0
cmp byte [edi + 0x38c], 0
mov dword [edi + 0x1a4], 0xffffffff
je 0x40dee1
mov ecx, dword [edi + 0x278]
push dword [edi + 0x384]
add ecx, 0xc
mov byte [edi + 0x38c], 0
call fcn.0041c520
mov ecx, dword [edi + 0x278]
push dword [edi + 0x388]
add ecx, 0x18
call fcn.0041c300
mov dword [edi + 0x388], 0
mov dword [edi + 0x384], 0
cmp dword [esi + 0x1f74], 0
je 0x40e020
test dword [edi + 0xc], 0x20000
jne 0x40e020
cmp dword [esp + 0x58], 0
je 0x40e020
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40df33
test dl, dl
je 0x40df2f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40df33
add eax, 2
add ecx, 2
test dl, dl
jne 0x40df13
xor eax, eax
jmp 0x40df38
sbb eax, eax
or eax, 1
test eax, eax
je 0x40e020
mov ecx, dword [esp + 0x50]
mov edx, dword [edi + 0x78]
mov dword [esp + 0x20], edx
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40df52
sub ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
cmp edx, eax
jae 0x40e005
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x40dfe6
mov ecx, dword [0x466af0]
test ecx, ecx
je 0x40dfe6
mov eax, dword [ecx + 0x1230]
mov dword [esp + 0x20], eax
movsx eax, word [ecx + 0x2508]
mov esi, dword [esp + 0x20]
lea eax, [eax*8 + 0x250c]
add eax, ecx
cmp dword [eax], esi
mov esi, dword [esp + 0x28]
je 0x40dfdc
movsx eax, word [ecx + 0x2508]
inc eax
mov dword [esp + 0x34], 6
cdq
idiv dword [esp + 0x34]
movzx eax, dx
mov edx, dword [esp + 0x20]
mov word [ecx + 0x2508], ax
cwde
lea eax, [eax*8 + 0x250c]
add eax, ecx
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
inc word [eax + 6]
inc dword [ecx + 0x2504]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esp + 0x28]
add esp, 4
call fcn.00407210
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
push eax
push dword [esp + 0x54]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [edi + 0x78], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.0040adf0
mov al, byte [edi + 0xdc]
add esp, 4
test al, al
jle 0x40e043
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x40e055
dec al
mov byte [edi + 0xdd], al
mov al, byte [edi + 0xde]
test al, al
jle 0x40e067
dec al
mov byte [edi + 0xde], al
cmp dword [esp + 0x58], 0
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xe]
jne 0x40e085
test al, al
je 0x40e07e
test cl, cl
jne 0x40e085
mov byte [edi + 0xdd], 1
cmp byte [esp + 0x17], 0
mov edx, dword [esp + 0x10]
je 0x40e0e4
test edx, 0x6000000
je 0x40e0e4
mov byte [edi + 0xdd], 1
test dl, 0x40
je 0x40e0e4
test al, al
jne 0x40e0b6
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x40e0c8
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 [0x466af0]
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x1d94]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [ecx + 0x12c4], edi
imul ecx, dword [ecx + 0x129c], 0x6c
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
add ecx, 0xffffffe8
mov eax, dword [eax + 0x12a4]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x2470], eax
mov eax, dword [edi + 0x1a4]
cmp eax, 0xffffffff
je 0x40e139
shl eax, 9
add eax, dword [ecx + 0x206c]
jmp 0x40e13b
xor eax, eax
mov dword [ecx + 0x204c], eax
mov dword [ecx + 0x1020], 0x3f800000
movss xmm0, dword [edi + 0x270]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mulss xmm0, dword [eax + 0x1018]
mov eax, dword [edi + 0x328]
test eax, eax
je 0x40e173
mulss xmm0, dword [eax + 0x270]
cmp dword [esp + 0x24], 0
mov eax, dword [ecx + 0x1010]
movss dword [ecx + 0x1030], xmm0
movss dword [ecx + 0x1014], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [ecx + 0x1034], xmm0
movss dword [ecx + 0x101c], xmm0
jne 0x40e1b2
cmp dword [edi + 0x1a0], 0
jne 0x40e1b2
mov al, 1
jmp 0x40e1b4
xor al, al
mov byte [edi + 0x160], al
test edx, 0x1000000
je 0x40e1cc
movss xmm0, dword [esi + 0xbbc]
jmp 0x40e1ee
test edx, 0x6000000
je 0x40e1e6
test edx, 0x8000000
jne 0x40e1e6
movss xmm0, dword [esi + 0xbc4]
jmp 0x40e1ee
movss xmm0, dword [esi + 0xba0]
movss dword [edi + 0x54], xmm0
xorps xmm1, xmm1
mov eax, dword [esi + 0xb94]
mov ecx, dword [esi + 0xb98]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x40e246
test byte [edi + 0x10], 2
jne 0x40e246
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40e246
test edx, 0x400
je 0x40e237
movss xmm0, dword [esi + 0xb98]
jmp 0x40e23a
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0xbd8]
maxss xmm0, dword [esi + 0x1d0c]
movss dword [edi + 0x164], xmm0
movss xmm3, dword [esi + 0x1d10]
movss dword [edi + 0x168], xmm3
test dl, 1
je 0x40e27d
xorps xmm2, xmm2
jmp 0x40e291
movss xmm2, dword [esi + 0xbcc]
addss xmm2, xmm2
addss xmm2, dword [esi + 0x1014]
movss dword [edi + 0x58], xmm2
test edx, 0x400
je 0x40e2b8
movss xmm0, dword [esi + 0xbcc]
addss xmm3, dword [esi + 0x1014]
addss xmm0, xmm0
addss xmm3, xmm0
jmp 0x40e2bb
xorps xmm3, xmm3
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0x38]
movss dword [edi + 0x5c], xmm3
mov byte [esp + 0x20], al
je 0x40e2e2
movss xmm0, dword [edi + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40e2e2
mov byte [esp + 0x38], 1
cmp byte [esp + 0xe], 0
je 0x40e2fc
movss xmm0, dword [edi + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40e2fc
mov byte [esp + 0x20], 1
test dl, 0x21
jne 0x40e423
movss xmm3, dword [edi + 0x18]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x28]
addss xmm2, dword [edi + 0x1c]
mov edx, dword [esp + 0x1c]
cmp dword [esi + 0x12c8], edi
jne 0x40e3d7
cmp dword [esi + 0x1308], 0
jne 0x40e3d7
cmp dword [esi + 0x130c], 0
jne 0x40e3d7
cmp dword [esi + 0x1320], 0
jne 0x40e3d7
mov eax, dword [edx + 0x12c4]
movss xmm6, dword [edx + 0xbf0]
movss xmm7, dword [edx + 0xb8]
maxss xmm3, dword [eax + 0x224]
maxss xmm4, dword [eax + 0x228]
minss xmm0, dword [eax + 0x22c]
minss xmm2, dword [eax + 0x230]
subss xmm3, xmm6
comiss xmm7, xmm3
jb 0x40e3d7
movss xmm3, dword [edx + 0xbf4]
movss xmm5, dword [edx + 0xbc]
subss xmm4, xmm3
comiss xmm5, xmm4
jb 0x40e3d7
addss xmm0, xmm6
comiss xmm0, xmm7
jbe 0x40e3d7
addss xmm2, xmm3
comiss xmm2, xmm5
jbe 0x40e3d7
cmp word [esi + 0xae2], 2
jne 0x40e3d7
cmp dword [edx + 0x1a40], 0xffffffff
jne 0x40e3d7
mov byte [edi + 0xbe], 1
cmp byte [edi + 0xbe], 0
je 0x40e42a
mov cl, byte [edi + 0xbd]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xbd], 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 0x40e42a
comiss xmm1, dword [edx + 0x239c]
jb 0x40e42a
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x239c], eax
jmp 0x40e42a
mov byte [edi + 0xbd], 0
movss xmm0, dword [edi + 0xb0]
lea eax, [edi + 0x38]
movss dword [esp + 0x54], xmm0
lea ecx, [esp + 0xd8]
movss xmm0, dword [edi + 0xb4]
mov edx, edi
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x58]
push eax
mov byte [edi + 0xbe], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
movss dword [edi + 0x64], xmm0
mov dword [edi + 0x6c], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
call fcn.0040af20
add esp, 4
test byte [esp + 0x10], 0x40
je 0x40e4e7
cmp byte [edi + 0xbd], 0
jne 0x40e4e7
cmp byte [esp + 0xf], 0
jne 0x40e4c4
movss xmm0, dword [esp + 0xd8]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x38], 1
cmp byte [esp + 0xe], 0
jne 0x40e59e
movss xmm0, dword [esp + 0xdc]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x20], 1
jmp 0x40e59e
mov al, byte [edi + 0xd2]
test al, al
jg 0x40e4fe
cmp byte [edi + 0xd3], 0
jle 0x40e59e
cmp byte [esp + 0xf], 0
jne 0x40e535
test al, al
jle 0x40e535
cmp byte [edi + 0xd4], 0
je 0x40e522
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0xd8]
jmp 0x40e52b
movss xmm0, dword [esp + 0xd8]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x38], 1
cmp byte [esp + 0xe], 0
jne 0x40e571
cmp byte [edi + 0xd3], 0
jle 0x40e571
cmp byte [edi + 0xd4], 0
je 0x40e55e
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0xdc]
jmp 0x40e567
movss xmm0, dword [esp + 0xdc]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x20], 1
cmp byte [edi + 0xbd], 0
jne 0x40e59e
test dword [edi + 0xc], 0x100
mov ecx, dword [0x466af0]
jne 0x40e59e
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x239c]
jb 0x40e59e
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x239c], eax
lea esi, [edi + 0x28]
mov edx, edi
push esi
lea ecx, [esp + 0xac]
call fcn.0040ac40
add esp, 4
cmp byte [edi + 0xbd], 0
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [esp + 0x10]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
je 0x40e5f2
test eax, 0x1000000
jne 0x40e5f2
movss xmm2, dword [edi + 0x58]
addss xmm1, dword [edi + 0x18]
addss xmm2, dword [edi + 0x1c]
subss xmm1, dword [edi + 0x18]
subss xmm2, dword [edi + 0x1c]
cmp byte [esp + 0x17], 0
movss dword [edi + 0x20], xmm1
movss dword [edi + 0x24], xmm2
je 0x40e649
and eax, 0xc000000
mov dword [edi + 0xd8], 0xffffffff
cmp eax, 0x4000000
jne 0x40e649
cmp byte [esp + 0xd], 0
jne 0x40e649
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x1d74]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x1d7c]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x10]
test edx, 0x1000000
je 0x40e6ea
mov esi, dword [esp + 0x3c]
mov ax, word [esi + 0x190]
lea ecx, [esi + 0x190]
mov word [edi + 0xcc], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x40e6ab
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x34], edx
test eax, eax
je 0x40e691
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e696
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0041c040
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0x190]
mov ecx, dword [ecx]
mov eax, dword [esi + 0x198]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x190]
mov al, byte [esp + 0xd]
mov ecx, dword [esp + 0x18]
test edx, 0x4000000
jne 0x40e6f2
test al, al
jne 0x40e6f2
cmp ecx, 0x3000000
je 0x40e6f2
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0x104]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov al, byte [esp + 0xd]
movss xmm1, dword [edi + 0xe4]
ucomiss xmm1, dword [0x460700]
lahf
test ah, 0x44
jnp 0x40e761
cmp byte [edi + 0xdd], 0
jne 0x40e761
movss xmm0, dword [edi + 0x20]
lea edx, [esp + 0x80]
mulss xmm0, dword [edi + 0xec]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp + 0x84], xmm1
movss xmm1, dword [edi + 0xf0]
mulss xmm1, dword [edi + 0x24]
subss xmm0, xmm1
movss dword [esp + 0x88], xmm0
call fcn.004106b0
add esp, 4
jmp 0x40e7c2
test edx, 0x10000000
je 0x40e772
lea ecx, [esp + 0xb0]
jmp 0x40e7a8
test edx, 0x4000000
je 0x40e78d
test al, al
jne 0x40e78d
cmp byte [esp + 0x43], al
jle 0x40e78d
lea ecx, [esp + 0xb8]
jmp 0x40e7a8
test edx, 0x2000000
je 0x40e7c6
test al, al
jne 0x40e7c6
cmp ecx, 0x3000000
je 0x40e7c6
lea ecx, [esp + 0xc0]
mov edx, edi
call fcn.00415650
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x10]
cmp byte [esp + 0xd], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x28]
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
movss xmm3, dword [ecx + 0xc60]
movaps xmm4, xmm1
movss xmm2, dword [ecx + 0xc5c]
maxss xmm3, dword [ecx + 0xc68]
maxss xmm2, dword [ecx + 0xc64]
addss xmm5, dword [eax + 0x10]
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0xf0], xmm0
subss xmm6, xmm3
movss dword [esp + 0xf4], xmm1
addss xmm3, dword [eax + 0x1c]
subss xmm7, xmm2
movss dword [esp + 0xf8], xmm5
addss xmm2, dword [eax + 0x18]
movss dword [esp + 0xfc], xmm4
movss dword [esp + 0xec], xmm6
movss dword [esp + 0xe4], xmm3
movss dword [esp + 0xe8], xmm7
movss dword [esp + 0xe0], xmm2
jne 0x40e8ea
test edx, 0x1000000
jne 0x40e8ea
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40e8ea
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x40e8ea
mov eax, dword [0x466af0]
movss xmm0, dword [edi + 0x24]
cmp byte [eax + 0x52], 0
je 0x40e8b5
test byte [edi + 0xc], 1
jne 0x40e8b5
movss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x40e8cf
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x40e8e0
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 edx, 0x1000000
je 0x40e91e
movss xmm2, dword [ecx + 0xbb8]
jmp 0x40e93e
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40e936
movss xmm2, dword [ecx + 0xbc0]
jmp 0x40e93e
movss xmm2, dword [ecx + 0xb9c]
xor al, al
movss dword [edi + 0x50], xmm2
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x17], al
je 0x40e97b
test edx, 0x1000
jne 0x40e97b
test edx, 0x4000000
je 0x40e966
mov byte [esp + 0x1c], 1
jmp 0x40e97b
test edx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [esp + 0x1c], eax
mov eax, edx
mov dword [esp + 0xd4], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0xd0], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x100], xmm0
cmp eax, 0x1000000
jne 0x40e9ae
xor eax, eax
jmp 0x40e9b7
xor eax, eax
cmp byte [ecx + 0x51], al
setne al
inc eax
cmp byte [edi + 0xbd], 0
movss xmm1, dword [ecx + 0x1014]
addss xmm2, dword [0x460644]
movaps xmm0, xmm1
mov dword [esp + 0x24], eax
mulss xmm1, dword [0x4605ec]
mulss xmm0, dword [0x460648]
addss xmm1, xmm2
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x40ea56
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x104]
push ecx
push eax
lea eax, [esp + 0xdc]
mov ecx, edi
push eax
lea eax, [esp + 0xe4]
push eax
lea edx, [esp + 0xec]
call fcn.0040b180
add esp, 0x14
test eax, eax
je 0x40ea4e
mov ecx, dword [esp + 0x38]
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 + 0x38], ecx
mov byte [esp + 0x20], al
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
cmp byte [edi + 0xbd], 0
mov al, byte [esp + 0xd4]
mov byte [edi + 0xc6], al
mov al, byte [esp + 0xd0]
mov byte [edi + 0xc7], al
jne 0x40ebca
cmp dword [esp + 0x58], 0
movss xmm0, dword [edi + 0x6c]
addss xmm0, dword [edi + 0x64]
movss xmm4, dword [edi + 0x1ec]
movss xmm5, dword [edi + 0x1f0]
subss xmm4, dword [edi + 0x1e4]
subss xmm5, dword [edi + 0x1e8]
movss xmm2, dword [edi + 0x2c]
movss xmm6, dword [edi + 0x28]
subss xmm2, xmm0
xorps xmm0, xmm0
addss xmm4, dword [esp + 0x54]
addss xmm5, dword [esp + 0x2c]
jne 0x40ead3
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x40eaef
movss xmm3, dword [edi + 0x48]
movss xmm1, dword [edi + 0x4c]
addss xmm3, xmm3
addss xmm1, xmm1
addss xmm3, dword [edi + 0x30]
addss xmm1, dword [edi + 0x34]
cmp byte [esp + 0x38], 0
jne 0x40eaf9
movaps xmm6, xmm4
mov eax, dword [esp + 0x20]
test al, al
jne 0x40eb04
movaps xmm2, xmm5
test edx, 0x4000
jne 0x40eb1a
comiss xmm1, xmm2
jbe 0x40eb16
test dl, 8
je 0x40eb1a
xor al, al
jmp 0x40eb1c
mov al, 1
mov byte [esp + 0xd], al
mov byte [edi + 0xb9], al
test edx, 0x8000
jne 0x40eb66
test al, al
je 0x40eb3c
movss xmm4, dword [ecx + 0xc00]
jmp 0x40eb3f
xorps xmm4, xmm4
subss xmm6, xmm4
comiss xmm3, xmm6
jbe 0x40eb5a
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0xd]
je 0x40eb66
mov byte [edi + 0xb8], 0
xorps xmm1, xmm1
jmp 0x40eb97
mov byte [edi + 0xb8], 1
test al, al
jne 0x40eb8f
subss xmm2, dword [ecx + 0xc00]
comiss xmm1, xmm2
jbe 0x40eb87
test dl, 8
jne 0x40eb87
mov al, 1
jmp 0x40eb89
xor al, al
mov byte [edi + 0xb9], al
movss xmm1, dword [ecx + 0xc00]
test al, al
je 0x40eba3
movss xmm0, dword [ecx + 0xc00]
movss dword [edi + 0xb0], xmm0
addss xmm0, dword [edi + 0x68]
movss dword [edi + 0xb4], xmm1
movss dword [edi + 0x68], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x6c]
movss dword [edi + 0x6c], xmm0
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40ebed
cmp dword [esp + 0x18], 0x3000000
je 0x40ebed
mov eax, dword [esp + 0x3c]
add eax, 0x224
jmp 0x40ebf4
lea eax, [esp + 0xf0]
movups xmm0, xmmword [eax]
mov eax, edx
movss xmm6, dword [edi + 0x1c]
and eax, 0x401
movss xmm5, dword [edi + 0x18]
movaps xmm1, xmm6
movss xmm4, dword [edi + 0x20]
movaps xmm2, xmm5
movss dword [esp + 0x70], xmm5
addss xmm4, xmm5
addss xmm1, dword [edi + 0x58]
addss xmm2, dword [edi + 0x28]
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmm6
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm6
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x78], xmm2
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm6
movss dword [edi + 0x1dc], xmm4
addss xmm0, dword [edi + 0x24]
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0x1d4]
movss xmm4, dword [esp + 0x60]
movss xmm5, dword [esp + 0x64]
maxss xmm0, xmm4
maxss xmm6, xmm5
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm6
movss xmm0, dword [edi + 0x1e0]
movss xmm1, dword [edi + 0x1dc]
minss xmm0, dword [esp + 0x6c]
minss xmm1, dword [esp + 0x68]
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1dc], xmm1
movss xmm6, dword [edi + 0x18]
movss xmm7, dword [edi + 0x1c]
movaps xmm3, xmm6
movaps xmm0, xmm7
addss xmm6, dword [edi + 0x20]
addss xmm7, dword [edi + 0x24]
addss xmm0, dword [edi + 0x64]
addss xmm3, dword [edi + 0x60]
subss xmm6, dword [edi + 0x68]
subss xmm7, dword [edi + 0x6c]
movss dword [esp + 0x54], xmm0
movss dword [edi + 0x1e4], xmm3
movss dword [edi + 0x1e8], xmm0
movss dword [edi + 0x1ec], xmm6
movss dword [edi + 0x1f0], xmm7
cmp eax, 1
jne 0x40ed21
movss xmm1, dword [edi + 0x54]
jmp 0x40ed29
movss xmm1, dword [ecx + 0xbd4]
movss xmm0, dword [edi + 0x54]
xorps xmm2, xmm2
mulss xmm0, dword [0x46060c]
addss xmm3, dword [0x46060c]
movss dword [esp + 0x4c], xmm0
addss xmm3, xmm0
comiss xmm3, xmm2
cvttss2si eax, xmm3
mov dword [esp + 0x2c], eax
jae 0x40ed73
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x40ed6f
cvttss2si eax, xmm3
dec eax
jmp 0x40ed73
mov eax, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x54]
addss xmm3, dword [0x46060c]
mulss xmm1, dword [0x46060c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm3
movss dword [edi + 0x1f4], xmm0
comiss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [esp + 0x2c], eax
jae 0x40edc4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40edc0
cvttss2si eax, xmm1
dec eax
jmp 0x40edc4
mov eax, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x4c]
subss xmm6, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm2
cvttss2si eax, xmm6
movss dword [edi + 0x1f8], xmm0
mov dword [esp + 0x2c], eax
jae 0x40ee05
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x40ee01
cvttss2si eax, xmm6
dec eax
jmp 0x40ee05
mov eax, dword [esp + 0x2c]
subss xmm7, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm7, xmm2
cvttss2si eax, xmm7
movss dword [edi + 0x1fc], xmm0
mov dword [esp + 0x2c], eax
jae 0x40ee40
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x40ee3c
cvttss2si eax, xmm7
dec eax
jmp 0x40ee40
mov eax, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x6c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x1f8]
comiss xmm5, xmm0
jbe 0x40ee67
movaps xmm1, xmm5
jmp 0x40ee6e
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm3, dword [edi + 0x1f4]
comiss xmm4, xmm3
movss xmm7, dword [esp + 0x68]
jbe 0x40ee86
movaps xmm0, xmm4
jmp 0x40ee8d
movaps xmm0, xmm7
minss xmm0, xmm3
movss dword [edi + 0x1f4], xmm0
movss dword [edi + 0x1f8], xmm1
movss xmm0, dword [edi + 0x200]
comiss xmm5, xmm0
ja 0x40eeb1
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1fc]
comiss xmm4, xmm0
ja 0x40eec5
movaps xmm4, xmm7
minss xmm4, xmm0
movss dword [edi + 0x1fc], xmm4
movss dword [edi + 0x200], xmm5
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm2
jbe 0x40eef1
test edx, 0x2000040
jne 0x40eef1
mulss xmm0, dword [0x460614]
jmp 0x40ef01
movss xmm0, dword [ecx + 0x1014]
mulss xmm0, dword [0x4606a8]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0xc8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x254], xmm0
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1ec]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x90], xmm0
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x1f0]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e8]
addss xmm1, dword [edi + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x94], xmm0
call fcn.00414650
mov edx, dword [esp + 0x28]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x88], xmm0
movss dword [edi + 0x8c], xmm1
mov dword [edi + 0x98], 0x7f7fffff
mov dword [edi + 0x9c], 0x7f7fffff
mov dword [edi + 0x74], 0
mov dword [edi + 0x70], 0
mov eax, dword [edx + 0x1010]
mov ecx, dword [edi + 0x278]
mov eax, dword [eax + 0x30]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.00424fa0
mov ecx, dword [0x466af0]
push 0
mov eax, dword [ecx + 0x12c4]
mov byte [eax + 0xbc], 1
lea eax, [esp + 0x6c]
mov edi, dword [ecx + 0x12c4]
push eax
lea eax, [esp + 0x68]
push eax
mov ecx, dword [edi + 0x278]
call fcn.00424eb0
mov eax, dword [edi + 0x278]
mov byte [esp + 0xe], 0
mov ecx, dword [eax + 0x7c]
mov eax, dword [eax + 0x84]
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 + 0x224], eax
mov eax, dword [esp + 0x10]
movss dword [edi + 0x228], xmm0
and eax, 0x5000000
movss dword [edi + 0x22c], xmm1
movss dword [edi + 0x230], xmm2
cmp eax, 0x1000000
jne 0x40f12f
cmp dword [esp + 0x18], 0x3000000
je 0x40f12f
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x190]
cmp ecx, 2
jl 0x40f0e7
mov eax, dword [eax + 0x198]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x40f0e7
mov edi, dword [esp + 0x30]
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 0x40f0eb
comiss xmm2, xmm5
jbe 0x40f0eb
comiss xmm3, xmm6
jbe 0x40f0eb
comiss xmm4, xmm7
jbe 0x40f0eb
mov byte [esp + 0xd], 1
jmp 0x40f0f0
mov edi, dword [esp + 0x30]
mov byte [esp + 0xd], 0
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x18], 0
jne 0x40f133
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
je 0x40f133
cmp byte [esp + 0xd], 0
jne 0x40f133
mov byte [esp + 0xe], 1
mov dword [edi + 0x278], eax
jmp 0x40f133
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x1f6c]
test ecx, ecx
jne 0x40f147
mov ecx, dword [eax + 0x1da0]
cmp byte [esp + 0x1c], 0
jne 0x40f167
test ecx, ecx
je 0x40f160
mov eax, dword [edi + 0x338]
cmp eax, dword [ecx + 0x338]
je 0x40f167
mov byte [esp + 0x18], 0
jmp 0x40f16c
mov byte [esp + 0x18], 1
movd xmm0, esi
lea eax, [esp + 0x100]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x74]
movss dword [esp], xmm0
push eax
push dword [esp + 0x2c]
push ecx
push dword [esp + 0x28]
mov ecx, edi
call fcn.0040c7b0
add esp, 0x14
cmp byte [esp + 0xe], 0
je 0x40f1ab
lea eax, [edi + 0x280]
mov dword [edi + 0x278], eax
mov ecx, dword [esp + 0x10]
xorps xmm4, xmm4
movss xmm5, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x40f1cf
movaps xmm7, xmm5
jmp 0x40f20b
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 + 0x68]
addss xmm0, dword [edi + 0x60]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x40f204
movss xmm7, dword [edi + 0x30]
jmp 0x40f207
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm6, dword [edi + 0x44]
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x40f221
movss dword [esp + 0x24], xmm6
jmp 0x40f259
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x6c]
addss xmm0, dword [edi + 0x64]
subss xmm1, xmm0
test dl, dl
je 0x40f24c
movss xmm0, dword [edi + 0x34]
jmp 0x40f24f
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x48]
movss xmm2, dword [edi + 0x88]
movss xmm1, dword [edi + 0x1e4]
movss dword [esp + 0x2c], xmm0
subss xmm1, xmm2
maxss xmm0, dword [edi + 0x54]
movss dword [esp + 0x20], xmm2
movss xmm3, dword [esp + 0x2c]
ucomiss xmm5, xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x204], xmm2
addss xmm7, xmm2
movss xmm0, dword [edi + 0x8c]
movss xmm1, dword [edi + 0x4c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x1e8]
subss xmm0, dword [esp + 0x18]
movss dword [esp + 0x54], xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x208], xmm0
movss dword [edi + 0x20c], xmm7
addss xmm0, dword [esp + 0x24]
movss dword [edi + 0x210], xmm0
movups xmm0, xmmword [edi + 0x204]
movups xmmword [edi + 0x214], xmm0
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [edi + 0x60]
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x30], xmm0
subss xmm1, dword [esp + 0x20]
addss xmm1, xmm3
addss xmm1, xmm0
movss dword [edi + 0x234], xmm1
movss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x64]
movaps xmm7, xmm2
movss dword [esp + 0x2c], xmm2
movss xmm2, dword [esp + 0x54]
movss dword [esp + 0x24], xmm0
subss xmm7, dword [esp + 0x18]
addss xmm7, xmm2
addss xmm7, xmm0
movss dword [edi + 0x238], xmm7
test ah, 0x44
jp 0x40f394
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm3
addss xmm0, xmm3
subss xmm5, xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [edi + 0x68]
subss xmm5, xmm0
ucomiss xmm6, xmm4
addss xmm1, xmm5
movss xmm5, dword [esp + 0x24]
lahf
movss dword [edi + 0x23c], xmm1
test ah, 0x44
jp 0x40f3cb
movss xmm6, dword [edi + 0x24]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm6, xmm0
movaps xmm0, xmm5
addss xmm0, dword [edi + 0x6c]
subss xmm6, xmm0
movss xmm1, dword [esp + 0x30]
addss xmm7, xmm6
movss xmm6, dword [esp + 0x20]
lea ecx, [edi + 0x16c]
movaps xmm0, xmm1
mov esi, dword [esp + 0x28]
addss xmm0, xmm3
cvtps2pd xmm3, xmm3
movss dword [edi + 0x240], xmm7
subss xmm0, xmm6
cvtps2pd xmm2, xmm2
movss dword [edi + 0x144], xmm0
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm6
subsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, xmm0
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x4605b0]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm5
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x110], xmm0
movss dword [edi + 0x114], xmm1
movss xmm0, dword [edi + 0x110]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x114]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x150], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x154], xmm0
movss xmm1, dword [edi + 0x110]
movss xmm0, dword [edi + 0x114]
movss dword [edi + 0x100], xmm1
movss dword [edi + 0x104], xmm0
movss dword [edi + 0x108], xmm1
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x118], xmm1
movss dword [edi + 0x11c], xmm0
movss dword [edi + 0x120], xmm1
movss dword [edi + 0x124], xmm0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
mov word [edi + 0x140], 0
mov dword [edi + 0x158], 0
mov ax, word [edi + 0x15e]
mov word [edi + 0x15c], ax
mov dword [edi + 0x15e], 0x10000
movss xmm0, dword [edi + 0x94]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x17], 0
mov byte [edi + 0x162], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x163], 0
movss xmm1, dword [esi + 0xbd8]
mov dword [esp + 0x24], eax
je 0x40f59d
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x40f5a1
mov dword [esp + 0x24], eax
cvttss2si eax, xmm1
push 1
mov word [ecx + 8], ax
call fcn.00441440
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x170]
mov dword [edi + 0x16c], eax
lea eax, [edi + 0x190]
mov dword [edi + 0x170], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f614
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 + 0x190]
call fcn.0041c040
lea eax, [edi + 0x190]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a8], 1
test eax, eax
je 0x40f64a
mov eax, dword [eax + 0x1a8]
jmp 0x40f64f
mov eax, 1
mov dword [edi + 0x1ac], eax
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1b4], eax
lea eax, [edi + 0x1bc]
mov dword [edi + 0x1b8], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f69a
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 + 0x1bc]
call fcn.0041c040
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40f6cf
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 + 0x1c8]
call fcn.0041c040
lea eax, [edi + 0x1c8]
test dword [esp + 0x10], 0x8000000
mov dword [eax], 0
je 0x40f7aa
mov edx, dword [0x466af0]
xorps xmm0, xmm0
movss xmm5, dword [0x460644]
movss xmm2, dword [edx + 0xfec]
comiss xmm0, xmm2
jbe 0x40f706
xorps xmm1, xmm1
jmp 0x40f70d
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [0x4606e0]
movss xmm3, dword [0x46060c]
movss xmm4, dword [edx + 0xff0]
comiss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si ecx, xmm1
jbe 0x40f73b
xorps xmm1, xmm1
jmp 0x40f742
movaps xmm1, xmm5
minss xmm1, xmm4
movss xmm4, dword [edx + 0xff4]
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x40f765
xorps xmm1, xmm1
jmp 0x40f76c
movaps xmm1, xmm5
minss xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0xff8]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x40f78f
xorps xmm5, xmm5
jmp 0x40f793
minss xmm5, xmm1
mulss xmm5, xmm2
addss xmm5, xmm3
cvttss2si eax, xmm5
shl eax, 0x18
or eax, ecx
mov dword [edi + 0x1b0], eax
mov al, byte [edi + 0xd2]
test al, al
jle 0x40f7bc
dec al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x40f7ce
dec al
mov byte [edi + 0xd3], al
cmp byte [esp + 0x1c], 0
je 0x40f7f2
mov edx, 2
mov ecx, edi
call fcn.004100c0
cmp edi, dword [esi + 0x1da0]
jne 0x40f7f2
xor dl, dl
mov ecx, edi
call fcn.004168c0
cmp byte [esi + 0x53], 0
je 0x40f82f
mov eax, dword [esi + 0x1da0]
test eax, eax
je 0x40f82f
cmp dword [eax + 0x330], edi
jne 0x40f82f
cmp dword [esi + 0x1320], 0
jne 0x40f82f
call fcn.00412ee0
test al, al
je 0x40f82f
mov eax, dword [0x466af0]
cmp byte [eax + 0x2408], 0
jne 0x40f82f
call fcn.0041a100
mov eax, dword [esp + 0x10]
test al, 1
jne 0x40f8a0
movss xmm0, dword [esp + 0x70]
lea edx, [esp + 0x88]
addss xmm0, dword [edi + 0x54]
push dword [esp + 0x5c]
mov ecx, edi
push dword [esp + 0x54]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x80]
subss xmm0, dword [edi + 0x54]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x9c], xmm0
call fcn.0040cd90
mov eax, dword [esp + 0x18]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x244], ecx
test eax, 0x2000000
je 0x40f8b5
mov dword [esi + 0x22fc], edi
lea edx, [esp + 0x70]
mov ecx, edi
call fcn.0040fcf0
mov eax, dword [esi + 0x1c24]
test eax, eax
je 0x40fa36
cmp dword [edi + 8], eax
je 0x40f8dc
cmp dword [edi + 0x7c], eax
jne 0x40fa36
call fcn.0041b170
jmp 0x40fa36
cmp byte [edi + 0xc0], 0
je 0x40f935
mov byte [edi + 0xba], 1
mov edx, dword [edi + 0x198]
mov eax, dword [edi + 0x190]
lea esi, [edx + eax*4]
cmp edx, esi
je 0x40f935
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx + 0xc2], 0
jne 0x40f92e
mov byte [ecx + 0xc0], 1
mov byte [ecx + 0xba], 1
call fcn.0040d470
add edx, 4
cmp edx, esi
jne 0x40f910
mov edx, dword [0x466af0]
mov dword [edx + 0x12c4], edi
imul ecx, dword [edx + 0x129c], 0x6c
mov eax, dword [edx + 0x12a4]
add ecx, 0xffffffe8
add eax, ecx
mov dword [edx + 0x2470], eax
mov ecx, dword [edi + 0x1a4]
cmp ecx, 0xffffffff
je 0x40f96f
shl ecx, 9
add ecx, dword [edx + 0x206c]
jmp 0x40f971
xor ecx, ecx
mov dword [edx + 0x204c], ecx
mov dword [edx + 0x1020], 0x3f800000
mov eax, dword [edi]
movss xmm0, dword [edi + 0x270]
mulss xmm0, dword [eax + 0x1018]
mov eax, dword [edi + 0x328]
test eax, eax
je 0x40f9a5
mulss xmm0, dword [eax + 0x270]
mov eax, dword [edx + 0x1010]
movss dword [edx + 0x1030], xmm0
movss dword [edx + 0x1014], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [edx + 0x1034], xmm0
movss dword [edx + 0x101c], xmm0
test ecx, ecx
jne 0x40f9e0
cmp dword [edi + 0x1a0], ecx
jne 0x40f9e0
mov al, 1
jmp 0x40f9e2
xor al, al
mov byte [edi + 0x160], al
lea edx, [esp + 0x98]
movss xmm0, dword [edi + 0x18]
mov ecx, edi
movss xmm1, dword [edi + 0x58]
movaps xmm2, xmm0
addss xmm2, dword [edi + 0x28]
addss xmm1, dword [edi + 0x1c]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa4], xmm1
call fcn.0040fcf0
cmp byte [edi + 0xc0], 0
jne 0x40fab8
mov ecx, dword [0x466af0]
push 1
mov eax, dword [ecx + 0x12c4]
mov byte [eax + 0xbc], 1
lea eax, [edi + 0x1fc]
mov esi, dword [ecx + 0x12c4]
push eax
lea eax, [edi + 0x1f4]
push eax
mov ecx, dword [esi + 0x278]
call fcn.00424eb0
mov eax, dword [esi + 0x278]
mov ecx, dword [eax + 0x7c]
mov eax, dword [eax + 0x84]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x224], eax
movss dword [esi + 0x228], xmm0
movss dword [esi + 0x22c], xmm1
movss dword [esi + 0x230], xmm2
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov byte [edi + 0xbc], 0
inc word [edi + 0xc8]
mov dword [ecx + 0x1cb0], 0
cmp eax, dword [esp + 0x48]
je 0x40fc61
cmp byte [edi + 0xc0], 0
jne 0x40fc5a
mov eax, dword [esp + 0x10]
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x40fbbe
test dword [edi + 0x10], 0x100
je 0x40fb31
cmp byte [ecx + 0x1de9], 0
je 0x40fb31
mov eax, dword [ecx + 0x1da0]
test eax, eax
je 0x40fb31
mov eax, dword [eax + 0x33c]
cmp eax, dword [edi + 0x33c]
jne 0x40fb31
mov al, 1
jmp 0x40fb33
xor al, al
cmp byte [ecx + 0x2408], 0
jne 0x40fb84
test al, al
jne 0x40fb84
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [edi + 0x1dc]
jae 0x40fb62
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jb 0x40fb84
cmp byte [edi + 0xd2], 0
jg 0x40fb7d
cmp byte [edi + 0xd3], 0
jg 0x40fb7d
mov byte [edi + 0xdc], 1
jmp 0x40fb84
mov byte [edi + 0xdd], 1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40fbbe
cmp byte [eax + 0xbd], 0
jne 0x40fb9e
cmp byte [eax + 0xdc], 0
jle 0x40fba5
mov byte [edi + 0xdc], 1
cmp byte [eax + 0xbd], 0
jne 0x40fbb7
cmp byte [eax + 0xdd], 0
jle 0x40fbbe
mov byte [edi + 0xdd], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0xb8c]
jb 0x40fbd1
mov byte [edi + 0xdc], 1
cmp byte [edi + 0xdc], 0
jg 0x40fbf1
cmp byte [edi + 0xdd], 0
jg 0x40fbf1
xor dl, dl
cmp byte [edi + 0xde], dl
jg 0x40fbf3
xor al, al
jmp 0x40fbf5
mov dl, 1
mov al, 1
mov byte [edi + 0xc2], al
mov al, byte [edi + 0xdf]
test al, al
jle 0x40fc18
dec al
mov byte [edi + 0xdf], al
mov eax, dword [edi + 0xc]
or eax, 0x30200
mov dword [edi + 0xc], eax
xor al, al
cmp byte [edi + 0xbd], al
jne 0x40fc2e
cmp byte [edi + 0xba], al
je 0x40fc2e
test dl, dl
je 0x40fc52
cmp byte [edi + 0xd2], 0
jg 0x40fc52
cmp byte [edi + 0xd3], 0
jg 0x40fc52
cmp byte [edi + 0xdd], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [edi + 0xbf], al
jmp 0x40fc61
mov byte [edi + 0xbf], 1
cmp byte [edi + 0xc3], 0
jne 0x40fcc6
cmp byte [ecx + 0x76], 0
je 0x40fc77
cmp dword [esp + 0x58], 0
je 0x40fc8c
cmp byte [ecx + 0x77], 0
je 0x40fcc6
movsx eax, byte [ecx + 0x24a8]
cmp eax, dword [ecx + 0x129c]
jne 0x40fcc6
mov al, byte [edi + 0xd2]
test al, al
jle 0x40fc9e
inc al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x40fcb0
inc al
mov byte [edi + 0xd3], al
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00455124
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xbf], 0
mov ecx, dword [esp + 0x11c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.00455124
mov esp, ebp
pop ebp
ret