Function at 0x411300
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x465040]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x465538]
push edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], esi
call fcn.0040e4e0
mov edi, eax
mov dword [esp + 0x58], eax
test edi, edi
mov dword [esp + 0x3c], edi
sete byte [esp + 0x40]
test eax, eax
jne 0x411362
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
call fcn.0040e7e0
mov edi, eax
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x4000]
cmp ecx, dword [edi + 8]
jne 0x41136e
int3
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x30200
cmp eax, 0x30200
jne 0x411387
or ecx, 6
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x3fdc], 0
mov edx, dword [esi + 0x3f70]
mov eax, dword [edi + 0x24c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
jne 0x4113b1
cmp byte [esi + 0x3f7d], 0
je 0x4113b1
mov al, 1
jmp 0x4113b3
xor al, al
mov byte [edi + 0xc3], al
lea eax, [edx - 1]
cmp dword [esp + 0x4c], eax
setl al
mov byte [esp + 0x1f], al
test ecx, 0x4000000
je 0x41140d
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x4ab4]
mov edx, dword [edx + 0x4ab0]
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 + 0x34]
mov edx, dword [esp + 0x50]
setne al
or cl, al
mov al, byte [esp + 0x1f]
or al, cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1f], al
mov byte [edi + 0xc1], al
test al, al
je 0x41142c
or byte [edi + 0xe0], 8
or byte [edi + 0xe1], 8
or byte [edi + 0xe2], 8
cmp dword [esp + 0x4c], edx
je 0x41149e
mov dl, byte [esp + 0x40]
push ecx
mov ecx, edi
call fcn.0040e530
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edi + 0xc], edx
test dword [esi + 0x49f0], 0x100
je 0x41145c
mov eax, dword [esi + 0x4a28]
jmp 0x41145e
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x24c], eax
xor eax, eax
movsd xmm0, qword [esi + 0x3f68]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xcc], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x3ff4]
inc dword [esi + 0x3ff4]
mov word [edi + 0xce], ax
jmp 0x4114a5
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3fdc]
test eax, eax
jne 0x4114b3
xor ecx, ecx
jmp 0x4114c0
imul ecx, eax, 0x68
mov eax, dword [esi + 0x3fe4]
mov ecx, dword [eax + ecx - 0x68]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
cmp eax, dword [esp + 0x50]
je 0x4114dd
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x4114e3
mov eax, dword [edi + 0x30c]
cmp dword [edi + 0xf4], 0
mov dword [esp + 0x44], eax
lea eax, [edi + 0xf4]
jne 0x41151c
cmp dword [eax + 4], 0
jne 0x41150b
push 8
mov ecx, eax
call fcn.00420f90
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]
lea ecx, [esp + 0xdc]
mov dword [esi + 0x4004], edi
call fcn.004029a0
test dword [esp + 0x14], 0x2000000
xorps xmm0, xmm0
mov eax, dword [esi + 0x4004]
movups xmmword [esp + 0x12c], xmm0
mov word [esp + 0x13c], 0
movups xmm0, xmmword [esi + 0x49a0]
movzx eax, word [eax + 0xf4]
mov word [esp + 0x12c], ax
movzx eax, word [esi + 0x4a60]
mov word [esp + 0x12e], ax
movzx eax, word [esi + 0x4a6c]
movups xmmword [esp + 0xdc], xmm0
mov word [esp + 0x130], ax
movups xmm0, xmmword [esi + 0x49b0]
movzx eax, word [esi + 0x4a78]
mov word [esp + 0x132], ax
movzx eax, word [esi + 0x4a84]
movups xmmword [esp + 0xec], xmm0
mov word [esp + 0x134], ax
movups xmm0, xmmword [esi + 0x49c0]
movzx eax, word [esi + 0x4a9c]
mov word [esp + 0x136], ax
movzx eax, word [esi + 0x4a90]
movups xmmword [esp + 0xfc], xmm0
mov word [esp + 0x138], ax
movups xmm0, xmmword [esi + 0x49d0]
movzx eax, word [esi + 0x4ab4]
mov word [esp + 0x13a], ax
movzx eax, word [esi + 0x5030]
movups xmmword [esp + 0x10c], xmm0
mov dword [esp + 0xd8], edi
movups xmm0, xmmword [esi + 0x49e0]
mov word [esp + 0x13c], ax
movups xmmword [esp + 0x11c], xmm0
je 0x411640
test dword [esi + 0x4960], 0x400
mov byte [esp + 0x13e], 1
jne 0x411648
mov byte [esp + 0x13e], 0
mov edi, dword [esi + 0x3fdc]
lea eax, [esi + 0x3fdc]
mov esi, dword [eax + 4]
mov dword [esp + 0x18], eax
cmp edi, esi
jne 0x41168b
inc edi
test esi, esi
je 0x411675
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
sar ecx, 1
add ecx, esi
jmp 0x41167a
mov ecx, 8
cmp ecx, edi
cmovg edi, ecx
mov ecx, eax
push edi
call fcn.00421770
mov eax, dword [esp + 0x18]
imul edi, dword [eax], 0x68
lea esi, [esp + 0xd8]
mov ecx, 0x1a
add edi, dword [eax + 8]
rep movsd dword es:[edi], dword [esi]
inc dword [eax]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
test ecx, 0x10000000
je 0x4116b7
inc dword [esi + 0x4fa0]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
cmp eax, dword [esp + 0x50]
je 0x411784
mov edx, dword [esp + 0x44]
mov dword [edi + 0x30c], edx
mov dword [edi + 0x320], edi
mov dword [edi + 0x31c], edi
mov dword [edi + 0x318], edi
mov dword [edi + 0x314], edi
test edx, edx
je 0x411739
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x411709
mov eax, dword [edx + 0x314]
mov dword [edi + 0x314], eax
test ecx, 0x4000000
je 0x41171d
mov eax, dword [edx + 0x318]
mov dword [edi + 0x318], eax
test ecx, 0x8000000
jne 0x411739
test ecx, 0x5000000
je 0x411739
mov eax, dword [edx + 0x31c]
mov dword [edi + 0x31c], eax
test dword [edi + 0x10], 0x100
je 0x411767
mov edx, edi
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edx + 0x30c]
mov edx, eax
mov dword [edi + 0x320], eax
test dword [edx + 0x10], 0x100
jne 0x411750
mov edx, dword [esp + 0x30]
mov eax, ecx
and eax, 0x1000000
mov dword [edi + 0x310], edx
neg eax
sbb eax, eax
and eax, edx
mov dword [edi + 0x324], eax
test dword [edi + 0x10], 0x100
je 0x411795
mov eax, dword [esi + 0x495c]
jmp 0x411798
mov eax, dword [edi + 8]
mov ecx, dword [0x465538]
mov dword [esp + 0x18], eax
lea edx, [ecx + 0x4a84]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x4004]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
cmp dword [edx], ecx
jne 0x4117f7
test ecx, ecx
je 0x4117da
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x4117df
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004216a0
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov esi, dword [esp + 0x18]
mov dword [ecx + eax*8], esi
mov esi, dword [esp + 0x20]
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [esp + 0x140]
inc dword [edx]
test dword [esp + 0x14], 0x4000000
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x495c], eax
mov eax, dword [esi + 0x495c]
mov dword [edi + 0x364], eax
je 0x4118eb
mov eax, dword [esi + 0x4ab4]
mov edx, dword [esi + 0x4ab0]
mov dword [esp + 0x24], edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x30]
mov dword [edx + ecx*8 + 4], edi
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x158]
mov dword [edx + ecx*8 + 0xc], eax
lea edx, [esi + 0x4ab4]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x20], eax
cmp ecx, eax
jne 0x4118a6
inc ecx
test eax, eax
je 0x41188e
cdq
sub eax, edx
lea edx, [esi + 0x4ab4]
sar eax, 1
add eax, dword [esp + 0x20]
jmp 0x411893
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004215d0
lea edx, [esi + 0x4ab4]
mov eax, dword [edx]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
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 + 0x3c]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x34]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0x84], eax
test byte [esi + 0x49f0], 1
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
je 0x4119a5
mov dl, byte [edi + 0xe0]
mov ecx, dword [esi + 0x49f4]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x11]
test ecx, eax
je 0x411994
movss xmm1, dword [esi + 0x4a0c]
movss xmm0, dword [esi + 0x4a08]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x461c74]
jbe 0x411994
mov eax, dword [esi + 0x4a00]
mov ecx, dword [esi + 0x4a04]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [esi + 0x4a08]
mov ecx, dword [esi + 0x4a0c]
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 0x4119a5
push ecx
lea edx, [esi + 0x4a00]
mov ecx, edi
call fcn.00414680
add esp, 4
test byte [esi + 0x49f0], 2
xorps xmm1, xmm1
je 0x411a46
mov cl, byte [edi + 0xe1]
movsx eax, cl
and eax, dword [esi + 0x49f8]
je 0x4119da
movss xmm0, dword [esi + 0x4a10]
comiss xmm0, xmm1
jbe 0x4119da
mov byte [esp + 0x13], 1
jmp 0x4119e3
mov byte [esp + 0x13], 0
test eax, eax
je 0x4119f7
movss xmm0, dword [esi + 0x4a14]
comiss xmm0, xmm1
jbe 0x4119fc
mov byte [esp + 0x12], 1
jmp 0x411a01
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
test byte [edi + 0x10], 4
je 0x411a15
test cl, 4
jne 0x411a15
mov eax, dword [edi + 0x28]
mov dword [esi + 0x4a10], eax
test byte [edi + 0x10], 8
je 0x411a2d
test byte [edi + 0xe1], 4
jne 0x411a2d
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x4a14], eax
push dword [esi + 0x49f8]
lea edx, [esi + 0x4a10]
mov ecx, edi
call fcn.004147e0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x49f0], 0x80
je 0x411a8d
movss xmm0, dword [esi + 0x4a20]
comiss xmm0, xmm1
jb 0x411a6e
movss dword [edi + 0x98], xmm0
mov dword [edi + 0xa0], 0
movss xmm0, dword [esi + 0x4a24]
comiss xmm0, xmm1
jb 0x411a8d
movss dword [edi + 0x9c], xmm0
mov dword [edi + 0xa4], 0
test byte [esi + 0x49f0], 4
je 0x411aaa
mov eax, dword [esi + 0x4a18]
mov ecx, dword [esi + 0x4a1c]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x411ac2
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x50]
je 0x411ac2
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x49f0], 8
je 0x411b0f
mov ecx, dword [esi + 0x49fc]
mov dl, byte [esi + 0x4a2c]
test ecx, ecx
je 0x411ae6
movsx eax, byte [edi + 0xe2]
test ecx, eax
je 0x411b0f
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 + 0x49f0], 0x20
je 0x411b21
xor edx, edx
mov ecx, edi
call fcn.004140e0
mov dl, byte [edi + 0xc1]
test dl, dl
je 0x411b40
and byte [edi + 0xe0], 0xf7
and byte [edi + 0xe1], 0xf7
and byte [edi + 0xe2], 0xf7
mov ecx, dword [0x465538]
mov byte [edi + 0xc0], 0
test dword [ecx + 0x49f0], 0x200
je 0x411bf6
mov eax, dword [ecx + 0x4a54]
test al, 1
je 0x411bf6
test dl, dl
jne 0x411bf6
cmp byte [edi + 0xc2], dl
jne 0x411bf6
test al, 2
je 0x411bae
mov eax, dword [ecx + 0x4008]
test eax, eax
je 0x411bae
mov eax, dword [eax + 0x314]
cmp dword [edi + 0x314], eax
je 0x411bf6
cmp dword [eax + 0x314], edi
je 0x411bf6
nop
cmp eax, edi
je 0x411bf6
mov eax, dword [eax + 0x310]
test eax, eax
jne 0x411ba0
test byte [ecx + 0x4a54], 4
je 0x411be5
mov eax, dword [ecx + 0x4ad8]
test eax, eax
je 0x411be5
mov eax, dword [eax + 0x314]
cmp dword [edi + 0x314], eax
je 0x411bf6
cmp dword [eax + 0x314], edi
je 0x411bf6
cmp eax, edi
je 0x411bf6
mov eax, dword [eax + 0x310]
test eax, eax
jne 0x411bd7
mov dword [edi + 0x278], 0
mov byte [edi + 0xc0], 1
cmp byte [esp + 0x13e], 0
je 0x411c91
cmp dword [edi + 0x314], edi
jne 0x411c91
mov ecx, dword [0x465538]
mov dword [esp + 0x30], ecx
mov eax, dword [ecx + 0x502c]
and dword [ecx + 0x4960], 0xfffffbff
mov dword [ecx + 0x38c8], eax
add ecx, 0x4a90
mov dword [esp + 0x18], ecx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x411c6e
inc edx
mov dword [esp + 0x20], edx
test eax, eax
je 0x411c5a
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x411c5f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420f90
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x4960]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
inc dword [eax]
mov eax, dword [esp + 0x30]
inc word [eax + 0x5030]
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x4004], 0
cmp eax, dword [esp + 0x50]
je 0x413814
cmp byte [edi + 0xc0], 0
jne 0x41381d
mov eax, dword [esp + 0x14]
and eax, 0x3000000
mov byte [edi + 0xba], 1
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x30], eax
mov al, byte [edi + 0xdd]
mov byte [esp + 0x4b], 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 0x411d48
test eax, eax
je 0x411d2b
cdq
sub eax, edx
lea edx, [edi + 0xf4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x411d36
mov ecx, 8
lea edx, [edi + 0xf4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00420f90
mov dword [edi + 0xf4], 1
mov ecx, dword [edi + 0x278]
call fcn.0042d0e0
cmp byte [edi + 0x370], 0
mov dword [edi + 0x1a4], 0xffffffff
je 0x411db3
mov ecx, dword [edi + 0x278]
push dword [edi + 0x368]
add ecx, 0xc
mov byte [edi + 0x370], 0
call fcn.00421380
mov ecx, dword [edi + 0x278]
push dword [edi + 0x36c]
add ecx, 0x18
call fcn.00421160
mov dword [edi + 0x36c], 0
mov dword [edi + 0x368], 0
cmp dword [esi + 0x4cac], 0
je 0x411ef2
test dword [edi + 0xc], 0x20000
jne 0x411ef2
cmp dword [esp + 0x58], 0
je 0x411ef2
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411e05
test dl, dl
je 0x411e01
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411e05
add eax, 2
add ecx, 2
test dl, dl
jne 0x411de5
xor eax, eax
jmp 0x411e0a
sbb eax, eax
or eax, 1
test eax, eax
je 0x411ef2
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x78]
mov dword [esp + 0x18], edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411e24
sub ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
cmp edx, eax
jae 0x411ed7
mov edx, dword [esp + 0x24]
test edx, edx
je 0x411eb8
mov ecx, dword [0x465538]
test ecx, ecx
je 0x411eb8
mov eax, dword [ecx + 0x3f70]
mov dword [esp + 0x18], eax
movsx eax, word [ecx + 0x5200]
mov esi, dword [esp + 0x18]
lea eax, [eax*8 + 0x5204]
add eax, ecx
cmp dword [eax], esi
mov esi, dword [esp + 0x34]
je 0x411eae
movsx eax, word [ecx + 0x5200]
inc eax
mov dword [esp + 0x20], 6
cdq
idiv dword [esp + 0x20]
movzx eax, dx
mov edx, dword [esp + 0x18]
mov word [ecx + 0x5200], ax
cwde
lea eax, [eax*8 + 0x5204]
add eax, ecx
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
inc word [eax + 6]
inc dword [ecx + 0x51fc]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esp + 0x30]
add esp, 4
call fcn.0040ac10
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
push eax
push dword [esp + 0x58]
push dword [esp + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [edi + 0x78], eax
lea eax, [edi + 0x38]
mov ecx, edi
push eax
lea edx, [edi + 0x30]
call fcn.0040ebf0
mov al, byte [edi + 0xdc]
add esp, 4
test al, al
jle 0x411f15
dec al
mov byte [edi + 0xdc], al
mov al, byte [edi + 0xdd]
test al, al
jle 0x411f27
dec al
mov byte [edi + 0xdd], al
mov al, byte [edi + 0xde]
test al, al
jle 0x411f39
dec al
mov byte [edi + 0xde], al
cmp dword [esp + 0x58], 0
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x12]
jne 0x411f57
test al, al
je 0x411f50
test cl, cl
jne 0x411f57
mov byte [edi + 0xdd], 1
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x14]
je 0x411fb6
test edx, 0x6000000
je 0x411fb6
mov byte [edi + 0xdd], 1
test dl, 0x40
je 0x411fb6
test al, al
jne 0x411f88
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x411f9a
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 [0x465538]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x4ad4]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov dword [esp + 0x38], eax
mov dword [ecx + 0x4004], edi
mov eax, dword [edi + 0x1a4]
cmp eax, 0xffffffff
je 0x411feb
shl eax, 9
add eax, dword [ecx + 0x4da4]
jmp 0x411fed
xor eax, eax
mov dword [ecx + 0x4d84], eax
mov dword [ecx + 0x3d5c], 0x3f800000
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d54]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x412025
mulss xmm0, dword [eax + 0x270]
cmp dword [esp + 0x2c], 0
mov eax, dword [ecx + 0x3d4c]
movss dword [ecx + 0x3d6c], xmm0
movss dword [ecx + 0x3d50], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [ecx + 0x3d70], xmm0
movss dword [ecx + 0x3d58], xmm0
jne 0x412064
cmp dword [edi + 0x1a0], 0
jne 0x412064
mov al, 1
jmp 0x412066
xor al, al
mov byte [edi + 0x160], al
test edx, 0x1000000
je 0x41207e
movss xmm0, dword [esi + 0x38f8]
jmp 0x4120a0
test edx, 0x6000000
je 0x412098
test edx, 0x8000000
jne 0x412098
movss xmm0, dword [esi + 0x3900]
jmp 0x4120a0
movss xmm0, dword [esi + 0x38dc]
movss dword [edi + 0x54], xmm0
xorps xmm1, xmm1
mov eax, dword [esi + 0x38d0]
mov ecx, dword [esi + 0x38d4]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5000000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x4120f8
test byte [edi + 0x10], 2
jne 0x4120f8
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x4120f8
test edx, 0x400
je 0x4120e9
movss xmm0, dword [esi + 0x38d4]
jmp 0x4120ec
xorps xmm0, xmm0
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x3914]
maxss xmm0, dword [esi + 0x4a4c]
movss dword [edi + 0x164], xmm0
movss xmm3, dword [esi + 0x4a50]
movss dword [edi + 0x168], xmm3
test dl, 1
je 0x41212f
xorps xmm2, xmm2
jmp 0x412143
movss xmm2, dword [esi + 0x3908]
addss xmm2, xmm2
addss xmm2, dword [esi + 0x3d50]
movss dword [edi + 0x58], xmm2
test edx, 0x400
je 0x41216a
movss xmm0, dword [esi + 0x3908]
addss xmm3, dword [esi + 0x3d50]
addss xmm0, xmm0
addss xmm3, xmm0
jmp 0x41216d
xorps xmm3, xmm3
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x40]
movss dword [edi + 0x5c], xmm3
mov byte [esp + 0x24], al
je 0x412194
movss xmm0, dword [edi + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x412194
mov byte [esp + 0x40], 1
cmp byte [esp + 0x12], 0
je 0x4121ae
movss xmm0, dword [edi + 0x44]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4121ae
mov byte [esp + 0x24], 1
test dl, 0x21
jne 0x4122c8
movss xmm0, dword [edi + 0x18]
movaps xmm3, xmm0
movss xmm4, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x28]
addss xmm2, dword [edi + 0x1c]
mov edx, dword [esp + 0x18]
cmp dword [esi + 0x4008], edi
jne 0x41227c
cmp dword [esi + 0x4048], 0
jne 0x41227c
cmp dword [esi + 0x404c], 0
jne 0x41227c
mov eax, dword [edx + 0x4004]
movss xmm5, dword [edx + 0x392c]
movss xmm7, dword [edx + 0xac]
maxss xmm0, dword [eax + 0x224]
maxss xmm4, dword [eax + 0x228]
minss xmm3, dword [eax + 0x22c]
minss xmm2, dword [eax + 0x230]
subss xmm0, xmm5
comiss xmm7, xmm0
jb 0x41227c
movss xmm0, dword [edx + 0x3930]
movss xmm6, dword [edx + 0xb0]
subss xmm4, xmm0
comiss xmm6, xmm4
jb 0x41227c
addss xmm5, xmm3
comiss xmm5, xmm7
jbe 0x41227c
addss xmm0, xmm2
comiss xmm0, xmm6
jbe 0x41227c
cmp word [esi + 0x2ada], 2
jne 0x41227c
cmp dword [edx + 0x4780], 0xffffffff
jne 0x41227c
mov byte [edi + 0xbe], 1
cmp byte [edi + 0xbe], 0
je 0x4122cf
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 + 0x24]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0x24], eax
jne 0x4122cf
comiss xmm1, dword [edx + 0x50d4]
jb 0x4122cf
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x50d4], eax
jmp 0x4122cf
mov byte [edi + 0xbd], 0
movss xmm0, dword [edi + 0xb0]
lea eax, [edi + 0x38]
movss dword [esp + 0x2c], xmm0
lea ecx, [esp + 0x144]
movss xmm0, dword [edi + 0xb4]
mov edx, edi
movss dword [esp + 0x28], 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.0040ed20
add esp, 4
test byte [esp + 0x14], 0x40
je 0x41238c
cmp byte [edi + 0xbd], 0
jne 0x41238c
cmp byte [esp + 0x13], 0
jne 0x412369
movss xmm0, dword [esp + 0x144]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x40], 1
cmp byte [esp + 0x12], 0
jne 0x412443
movss xmm0, dword [esp + 0x148]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x24], 1
jmp 0x412443
mov al, byte [edi + 0xd2]
test al, al
jg 0x4123a3
cmp byte [edi + 0xd3], 0
jle 0x412443
cmp byte [esp + 0x13], 0
jne 0x4123da
test al, al
jle 0x4123da
cmp byte [edi + 0xd4], 0
je 0x4123c7
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x144]
jmp 0x4123d0
movss xmm0, dword [esp + 0x144]
movss dword [edi + 0x28], xmm0
mov byte [esp + 0x40], 1
cmp byte [esp + 0x12], 0
jne 0x412416
cmp byte [edi + 0xd3], 0
jle 0x412416
cmp byte [edi + 0xd4], 0
je 0x412403
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [esp + 0x148]
jmp 0x41240c
movss xmm0, dword [esp + 0x148]
movss dword [edi + 0x2c], xmm0
mov byte [esp + 0x24], 1
cmp byte [edi + 0xbd], 0
jne 0x412443
test dword [edi + 0xc], 0x100
mov ecx, dword [0x465538]
jne 0x412443
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x50d4]
jb 0x412443
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x50d4], eax
lea esi, [edi + 0x28]
mov edx, edi
push esi
lea ecx, [esp + 0xb4]
call fcn.0040eac0
add esp, 4
cmp byte [edi + 0xbd], 0
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x14]
movss dword [esi], xmm3
movss dword [esi + 4], xmm1
je 0x41249d
test eax, 0x1000000
jne 0x41249d
movss xmm2, dword [edi + 0x18]
movss xmm1, dword [edi + 0x58]
addss xmm2, xmm3
addss xmm1, dword [edi + 0x1c]
subss xmm2, dword [edi + 0x18]
subss xmm1, dword [edi + 0x1c]
jmp 0x4124a0
movaps xmm2, xmm3
cmp byte [esp + 0x1f], 0
movss dword [edi + 0x20], xmm2
movss dword [edi + 0x24], xmm1
je 0x4124f7
and eax, 0xc000000
mov dword [edi + 0xd8], 0xffffffff
cmp eax, 0x4000000
jne 0x4124f7
cmp byte [esp + 0x11], 0
jne 0x4124f7
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x4ab4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x4abc]
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 + 0x14]
test edx, 0x1000000
je 0x412598
mov esi, dword [esp + 0x44]
mov ax, word [esi + 0x190]
lea ecx, [esi + 0x190]
mov word [edi + 0xcc], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x412559
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x20], edx
test eax, eax
je 0x41253f
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x412544
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420f90
mov edx, dword [esp + 0x14]
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 + 0x11]
mov ecx, dword [esp + 0x30]
test edx, 0x4000000
jne 0x4125a0
test al, al
jne 0x4125a0
cmp ecx, 0x3000000
je 0x4125a0
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0x104]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x11]
movss xmm1, dword [edi + 0xe4]
ucomiss xmm1, dword [0x461e1c]
lahf
test ah, 0x44
jnp 0x41260f
cmp byte [edi + 0xdd], 0
jne 0x41260f
movss xmm0, dword [edi + 0xec]
lea edx, [esp + 0x98]
mulss xmm0, dword [edi + 0x20]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xe8]
movss dword [esp + 0x9c], xmm1
movss xmm1, dword [edi + 0x24]
mulss xmm1, dword [edi + 0xf0]
subss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
call fcn.00414680
add esp, 4
jmp 0x412670
test edx, 0x10000000
je 0x412620
lea ecx, [esp + 0xb8]
jmp 0x412656
test edx, 0x4000000
je 0x41263b
test al, al
jne 0x41263b
cmp byte [esp + 0x4b], al
jle 0x41263b
lea ecx, [esp + 0xc0]
jmp 0x412656
test edx, 0x2000000
je 0x412674
test al, al
jne 0x412674
cmp ecx, 0x3000000
je 0x412674
lea ecx, [esp + 0xc8]
mov edx, edi
call fcn.00419270
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x11], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
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 + 0x399c]
movaps xmm4, xmm1
movss xmm2, dword [ecx + 0x3998]
maxss xmm3, dword [ecx + 0x39a4]
maxss xmm2, dword [ecx + 0x39a0]
addss xmm5, dword [eax + 0x10]
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0x150], xmm0
subss xmm6, xmm3
movss dword [esp + 0x154], xmm1
addss xmm3, dword [eax + 0x1c]
subss xmm7, xmm2
movss dword [esp + 0x158], xmm5
addss xmm2, dword [eax + 0x18]
movss dword [esp + 0x15c], xmm4
movss dword [esp + 0x16c], xmm6
movss dword [esp + 0x164], xmm3
movss dword [esp + 0x168], xmm7
movss dword [esp + 0x160], xmm2
jne 0x412798
test edx, 0x1000000
jne 0x412798
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x412798
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x412798
mov eax, dword [0x465538]
movss xmm0, dword [edi + 0x24]
cmp byte [eax + 0x4c], 0
je 0x412763
test byte [edi + 0xc], 1
jne 0x412763
movss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x20]
subss xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x41277d
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x41278e
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 0x4127cc
movss xmm2, dword [ecx + 0x38f4]
jmp 0x4127ec
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x4127e4
movss xmm2, dword [ecx + 0x38fc]
jmp 0x4127ec
movss xmm2, dword [ecx + 0x38d8]
xor al, al
movss dword [edi + 0x50], xmm2
mov dword [esp + 0x18], eax
cmp byte [esp + 0x1f], al
je 0x412829
test edx, 0x1000
jne 0x412829
test edx, 0x4000000
je 0x412814
mov byte [esp + 0x18], 1
jmp 0x412829
test edx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [esp + 0x18], eax
mov eax, edx
mov dword [esp + 0x14c], 0xffffffff
and eax, 0x5000000
mov dword [esp + 0x140], 0xffffffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x170], xmm0
cmp eax, 0x1000000
jne 0x41285c
xor eax, eax
jmp 0x412865
xor eax, eax
cmp byte [ecx + 0x4b], al
setne al
inc eax
cmp byte [edi + 0xbd], 0
movss xmm1, dword [ecx + 0x3d50]
addss xmm2, dword [0x461d20]
movaps xmm0, xmm1
mov dword [esp + 0x20], eax
mulss xmm1, dword [0x461cb0]
mulss xmm0, dword [0x461d24]
addss xmm2, xmm1
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x412904
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x174]
push ecx
push eax
lea eax, [esp + 0x14c]
mov ecx, edi
push eax
lea eax, [esp + 0x15c]
push eax
lea edx, [esp + 0x158]
call fcn.0040ef10
add esp, 0x14
test eax, eax
je 0x4128fc
mov ecx, dword [esp + 0x40]
test al, 1
mov edx, 1
movzx ecx, cl
cmovne ecx, edx
test al, 2
mov eax, dword [esp + 0x24]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x40], ecx
mov byte [esp + 0x24], al
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
cmp byte [edi + 0xbd], 0
mov al, byte [esp + 0x14c]
mov byte [edi + 0xc6], al
mov al, byte [esp + 0x140]
mov byte [edi + 0xc7], al
jne 0x412a78
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 + 0x2c]
addss xmm5, dword [esp + 0x28]
jne 0x412981
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x41299d
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 + 0x40], 0
jne 0x4129a7
movaps xmm6, xmm4
mov eax, dword [esp + 0x24]
test al, al
jne 0x4129b2
movaps xmm2, xmm5
test edx, 0x4000
jne 0x4129c8
comiss xmm1, xmm2
jbe 0x4129c4
test dl, 8
je 0x4129c8
xor al, al
jmp 0x4129ca
mov al, 1
mov byte [esp + 0x11], al
mov byte [edi + 0xb9], al
test edx, 0x8000
jne 0x412a14
test al, al
je 0x4129ea
movss xmm4, dword [ecx + 0x393c]
jmp 0x4129ed
xorps xmm4, xmm4
subss xmm6, xmm4
comiss xmm3, xmm6
jbe 0x412a08
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x11]
je 0x412a14
mov byte [edi + 0xb8], 0
xorps xmm1, xmm1
jmp 0x412a45
mov byte [edi + 0xb8], 1
test al, al
jne 0x412a3d
subss xmm2, dword [ecx + 0x393c]
comiss xmm1, xmm2
jbe 0x412a35
test dl, 8
jne 0x412a35
mov al, 1
jmp 0x412a37
xor al, al
mov byte [edi + 0xb9], al
movss xmm1, dword [ecx + 0x393c]
test al, al
je 0x412a51
movss xmm0, dword [ecx + 0x393c]
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 0x412a9b
cmp dword [esp + 0x30], 0x3000000
je 0x412a9b
mov eax, dword [esp + 0x44]
add eax, 0x224
jmp 0x412aa2
lea eax, [esp + 0x150]
movups xmm0, xmmword [eax]
mov eax, edx
movss xmm6, dword [edi + 0x1c]
and eax, 0x401
movss xmm5, dword [edi + 0x18]
movaps xmm1, xmm6
movss xmm3, dword [edi + 0x20]
movaps xmm2, xmm5
movss xmm4, dword [edi + 0x24]
addss xmm3, xmm5
movss dword [esp + 0x60], xmm5
addss xmm4, xmm6
addss xmm1, dword [edi + 0x58]
addss xmm2, dword [edi + 0x28]
movups xmmword [esp + 0x70], xmm0
movaps xmm0, xmm6
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x68], xmm2
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm6
movss dword [edi + 0x1dc], xmm3
movss dword [edi + 0x1e0], xmm4
movss xmm0, dword [edi + 0x1d4]
movss xmm4, dword [esp + 0x70]
movss xmm5, dword [esp + 0x74]
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 + 0x7c]
minss xmm1, dword [esp + 0x78]
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 + 0x38], 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 0x412bd0
movss xmm1, dword [edi + 0x54]
jmp 0x412bd8
movss xmm1, dword [ecx + 0x3910]
movss xmm0, dword [edi + 0x54]
xorps xmm2, xmm2
mulss xmm0, dword [0x461cdc]
addss xmm3, dword [0x461cdc]
movss dword [esp + 0x2c], xmm0
addss xmm3, xmm0
comiss xmm3, xmm2
cvttss2si eax, xmm3
mov dword [esp + 0x28], eax
jae 0x412c22
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x412c1e
cvttss2si eax, xmm3
dec eax
jmp 0x412c22
mov eax, dword [esp + 0x28]
movss xmm3, dword [esp + 0x38]
addss xmm3, dword [0x461cdc]
mulss xmm1, dword [0x461cdc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm1, xmm3
movss dword [edi + 0x1f4], xmm0
comiss xmm1, xmm2
cvttss2si eax, xmm1
mov dword [esp + 0x28], eax
jae 0x412c73
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x412c6f
cvttss2si eax, xmm1
dec eax
jmp 0x412c73
mov eax, dword [esp + 0x28]
movss xmm1, dword [esp + 0x2c]
subss xmm6, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm2
cvttss2si eax, xmm6
movss dword [edi + 0x1f8], xmm0
mov dword [esp + 0x28], eax
jae 0x412cb4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x412cb0
cvttss2si eax, xmm6
dec eax
jmp 0x412cb4
mov eax, dword [esp + 0x28]
subss xmm7, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm7, xmm2
cvttss2si eax, xmm7
movss dword [edi + 0x1fc], xmm0
mov dword [esp + 0x28], eax
jae 0x412cef
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x412ceb
cvttss2si eax, xmm7
dec eax
jmp 0x412cef
mov eax, dword [esp + 0x28]
movss xmm6, dword [esp + 0x7c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x1f8]
comiss xmm5, xmm0
jbe 0x412d16
movaps xmm1, xmm5
jmp 0x412d1d
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm3, dword [edi + 0x1f4]
comiss xmm4, xmm3
movss xmm7, dword [esp + 0x78]
jbe 0x412d35
movaps xmm0, xmm4
jmp 0x412d3c
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 0x412d60
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1fc]
comiss xmm4, xmm0
ja 0x412d74
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 0x412da0
test edx, 0x2000040
jne 0x412da0
mulss xmm0, dword [0x461ce8]
jmp 0x412db0
movss xmm0, dword [ecx + 0x3d50]
mulss xmm0, dword [0x461db4]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0xd0]
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.00418080
mov edx, dword [esp + 0x34]
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 + 0x3d4c]
mov ecx, dword [edi + 0x278]
mov dword [esp + 0x24], ecx
add ecx, 0x7c
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 0x30]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x412ec7
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x412eb3
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x412eb8
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00420f90
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov edi, dword [esp + 0x2c]
mov dword [eax + edx*4], edi
mov eax, edi
inc dword [ecx]
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x54], eax
call fcn.0042d520
mov ecx, dword [0x465538]
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x74]
mov edi, dword [esp + 0x3c]
mov eax, dword [ecx + 0x4004]
movss dword [esp + 0x150], xmm0
maxss xmm0, dword [esp + 0x78]
movss dword [esp + 0x154], xmm1
maxss xmm1, dword [esp + 0x7c]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x4004]
mov dword [esp + 0x24], eax
movss dword [esp + 0x158], xmm0
movss dword [esp + 0x15c], xmm1
mov edx, dword [eax + 0x278]
mov eax, dword [edx + 0x74]
lea ecx, [edx + 0x70]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], ecx
cmp dword [ecx], eax
jne 0x412f89
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x412f71
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x412f76
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00421ab0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x150]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x44], xmm0
call fcn.0042d480
mov edx, dword [esp + 0x24]
mov byte [esp + 0x12], 0
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x78]
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 [edx + 0x224], eax
mov eax, dword [esp + 0x14]
movss dword [edx + 0x228], xmm0
and eax, 0x5000000
movss dword [edx + 0x22c], xmm1
movss dword [edx + 0x230], xmm2
cmp eax, 0x1000000
jne 0x4130ba
cmp dword [esp + 0x30], 0x3000000
je 0x4130ba
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x190]
cmp ecx, 2
jl 0x41307e
mov eax, dword [eax + 0x198]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x41307e
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 0x41307e
comiss xmm2, xmm5
jbe 0x41307e
comiss xmm3, xmm6
jbe 0x41307e
comiss xmm4, xmm7
mov byte [esp + 0x11], 1
ja 0x413083
mov byte [esp + 0x11], 0
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x4130ba
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
je 0x4130ba
cmp byte [esp + 0x11], 0
jne 0x4130ba
mov byte [esp + 0x12], 1
mov dword [edi + 0x278], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x4ca4]
test ecx, ecx
jne 0x4130ce
mov ecx, dword [eax + 0x4ad8]
cmp byte [esp + 0x18], 0
jne 0x4130ee
test ecx, ecx
je 0x4130e7
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x4130ee
mov byte [esp + 0x2c], 0
jmp 0x4130f3
mov byte [esp + 0x2c], 1
movd xmm0, esi
lea eax, [esp + 0x170]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x64]
movss dword [esp], xmm0
push eax
push dword [esp + 0x28]
push ecx
push dword [esp + 0x3c]
mov ecx, edi
call fcn.004105f0
add esp, 0x14
cmp byte [esp + 0x12], 0
je 0x413132
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov ecx, dword [esp + 0x14]
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 0x413159
movss dword [esp + 0x20], xmm5
jmp 0x41319b
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 0x41318e
movss xmm0, dword [edi + 0x30]
jmp 0x413191
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x20], xmm0
movss xmm6, dword [edi + 0x44]
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x4131ae
movaps xmm7, xmm6
jmp 0x4131e0
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 0x4131d9
movss xmm7, dword [edi + 0x34]
jmp 0x4131dc
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x48]
movss xmm2, dword [edi + 0x88]
movss xmm0, dword [edi + 0x1e4]
subss xmm0, xmm2
movss dword [esp + 0x28], xmm1
maxss xmm1, dword [edi + 0x54]
movss dword [esp + 0x30], xmm2
ucomiss xmm5, xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x204], xmm2
movss xmm0, dword [edi + 0x8c]
movss xmm1, dword [edi + 0x4c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi + 0x1e8]
subss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x38], xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm2, dword [esp + 0x20]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x208], xmm0
addss xmm7, xmm0
movss dword [edi + 0x20c], xmm2
movss xmm2, dword [esp + 0x28]
movss dword [edi + 0x210], xmm7
movss xmm7, dword [esp + 0x38]
movups xmm0, xmmword [edi + 0x204]
movups xmmword [edi + 0x214], xmm0
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [edi + 0x60]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x2c], xmm0
subss xmm1, dword [esp + 0x30]
addss xmm1, xmm2
addss xmm1, xmm0
movss dword [edi + 0x234], xmm1
movss xmm3, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x64]
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x20], xmm0
subss xmm3, dword [esp + 0x3c]
addss xmm3, xmm7
addss xmm3, xmm0
movss dword [edi + 0x238], xmm3
test ah, 0x44
jp 0x413318
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [edi + 0x68]
subss xmm5, xmm0
ucomiss xmm6, xmm4
addss xmm5, xmm1
lahf
movss dword [edi + 0x23c], xmm5
movss xmm5, dword [esp + 0x20]
test ah, 0x44
jp 0x41334f
movss xmm6, dword [edi + 0x24]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
movaps xmm0, xmm5
addss xmm0, dword [edi + 0x6c]
subss xmm6, xmm0
movss xmm1, dword [esp + 0x2c]
addss xmm3, xmm6
movss xmm6, dword [esp + 0x30]
lea ecx, [edi + 0x16c]
movaps xmm0, xmm1
mov esi, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [edi + 0x240], xmm3
movss xmm3, dword [esp + 0x24]
cvtps2pd xmm3, xmm3
subss xmm0, xmm6
movss dword [edi + 0x144], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
movss xmm2, dword [esp + 0x28]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm6
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, qword [0x461c60]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x3c]
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 + 0x1f], 0
mov byte [edi + 0x162], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x163], 0
movss xmm1, dword [esi + 0x3914]
mov dword [esp + 0x20], eax
je 0x413521
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x413525
mov dword [esp + 0x20], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.0044cfe0
mov eax, dword [esp + 0x20]
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 0x413597
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.00420f90
lea eax, [edi + 0x190]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a8], 1
test eax, eax
je 0x4135cd
mov eax, dword [eax + 0x1a8]
jmp 0x4135d2
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 0x41361d
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.00420f90
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x413652
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.00420f90
lea eax, [edi + 0x1c8]
test dword [esp + 0x14], 0x8000000
mov dword [eax], 0
je 0x41372d
mov edx, dword [0x465538]
xorps xmm0, xmm0
movss xmm5, dword [0x461d20]
movss xmm2, dword [edx + 0x3d28]
comiss xmm0, xmm2
jbe 0x413689
xorps xmm1, xmm1
jmp 0x413690
movaps xmm1, xmm5
minss xmm1, xmm2
movss xmm2, dword [0x461dec]
movss xmm3, dword [0x461cdc]
movss xmm4, dword [edx + 0x3d2c]
comiss xmm0, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si ecx, xmm1
jbe 0x4136be
xorps xmm1, xmm1
jmp 0x4136c5
movaps xmm1, xmm5
minss xmm1, xmm4
movss xmm4, dword [edx + 0x3d30]
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x4136e8
xorps xmm1, xmm1
jmp 0x4136ef
movaps xmm1, xmm5
minss xmm1, xmm4
mulss xmm1, xmm2
addss xmm1, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [edx + 0x3d34]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
jbe 0x413712
xorps xmm5, xmm5
jmp 0x413716
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 0x41373f
dec al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x413751
dec al
mov byte [edi + 0xd3], al
cmp byte [esp + 0x18], 0
je 0x413775
mov edx, 2
mov ecx, edi
call fcn.004140e0
cmp edi, dword [esi + 0x4ad8]
jne 0x413775
xor dl, dl
mov ecx, edi
call fcn.0041a3e0
test byte [esp + 0x14], 1
jne 0x4137db
movss xmm0, dword [edi + 0x54]
lea edx, [esp + 0xa0]
addss xmm0, dword [esp + 0x60]
push dword [esp + 0x5c]
mov ecx, edi
push dword [esp + 0x58]
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [edi + 0x54]
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0xb4], xmm0
call fcn.00410bd0
add esp, 8
xor eax, eax
lea edx, [esp + 0x60]
mov ecx, edi
mov dword [edi + 0x244], eax
call fcn.00413cf0
mov eax, dword [esi + 0x4964]
test eax, eax
je 0x413952
cmp dword [edi + 8], eax
je 0x41380a
cmp dword [edi + 0x7c], eax
jne 0x413952
call fcn.0041ffb0
jmp 0x413952
cmp byte [edi + 0xc0], 0
je 0x413869
mov byte [edi + 0xba], 1
mov edx, dword [edi + 0x198]
mov eax, dword [edi + 0x190]
lea eax, [edx + eax*4]
mov dword [esp + 0x28], eax
cmp edx, eax
je 0x413869
nop dword [eax + eax]
mov ecx, dword [edx]
cmp byte [ecx + 0xc2], 0
jne 0x413862
mov byte [ecx + 0xc0], 1
mov byte [ecx + 0xba], 1
call fcn.004112b0
mov eax, dword [esp + 0x28]
add edx, 4
cmp edx, eax
jne 0x413840
mov ecx, dword [0x465538]
mov dword [ecx + 0x4004], edi
mov edx, dword [edi + 0x1a4]
cmp edx, 0xffffffff
je 0x41388b
shl edx, 9
add edx, dword [ecx + 0x4da4]
jmp 0x41388d
xor edx, edx
mov dword [ecx + 0x4d84], edx
mov dword [ecx + 0x3d5c], 0x3f800000
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3d54]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x4138c1
mulss xmm0, dword [eax + 0x270]
mov eax, dword [ecx + 0x3d4c]
movss dword [ecx + 0x3d6c], xmm0
movss dword [ecx + 0x3d50], xmm0
divss xmm0, dword [eax + 0x10]
movss dword [ecx + 0x3d70], xmm0
movss dword [ecx + 0x3d58], xmm0
test edx, edx
jne 0x4138fc
cmp dword [edi + 0x1a0], edx
jne 0x4138fc
mov al, 1
jmp 0x4138fe
xor al, al
mov byte [edi + 0x160], al
lea edx, [esp + 0x80]
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 + 0x80], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm2
movss dword [esp + 0x8c], xmm1
call fcn.00413cf0
cmp byte [edi + 0xc0], 0
jne 0x413abb
mov ecx, dword [0x465538]
mov eax, dword [ecx + 0x4004]
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x4004]
movss xmm1, dword [edi + 0x1f4]
movss xmm0, dword [edi + 0x1f8]
movss xmm3, dword [edi + 0x1fc]
movss xmm2, dword [edi + 0x200]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x278]
mov dword [esp + 0x5c], eax
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x64], xmm0
movups xmm4, xmmword [eax + 0x44]
comiss xmm4, xmm1
movaps xmmword [esp + 0x80], xmm4
jbe 0x4139cc
movaps xmm1, xmm4
movss dword [esp + 0x60], xmm1
movss xmm4, dword [esp + 0x84]
comiss xmm4, xmm0
jbe 0x4139e3
movaps xmm0, xmm4
movss dword [esp + 0x64], xmm0
movss xmm4, dword [esp + 0x88]
comiss xmm3, xmm4
jbe 0x4139f4
movaps xmm3, xmm4
movss xmm4, dword [esp + 0x8c]
comiss xmm2, xmm4
jbe 0x413a05
movaps xmm2, xmm4
mov edx, dword [eax + 0x70]
lea ecx, [eax + 0x70]
mov eax, dword [ecx + 4]
maxss xmm1, xmm3
mov dword [esp + 0x38], ecx
maxss xmm0, xmm2
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x6c], xmm0
cmp edx, eax
jne 0x413a55
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x413a41
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x413a46
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00421ab0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x5c]
movups xmmword [ecx + 0x44], xmm0
call fcn.0042d480
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x78]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
mov dword [edx + 0x224], eax
movss dword [edx + 0x228], xmm0
movss dword [edx + 0x22c], xmm1
movss dword [edx + 0x230], xmm2
mov eax, dword [esp + 0x4c]
mov byte [edi + 0xbc], 0
inc word [edi + 0xc8]
mov dword [esi + 0x49f0], 0
cmp eax, dword [esp + 0x50]
je 0x413c60
cmp byte [edi + 0xc0], 0
jne 0x413c59
mov eax, dword [esp + 0x14]
and eax, 0x11000000
cmp eax, 0x1000000
jne 0x413bbd
test dword [edi + 0x10], 0x100
je 0x413b30
cmp byte [esi + 0x4b24], 0
je 0x413b30
mov eax, dword [esi + 0x4ad8]
test eax, eax
je 0x413b30
mov eax, dword [eax + 0x320]
cmp eax, dword [edi + 0x320]
jne 0x413b30
mov al, 1
jmp 0x413b32
xor al, al
cmp byte [esi + 0x5140], 0
jne 0x413b83
test al, al
jne 0x413b83
movss xmm0, dword [edi + 0x1d4]
comiss xmm0, dword [edi + 0x1dc]
jae 0x413b61
movss xmm0, dword [edi + 0x1d8]
comiss xmm0, dword [edi + 0x1e0]
jb 0x413b83
cmp byte [edi + 0xd2], 0
jg 0x413b7c
cmp byte [edi + 0xd3], 0
jg 0x413b7c
mov byte [edi + 0xdc], 1
jmp 0x413b83
mov byte [edi + 0xdd], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x413bbd
cmp byte [eax + 0xbd], 0
jne 0x413b9d
cmp byte [eax + 0xdc], 0
jle 0x413ba4
mov byte [edi + 0xdc], 1
cmp byte [eax + 0xbd], 0
jne 0x413bb6
cmp byte [eax + 0xdd], 0
jle 0x413bbd
mov byte [edi + 0xdd], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x38c8]
jb 0x413bd0
mov byte [edi + 0xdc], 1
cmp byte [edi + 0xdc], 0
jg 0x413bf0
cmp byte [edi + 0xdd], 0
jg 0x413bf0
xor cl, cl
cmp byte [edi + 0xde], cl
jg 0x413bf2
xor al, al
jmp 0x413bf4
mov cl, 1
mov al, 1
mov byte [edi + 0xc2], al
mov al, byte [edi + 0xdf]
test al, al
jle 0x413c17
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 0x413c2d
cmp byte [edi + 0xba], al
je 0x413c2d
test cl, cl
je 0x413c51
cmp byte [edi + 0xd2], 0
jg 0x413c51
cmp byte [edi + 0xd3], 0
jg 0x413c51
cmp byte [edi + 0xdd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xbf], al
jmp 0x413c60
mov byte [edi + 0xbf], 1
cmp byte [edi + 0xc3], 0
jne 0x413cc5
cmp byte [esi + 0x6a], 0
je 0x413c76
cmp dword [esp + 0x58], 0
je 0x413c8b
cmp byte [esi + 0x6b], 0
je 0x413cc5
movsx eax, byte [esi + 0x51a0]
cmp eax, dword [esi + 0x3fdc]
jne 0x413cc5
mov al, byte [edi + 0xd2]
test al, al
jle 0x413c9d
inc al
mov byte [edi + 0xd2], al
mov al, byte [edi + 0xd3]
test al, al
jle 0x413caf
inc al
mov byte [edi + 0xd3], al
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00457551
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xbf], 0
mov ecx, dword [esp + 0x18c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.00457551
mov esp, ebp
pop ebp
ret