Function at 0x476a60
Capabilities:
Encrypt data using speck

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d679
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x368
mov eax, dword [0x57bc74]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss xmm0, dword [0x592484]
xorps xmm1, xmm1
mov esi, dword [0x593320]
mulss xmm0, dword [0x56ab20]
mov dword [ebp - 0x2d8], esi
inc dword [esi + 0x20c]
comiss xmm1, xmm0
movss dword [0x592484], xmm0
jbe 0x476ae0
mov dword [0x592484], 0
xorps xmm0, xmm0
mulss xmm0, dword [0x56ac54]
push ecx
movss dword [esp], xmm0
call fcn.00459bb0
mov eax, dword [esi + 8]
add esp, 4
fstp dword [ebp - 0x2c4]
movss xmm0, dword [ebp - 0x2c4]
mulss xmm0, dword [0x592484]
mulss xmm0, dword [0x56aa74]
movss dword [ebp - 0x2f4], xmm0
movq xmm0, qword [eax + 0x114]
movq qword [0x593850], xmm0
mov eax, dword [eax + 0x11c]
mov dword [0x593858], eax
cmp dword [esi + 0x210], 0xffffffff
je 0x476bb8
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], 0
je 0x476bb8
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x476bb8
mov edx, dword [0x592450]
mov eax, dword [ecx + 0x17c]
cmp eax, dword [esi + 0x210]
jne 0x476b9f
test edx, edx
jne 0x476b9f
movq xmm0, qword [ecx + 0x114]
movq qword [0x593850], xmm0
mov eax, dword [ecx + 0x11c]
mov dword [0x593858], eax
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], edx
je 0x476b9f
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], 0
je 0x476bb8
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x476b62
mov ecx, esi
call fcn.00483190
mov eax, dword [0x5922d8]
mov ecx, dword [eax + 0x2a3d8]
lea eax, [esi + 0x20]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xa8]
mov eax, dword [0x5922d8]
push 1
push 1
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb8]
mov eax, dword [0x5922d8]
lea edx, [ebp - 0x118]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xdc], 0x3f800000
mov dword [ebp - 0xf0], 0x3f800000
mov dword [ebp - 0x104], 0x3f800000
mov dword [ebp - 0x118], 0x3f800000
mov eax, dword [eax + 0x2a3d8]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
movss xmm0, dword [esi + 0x1f4]
lea eax, [ebp - 0x180]
addss xmm0, dword [ebp - 0x2f4]
push ecx
movss dword [esp], xmm0
push eax
call fcn.004063f0
movss xmm0, dword [esi + 0x1fc]
lea eax, [ebp - 0x268]
push ecx
movss dword [esp], xmm0
push eax
call fcn.00406354
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x180]
push eax
push eax
call fcn.00405831
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x118]
push eax
push eax
call fcn.00405831
mov eax, dword [0x5922d8]
lea edx, [ebp - 0x118]
push edx
push 2
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [0x592480]
cmp eax, 1
je 0x476d85
cmp eax, 3
je 0x476dda
cmp eax, 2
je 0x476dda
mov eax, dword [0x5922d8]
push 0
push 7
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
cmp dword [0x592480], 4
mov ecx, dword [esi + 0xa8]
jne 0x476d81
mov eax, dword [esi + 0x168]
push dword [eax + 0x12c]
jmp 0x476db2
push 0
jmp 0x476db2
cmp dword [esi + 0x288], 0
je 0x476dda
mov eax, dword [0x5922d8]
push 0
push 7
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
push dword [esi + 0x154]
mov ecx, dword [esi + 0xa8]
mov eax, dword [0x5922d8]
push dword [eax + 0x2a3d8]
call fcn.00464740
mov eax, dword [0x5922d8]
push 1
push 7
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0
push 1
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb8]
mov eax, dword [0x5922d8]
push 1
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb8]
mov eax, dword [0x5922d8]
mov ecx, dword [eax + 0x2a3d8]
lea eax, [esi + 0x6e4]
push eax
push 0
push ecx
mov edx, dword [ecx]
call dword [edx + 0xb0]
xor edi, edi
cmp dword [esi + 0x610], edi
jle 0x476fb1
lea ecx, [esi + 0x5fc]
lea eax, [esi + 0x5b0]
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2d4], eax
nop dword [eax]
cmp dword [0x592480], 2
jne 0x476fb1
test byte [0x58e650], 2
je 0x476fb1
movss xmm0, dword [0x56ad0c]
ucomiss xmm0, dword [eax + 4]
lahf
test ah, 0x44
jnp 0x476f8c
movss xmm2, dword [0x56ad98]
xorps xmm3, xmm3
push ecx
mov edx, 1
mov dword [esp], 0x40000000
lea ecx, [ebp - 0x1e8]
call fcn.004559a0
mov eax, dword [ebp - 0x2d4]
lea edx, [ebp - 0x1e8]
add esp, 4
mov dword [ebp - 0x198], 0x3f800000
mov dword [ebp - 0x190], 0x3f000000
mov dword [ebp - 0x1c4], 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x2b8]
movq qword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
movss xmm0, dword [eax]
movzx eax, byte [esi + edi + 0x5ec]
movss dword [ebp - 0x19c], xmm0
push edx
movd xmm0, eax
movzx eax, byte [esi + edi + 0x5f1]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1e4], xmm0
movd xmm0, eax
movzx eax, byte [esi + edi + 0x5f6]
lea esi, [edi + 2]
cvtdq2ps xmm0, xmm0
push esi
movss dword [ebp - 0x1e0], xmm0
movd xmm0, eax
mov eax, dword [0x5922d8]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1dc], xmm0
mov ecx, dword [eax + 0x2a3d8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xb0]
mov eax, dword [0x5922d8]
push 1
push esi
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb8]
mov esi, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2d4]
inc edi
add ecx, 4
add eax, 0xc
mov dword [ebp - 0x2b8], ecx
mov dword [ebp - 0x2d4], eax
cmp edi, dword [esi + 0x610]
jl 0x476e50
xor edi, edi
cmp dword [0x592480], 2
jne 0x476fc5
test byte [0x58e650], 2
jne 0x476fdf
mov eax, dword [0x5922d8]
push 0
mov ecx, dword [eax + 0x2a3d8]
lea eax, [edi + 2]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xb8]
inc edi
cmp edi, 5
jl 0x476fb3
xor eax, eax
cmp dword [esi + 0x610], eax
jle 0x477007
lea ecx, [esi + 0x5b4]
mov dword [ecx], 0x447a0000
inc eax
add ecx, 0xc
cmp eax, dword [esi + 0x610]
jl 0x476ff5
movss xmm0, dword [esi + 0x1f4]
lea eax, [ebp - 0x180]
addss xmm0, dword [ebp - 0x2f4]
push ecx
movss dword [esp], xmm0
push eax
call fcn.004063f0
movss xmm0, dword [0x56ac28]
mov eax, dword [esi + 0x290]
movss xmm1, dword [0x56ac74]
movss dword [ebp - 0x2b8], xmm0
cmp eax, 1
jne 0x477057
movaps xmm0, xmm1
movss dword [ebp - 0x2b8], xmm0
cmp eax, 2
jne 0x477067
movaps xmm0, xmm1
movss dword [ebp - 0x2b8], xmm0
sub esp, 0xc
lea eax, [ebp - 0x2a8]
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0
push eax
call fcn.004062b1
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x180]
push eax
push eax
call fcn.00405831
mov eax, dword [esi + 0x290]
movss xmm1, dword [0x56abd0]
cmp eax, 1
jne 0x4770ba
movss xmm1, dword [0x56ac90]
cmp eax, 2
jne 0x4770c7
movss xmm1, dword [0x56ac54]
movss xmm2, dword [0x56ad50]
lea eax, [ebp - 0xd8]
movss xmm0, dword [esi + 0x204]
sub esp, 0xc
addss xmm1, dword [0x593854]
mulss xmm0, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x200]
mulss xmm1, xmm2
mulss xmm0, xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push eax
call fcn.004062b1
movss xmm0, dword [esi + 0x1f4]
push ecx
movss dword [esp], xmm0
call fcn.00459bb0
fstp dword [ebp - 0x2c4]
movss xmm0, dword [ebp - 0x2c4]
mulss xmm0, dword [ebp - 0x2b8]
addss xmm0, dword [ebp - 0xa8]
movss dword [ebp - 0x304], xmm0
movss xmm0, dword [esi + 0x1f4]
movss dword [esp], xmm0
call fcn.00459b80
movss xmm1, dword [ebp - 0xa0]
add esp, 4
mov eax, dword [esi + 0x290]
fstp dword [ebp - 0x2c4]
movss xmm0, dword [ebp - 0x2c4]
mulss xmm0, dword [ebp - 0x2b8]
subss xmm1, xmm0
movss xmm0, dword [esi + 0x1fc]
movss dword [ebp - 0x2f4], xmm1
cmp eax, 1
jne 0x4771a6
movss xmm0, dword [0x56ad4c]
cmp eax, 2
jne 0x4771b3
movss xmm0, dword [0x56ad40]
push ecx
lea eax, [ebp - 0x268]
movss dword [esp], xmm0
push eax
call fcn.00406354
push ecx
lea eax, [ebp - 0x228]
mov dword [esp], 0x40490fdb
push eax
call fcn.004063f0
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x180]
push eax
push eax
call fcn.00405831
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x228]
push eax
push eax
call fcn.00405831
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0xd8]
push eax
push eax
call fcn.00405831
mov eax, dword [0x5922d8]
lea edx, [ebp - 0xd8]
push edx
push 2
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
movss xmm0, dword [ebp - 0x2f4]
lea ecx, [esi + 0x434]
xorps xmm0, xmmword [0x56af90]
sub esp, 0xc
movss xmm1, dword [ebp - 0x304]
mov eax, esp
xorps xmm1, xmmword [0x56af90]
movss dword [ebp - 0x11c], xmm0
movss xmm0, dword [0x593854]
mov edi, dword [ebp - 0x11c]
unpcklps xmm1, xmm0
movq qword [eax], xmm1
movq qword [ebp - 0x310], xmm1
mov dword [eax + 8], edi
call fcn.00471f60
movss xmm1, dword [esi + 0x1f4]
sub esp, 0xc
movq xmm0, qword [ebp - 0x310]
mov eax, esp
xorps xmm1, xmmword [0x56af90]
movq qword [eax], xmm0
mov dword [eax + 8], edi
call fcn.00469060
mov eax, dword [0x5922d8]
lea edx, [ebp - 0x118]
mov dword [ebp - 0xe0], 0
add esp, 0xc
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xdc], 0x3f800000
mov dword [ebp - 0xf0], 0x3f800000
mov dword [ebp - 0x104], 0x3f800000
mov dword [ebp - 0x118], 0x3f800000
mov eax, dword [eax + 0x2a3d8]
push edx
mov ecx, dword [eax]
push 0x100
push eax
call dword [ecx + 0x94]
cmp dword [esi + 0x210], 0xffffffff
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x164]
mov eax, dword [eax + 0x168]
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x2d4], eax
je 0x477413
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], 0
je 0x477413
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x477413
mov edx, dword [0x592450]
nop word [eax + eax]
mov eax, dword [ecx + 0x17c]
cmp eax, dword [esi + 0x210]
jne 0x4773fa
test edx, edx
jne 0x4773fa
mov edi, dword [ecx + 0x164]
mov dword [ebp - 0x2e4], edi
mov edi, dword [ecx + 0x168]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x2d4], edi
cmp dword [ecx + 0xc], edx
je 0x4773fa
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], 0
je 0x477413
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4773c0
mov ecx, dword [0x592480]
mov edi, 0x57cd94
nop
test ecx, ecx
jne 0x47757c
cmp dword [esi + 0x2a4], 1
jge 0x47757c
mov edx, dword [edi - 4]
mov eax, dword [ebp - 0x2e4]
sub eax, edx
mov dword [ebp - 0x2c4], edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x47756d
mov edx, dword [edi]
mov eax, dword [ebp - 0x2d4]
sub eax, edx
mov dword [ebp - 0x2bc], edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jge 0x47756d
call fcn.00514eba
movd xmm0, dword [ebp - 0x2c4]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [0x56ac54]
mulss xmm1, dword [0x56ac54]
divss xmm1, dword [0x56ad20]
addss xmm1, dword [0x56aa38]
addss xmm1, xmm0
movq qword [ebp - 0x300], xmm1
call fcn.00514eba
movd xmm0, dword [ebp - 0x2bc]
mov ecx, esi
movss xmm1, dword [ebp - 0x300]
cvtdq2ps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm0, dword [0x56ac54]
mulss xmm2, dword [0x56ac54]
divss xmm2, dword [0x56ad20]
addss xmm2, dword [0x56aa38]
addss xmm2, xmm0
movss dword [ebp - 0x12c], xmm2
call fcn.00481c60
mov ecx, dword [0x5924a4]
movq xmm1, qword [ebp - 0x300]
mov eax, dword [ebp - 0x12c]
unpcklps xmm1, xmm0
movq qword [ecx + 0x14], xmm1
mov dword [ecx + 0x2c], 1
mov dword [ecx + 0x1c], eax
call fcn.00514eba
and eax, reloc.WS2_32.dll_accept
jns 0x477540
dec eax
or eax, 0xfffffffe
add eax, 1
mov ecx, dword [0x5924a4]
je 0x477551
movups xmm0, xmmword [0x56a010]
jmp 0x477558
movups xmm0, xmmword [0x56a020]
sub esp, 0x10
mov eax, esp
push 1
movups xmmword [eax], xmm0
call fcn.004b7730
mov ecx, dword [0x592480]
add edi, 0x50
cmp edi, 0x57d514
jl 0x477420
cmp dword [esi + 0x290], 0
jne 0x47791f
test byte [0x58e650], 1
je 0x47791f
cmp ecx, 1
je 0x477888
cmp ecx, 3
je 0x477888
cmp ecx, 2
je 0x477888
push 1
push 0x1c
cmp ecx, 4
jne 0x47777f
mov eax, dword [esi + 0x2a4]
sub eax, 1
je 0x4776e2
sub eax, 1
je 0x477660
sub eax, ecx
mov dword [ebp - 0x2c0], 0x41f00000
mov eax, dword [0x5922d8]
mov dword [ebp - 0x2b8], 0x428c0000
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
je 0x477682
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0xff5a93f1
push 0x22
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 3
push 0x23
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push dword [ebp - 0x2c0]
push 0x24
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
push dword [ebp - 0x2b8]
jmp 0x477909
mov eax, dword [0x5922d8]
mov dword [ebp - 0x2c0], 0x41a00000
mov dword [ebp - 0x2b8], 0x425c0000
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0xff9696be
push 0x22
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 3
push 0x23
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push dword [ebp - 0x2c0]
push 0x24
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
push dword [ebp - 0x2b8]
jmp 0x477909
mov eax, dword [0x5922d8]
mov dword [ebp - 0x2c0], 0x41f00000
mov dword [ebp - 0x2b8], 0x428c0000
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0xff6e738f
push 0x22
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0xff000000
push 0x22
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 3
push 0x23
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push dword [ebp - 0x2c0]
push 0x24
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
push dword [ebp - 0x2b8]
jmp 0x477909
mov eax, dword [0x5922d8]
mov dword [ebp - 0x2c4], 0x41f00000
mov dword [ebp - 0x2bc], 0x42c80000
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
movss xmm1, dword [esi + 0x74c]
addss xmm1, dword [0x56aad8]
divss xmm1, dword [0x56ab50]
movaps xmm0, xmm1
mulss xmm0, dword [0x56acc8]
cvttss2si eax, xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x56ace0]
mov dword [ebp - 0x2b8], eax
mulss xmm0, dword [0x56acd4]
mov eax, dword [0x5922d8]
cvttss2si ecx, xmm1
mov esi, dword [eax + 0x2a3d8]
mov eax, dword [ebp - 0x2b8]
or eax, 0xffffff00
shl eax, 8
mov edi, dword [esi]
cvttss2si edx, xmm0
mov dword [ebp - 0x2b8], eax
movzx eax, dl
mov edx, dword [ebp - 0x2b8]
or edx, eax
movzx eax, cl
shl edx, 8
or edx, eax
push edx
push 0x22
push esi
call dword [edi + 0xc8]
mov eax, dword [0x5922d8]
push 3
push 0x23
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push dword [ebp - 0x2c4]
push 0x24
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push dword [ebp - 0x2bc]
push 0x25
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov esi, dword [ebp - 0x2d8]
jmp 0x47791f
mov eax, dword [0x5922d8]
push 1
push 0x1c
mov dword [ebp - 0x2c4], 0x41a00000
mov eax, dword [eax + 0x2a3d8]
push eax
mov dword [ebp - 0x2bc], 0x42340000
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0xff00001e
push 0x22
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 3
push 0x23
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push dword [ebp - 0x2c4]
push 0x24
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
push dword [ebp - 0x2bc]
mov eax, dword [0x5922d8]
push 0x25
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 3
push 0x16
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x592480]
cmp eax, 1
je 0x4779c9
cmp eax, 3
je 0x4779c9
push dword [ebp - 0x2d4]
push dword [ebp - 0x2e4]
cmp eax, 4
jne 0x47796b
mov ecx, dword [esi + 0x168]
call fcn.004c3950
jmp 0x4779f8
cmp eax, 2
jne 0x47797d
mov ecx, dword [esi + 0x16c]
call fcn.004b1270
jmp 0x4779f8
mov eax, dword [esi + 0x158]
movq xmm0, qword [ebp - 0x310]
mov ecx, dword [ebp - 0x11c]
movq qword [eax + 0x184], xmm0
mov dword [eax + 0x18c], ecx
mov ecx, dword [esi + 0x158]
mov eax, dword [esi + 0x1f4]
mov dword [ecx + 0x190], eax
mov ecx, dword [esi + 0x158]
call fcn.004972d0
mov ecx, dword [esi + 0x158]
call fcn.0049b0d0
jmp 0x4779f8
mov eax, dword [0x5922d8]
push 1
push 0x16
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
push dword [ebp - 0x2d4]
mov ecx, dword [esi + 0x164]
push dword [ebp - 0x2e4]
call fcn.0048e2d0
mov eax, dword [esi + 0x160]
push 2
push 0x16
mov dword [eax + 8], 0
mov eax, dword [0x5922d8]
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
mov eax, dword [0x592480]
cmp eax, 1
je 0x477a5e
cmp eax, 3
je 0x477a5e
cmp eax, 4
je 0x477a57
cmp eax, 2
je 0x477a57
mov ecx, esi
call fcn.00481b40
jmp 0x477a5e
mov ecx, esi
call fcn.004810c0
lea ecx, [ebp - 0x350]
call fcn.0044f1a0
mov dword [ebp - 4], 0
xorps xmm2, xmm2
movss xmm0, dword [esi + 0x1f4]
movsd xmm1, qword [0x56abe8]
cvtps2pd xmm0, xmm0
comisd xmm2, xmm0
jbe 0x477a9a
nop dword [eax]
addsd xmm0, xmm1
comisd xmm2, xmm0
ja 0x477a90
comisd xmm0, xmm1
jb 0x477aaa
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x477aa0
mov ecx, dword [esi + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esi + 0x1f4], xmm0
cmp dword [ecx + 0xc], 0
je 0x479bbf
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edi, dword [eax + 8]
mov dword [ebp - 0x2c4], edi
test edi, edi
je 0x479bbf
nop dword [eax]
movss xmm0, dword [edi + 0x11c]
sub esp, 8
addss xmm0, dword [ebp - 0x2f4]
movss xmm1, dword [edi + 0x114]
addss xmm1, dword [ebp - 0x304]
movss dword [ebp - 0x2b8], xmm0
xorps xmm0, xmmword [0x56af90]
movss dword [esp + 4], xmm0
movss dword [ebp - 0x2bc], xmm1
movss dword [esp], xmm1
call fcn.0044d9d0
movsd xmm1, qword [0x56abe8]
xorps xmm2, xmm2
fstp qword [ebp - 0x2d0]
movsd xmm0, qword [ebp - 0x2d0]
add esp, 8
comisd xmm2, xmm0
jbe 0x477b5a
nop dword [eax]
addsd xmm0, xmm1
comisd xmm2, xmm0
ja 0x477b50
comisd xmm0, xmm1
jb 0x477b6a
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x477b60
movsd xmm2, qword [0x56abc8]
cvtsd2ss xmm0, xmm0
subss xmm0, dword [esi + 0x1f4]
cvtss2sd xmm0, xmm0
comisd xmm0, xmm2
jbe 0x477b9a
nop dword [eax + eax]
subsd xmm0, xmm1
comisd xmm0, xmm2
ja 0x477b90
movsd xmm2, qword [0x56ad80]
comisd xmm2, xmm0
jb 0x477bba
nop dword [eax + eax]
addsd xmm0, xmm1
comisd xmm2, xmm0
jae 0x477bb0
cvtsd2ss xmm0, xmm0
push ecx
movss dword [esp], xmm0
call fcn.00472770
movss xmm0, dword [0x56ab00]
add esp, 4
fstp dword [ebp - 0x2c0]
comiss xmm0, dword [ebp - 0x2c0]
ja 0x477c87
movss xmm0, dword [ebp - 0x2bc]
push ecx
movss dword [esp], xmm0
call fcn.00472770
movss xmm0, dword [0x56ac64]
add esp, 4
fstp dword [ebp - 0x2c0]
comiss xmm0, dword [ebp - 0x2c0]
jbe 0x477c41
movss xmm0, dword [ebp - 0x2b8]
push ecx
movss dword [esp], xmm0
call fcn.00472770
movss xmm0, dword [0x56ac64]
add esp, 4
fstp dword [ebp - 0x2c0]
comiss xmm0, dword [ebp - 0x2c0]
ja 0x477c87
movss xmm0, dword [ebp - 0x2bc]
call fcn.004729a0
comiss xmm0, dword [0x56ac98]
jae 0x477c7c
movss xmm0, dword [ebp - 0x2b8]
call fcn.004729a0
comiss xmm0, dword [0x56ac98]
jae 0x477c7c
mov dword [edi + 0x1a8], 0
jmp 0x479ba1
inc dword [edi + 0x1a8]
jmp 0x479ba1
movss xmm1, dword [edi + 0x108]
lea eax, [edi + 0x108]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
mov dword [ebp - 0x2cc], eax
movss dword [esp], xmm0
call fcn.0047f2d0
cmp dword [edi + 0x178], 0xffffffff
jle 0x478b1e
mov edx, dword [edi + 0x194]
test edx, edx
je 0x477d0d
mov eax, dword [edx + 0x108]
mov dword [ebp - 0x2bc], eax
test eax, eax
je 0x477d0d
mov eax, dword [0x5922d8]
push dword [ebp - 0x2bc]
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
jmp 0x477d3a
mov eax, dword [0x5922d8]
push dword [edx + 0x108]
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
mov eax, dword [edi + 0x178]
inc dword [0x59248c]
mov dword [0x59245c], eax
mov eax, dword [0x5922d8]
push 4
push 1
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x5922d8]
push 2
push 2
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x5922d8]
push 0
push 3
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x5922d8]
push 1
push 4
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [edi + 0x19c]
test eax, eax
je 0x477f3e
cmp eax, 1
jne 0x477e8c
mov ecx, dword [esi + 0x128]
mov eax, dword [ecx + 0x160]
mov dword [ebp - 0x2bc], eax
test eax, eax
jle 0x477e8c
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ebp - 0x2bc]
mov eax, dword [0x5922d8]
push edx
push dword [eax + 0x2a3d8]
call fcn.0045f270
mov eax, dword [edi + 0x190]
mov ecx, dword [esi + 0x128]
cdq
sub eax, edx
mov dword [ebp - 0x2b8], ecx
sar eax, 1
cmp eax, dword [ecx + 0x160]
jl 0x477e2b
mov dword [edi + 0x19c], 0
mov ecx, dword [esi + 0x128]
mov dword [ebp - 0x2b8], ecx
cdq
idiv dword [ecx + 0x160]
cmp dword [ecx + 0x15c], 0
je 0x477e71
mov eax, dword [ecx + 0x154]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x477e5f
nop dword [eax + eax]
cmp dword [ecx + 4], edx
je 0x477e78
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x477e50
mov ecx, dword [ebp - 0x2b8]
mov eax, dword [ecx + 0x154]
mov dword [ecx + 0x158], eax
xor eax, eax
jmp 0x4781ad
mov ecx, dword [ebp - 0x2b8]
mov dword [ecx + 0x158], eax
mov eax, dword [eax + 8]
jmp 0x4781ad
mov ecx, dword [esi + 0x12c]
mov eax, dword [ecx + 0x160]
mov dword [ebp - 0x2bc], eax
test eax, eax
jle 0x4781e3
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ebp - 0x2bc]
mov eax, dword [0x5922d8]
push edx
push dword [eax + 0x2a3d8]
call fcn.0045f270
mov eax, dword [edi + 0x190]
mov ecx, dword [esi + 0x12c]
cdq
sub eax, edx
mov dword [ebp - 0x2b8], ecx
sar eax, 1
cmp eax, dword [ecx + 0x160]
jl 0x477efe
mov dword [edi + 0x19c], 0
mov ecx, dword [esi + 0x12c]
mov dword [ebp - 0x2b8], ecx
cdq
idiv dword [ecx + 0x160]
cmp dword [ecx + 0x15c], 0
je 0x477e71
mov eax, dword [ecx + 0x154]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x477e5f
cmp dword [ecx + 4], edx
je 0x477e78
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x477f26
jmp 0x477e5f
cmp dword [edi + 0x198], 0
je 0x4780e6
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x2c0], eax
mov eax, dword [eax + 0x160]
mov dword [ebp - 0x2bc], eax
test eax, eax
jle 0x4781e3
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
mov esi, eax
mov eax, 0x66666667
imul edi
sar esi, 1
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x2c0]
add eax, eax
sub esi, eax
lea eax, [edi + esi]
cdq
idiv dword [ebp - 0x2bc]
mov eax, edx
push eax
mov dword [ebp - 0x2b8], eax
mov eax, dword [0x5922d8]
push dword [eax + 0x2a3d8]
call fcn.0045f270
mov esi, dword [ebp - 0x2d8]
mov eax, dword [esi + 0x124]
cmp dword [eax + 0x15c], 0
je 0x478009
mov eax, dword [eax + 0x154]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x477ff7
mov edx, dword [ebp - 0x2b8]
cmp dword [ecx + 4], edx
je 0x4780d2
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x477fe4
mov ecx, dword [esi + 0x124]
mov eax, dword [ecx + 0x154]
mov dword [ecx + 0x158], eax
xor eax, eax
movss xmm0, dword [edi + 0x11c]
sub esp, 8
movss xmm3, dword [edi + 0x114]
mov ecx, esi
movss xmm2, dword [edi + 0x108]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x118]
movss dword [esp], xmm0
push eax
call fcn.0047f6e0
mov eax, dword [ebp - 0x2b8]
cmp eax, 1
je 0x478055
cmp eax, 8
jne 0x4781e3
cmp dword [edi + 0x220], eax
je 0x4781e3
call fcn.00514eba
mov esi, eax
and esi, reloc.WS2_32.dll_closesocket
jns 0x478075
dec esi
or esi, 0xfffffffc
inc esi
mov edx, dword [ebp - 0x2b8]
sub esp, 0xc
movq xmm0, qword [edi + 0x114]
mov ecx, dword [edi + 0x11c]
movss xmm2, dword [0x56ac98]
mov dword [edi + 0x220], edx
mov edx, esp
movq qword [edx], xmm0
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + esi*4 + 0x4e0]
call fcn.00469000
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + esi*4 + 0x4e0]
call fcn.00468d30
mov esi, dword [ebp - 0x2d8]
jmp 0x4781e3
mov ecx, dword [esi + 0x124]
mov dword [ecx + 0x158], eax
mov eax, dword [eax + 8]
jmp 0x47800b
mov ecx, dword [esi + 0x120]
mov eax, dword [ecx + 0x160]
mov dword [ebp - 0x2bc], eax
test eax, eax
jle 0x4781e3
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax + eax*4]
mov eax, dword [edi + 0x190]
cdq
add esi, esi
and edx, 3
add eax, edx
sar eax, 2
sub eax, esi
add eax, edi
cdq
idiv dword [ebp - 0x2bc]
mov eax, dword [0x5922d8]
push edx
push dword [eax + 0x2a3d8]
call fcn.0045f270
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x120]
mov eax, dword [edi + 0x190]
cdq
and edx, 3
mov dword [ebp - 0x2bc], ecx
add eax, edx
sar eax, 2
sub eax, esi
add eax, edi
cdq
idiv dword [ecx + 0x160]
cmp dword [ecx + 0x15c], 0
je 0x4781a5
mov esi, dword [ecx + 0x154]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x478199
cmp dword [ecx + 4], edx
je 0x478250
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x478186
mov ecx, dword [ebp - 0x2bc]
mov dword [ecx + 0x158], esi
xor eax, eax
mov esi, dword [ebp - 0x2d8]
movss xmm0, dword [edi + 0x11c]
sub esp, 8
movss xmm3, dword [edi + 0x114]
mov ecx, esi
movss xmm2, dword [edi + 0x108]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x118]
movss dword [esp], xmm0
push eax
call fcn.0047f6e0
cmp dword [edi + 0x254], 0xffffffff
jle 0x478459
inc dword [edi + 0x258]
mov eax, dword [edi + 0x258]
cmp eax, 0x1e
jle 0x47820b
mov dword [edi + 0x254], 0xffffffff
cmp eax, 0xa
jle 0x478459
movq xmm0, qword [edi + 0x114]
xorps xmm1, xmm1
mov eax, dword [edi + 0x11c]
movq qword [ebp - 0x35c], xmm0
movss xmm0, dword [edi + 0x25c]
comiss xmm0, dword [0x56ab30]
mov dword [ebp - 0x2dc], eax
jb 0x478264
mov dword [ebp - 0x2b8], 0xff
jmp 0x478293
mov ecx, dword [ebp - 0x2bc]
mov dword [ecx + 0x158], eax
mov eax, dword [eax + 8]
jmp 0x4781a7
comiss xmm1, xmm0
jb 0x478275
mov dword [ebp - 0x2b8], 0
jmp 0x478293
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [ebp - 0x2b8], eax
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x260]
comiss xmm0, dword [0x56ab30]
jb 0x4782b0
mov dword [ebp - 0x2c0], 0xff
jmp 0x4782dc
comiss xmm1, xmm0
jb 0x4782c1
mov dword [ebp - 0x2c0], 0
jmp 0x4782dc
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [ebp - 0x2c0], eax
movss xmm0, dword [edi + 0x264]
xorps xmm1, xmm1
comiss xmm0, dword [0x56ab30]
jb 0x4782fc
mov dword [ebp - 0x2bc], 0xff
jmp 0x47832b
comiss xmm1, xmm0
jb 0x47830d
mov dword [ebp - 0x2bc], 0
jmp 0x47832b
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [ebp - 0x2bc], eax
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x268]
comiss xmm0, dword [0x56ab30]
jb 0x478343
mov eax, 0xff
jmp 0x478361
comiss xmm1, xmm0
jb 0x47834c
xor eax, eax
jmp 0x478361
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
or eax, 0x5f
shl eax, 8
or eax, dword [ebp - 0x2b8]
shl eax, 8
or eax, dword [ebp - 0x2c0]
shl eax, 8
or eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2b8], eax
call fcn.00514eba
mov ecx, dword [0x592440]
sub esp, 0x10
movss xmm1, dword [0x56aa68]
mov edx, esp
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x2dc]
mov dword [ecx + 0x2c], 1
push 5
mulss xmm0, dword [0x56ab50]
divss xmm0, dword [0x56ad20]
addss xmm0, dword [0x56aa38]
addss xmm0, dword [ebp - 0x358]
movss dword [ebp - 0x358], xmm0
movq xmm0, qword [ebp - 0x35c]
movq qword [ecx + 0x14], xmm0
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x2b8]
shr eax, 0x10
movzx eax, al
movd xmm0, eax
mov eax, dword [ebp - 0x2b8]
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [edx], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x2b8]
cvtdq2ps xmm0, xmm0
movzx eax, al
mulss xmm0, xmm1
movss dword [edx + 4], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x2b8]
cvtdq2ps xmm0, xmm0
shr eax, 0x18
mulss xmm0, xmm1
movss dword [edx + 8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [edx + 0xc], xmm0
call fcn.004b97a0
cmp dword [edi + 0x26c], 0
je 0x4786ed
mov eax, dword [edi + 0x19c]
cmp eax, 1
jne 0x4784ee
mov ecx, dword [esi + 0x128]
mov edx, dword [ecx + 0x160]
mov dword [ebp - 0x2dc], edx
test edx, edx
jle 0x4784ee
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ebp - 0x2dc]
cmp dword [ecx + 0x15c], 0
je 0x4784d3
mov eax, dword [ecx + 0x154]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4784c1
cmp dword [ecx + 4], edx
je 0x4784da
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4784b2
mov ecx, dword [esi + 0x128]
mov eax, dword [ecx + 0x154]
mov dword [ecx + 0x158], eax
xor eax, eax
jmp 0x478685
mov ecx, dword [esi + 0x128]
mov dword [ecx + 0x158], eax
mov eax, dword [eax + 8]
jmp 0x478685
cmp eax, 2
jne 0x478574
mov ecx, dword [esi + 0x12c]
mov eax, dword [ecx + 0x160]
mov dword [ebp - 0x2dc], eax
test eax, eax
jle 0x478574
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ebp - 0x2dc]
cmp dword [ecx + 0x15c], 0
je 0x478559
mov eax, dword [ecx + 0x154]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x478547
cmp dword [ecx + 4], edx
je 0x478560
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x478538
mov ecx, dword [esi + 0x12c]
mov eax, dword [ecx + 0x154]
mov dword [ecx + 0x158], eax
xor eax, eax
jmp 0x478685
mov ecx, dword [esi + 0x12c]
mov dword [ecx + 0x158], eax
mov eax, dword [eax + 8]
jmp 0x478685
cmp dword [edi + 0x198], 0
je 0x47861b
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x2bc], eax
mov eax, dword [eax + 0x160]
mov dword [ebp - 0x2dc], eax
test eax, eax
jle 0x47861b
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
mov esi, eax
mov eax, 0x66666667
imul edi
sar esi, 1
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
add eax, eax
sub esi, eax
lea eax, [edi + esi]
cdq
idiv dword [ebp - 0x2dc]
mov esi, edx
mov edx, dword [ebp - 0x2bc]
cmp dword [edx + 0x15c], 0
je 0x47860c
mov eax, dword [edx + 0x154]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x478600
cmp dword [ecx + 4], esi
je 0x478610
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4785f1
mov eax, dword [edx + 0x154]
mov dword [edx + 0x158], eax
xor eax, eax
jmp 0x47867f
mov dword [edx + 0x158], eax
mov eax, dword [eax + 8]
jmp 0x47867f
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x2bc], eax
mov eax, dword [eax + 0x160]
mov dword [ebp - 0x2dc], eax
test eax, eax
jle 0x4786d5
mov eax, dword [edi + 0x190]
cdq
and edx, 3
lea esi, [edx + eax]
mov eax, 0x66666667
imul edi
sar esi, 2
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x2bc]
add eax, eax
add ecx, 0x150
sub esi, eax
lea eax, [edi + esi]
cdq
idiv dword [ebp - 0x2dc]
push edx
call fcn.0044f4f0
mov esi, dword [ebp - 0x2d8]
movss xmm0, dword [edi + 0x11c]
sub esp, 8
movss xmm2, dword [edi + 0x108]
mov ecx, esi
mulss xmm2, dword [0x56ad50]
movss xmm3, dword [edi + 0x114]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x118]
movss dword [esp], xmm0
push eax
call fcn.0047f410
lea eax, [edi + 0x274]
test eax, eax
je 0x4786d5
push edi
mov ecx, esi
call fcn.00481ea0
mov eax, dword [0x5922d8]
mov ecx, dword [edi + 0x26c]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
mov dword [ebp - 0x2dc], 0
lea esi, [edi + 0x34c]
mov edi, dword [ebp - 0x2dc]
cmp dword [esi], 0
je 0x478716
push edi
push dword [ebp - 0x2cc]
mov ecx, esi
call fcn.00484660
inc edi
add esi, 0xd0
cmp edi, 2
jl 0x478703
mov edi, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x2e4]
mov esi, dword [ebp - 0x2d8]
sub eax, dword [edi + 0x164]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x479ba1
mov eax, dword [ebp - 0x2d4]
sub eax, dword [edi + 0x168]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x479ba1
or ecx, 0xffffffff
mov dword [ebp - 0x2b8], ecx
cmp edi, dword [esi + 0x10]
jne 0x478792
mov eax, 0x2aaaaaab
imul dword [esi + 0x20c]
mov eax, edx
shr eax, 0x1f
add eax, edx
test al, 1
mov eax, 0xff50ff50
cmovne ecx, eax
mov dword [ebp - 0x2b8], ecx
movss xmm2, dword [0x56ad50]
movss dword [ebp - 0x2bc], xmm2
cmp edi, dword [esi + 8]
jne 0x4787da
movd xmm1, dword [edi + 0x210]
movd xmm0, dword [edi + 0x214]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x56ab30]
movss dword [ebp - 0x2bc], xmm1
jb 0x4787da
movss dword [ebp - 0x2bc], xmm2
push 0x12c
call fcn.004c9551
add esp, 4
mov dword [ebp - 0x378], eax
movss xmm0, dword [ebp - 0x2bc]
mov byte [ebp - 4], 1
movss xmm3, dword [edi + 0x118]
movss xmm1, dword [0x56ac04]
addss xmm3, dword [0x56ab30]
subss xmm1, dword [esi + 0x1f4]
movss xmm2, dword [edi + 0x114]
push 0
push dword [ebp - 0x2b8]
push ecx
movss dword [esp], xmm0
lea ecx, [edi + 0x1b0]
movss xmm0, dword [edi + 0x11c]
push ecx
push ecx
mov ecx, eax
movss dword [esp], xmm0
call fcn.0046fc70
push eax
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0
call fcn.0044f2f0
cmp byte [edi + 0x1d0], 0
je 0x478968
mov edx, str.Administrator
lea ecx, [edi + 0x1d0]
call fcn.0044e2b0
test eax, eax
je 0x47889c
push 0x12c
call fcn.004c9551
add esp, 4
mov dword [ebp - 0x374], eax
push 1
mov byte [ebp - 4], 2
push 0xff64ff64
jmp 0x478902
mov edx, str.Moderator
lea ecx, [edi + 0x1d0]
call fcn.0044e2b0
test eax, eax
jne 0x4788e4
mov edx, str.Trial_Moderator
lea ecx, [edi + 0x1d0]
call fcn.0044e2b0
test eax, eax
jne 0x4788e4
push 0x12c
call fcn.004c9551
add esp, 4
mov dword [ebp - 0x370], eax
push 1
mov byte [ebp - 4], 4
push 0xff00bfff
jmp 0x478902
push 0x12c
call fcn.004c9551
add esp, 4
mov dword [ebp - 0x36c], eax
push 1
mov byte [ebp - 4], 3
push 0xffffff00
movss xmm3, dword [edi + 0x118]
movss xmm1, dword [0x56ac04]
addss xmm3, dword [0x56ab44]
subss xmm1, dword [esi + 0x1f4]
movss xmm0, dword [edi + 0x11c]
movss xmm2, dword [edi + 0x114]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [edi + 0x1d0]
push ecx
push ecx
mov ecx, eax
movss dword [esp], xmm0
call fcn.0046fc70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x350]
push eax
mov dword [eax + 0x118], 0x41a00000
call fcn.0044f2f0
xor eax, eax
mov dword [ebp - 0x2bc], eax
cmp edi, dword [esi + 0x10]
jne 0x479ba1
imul ecx, eax, 0xd0
mov dword [ebp - 0x2dc], ecx
cmp dword [ecx + edi + 0x34c], 0
je 0x478b09
lea ecx, [ebp - 0x2b4]
call fcn.004537b0
lea ecx, [ebp - 0x140]
call fcn.004537b0
cmp dword [ebp - 0x2bc], 1
movss xmm0, dword [0x56ab54]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xbe4ccccd
movss dword [ebp - 0x2b8], xmm0
jne 0x4789f0
movss xmm0, dword [0x56ad60]
movss dword [ebp - 0x2b8], xmm0
subss xmm0, dword [edi + 0x108]
call fcn.004684a0
mulss xmm0, dword [0x56aaf4]
movss dword [ebp - 0x2cc], xmm0
movss xmm0, dword [ebp - 0x2b8]
subss xmm0, dword [edi + 0x108]
call fcn.004684c0
movss xmm3, dword [edi + 0x118]
movaps xmm2, xmm0
mulss xmm2, dword [0x56aaf4]
push ecx
movss xmm0, dword [ebp - 0x2cc]
mov ecx, esi
addss xmm0, dword [edi + 0x11c]
movss xmm1, dword [edi + 0x108]
addss xmm3, dword [0x56ab14]
addss xmm2, dword [edi + 0x114]
mulss xmm1, dword [0x56ad50]
movss dword [esp], xmm0
call fcn.0047f2d0
lea eax, [esi + 0x1b4]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.00405145
push 0x12c
call fcn.004c9551
add esp, 4
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 5
movss xmm1, dword [0x56ac04]
subss xmm1, dword [esi + 0x1f4]
movss xmm0, dword [ebp - 0x2ac]
movss xmm3, dword [ebp - 0x2b0]
movss xmm2, dword [ebp - 0x2b4]
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp - 0x2dc]
add ecx, 0x354
mov dword [esp], 0xbf800000
add ecx, edi
push ecx
push ecx
mov ecx, eax
movss dword [esp], xmm0
call fcn.0046fc70
push eax
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0
call fcn.0044f2f0
mov eax, dword [ebp - 0x2bc]
inc eax
mov dword [ebp - 0x2bc], eax
cmp eax, 2
jl 0x478970
jmp 0x479ba1
mov eax, dword [edi + 0x160]
cmp eax, 1
jne 0x479243
mov eax, dword [0x5922d8]
push 1
push 0x1b
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [edi + 0x180]
cmp eax, 0x16
jg 0x478b59
cmp eax, 8
jle 0x478b59
push 2
jmp 0x478b5b
push 1
mov eax, dword [0x5922d8]
push 0x16
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov ecx, dword [edi + 0x338]
mov edx, dword [edi + 0x180]
mov dword [ebp - 0x2c0], ecx
test ecx, ecx
jne 0x478ba0
mov eax, dword [edi + 0x184]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + 0x5924b0]
mov dword [ebp - 0x2c0], ecx
mov eax, dword [edi + 0x33c]
mov dword [ebp - 0x2b8], eax
test eax, eax
jne 0x478bc9
mov eax, dword [edi + 0x184]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + 0x5927e0]
mov dword [ebp - 0x2b8], ecx
mov ecx, dword [edi + 0x340]
test ecx, ecx
jne 0x478be6
mov eax, dword [edi + 0x184]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + 0x592b10]
cmp edx, 0x1b
jne 0x478bf8
cmp dword [edi + 0x1ac], 0
jne 0x478eb9
cmp dword [edi + 0x1a4], 0
je 0x478c3b
mov eax, dword [edi + 0x190]
cmp eax, 0x14
jle 0x478c3b
test al, 1
je 0x478eb9
mov ecx, dword [ebp - 0x2c0]
test ecx, ecx
je 0x478ea1
mov eax, dword [ecx + 0x160]
test eax, eax
jle 0x478ea1
cdq
sub eax, edx
sar eax, 1
push eax
jmp 0x478e8f
cmp dword [edi + 0x19c], 0
je 0x478ce2
test ecx, ecx
je 0x478c81
mov eax, dword [ecx + 0x160]
mov dword [ebp - 0x2cc], eax
test eax, eax
jle 0x478c81
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ebp - 0x2cc]
mov eax, dword [0x5922d8]
push edx
push dword [eax + 0x2a3d8]
call fcn.0045f270
jmp 0x478c99
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0xc8]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
mov eax, dword [edi + 0x180]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x184]
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + 0x592b10]
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
sar eax, 1
cmp eax, dword [ecx + 0x160]
jl 0x478eb9
mov dword [edi + 0x19c], 0
mov dword [edi + 0x190], 0
jmp 0x478eb9
cmp dword [edi + 0x1a0], 0
je 0x478dda
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x478d7a
add eax, 0x160
mov dword [ebp - 0x2cc], eax
cmp dword [eax], 0
jle 0x478d7a
movd xmm1, dword [edi + 0x190]
cvtdq2ps xmm1, xmm1
push ecx
mov ecx, esi
movss xmm0, dword [edi + 0x11c]
mulss xmm1, dword [edi + 0x108]
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
divss xmm1, dword [0x56ac54]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [edi + 0x190]
mov ecx, dword [ebp - 0x2cc]
cdq
sub eax, edx
sar eax, 1
cdq
idiv dword [ecx]
mov eax, dword [0x5922d8]
mov ecx, dword [ebp - 0x2b8]
push edx
push dword [eax + 0x2a3d8]
call fcn.0045f270
jmp 0x478d92
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0xc8]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
mov eax, dword [edi + 0x180]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x184]
lea eax, [eax + ecx*2]
mov ecx, dword [eax*4 + 0x5927e0]
mov eax, 0x2aaaaaab
imul dword [edi + 0x190]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ecx + 0x160]
jl 0x478eb9
mov dword [edi + 0x1a0], 0
jmp 0x478eb9
cmp dword [edi + 0x198], 0
je 0x478e3c
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x478ea1
mov eax, dword [eax + 0x160]
mov dword [ebp - 0x2cc], eax
test eax, eax
jle 0x478ea1
mov eax, dword [edi + 0x190]
cdq
sub eax, edx
mov esi, eax
mov eax, 0x66666667
imul edi
sar esi, 1
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x2b8]
add eax, eax
sub esi, eax
lea eax, [edi + esi]
cdq
idiv dword [ebp - 0x2cc]
jmp 0x478e8e
mov eax, dword [ebp - 0x2c0]
test eax, eax
je 0x478ea1
mov eax, dword [eax + 0x160]
mov dword [ebp - 0x2cc], eax
test eax, eax
jle 0x478ea1
mov eax, dword [edi + 0x190]
cdq
and edx, 3
lea esi, [edx + eax]
mov eax, 0x66666667
imul edi
sar esi, 2
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x2c0]
add eax, eax
sub esi, eax
lea eax, [edi + esi]
cdq
idiv dword [ebp - 0x2cc]
push edx
mov eax, dword [0x5922d8]
push dword [eax + 0x2a3d8]
call fcn.0045f270
jmp 0x478eb9
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0xc8]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
cmp dword [edi + 0x180], 0x1b
jne 0x47900b
cmp dword [edi + 0x1ac], 0
movq xmm0, qword [edi + 0x114]
mov esi, dword [edi + 0x11c]
movq qword [ebp - 0x2f0], xmm0
xorps xmm0, xmm0
jne 0x478f56
movss xmm1, dword [0x56aad8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x2ec]
mov ecx, dword [0x592470]
sub esp, 0xc
mov eax, esp
movss dword [ebp - 0x2ec], xmm0
movq xmm0, qword [ebp - 0x2f0]
movq qword [eax], xmm0
mov dword [eax + 8], esi
call fcn.004b76e0
mov ecx, dword [0x592470]
sub esp, 0x10
mov eax, esp
push 5
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x3f800000
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
call fcn.004b7730
jmp 0x47900b
movss xmm1, dword [0x56ab14]
call fcn.004729f0
addss xmm0, dword [ebp - 0x2ec]
mov ecx, dword [0x5924a4]
sub esp, 0xc
mov eax, esp
movss dword [ebp - 0x2ec], xmm0
movq xmm0, qword [ebp - 0x2f0]
movq qword [eax], xmm0
mov dword [eax + 8], esi
call fcn.004b76e0
mov ecx, dword [0x5924a4]
sub esp, 0x10
mov eax, esp
push 5
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x3f800000
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
call fcn.004b7730
movq xmm0, qword [ebp - 0x2f0]
sub esp, 0xc
mov ecx, dword [0x592440]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], esi
call fcn.004b9740
mov ecx, dword [0x592440]
sub esp, 0x10
mov eax, esp
push 5
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x3f800000
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3f800000
call fcn.004b97a0
cmp dword [edi + 0x254], 0xffffffff
jle 0x479a68
inc dword [edi + 0x258]
mov eax, dword [edi + 0x258]
cmp eax, 0x1e
jle 0x479033
mov dword [edi + 0x254], 0xffffffff
cmp eax, 0xa
jle 0x479a68
movq xmm0, qword [edi + 0x114]
xorps xmm1, xmm1
mov eax, dword [edi + 0x11c]
movq qword [ebp - 0x368], xmm0
movss xmm0, dword [edi + 0x25c]
comiss xmm0, dword [0x56ab30]
mov dword [ebp - 0x2cc], eax
jb 0x479078
mov dword [ebp - 0x2bc], 0xff
jmp 0x4790a7
comiss xmm1, xmm0
jb 0x479089
mov dword [ebp - 0x2bc], 0
jmp 0x4790a7
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [ebp - 0x2bc], eax
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x260]
comiss xmm0, dword [0x56ab30]
jb 0x4790c4
mov dword [ebp - 0x2b8], 0xff
jmp 0x4790f0
comiss xmm1, xmm0
jb 0x4790d5
mov dword [ebp - 0x2b8], 0
jmp 0x4790f0
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [ebp - 0x2b8], eax
movss xmm0, dword [edi + 0x264]
xorps xmm1, xmm1
comiss xmm0, dword [0x56ab30]
jb 0x47910b
mov esi, 0xff
jmp 0x47912e
comiss xmm1, xmm0
jb 0x479114
xor esi, esi
jmp 0x47912e
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov esi, eax
xorps xmm1, xmm1
movss xmm0, dword [edi + 0x268]
comiss xmm0, dword [0x56ab30]
jb 0x479146
mov eax, 0xff
jmp 0x479164
comiss xmm1, xmm0
jb 0x47914f
xor eax, eax
jmp 0x479164
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
movss xmm1, dword [0x56ab50]
or eax, 0x5f
shl eax, 8
xorps xmm0, xmm0
or eax, dword [ebp - 0x2bc]
shl eax, 8
or eax, dword [ebp - 0x2b8]
shl eax, 8
or eax, esi
mov dword [ebp - 0x2dc], eax
call fcn.004729f0
addss xmm0, dword [ebp - 0x364]
mov ecx, dword [ebp - 0x2cc]
sub esp, 0xc
mov eax, esp
movss dword [ebp - 0x364], xmm0
movq xmm0, qword [ebp - 0x368]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x592440]
call fcn.004b9740
mov edx, dword [ebp - 0x2dc]
sub esp, 0x10
movss xmm1, dword [0x56aa68]
mov eax, edx
shr eax, 0x10
mov ecx, esp
movzx eax, al
push 5
movd xmm0, eax
mov eax, edx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [ecx], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
shr edx, 0x18
mulss xmm0, xmm1
movss dword [ecx + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ecx + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ecx + 0xc], xmm0
mov ecx, dword [0x592440]
call fcn.004b97a0
jmp 0x479a68
cmp eax, 0xe
je 0x479a68
cmp eax, 0x17
je 0x479a68
cmp eax, 6
jne 0x479277
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0xb0]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
jmp 0x479a68
cmp eax, 0xc
jne 0x479299
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x118]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
jmp 0x479a68
cmp eax, 0xd
jne 0x4792ad
mov ecx, dword [edi + 0x17c]
mov ecx, dword [esi + ecx*4 + 0xe8]
jmp 0x4792b8
cmp eax, 0x14
jne 0x4792e7
mov ecx, dword [esi + 0x10c]
mov eax, dword [0x5922d8]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
movss xmm0, dword [edi + 0x108]
addss xmm0, dword [0x56aa90]
movss dword [edi + 0x108], xmm0
jmp 0x479a68
cmp eax, 5
jne 0x479309
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0xd4]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
jmp 0x479a68
cmp eax, 7
jne 0x479360
mov cl, byte [edi + 0x18c]
cmp cl, 0xff
jne 0x479336
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0xe4]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
jmp 0x479a68
cmp cl, 5
jae 0x479a68
mov eax, dword [0x5922d8]
movzx ecx, cl
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [esi + ecx*4 + 0xb4]
call fcn.00464740
jmp 0x479a68
cmp eax, 0x12
jne 0x47938c
mov eax, dword [0x5922d8]
mov dword [edi + 0x108], 0
mov ecx, dword [esi + 0x110]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
jmp 0x479a68
cmp eax, 0x13
jne 0x4793ae
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x114]
push 0
push dword [eax + 0x2a3d8]
call fcn.00464740
jmp 0x479a68
cmp eax, 0xa
jne 0x4793f9
movq xmm0, qword [edi + 0x114]
sub esp, 0xc
mov eax, dword [edi + 0x11c]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x59249c]
call fcn.004b76e0
movups xmm0, xmmword [edi + 0x224]
mov ecx, dword [0x59249c]
sub esp, 0x10
mov eax, esp
push 1
movups xmmword [eax], xmm0
call fcn.004b7730
jmp 0x479a68
cmp eax, 0x11
jne 0x4798c5
mov eax, dword [edi + 0x238]
movss xmm1, dword [0x56ab30]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x56af70]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x56ac54]
comiss xmm1, xmm0
movss dword [ebp - 0x2c0], xmm0
jbe 0x47946e
call fcn.00514eba
cdq
mov ecx, 0xa
idiv ecx
mov eax, dword [esi + 0x20c]
mov esi, 0xa
mov ecx, edx
cdq
idiv esi
cmp ecx, edx
jge 0x47946e
movss xmm0, dword [0x56ab30]
movss dword [ebp - 0x2c0], xmm0
mov eax, dword [edi + 0x234]
test eax, eax
jne 0x47948b
movq xmm0, qword [edi + 0x114]
mov eax, dword [edi + 0x11c]
jmp 0x479508
cmp eax, 1
jne 0x479547
movq xmm0, qword [edi + 0x114]
mov eax, dword [edi + 0x11c]
movss xmm1, dword [0x56ac30]
movq qword [ebp - 0x328], xmm0
movss xmm0, dword [0x56ada8]
mov dword [ebp - 0x320], eax
call fcn.004729f0
addss xmm0, dword [ebp - 0x328]
movss xmm1, dword [0x56ac30]
movss dword [ebp - 0x328], xmm0
movss xmm0, dword [0x56ada8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x320]
movss dword [ebp - 0x320], xmm0
movq xmm0, qword [ebp - 0x328]
mov eax, dword [ebp - 0x320]
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x59249c]
call fcn.004b76e0
movups xmm0, xmmword [edi + 0x224]
mov ecx, dword [0x59249c]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
cvttss2si eax, dword [ebp - 0x2c0]
push eax
call fcn.004b7730
jmp 0x479a68
cmp eax, 2
jne 0x4795cd
movq xmm0, qword [edi + 0x114]
movss xmm1, dword [0x56ab50]
mov esi, dword [edi + 0x11c]
movq qword [ebp - 0x134], xmm0
xorps xmm0, xmm0
call fcn.004729f0
addss xmm0, dword [ebp - 0x130]
mov ecx, dword [0x592440]
sub esp, 0xc
mov eax, esp
movss dword [ebp - 0x130], xmm0
movq xmm0, qword [ebp - 0x134]
movq qword [eax], xmm0
mov dword [eax + 8], esi
call fcn.004b9740
movups xmm0, xmmword [edi + 0x224]
mov ecx, dword [0x592440]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
cvttss2si eax, dword [ebp - 0x2c0]
push eax
call fcn.004b97a0
jmp 0x479a68
cmp eax, 3
jne 0x479689
movq xmm0, qword [edi + 0x114]
mov eax, dword [edi + 0x11c]
movss xmm1, dword [0x56ac30]
movq qword [ebp - 0x31c], xmm0
movss xmm0, dword [0x56ada8]
mov dword [ebp - 0x314], eax
call fcn.004729f0
addss xmm0, dword [ebp - 0x31c]
movss xmm1, dword [0x56ac30]
movss dword [ebp - 0x31c], xmm0
movss xmm0, dword [0x56ada8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x314]
sub esp, 0xc
mov ecx, esp
movss dword [ebp - 0x314], xmm0
movq xmm0, qword [ebp - 0x31c]
mov eax, dword [ebp - 0x314]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x5924a4]
call fcn.004b76e0
movups xmm0, xmmword [edi + 0x224]
mov ecx, dword [0x5924a4]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
cvttss2si eax, dword [ebp - 0x2c0]
push eax
call fcn.004b7730
jmp 0x479a68
cmp eax, 4
jne 0x479768
movq xmm0, qword [edi + 0x114]
mov eax, dword [edi + 0x11c]
movss xmm1, dword [0x56ac30]
movq qword [ebp - 0x334], xmm0
movss xmm0, dword [ebp - 0x330]
addss xmm0, dword [0x56ab68]
mov dword [ebp - 0x32c], eax
movss dword [ebp - 0x2cc], xmm0
movss xmm0, dword [0x56ada8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x334]
movss xmm1, dword [0x56ac30]
movq qword [ebp - 0x2e0], xmm0
movss xmm0, dword [0x56ada8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x32c]
movss xmm1, dword [ebp - 0x2cc]
sub esp, 0xc
mov ecx, esp
movss dword [ebp - 0x32c], xmm0
movq xmm0, qword [ebp - 0x2e0]
mov eax, dword [ebp - 0x32c]
unpcklps xmm0, xmm1
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x592490]
call fcn.004b76e0
movups xmm0, xmmword [edi + 0x224]
mov ecx, dword [0x592490]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
cvttss2si eax, dword [ebp - 0x2c0]
push eax
call fcn.004b7730
jmp 0x479a68
cmp eax, 5
jne 0x4797e6
movq xmm0, qword [edi + 0x114]
sub esp, 0xc
mov ecx, dword [edi + 0x11c]
mov eax, esp
movq qword [ebp - 0x124], xmm0
movss xmm0, dword [ebp - 0x120]
addss xmm0, dword [0x56aafc]
movss dword [ebp - 0x120], xmm0
movq xmm0, qword [ebp - 0x124]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x5924a0]
call fcn.004b76e0
movups xmm0, xmmword [edi + 0x224]
mov ecx, dword [0x5924a0]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
cvttss2si eax, dword [ebp - 0x2c0]
push eax
call fcn.004b7730
jmp 0x479a68
cmp eax, 6
jne 0x479a68
movq xmm0, qword [edi + 0x114]
mov eax, dword [edi + 0x11c]
movss xmm1, dword [0x56ac30]
movq qword [ebp - 0x340], xmm0
movss xmm0, dword [ebp - 0x33c]
addss xmm0, dword [0x56ab04]
mov dword [ebp - 0x338], eax
movss dword [ebp - 0x2cc], xmm0
movss xmm0, dword [0x56ada8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x340]
movss xmm1, dword [0x56ac30]
movq qword [ebp - 0x2e0], xmm0
movss xmm0, dword [0x56ada8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x338]
movss xmm1, dword [ebp - 0x2cc]
sub esp, 0xc
mov ecx, esp
movss dword [ebp - 0x338], xmm0
movq xmm0, qword [ebp - 0x2e0]
mov eax, dword [ebp - 0x338]
unpcklps xmm0, xmm1
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x592488]
call fcn.004b86c0
movups xmm0, xmmword [edi + 0x224]
mov ecx, dword [0x592488]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
cvttss2si eax, dword [ebp - 0x2c0]
push eax
call fcn.004b8720
jmp 0x479a68
cmp eax, 8
jne 0x4798ef
mov eax, dword [0x5922d8]
movzx ecx, byte [edi + 0x18e]
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [esi + ecx*4 + 0xcc]
call fcn.00464740
jmp 0x479a68
cmp eax, 3
jne 0x4798ff
push dword [esi + 0x140]
jmp 0x479997
cmp eax, 4
jne 0x47990f
push dword [esi + 0x144]
jmp 0x479997
cmp eax, 0x10
jne 0x47994e
mov eax, dword [esi + 0x224]
test eax, eax
jle 0x479946
mov ecx, dword [esi + 0x138]
dec eax
mov dword [esi + 0x224], eax
mov eax, dword [edi + 0x190]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdq
idiv dword [ecx + 0x160]
jmp 0x479a57
mov ecx, dword [esi + 0x134]
jmp 0x47992b
mov ecx, 0x55e990
lea eax, [edi + 0x1b0]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x479980
test dl, dl
je 0x47997c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x479980
add eax, 2
add ecx, 2
test dl, dl
jne 0x479960
xor eax, eax
jmp 0x479985
sbb eax, eax
or eax, 1
test eax, eax
jne 0x479991
push dword [esi + 0x150]
jmp 0x479997
push dword [esi + 0x13c]
mov eax, dword [0x5922d8]
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf4]
mov eax, dword [0x5922d8]
push 4
push 1
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x5922d8]
push 2
push 2
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x5922d8]
push 0
push 3
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov eax, dword [0x5922d8]
push 1
push 4
push 0
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
mov esi, dword [esi + 0x130]
mov eax, 0x55555556
imul dword [edi + 0x190]
mov ecx, dword [esi + 0x160]
mov eax, edx
add ecx, 0xa
shr eax, 0x1f
add eax, edx
cdq
idiv ecx
sub edx, 5
jns 0x479a42
xor edx, edx
jmp 0x479a55
cmp edx, 7
jle 0x479a55
sub edx, 5
mov eax, 7
cmp edx, 7
cmovl edx, eax
mov ecx, esi
mov eax, dword [0x5922d8]
push edx
push dword [eax + 0x2a3d8]
call fcn.0045f270
mov eax, dword [ebp - 0x2e4]
mov esi, dword [ebp - 0x2d8]
cmp eax, dword [edi + 0x164]
jne 0x479ba1
mov eax, dword [ebp - 0x2d4]
cmp eax, dword [edi + 0x168]
jne 0x479ba1
or ecx, 0xffffffff
mov dword [ebp - 0x2bc], ecx
cmp edi, dword [esi + 0x10]
jne 0x479ac2
mov eax, 0x2aaaaaab
imul dword [esi + 0x20c]
mov eax, edx
shr eax, 0x1f
add eax, edx
test al, 1
je 0x479ac2
mov dword [ebp - 0x2bc], 0xff50ff50
jmp 0x479ae5
mov eax, dword [esi + 0x210]
cmp eax, dword [edi + 0x17c]
jne 0x479ae5
cmp dword [0x592450], 0
mov eax, 0xffff0050
cmove ecx, eax
mov dword [ebp - 0x2bc], ecx
cmp dword [edi + 0x218], 0
movss xmm0, dword [0x56ad50]
movss dword [ebp - 0x2b8], xmm0
jle 0x479b20
movd xmm1, dword [edi + 0x210]
movd xmm0, dword [edi + 0x214]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp - 0x2b8], xmm1
push 0x12c
call fcn.004c9551
add esp, 4
mov dword [ebp - 0x2fc], eax
movss xmm0, dword [ebp - 0x2b8]
mov byte [ebp - 4], 6
movss xmm3, dword [edi + 0x118]
movss xmm1, dword [0x56ac04]
addss xmm3, dword [0x56ab30]
subss xmm1, dword [esi + 0x1f4]
movss xmm2, dword [edi + 0x114]
push 0
push dword [ebp - 0x2bc]
push ecx
movss dword [esp], xmm0
lea ecx, [edi + 0x1b0]
movss xmm0, dword [edi + 0x11c]
push ecx
push ecx
mov ecx, eax
movss dword [esp], xmm0
call fcn.0046fc70
push eax
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0
call fcn.0044f2f0
inc dword [edi + 0x190]
mov ecx, dword [esi + 0x18]
call fcn.0044f2a0
mov edi, eax
mov dword [ebp - 0x2c4], eax
test edi, edi
jne 0x477ae0
mov ecx, dword [0x592458]
call fcn.004938a0
cmp dword [0x59248c], 0x64
jle 0x479c0b
lea ecx, [ebp - 0x310]
mov dword [0x59248c], 0
call fcn.004729e0
mov ecx, dword [0x5922ec]
lea edx, [ebp - 0x310]
mov eax, dword [0x59245c]
push 0
push 0
mov dword [ebp - 0x30f], eax
mov eax, dword [ecx]
push edx
push 5
call dword [eax + 4]
mov eax, dword [0x592480]
cmp eax, 1
je 0x47a5c0
cmp eax, 3
je 0x47a5c0
mov eax, dword [0x5922d8]
push 5
push 0x13
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 6
push 0x14
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 1
push 0x1b
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 1
push 0x16
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov ecx, dword [esi + 0x1c]
call fcn.0044f260
mov edi, eax
test edi, edi
je 0x47a56e
mov dword [ebp - 0x2d4], 0xff
nop
movss xmm0, dword [edi + 0x114]
subss xmm0, dword [0x593850]
call fcn.00472980
movss xmm1, dword [0x56ac98]
comiss xmm1, xmm0
jbe 0x47a552
movss xmm0, dword [edi + 0x11c]
subss xmm0, dword [0x593858]
call fcn.00472980
movss xmm1, dword [0x56ac98]
comiss xmm1, xmm0
jbe 0x47a552
movss xmm1, dword [ebp - 0x2f4]
addss xmm1, dword [edi + 0x11c]
movss xmm0, dword [edi + 0x114]
addss xmm0, dword [ebp - 0x304]
movss dword [ebp - 0x2dc], xmm1
xorps xmm1, xmmword [0x56af90]
movss dword [ebp - 0x2cc], xmm0
call fcn.0044da70
cvtss2sd xmm0, xmm0
call fcn.0044de70
cvtsd2ss xmm0, xmm0
subss xmm0, dword [esi + 0x1f4]
cvtss2sd xmm0, xmm0
call fcn.0044dea0
cvtsd2ss xmm0, xmm0
call fcn.004729a0
movss xmm1, dword [0x56ab00]
comiss xmm1, xmm0
ja 0x479d98
movss xmm0, dword [ebp - 0x2cc]
call fcn.004729a0
movss xmm1, dword [0x56ac64]
comiss xmm1, xmm0
jbe 0x47a4b6
movss xmm0, dword [ebp - 0x2dc]
call fcn.004729a0
movss xmm1, dword [0x56ac64]
comiss xmm1, xmm0
jbe 0x47a4b6
mov eax, dword [0x592480]
mov ecx, edi
cmp eax, 4
je 0x47a158
cmp eax, 2
je 0x479ee6
call fcn.0044d6d0
cmp eax, 0x10
jbe 0x479e8c
mov eax, dword [0x57cd48]
mov ecx, dword [edi + 0x17c]
mov dword [ebp - 0x2bc], ecx
test eax, eax
je 0x47a4b6
cmp eax, 1
je 0x479de4
cmp eax, 2
jne 0x479df8
add ecx, ecx
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x2bc], ecx
xor edx, edx
mov dword [ebp - 0x2c4], edx
test ecx, ecx
jle 0x47a4b6
xor ecx, ecx
mov dword [ebp - 0x2b8], ecx
movd xmm1, edx
mov eax, dword [edi + 0x174]
cvtdq2ps xmm1, xmm1
push ecx
movss xmm0, dword [eax + ecx + 8]
divss xmm1, dword [0x56ac74]
movss xmm3, dword [eax + ecx + 4]
movss xmm2, dword [eax + ecx]
mov ecx, esi
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, edi
push 0
push dword [eax + 0x2a3d8]
call fcn.0044d6d0
mov ecx, dword [eax*4 + 0x593170]
call fcn.00464740
mov edx, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2b8]
inc edx
add ecx, 0xc
mov dword [ebp - 0x2c4], edx
mov dword [ebp - 0x2b8], ecx
cmp edx, dword [ebp - 0x2bc]
jl 0x479e10
jmp 0x47a4b6
movss xmm1, dword [edi + 0x108]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, edi
push 0
push dword [eax + 0x2a3d8]
call fcn.0044d6d0
mov ecx, dword [eax*4 + 0x593170]
call fcn.00464740
jmp 0x47a4b6
movq xmm0, qword [edi + 0x114]
mov eax, dword [edi + 0x11c]
movq qword [ebp - 0x124], xmm0
mov dword [ebp - 0x2cc], eax
call fcn.0044d6d0
add eax, 2
cmp eax, 8
jne 0x479f67
movss xmm1, dword [edi + 0x108]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x16c]
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [ecx + 0x1c4]
call fcn.00464740
jmp 0x47a4b6
mov ecx, edi
call fcn.0044d6d0
add eax, 2
cmp eax, 9
jne 0x479fce
movss xmm1, dword [edi + 0x108]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x16c]
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [ecx + 0x1c8]
call fcn.00464740
jmp 0x47a4b6
mov ecx, edi
call fcn.0044d6d0
add eax, 2
cmp eax, 0xe
jne 0x47a03d
movss xmm3, dword [edi + 0x118]
movss xmm1, dword [edi + 0x108]
subss xmm3, dword [0x56ab30]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm2, dword [edi + 0x114]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x16c]
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [ecx + 0x1cc]
call fcn.00464740
jmp 0x47a4b6
mov ecx, edi
call fcn.0044d6d0
add eax, 2
cmp eax, 2
jne 0x47a4b6
movss xmm1, dword [edi + 0x108]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x16c]
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [ecx + 0x1d0]
call fcn.00464740
call fcn.00514eba
and eax, reloc.WS2_32.dll_closesocket
jns 0x47a0b6
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x47a4b6
test byte [0x58e650], 2
je 0x47a4b6
movss xmm0, dword [ebp - 0x120]
sub esp, 0xc
addss xmm0, dword [0x56abb8]
mov ecx, dword [ebp - 0x2cc]
mov eax, esp
movss dword [ebp - 0x120], xmm0
movq xmm0, qword [ebp - 0x124]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x5924a4]
call fcn.004b76e0
mov eax, dword [esi + 0x16c]
sub esp, 0x10
mov ecx, dword [0x5924a4]
cmp dword [eax + 0x1c0], 4
mov eax, esp
push 1
mov dword [eax], 0x3f800000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x3e5cdcde
jne 0x47a147
mov dword [eax + 4], 0x3e70f0f2
call fcn.004b7730
jmp 0x47a4b6
mov dword [eax + 4], 0x3f800000
call fcn.004b7730
jmp 0x47a4b6
movq xmm0, qword [edi + 0x114]
mov eax, dword [edi + 0x11c]
movq qword [ebp - 0x2f0], xmm0
mov dword [ebp - 0x2e8], eax
call fcn.0044d6d0
add eax, 2
cmp eax, 0xe
jne 0x47a2ac
movss xmm1, dword [0x56aaa4]
movss xmm0, dword [0x56ad2c]
call fcn.004729f0
addss xmm0, dword [ebp - 0x2f0]
movss xmm1, dword [0x56aaa4]
movss dword [ebp - 0x2cc], xmm0
movss dword [ebp - 0x2f0], xmm0
movss xmm0, dword [0x56ad2c]
call fcn.004729f0
addss xmm0, dword [ebp - 0x2e8]
sub esp, 0xc
mov ecx, esp
movss dword [ebp - 0x2e8], xmm0
movq xmm0, qword [ebp - 0x2f0]
mov eax, dword [ebp - 0x2e8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x5924a4]
call fcn.004b76e0
cvttss2si ecx, dword [ebp - 0x2cc]
sub esp, 0x10
movss xmm1, dword [0x56aa68]
lea eax, [ecx + 0x50]
cdq
idiv dword [ebp - 0x2d4]
movzx eax, dl
mov dword [ebp - 0x2cc], eax
mov eax, ecx
cdq
mov ecx, 0xff
idiv ecx
mov ecx, esp
movzx eax, dl
mov edx, dword [ebp - 0x2cc]
shl eax, 8
or edx, eax
shl edx, 8
or edx, 0x370000ff
mov eax, edx
shr eax, 0x10
movzx eax, al
push 1
movd xmm0, eax
mov eax, edx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [ecx], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
shr edx, 0x18
mulss xmm0, xmm1
movss dword [ecx + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ecx + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ecx + 0xc], xmm0
mov ecx, dword [0x5924a4]
call fcn.004b7730
jmp 0x47a4b6
mov ecx, edi
call fcn.0044d6d0
add eax, 2
cmp eax, 2
jne 0x47a313
movss xmm1, dword [edi + 0x108]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x168]
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [ecx + 0x1c8]
call fcn.00464740
jmp 0x47a4b6
mov ecx, edi
call fcn.0044d6d0
add eax, 2
cmp eax, 3
jne 0x47a37a
movss xmm1, dword [edi + 0x108]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x168]
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [ecx + 0x1cc]
call fcn.00464740
jmp 0x47a4b6
mov ecx, edi
call fcn.0044d6d0
add eax, 2
cmp eax, 0xf
jne 0x47a3e1
movss xmm1, dword [edi + 0x108]
mulss xmm1, dword [0x56ad50]
push ecx
movss xmm0, dword [edi + 0x11c]
mov ecx, esi
movss xmm3, dword [edi + 0x118]
movss xmm2, dword [edi + 0x114]
movss dword [esp], xmm0
call fcn.0047f2d0
mov eax, dword [0x5922d8]
mov ecx, dword [esi + 0x168]
push 0
push dword [eax + 0x2a3d8]
mov ecx, dword [ecx + 0x1c4]
call fcn.00464740
jmp 0x47a4b6
call fcn.00514eba
and eax, reloc.WS2_32.dll_closesocket
jns 0x47a3f4
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x47a4b6
test byte [0x58e650], 2
je 0x47a4b6
movss xmm1, dword [0x56ac30]
movss xmm0, dword [0x56ada8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x2f0]
movss xmm1, dword [0x56ac30]
movq qword [ebp - 0x300], xmm0
movss xmm0, dword [0x56ada8]
call fcn.004729f0
addss xmm0, dword [ebp - 0x2e8]
movss xmm1, dword [ebp - 0x2ec]
sub esp, 0xc
addss xmm1, dword [0x56ab04]
mov ecx, esp
movss dword [ebp - 0x2e8], xmm0
movq xmm0, qword [ebp - 0x300]
mov eax, dword [ebp - 0x2e8]
unpcklps xmm0, xmm1
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [0x592488]
call fcn.004b86c0
mov ecx, dword [0x592488]
sub esp, 0x10
mov eax, esp
push 1
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x3f800000
mov dword [eax + 8], 0x3f800000
mov dword [eax + 0xc], 0x3e5cdcde
call fcn.004b8720
cmp dword [0x592480], 2
jne 0x47a55c
mov ecx, edi
call fcn.0044d6d0
add eax, 2
cmp eax, 2
jne 0x47a55c
test byte [0x58e650], al
je 0x47a55c
mov eax, dword [esi + 0x16c]
sub esp, 0x10
movss xmm2, dword [edi + 0x118]
mov ecx, esi
movss xmm3, dword [edi + 0x11c]
movss xmm1, dword [edi + 0x114]
cmp dword [eax + 0x1c0], 4
addss xmm2, dword [0x56abb8]
mov dword [esp + 0xc], 0x41f00000
mov dword [esp + 8], 0x3e4ccccd
jne 0x47a53c
mov dword [esp + 4], 0x3e4ccccd
mov dword [esp], 0x3f800000
call fcn.00482d30
jmp 0x47a55c
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call fcn.00482d30
jmp 0x47a55c
mov dword [edi + 0x160], 1
mov ecx, dword [esi + 0x1c]
call fcn.0044f2a0
mov edi, eax
test edi, edi
jne 0x479ca0
mov ecx, dword [esi + 0x1c]
call fcn.0044f260
mov edi, eax
test edi, edi
je 0x47a5c0
nop dword [eax]
cmp dword [edi + 0x160], 0
je 0x47a5b2
mov ecx, dword [esi + 0x1c]
push edi
call fcn.0044f5c0
cmp dword [edi + 0x16c], 0xffffffff
jle 0x47a5aa
mov ecx, dword [esi + 4]
push edi
push dword [edi + 0x170]
call fcn.00493250
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [esi + 0x1c]
call fcn.0044f2a0
mov edi, eax
test edi, edi
jne 0x47a580
mov eax, dword [0x5922d8]
lea edx, [ebp - 0x118]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xdc], 0x3f800000
mov dword [ebp - 0xf0], 0x3f800000
mov dword [ebp - 0x104], 0x3f800000
mov dword [ebp - 0x118], 0x3f800000
mov eax, dword [eax + 0x2a3d8]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
cmp dword [0x592480], 0
jne 0x47a791
cmp dword [0x57cd48], 0
je 0x47a791
mov ecx, dword [0x592460]
call fcn.004c4fb0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592460]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004c50e0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592464]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004c50e0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592468]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004c50e0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x59246c]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004c50e0
mov eax, dword [0x5922d8]
push 0
push 0x1c
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0
push 0x89
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
lea ecx, [ebp - 0x350]
call fcn.0044f260
test eax, eax
je 0x47a802
nop dword [eax]
nop word [eax + eax]
push dword [esi + 0x14c]
mov ecx, eax
push dword [esi + 0x148]
call fcn.0046fd80
lea ecx, [ebp - 0x350]
call fcn.0044f2a0
test eax, eax
jne 0x47a7e0
mov eax, dword [0x5922d8]
push 0
push 0x89
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 0
push 0xe
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
lea edx, [ebp - 0x118]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xdc], 0x3f800000
mov dword [ebp - 0xf0], 0x3f800000
mov dword [ebp - 0x104], 0x3f800000
mov dword [ebp - 0x118], 0x3f800000
mov eax, dword [eax + 0x2a3d8]
push edx
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ecx, dword [0x592454]
call fcn.004b7aa0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592454]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b7bc0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x5924a4]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b7bc0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592470]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b7bc0
movups xmm0, xmmword [ebp - 0xd8]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
mov ecx, dword [0x592490]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b7bc0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x5924a0]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b7bc0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592448]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b7bc0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592488]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b8ba0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x59249c]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b7bc0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x59247c]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004badd0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592440]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004b9de0
sub esp, 0x40
mov eax, esp
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592478]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004c0e80
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592458]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.00493de0
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [0x592444]
sub esp, 0x40
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax + 0x30], xmm0
call fcn.004bbde0
mov eax, dword [0x5922d8]
push 1
push 0xe
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 1
push 0x89
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 1
push 0x16
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 5
push 0x13
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 6
push 0x14
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x5922d8]
push 2
push 9
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [0x592494], 0
mov edi, eax
je 0x47ad75
cmp dword [esi + 0x28c], 0
je 0x47ad75
mov ecx, dword [0x5922d8]
push 0
call fcn.0045ac50
mov ecx, edi
mov esi, eax
sub ecx, dword [0x592494]
jne 0x47ace3
lea eax, [ebp - 0x98]
push str.FPS_38
push eax
call fcn.00462190
add esp, 8
jmp 0x47ad01
xor edx, edx
mov eax, 0x3e8
div ecx
push eax
lea eax, [ebp - 0x98]
push str.FPS__d
push eax
call fcn.00462190
add esp, 0xc
mov ecx, dword [0x5922d8]
call fcn.0045c760
mov ecx, dword [0x5922d8]
sub eax, 0xb4
mov dword [ebp - 0x128], eax
call fcn.0045c770
mov ecx, dword [0x5922d8]
sub eax, 0xc
mov dword [ebp - 0x124], eax
call fcn.0045c760
mov ecx, dword [0x5922d8]
sub eax, 0x82
mov dword [ebp - 0x120], eax
call fcn.0045c770
mov dword [ebp - 0x11c], eax
mov ecx, esi
movups xmm0, xmmword [ebp - 0x128]
push 0
lea eax, [ebp - 0x98]
push eax
push 0xffffffffffffffff
push 0
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00454820
push str.BBOClient::Draw_13__n
mov ecx, 0x5922c4
mov dword [0x592494], edi
call fcn.00446c30
lea ecx, [ebp - 0x350]
call fcn.0044f200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c922c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret