Function at 0x4952b0
Capabilities:
Check os version
Create thread
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
sub esp, 0xc
mov eax, 0x1864
call fcn.004a06f0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [str.u_rdlINNb___]
movups xmmword [ebp - 0x731], xmm0
movups xmm0, xmmword [str._____8_]
movups xmmword [ebp - 0x721], xmm0
movups xmm0, xmmword [0x4c986c]
movups xmmword [ebp - 0x711], xmm0
movq xmm0, qword [str.HUXU]
movq qword [ebp - 0x701], xmm0
mov al, byte [0x4c9884]
mov byte [ebp - 0x6f9], al
xor edx, edx
mov dword [ebp - 0xc8], edx
cmp dword [0x4dcc20], 2
jl 0x4954a0
movaps xmm4, xmmword [0x4c0630]
movaps xmm3, xmmword [0x4ca210]
mov esi, 4
movd xmm5, esi
movaps xmm6, xmmword [str.1111]
mov esi, 0x1f
movd xmm7, esi
movaps xmm0, xmmword [str.6666666666666666]
movaps xmmword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x80]
nop dword [eax]
movd xmm0, edx
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x731]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x731], xmm1
lea eax, [edx + 4]
movd xmm0, eax
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x72d]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x72d], xmm1
add edx, 8
cmp edx, 0x38
jl 0x495390
mov dword [ebp - 0xc8], edx
cmp edx, 0x39
jge 0x4954d7
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0xc8]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x731], cl
inc edx
mov dword [ebp - 0xc8], edx
cmp edx, 0x39
jl 0x4954a0
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x518], 0
mov dword [ebp - 0x514], 0xf
lea ecx, [ebp - 0x731]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495500
sub ecx, edx
push ecx
lea eax, [ebp - 0x731]
push eax
lea ecx, [ebp - 0x528]
call fcn.00401820
lea eax, [ebp - 0x528]
cmp dword [ebp - 0x514], 0x10
cmovae eax, dword [ebp - 0x528]
push 1
push 0x40
push 1
push eax
lea ecx, [ebp - 0x9a0]
call fcn.0048b800
mov eax, dword [ebp - 0x9a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x9a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x9a4], eax
mov eax, dword [ebp - 0x9a0]
mov eax, dword [eax + 4]
mov esi, dword [ebp + eax - 0x994]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x9a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x9a4], eax
lea ecx, [ebp - 0x990]
call fcn.00402580
mov eax, dword [ebp - 0x9a0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x9a0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x9a4], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
lea eax, [ebp - 0x930]
push eax
call fcn.0049f8ef
add esp, 4
mov edx, dword [ebp - 0x514]
cmp edx, 0x10
jb 0x49561c
inc edx
mov ecx, dword [ebp - 0x528]
mov eax, ecx
cmp edx, 0x1000
jb 0x495612
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x518], 0
mov dword [ebp - 0x514], 0xf
mov byte [ebp - 0x528], 0
test esi, esi
jne 0x495645
mov dword [0], 0x2a
push 1
push str._a_z_8_
lea ecx, [ebp - 0x8dc]
call fcn.0048ba00
push 1
push str._A_Z_8_
lea ecx, [ebp - 0x8c8]
call fcn.0048ba00
push 1
push str.d6_
lea ecx, [ebp - 0x8b4]
call fcn.0048ba00
lea eax, [ebp - 0x6c8]
push eax
call fcn.00493cb0
add esp, 4
mov esi, eax
mov dword [ebp - 0x34], eax
movq xmm0, qword [str.fVMU]
movq qword [ebp - 0x280], xmm0
mov cx, word [0x4c9890]
mov word [ebp - 0x278], cx
mov cl, byte [0x4c9892]
mov byte [ebp - 0x276], cl
xor edx, edx
mov dword [ebp - 0x30], edx
nop
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x280], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0xb
jl 0x4956c0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0xf
lea ecx, [ebp - 0x280]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495711
sub ecx, edx
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x378]
call fcn.00401820
lea ecx, [ebp - 0x378]
cmp dword [ebp - 0x364], 0x10
cmovae ecx, dword [ebp - 0x378]
mov dword [ebp - 0x28], ecx
mov edx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x495752
mov esi, dword [esi]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x368]
cmp eax, edx
ja 0x495812
test eax, eax
jne 0x49576b
xor edi, edi
jmp 0x495815
sub edx, eax
lea eax, [edx + 1]
add eax, esi
mov dword [ebp - 0x40], eax
movsx ecx, byte [ecx]
mov dword [ebp - 0x30], ecx
sub eax, esi
push eax
push ecx
push esi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
je 0x495812
mov ecx, edi
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x368]
sub esi, 4
jb 0x4957b3
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4957bc
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4957a2
cmp esi, 0xfffffffc
je 0x4959bd
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4957f9
cmp esi, 0xfffffffd
je 0x4959bd
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4957f9
cmp esi, 0xfffffffe
je 0x4959bd
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4957f9
cmp esi, 0xffffffff
je 0x4959bd
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4959bd
inc edi
mov eax, dword [ebp - 0x40]
sub eax, edi
push eax
push dword [ebp - 0x30]
push edi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x495792
or edi, 0xffffffff
mov eax, dword [ebp - 0x364]
cmp eax, 0x10
jb 0x495851
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x378]
mov eax, edx
cmp ecx, 0x1000
jb 0x495847
add ecx, 0x23
mov edx, dword [edx - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push ecx
push edx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x368], 0
mov dword [ebp - 0x364], 0xf
mov byte [ebp - 0x378], 0
mov edx, dword [ebp - 0x6b4]
cmp edx, 0x10
jb 0x4958a6
inc edx
mov ecx, dword [ebp - 0x6c8]
mov eax, ecx
cmp edx, 0x1000
jb 0x49589c
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x6b8], 0
mov dword [ebp - 0x6b4], 0xf
mov byte [ebp - 0x6c8], 0
cmp edi, 0xffffffff
je 0x4958d0
mov dword [0], 0x2a
lea eax, [ebp - 0x6e0]
push eax
call fcn.00493cb0
add esp, 4
mov esi, eax
mov dword [ebp - 0x34], eax
mov ecx, dword [str.QRWK__]
mov dword [ebp - 0x12c], ecx
mov cx, word [0x4c9898]
mov word [ebp - 0x128], cx
mov cl, byte [0x4c989a]
mov byte [ebp - 0x126], cl
xor edx, edx
mov dword [ebp - 0x30], edx
nop
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x12c], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 7
jl 0x495910
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
lea ecx, [ebp - 0x12c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495961
sub ecx, edx
push ecx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00401820
lea edx, [ebp - 0x2a0]
cmp dword [ebp - 0x28c], 0x10
mov eax, dword [ebp - 0x2a0]
cmovae edx, eax
mov dword [ebp - 0x28], edx
mov edi, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x4959a4
mov esi, dword [esi]
mov dword [ebp - 0x34], esi
mov ecx, dword [ebp - 0x290]
cmp ecx, edi
ja 0x495a76
test ecx, ecx
jne 0x4959c5
xor edi, edi
jmp 0x495a79
sub edi, dword [ebp - 0x34]
jmp 0x495815
mov eax, esi
sub eax, ecx
inc edi
add eax, edi
mov dword [ebp - 0x40], eax
movsx ecx, byte [edx]
mov dword [ebp - 0x30], ecx
sub eax, esi
push eax
push ecx
push esi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
je 0x495a70
nop dword [eax]
mov ecx, edi
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x290]
sub esi, 4
jb 0x495a11
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x495a1a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x495a00
cmp esi, 0xfffffffc
je 0x495d54
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x495a57
cmp esi, 0xfffffffd
je 0x495d54
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x495a57
cmp esi, 0xfffffffe
je 0x495d54
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x495a57
cmp esi, 0xffffffff
je 0x495d54
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x495d54
inc edi
mov eax, dword [ebp - 0x40]
sub eax, edi
push eax
push dword [ebp - 0x30]
push edi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4959f0
mov eax, dword [ebp - 0x2a0]
or edi, 0xffffffff
mov ecx, dword [ebp - 0x28c]
cmp ecx, 0x10
jb 0x495ab3
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x495aa9
add ecx, 0x23
mov eax, dword [eax - 4]
mov dword [ebp - 0x28], eax
sub edx, eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x498ca0
mov eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
mov edx, dword [ebp - 0x6cc]
cmp edx, 0x10
jb 0x495b08
inc edx
mov ecx, dword [ebp - 0x6e0]
mov eax, ecx
cmp edx, 0x1000
jb 0x495afe
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x6d0], 0
mov dword [ebp - 0x6cc], 0xf
mov byte [ebp - 0x6e0], 0
cmp edi, 0xffffffff
je 0x495b32
mov dword [0], 0x2a
lea eax, [ebp - 0x680]
push eax
call fcn.00493cb0
add esp, 4
mov esi, eax
mov dword [ebp - 0x30], eax
movq xmm0, qword [str.VJKCevRVQ3._C]
movq qword [ebp - 0x1fc], xmm0
mov ecx, dword [0x4c98a4]
mov dword [ebp - 0x1f4], ecx
mov cx, word [0x4c98a8]
mov word [ebp - 0x1f0], cx
test ch, ch
je 0x495cd1
xor edx, edx
mov dword [ebp - 0x34], edx
cmp dword [0x4dcc20], 2
jl 0x495ca0
movaps xmm4, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movaps xmm2, xmmword [0x4c0630]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
mov eax, dword [str.6666666666666666]
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.VJKCevRVQ3._C]
pxor xmm1, xmm0
movd dword [ebp - 0x1fc], xmm1
movaps xmm2, xmmword [0x4c07c0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x1f8]
pxor xmm1, xmm0
movd dword [ebp - 0x1f8], xmm1
mov edx, 8
mov dword [ebp - 0x34], edx
nop dword [eax]
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0x34]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x1fc], cl
inc edx
mov dword [ebp - 0x34], edx
cmp edx, 0xe
jl 0x495ca0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
lea ecx, [ebp - 0x1fc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495cf8
sub ecx, edx
push ecx
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00401820
lea edx, [ebp - 0x2b8]
cmp dword [ebp - 0x2a4], 0x10
mov eax, dword [ebp - 0x2b8]
cmovae edx, eax
mov dword [ebp - 0x28], edx
mov edi, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x495d3b
mov esi, dword [esi]
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x2a8]
cmp ecx, edi
ja 0x495e16
test ecx, ecx
jne 0x495d62
xor edi, edi
jmp 0x495e19
sub edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2a0]
jmp 0x495a79
mov eax, esi
sub eax, ecx
inc edi
add eax, edi
mov dword [ebp - 0x40], eax
movsx ecx, byte [edx]
mov dword [ebp - 0x34], ecx
sub eax, esi
push eax
push ecx
push esi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
je 0x495e10
nop dword [eax]
mov ecx, edi
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2a8]
sub esi, 4
jb 0x495db1
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x495dba
add ecx, 4
add edx, 4
sub esi, 4
jae 0x495da0
cmp esi, 0xfffffffc
je 0x4965f1
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x495df7
cmp esi, 0xfffffffd
je 0x4965f1
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x495df7
cmp esi, 0xfffffffe
je 0x4965f1
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x495df7
cmp esi, 0xffffffff
je 0x4965f1
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4965f1
inc edi
mov eax, dword [ebp - 0x40]
sub eax, edi
push eax
push dword [ebp - 0x34]
push edi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x495d90
mov eax, dword [ebp - 0x2b8]
or edi, 0xffffffff
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 0x10
jb 0x495e53
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x495e49
add ecx, 0x23
mov eax, dword [eax - 4]
mov dword [ebp - 0x28], eax
sub edx, eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x498ca0
mov eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
mov edx, dword [ebp - 0x66c]
cmp edx, 0x10
jb 0x495ea8
inc edx
mov ecx, dword [ebp - 0x680]
mov eax, ecx
cmp edx, 0x1000
jb 0x495e9e
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x66c], 0xf
mov byte [ebp - 0x680], 0
cmp edi, 0xffffffff
je 0x495ed2
mov dword [0], 0x2a
lea eax, [ebp - 0x6b0]
push eax
call fcn.00493cb0
add esp, 4
mov esi, eax
mov dword [ebp - 0x40], eax
mov ecx, dword [str.WMMK__]
mov dword [ebp - 0x152], ecx
mov cx, word [0x4c98b0]
mov word [ebp - 0x14e], cx
test ch, ch
je 0x495f3a
xor edx, edx
mov dword [ebp - 0x30], edx
nop dword [eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x152], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 6
jl 0x495f10
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
lea ecx, [ebp - 0x152]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495f61
sub ecx, edx
push ecx
lea eax, [ebp - 0x152]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00401820
lea ecx, [ebp - 0x2d0]
cmp dword [ebp - 0x2bc], 0x10
cmovae ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x28], ecx
mov edx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x495fa2
mov esi, dword [esi]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x2c0]
cmp eax, edx
ja 0x496060
test eax, eax
je 0x496613
sub edx, eax
lea eax, [edx + 1]
add eax, esi
mov dword [ebp - 0x30], eax
movsx ecx, byte [ecx]
mov dword [ebp - 0x34], ecx
sub eax, esi
push eax
push ecx
push esi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
je 0x496060
nop
mov ecx, edi
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c0]
sub esi, 4
jb 0x496001
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x49600a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x495ff0
cmp esi, 0xfffffffc
je 0x4965ff
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x496047
cmp esi, 0xfffffffd
je 0x4965ff
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x496047
cmp esi, 0xfffffffe
je 0x4965ff
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x496047
cmp esi, 0xffffffff
je 0x4965ff
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4965ff
inc edi
mov eax, dword [ebp - 0x30]
sub eax, edi
push eax
push dword [ebp - 0x34]
push edi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x495fe0
mov eax, 3
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x21], 0
test al, 8
je 0x4960ce
and eax, 0xfffffff7
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x37c]
cmp edx, 0x10
jb 0x4960b3
inc edx
mov ecx, dword [ebp - 0x390]
mov eax, ecx
cmp edx, 0x1000
jb 0x4960a6
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x37c], 0xf
mov byte [ebp - 0x390], 0
test al, 4
je 0x49612d
and eax, 0xfffffffb
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x654]
cmp edx, 0x10
jb 0x496112
inc edx
mov ecx, dword [ebp - 0x668]
mov eax, ecx
cmp edx, 0x1000
jb 0x496108
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0xf
mov byte [ebp - 0x668], 0
mov edx, dword [ebp - 0x2bc]
cmp edx, 0x10
jb 0x496167
inc edx
mov ecx, dword [ebp - 0x2d0]
mov eax, ecx
cmp edx, 0x1000
jb 0x49615d
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], 0
mov esi, dword [ebp - 0x34]
and esi, 0xfffffffc
mov edx, dword [ebp - 0x69c]
cmp edx, 0x10
jb 0x4961c2
inc edx
mov ecx, dword [ebp - 0x6b0]
mov eax, ecx
cmp edx, 0x1000
jb 0x4961b8
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x6a0], 0
mov dword [ebp - 0x69c], 0xf
mov byte [ebp - 0x6b0], 0
cmp byte [ebp - 0x21], 0
je 0x4961ed
mov dword [0], 0x2a
lea eax, [ebp - 0x6f8]
push eax
call fcn.00493cb0
add esp, 4
mov edi, eax
mov dword [ebp - 0x28], eax
or esi, 0x30
mov dword [ebp - 0x34], esi
mov ecx, dword [str.WSUPT_]
mov dword [ebp - 0x10d], ecx
mov cx, word [0x4c98c4]
mov word [ebp - 0x109], cx
test ch, ch
je 0x49625a
xor edx, edx
mov dword [ebp - 0x40], edx
nop word [eax + eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x40]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x10d], cl
inc edx
mov dword [ebp - 0x40], edx
cmp edx, 6
jl 0x496230
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0xf
lea ecx, [ebp - 0x10d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496281
sub ecx, edx
push ecx
lea eax, [ebp - 0x10d]
push eax
lea ecx, [ebp - 0x300]
call fcn.00401820
lea ecx, [ebp - 0x300]
cmp dword [ebp - 0x2ec], 0x10
cmovae ecx, dword [ebp - 0x300]
mov dword [ebp - 0x40], ecx
mov edx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0x10
jb 0x4962c2
mov edi, dword [edi]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x2f0]
cmp eax, edx
ja 0x49638e
test eax, eax
je 0x4967cb
sub edx, eax
lea eax, [edx + 1]
add eax, edi
mov dword [ebp - 0x98], eax
movsx ecx, byte [ecx]
mov dword [ebp - 0x3c], ecx
sub eax, edi
push eax
push ecx
push edi
call fcn.004a1b40
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
je 0x49638e
mov ecx, eax
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x2f0]
sub edi, 4
jb 0x496324
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x49632d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x496313
cmp edi, 0xfffffffc
je 0x4967b8
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x49636a
cmp edi, 0xfffffffd
je 0x4967b8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x49636a
cmp edi, 0xfffffffe
je 0x4967b8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x49636a
cmp edi, 0xffffffff
je 0x4967b8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4967b8
mov ecx, dword [ebp - 0x30]
inc ecx
mov eax, dword [ebp - 0x98]
sub eax, ecx
push eax
push dword [ebp - 0x3c]
push ecx
call fcn.004a1b40
add esp, 0xc
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x496303
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x21], 0
test al, al
jns 0x4963fc
and eax, 0xffffff7f
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2d4]
cmp edx, 0x10
jb 0x4963e1
inc edx
mov ecx, dword [ebp - 0x2e8]
mov eax, ecx
cmp edx, 0x1000
jb 0x4963d4
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0xf
mov byte [ebp - 0x2e8], 0
test al, 0x40
je 0x49645b
and eax, 0xffffffbf
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x684]
cmp edx, 0x10
jb 0x496440
inc edx
mov ecx, dword [ebp - 0x698]
mov eax, ecx
cmp edx, 0x1000
jb 0x496436
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x688], 0
mov dword [ebp - 0x684], 0xf
mov byte [ebp - 0x698], 0
mov edx, dword [ebp - 0x2ec]
cmp edx, 0x10
jb 0x496495
inc edx
mov ecx, dword [ebp - 0x300]
mov eax, ecx
cmp edx, 0x1000
jb 0x49648b
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0xf
mov byte [ebp - 0x300], 0
mov esi, dword [ebp - 0x34]
and esi, 0xffffffcf
mov edx, dword [ebp - 0x6e4]
cmp edx, 0x10
jb 0x4964f0
inc edx
mov ecx, dword [ebp - 0x6f8]
mov eax, ecx
cmp edx, 0x1000
jb 0x4964e6
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x6e4], 0xf
mov byte [ebp - 0x6f8], 0
cmp byte [ebp - 0x21], 0
je 0x49651b
mov dword [0], 0x2a
lea eax, [ebp - 0x1810]
push eax
call fcn.00493cb0
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0x300
mov ecx, dword [0x4c98d0]
mov dword [ebp - 0xf3], ecx
mov edi, dword [0x4dcc20]
cmp byte [0x4c98d3], 0
je 0x496aba
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x496a90
movaps xmm3, xmmword [0x4c0630]
movaps xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x4ca210]
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x4ca210]
shufps xmm2, xmm0, 0xdd
mov eax, 4
movd xmm0, eax
psrad xmm2, xmm0
movaps xmm1, xmm2
mov eax, 0x1f
movd xmm0, eax
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [str.1111]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.6666666666666666]
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0xf3], xmm1
jmp 0x496aba
sub edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2b8]
jmp 0x495e19
mov eax, 3
mov dword [ebp - 0x34], eax
sub edi, dword [ebp - 0x40]
cmp edi, 0xffffffff
je 0x496068
lea eax, [ebp - 0x668]
push eax
call fcn.00493b40
add esp, 4
mov esi, eax
mov dword [ebp - 0x30], eax
movq xmm0, qword [str.wmmk]
movq qword [ebp - 0x26c], xmm0
mov cl, byte [0x4c98bc]
mov byte [ebp - 0x264], cl
xor edx, edx
mov dword [ebp - 0x40], edx
nop dword [eax + eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x40]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x26c], cl
inc edx
mov dword [ebp - 0x40], edx
cmp edx, 9
jl 0x496650
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x37c], 0xf
lea ecx, [ebp - 0x26c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4966a1
sub ecx, edx
push ecx
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x390]
call fcn.00401820
lea ecx, [ebp - 0x390]
cmp dword [ebp - 0x37c], 0x10
cmovae ecx, dword [ebp - 0x390]
mov dword [ebp - 0x28], ecx
mov edx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x4966e2
mov esi, dword [esi]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x380]
cmp eax, edx
ja 0x49678c
test eax, eax
je 0x4967aa
sub edx, eax
lea eax, [edx + 1]
add eax, esi
mov dword [ebp - 0x40], eax
movsx ecx, byte [ecx]
mov dword [ebp - 0x34], ecx
sub eax, esi
push eax
push ecx
push esi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
je 0x49678c
nop dword [eax + eax]
mov ecx, edi
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x380]
sub esi, 4
jb 0x496741
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x496746
add ecx, 4
add edx, 4
sub esi, 4
jae 0x496730
cmp esi, 0xfffffffc
je 0x496796
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x496773
cmp esi, 0xfffffffd
je 0x496796
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x496773
cmp esi, 0xfffffffe
je 0x496796
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x496773
cmp esi, 0xffffffff
je 0x496796
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x496796
inc edi
mov eax, dword [ebp - 0x40]
sub eax, edi
push eax
push dword [ebp - 0x34]
push edi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x496720
mov eax, 0xf
jmp 0x496065
mov eax, 0xf
mov dword [ebp - 0x34], eax
sub edi, dword [ebp - 0x30]
cmp edi, 0xffffffff
je 0x496068
mov byte [ebp - 0x21], 1
mov eax, 0xf
jmp 0x496070
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x28]
cmp ecx, 0xffffffff
jne 0x4967cb
mov eax, dword [ebp - 0x34]
jmp 0x496394
lea eax, [ebp - 0x698]
push eax
call fcn.00493b40
add esp, 4
mov edi, eax
mov dword [ebp - 0x40], eax
or esi, 0xc0
mov dword [ebp - 0x34], esi
mov ecx, dword [str.cdk]
mov esi, dword [0x4c98cc]
mov dword [ebp - 0x13f], ecx
mov dword [ebp - 0x13b], esi
cmp byte [str._C_9vjj:], 0
je 0x49694d
xor edx, edx
mov dword [ebp - 0x28], edx
cmp dword [0x4dcc20], 2
jl 0x496923
movaps xmm4, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movaps xmm2, xmmword [0x4c0630]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
mov eax, dword [str.6666666666666666]
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0x13f], xmm1
movaps xmm2, xmmword [0x4c07c0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, esi
pxor xmm1, xmm0
movd dword [ebp - 0x13b], xmm1
jmp 0x49694d
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x13f], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 8
jl 0x496923
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0xf
lea ecx, [ebp - 0x13f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496974
sub ecx, edx
push ecx
lea eax, [ebp - 0x13f]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.00401820
lea eax, [ebp - 0x2e8]
cmp dword [ebp - 0x2d4], 0x10
cmovae eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0x10
jb 0x4969b5
mov edi, dword [edi]
mov dword [ebp - 0x40], edi
mov esi, dword [ebp - 0x2d8]
cmp esi, ecx
ja 0x49638e
test esi, esi
je 0x496a7a
sub ecx, esi
inc ecx
add ecx, edi
mov dword [ebp - 0x98], ecx
movsx edx, byte [eax]
mov dword [ebp - 0x28], edx
sub ecx, edi
push ecx
push edx
push edi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
je 0x49638e
mov ecx, edi
mov edx, dword [ebp - 0x3c]
sub esi, 4
jb 0x496a11
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x496a16
add ecx, 4
add edx, 4
sub esi, 4
jae 0x496a00
cmp esi, 0xfffffffc
je 0x496a6a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x496a43
cmp esi, 0xfffffffd
je 0x496a6a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x496a43
cmp esi, 0xfffffffe
je 0x496a6a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x496a43
cmp esi, 0xffffffff
je 0x496a6a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x496a6a
inc edi
mov eax, dword [ebp - 0x98]
sub eax, edi
push eax
push dword [ebp - 0x28]
push edi
call fcn.004a1b40
add esp, 0xc
mov edi, eax
test edi, edi
mov esi, dword [ebp - 0x2d8]
jne 0x4969f3
jmp 0x49638e
sub edi, dword [ebp - 0x40]
cmp edi, 0xffffffff
jne 0x496a7a
mov eax, dword [ebp - 0x34]
jmp 0x496394
mov byte [ebp - 0x21], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
jmp 0x496398
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xf3], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 4
jl 0x496a90
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
lea ecx, [ebp - 0xf3]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496ae1
sub ecx, edx
push ecx
lea eax, [ebp - 0xf3]
push eax
lea ecx, [ebp - 0x49c]
call fcn.00401820
lea ecx, [ebp - 0x49c]
cmp dword [ebp - 0x488], 0x10
cmovae ecx, dword [ebp - 0x49c]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x496b1f
mov eax, dword [eax]
push dword [ebp - 0x48c]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x496c1b
lea eax, [ebp - 0x10f0]
push eax
call fcn.00493b40
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0xc00
mov ecx, dword [0x4c98d4]
mov dword [ebp - 0x107], ecx
mov cl, byte [0x4c98d8]
mov byte [ebp - 0x103], cl
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x107], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 5
jl 0x496b70
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0xf
lea ecx, [ebp - 0x107]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496bc1
sub ecx, edx
push ecx
lea eax, [ebp - 0x107]
push eax
lea ecx, [ebp - 0x360]
call fcn.00401820
lea ecx, [ebp - 0x360]
cmp dword [ebp - 0x34c], 0x10
cmovae ecx, dword [ebp - 0x360]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x496bff
mov eax, dword [eax]
push dword [ebp - 0x350]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
mov byte [ebp - 0x21], 1
jne 0x496c1f
mov byte [ebp - 0x21], 0
test esi, 0x800
je 0x496c84
and esi, 0xfffff7ff
mov eax, dword [ebp - 0x34c]
cmp eax, 0x10
jb 0x496c69
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x360]
mov eax, ecx
cmp edx, 0x1000
jb 0x496c5f
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0xf
mov byte [ebp - 0x360], 0
test esi, 0x400
je 0x496c9d
and esi, 0xfffffbff
lea ecx, [ebp - 0x10f0]
call fcn.00401290
mov edx, dword [ebp - 0x488]
cmp edx, 0x10
jb 0x496cd7
inc edx
mov ecx, dword [ebp - 0x49c]
mov eax, ecx
cmp edx, 0x1000
jb 0x496ccd
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
and esi, 0xfffffcff
lea ecx, [ebp - 0x1810]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x496d13
mov dword [0], 0x2a
lea eax, [ebp - 0x1840]
push eax
call fcn.00493cb0
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0x3000
mov ecx, dword [str.wdu9wdu]
mov dword [ebp - 0xc8], ecx
cmp byte [0x4c98df], 0
je 0x496e0a
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x496de0
movaps xmm3, xmmword [0x4c0630]
movaps xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x4ca210]
movaps xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x4ca210]
shufps xmm2, xmm0, 0xdd
mov eax, 4
movd xmm0, eax
psrad xmm2, xmm0
movaps xmm1, xmm2
mov eax, 0x1f
movd xmm0, eax
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [str.1111]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.6666666666666666]
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0xc8], xmm1
jmp 0x496e0a
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xc8], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 4
jl 0x496de0
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0xf
lea ecx, [ebp - 0xc8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496e31
sub ecx, edx
push ecx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x484]
call fcn.00401820
lea ecx, [ebp - 0x484]
cmp dword [ebp - 0x470], 0x10
cmovae ecx, dword [ebp - 0x484]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x496e6f
mov eax, dword [eax]
push dword [ebp - 0x474]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x496f71
lea eax, [ebp - 0x1828]
push eax
call fcn.00493b40
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0xc000
mov ecx, dword [0x4c98e0]
mov dword [ebp - 0x113], ecx
mov cx, word [0x4c98e4]
mov word [ebp - 0x10f], cx
test ch, ch
je 0x496ef0
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x113], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 6
jl 0x496ec6
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0xf
lea ecx, [ebp - 0x113]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496f17
sub ecx, edx
push ecx
lea eax, [ebp - 0x113]
push eax
lea ecx, [ebp - 0x348]
call fcn.00401820
lea ecx, [ebp - 0x348]
cmp dword [ebp - 0x334], 0x10
cmovae ecx, dword [ebp - 0x348]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x496f55
mov eax, dword [eax]
push dword [ebp - 0x338]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
mov byte [ebp - 0x21], 1
jne 0x496f75
mov byte [ebp - 0x21], 0
test esi, 0x8000
je 0x496fda
and esi, 0xffff7fff
mov eax, dword [ebp - 0x334]
cmp eax, 0x10
jb 0x496fbf
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x348]
mov eax, ecx
cmp edx, 0x1000
jb 0x496fb5
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0xf
mov byte [ebp - 0x348], 0
test esi, 0x4000
je 0x496ff3
and esi, 0xffffbfff
lea ecx, [ebp - 0x1828]
call fcn.00401290
mov edx, dword [ebp - 0x470]
cmp edx, 0x10
jb 0x49702d
inc edx
mov ecx, dword [ebp - 0x484]
mov eax, ecx
cmp edx, 0x1000
jb 0x497023
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x470], 0xf
mov byte [ebp - 0x484], 0
and esi, 0xffffcfff
lea ecx, [ebp - 0x1840]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x497069
mov dword [0], 0x2a
lea eax, [ebp - 0x9b8]
push eax
call fcn.00493cb0
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0x30000
mov ecx, dword [str.WUZ_:]
mov dword [ebp - 0x102], ecx
mov cl, byte [0x4c98ec]
mov byte [ebp - 0xfe], cl
xor edx, edx
mov dword [ebp - 0x28], edx
nop
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x102], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 5
jl 0x4970a0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0xf
lea ecx, [ebp - 0x102]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4970f1
sub ecx, edx
push ecx
lea eax, [ebp - 0x102]
push eax
lea ecx, [ebp - 0x46c]
call fcn.00401820
lea ecx, [ebp - 0x46c]
cmp dword [ebp - 0x458], 0x10
cmovae ecx, dword [ebp - 0x46c]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x49712f
mov eax, dword [eax]
push dword [ebp - 0x45c]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x49734b
lea eax, [ebp - 0x1858]
push eax
call fcn.00493b40
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0xc0000
mov ecx, dword [str.wuz_]
mov dword [ebp - 0x147], ecx
mov eax, dword [0x4c98f4]
mov dword [ebp - 0x143], eax
cmp byte [str.zVRC_], 0
je 0x4972ca
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x4972a0
movaps xmm4, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movaps xmm2, xmmword [0x4c0630]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
mov eax, dword [str.6666666666666666]
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0x147], xmm1
movaps xmm2, xmmword [0x4c07c0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x4c98f4]
pxor xmm1, xmm0
movd dword [ebp - 0x143], xmm1
jmp 0x4972ca
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x147], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 8
jl 0x4972a0
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
lea ecx, [ebp - 0x147]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4972f1
sub ecx, edx
push ecx
lea eax, [ebp - 0x147]
push eax
lea ecx, [ebp - 0x330]
call fcn.00401820
lea ecx, [ebp - 0x330]
cmp dword [ebp - 0x31c], 0x10
cmovae ecx, dword [ebp - 0x330]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x49732f
mov eax, dword [eax]
push dword [ebp - 0x320]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
mov byte [ebp - 0x21], 1
jne 0x49734f
mov byte [ebp - 0x21], 0
test esi, 0x80000
je 0x4973b4
and esi, 0xfff7ffff
mov eax, dword [ebp - 0x31c]
cmp eax, 0x10
jb 0x497399
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x330]
mov eax, ecx
cmp edx, 0x1000
jb 0x49738f
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
test esi, 0x40000
je 0x4973cd
and esi, 0xfffbffff
lea ecx, [ebp - 0x1858]
call fcn.00401290
mov edx, dword [ebp - 0x458]
cmp edx, 0x10
jb 0x497407
inc edx
mov ecx, dword [ebp - 0x46c]
mov eax, ecx
cmp edx, 0x1000
jb 0x4973fd
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0xf
mov byte [ebp - 0x46c], 0
and esi, 0xfffcffff
lea ecx, [ebp - 0x9b8]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x497443
mov dword [0], 0x2a
lea eax, [ebp - 0x9e8]
push eax
call fcn.00493cb0
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0x300000
mov ecx, dword [0x4c98f8]
mov dword [ebp - 0x119], ecx
mov cx, word [0x4c98fc]
mov word [ebp - 0x115], cx
test ch, ch
je 0x4974aa
xor edx, edx
mov dword [ebp - 0x28], edx
nop
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x119], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 6
jl 0x497480
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0xf
lea ecx, [ebp - 0x119]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4974d1
sub ecx, edx
push ecx
lea eax, [ebp - 0x119]
push eax
lea ecx, [ebp - 0x454]
call fcn.00401820
lea ecx, [ebp - 0x454]
cmp dword [ebp - 0x440], 0x10
cmovae ecx, dword [ebp - 0x454]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x49750f
mov eax, dword [eax]
push dword [ebp - 0x444]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x49760f
lea eax, [ebp - 0x9d0]
push eax
call fcn.00493b40
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0xc00000
movq xmm0, qword [str.zvrc]
movq qword [ebp - 0x275], xmm0
mov cl, byte [0x4c9908]
mov byte [ebp - 0x26d], cl
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x275], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 9
jl 0x497564
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0xf
lea ecx, [ebp - 0x275]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4975b5
sub ecx, edx
push ecx
lea eax, [ebp - 0x275]
push eax
lea ecx, [ebp - 0x318]
call fcn.00401820
lea ecx, [ebp - 0x318]
cmp dword [ebp - 0x304], 0x10
cmovae ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4975f3
mov eax, dword [eax]
push dword [ebp - 0x308]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
mov byte [ebp - 0x21], 1
jne 0x497613
mov byte [ebp - 0x21], 0
test esi, 0x800000
je 0x497678
and esi, 0xff7fffff
mov eax, dword [ebp - 0x304]
cmp eax, 0x10
jb 0x49765d
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x318]
mov eax, ecx
cmp edx, 0x1000
jb 0x497653
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0xf
mov byte [ebp - 0x318], 0
test esi, 0x400000
je 0x497691
and esi, 0xffbfffff
lea ecx, [ebp - 0x9d0]
call fcn.00401290
mov edx, dword [ebp - 0x440]
cmp edx, 0x10
jb 0x4976cb
inc edx
mov ecx, dword [ebp - 0x454]
mov eax, ecx
cmp edx, 0x1000
jb 0x4976c1
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0xf
mov byte [ebp - 0x454], 0
and esi, 0xffcfffff
lea ecx, [ebp - 0x9e8]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x497707
mov dword [0], 0x2a
lea eax, [ebp - 0xa30]
push eax
call fcn.00493cb0
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0x3000000
mov ecx, dword [str.XJJN_]
mov dword [ebp - 0x11f], ecx
mov cx, word [0x4c9910]
mov word [ebp - 0x11b], cx
test ch, ch
je 0x49776c
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x11f], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 6
jl 0x497742
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0xf
lea ecx, [ebp - 0x11f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x497793
sub ecx, edx
push ecx
lea eax, [ebp - 0x11f]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401820
lea ecx, [ebp - 0x43c]
cmp dword [ebp - 0x428], 0x10
cmovae ecx, dword [ebp - 0x43c]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4977d1
mov eax, dword [eax]
push dword [ebp - 0x42c]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x49789d
lea eax, [ebp - 0xa18]
push eax
call fcn.00493b40
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0xc000000
movq xmm0, qword [str.xjjn]
movq qword [ebp - 0x89], xmm0
mov cl, byte [0x4c991c]
mov byte [ebp - 0x81], cl
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x89], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 9
jl 0x497826
lea eax, [ebp - 0x89]
push eax
lea ecx, [ebp - 0xa00]
call fcn.00404740
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x98], ecx
cmp dword [eax + 0x14], 0x10
jb 0x497873
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x497881
mov ecx, dword [ecx]
push dword [ebp - 0x98]
push eax
push 0
push edx
push ecx
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
mov byte [ebp - 0x21], 1
jne 0x4978a1
mov byte [ebp - 0x21], 0
test esi, 0x8000000
je 0x4978ba
and esi, 0xf7ffffff
lea ecx, [ebp - 0xa00]
call fcn.00401290
test esi, 0x4000000
je 0x4978d3
and esi, 0xfbffffff
lea ecx, [ebp - 0xa18]
call fcn.00401290
mov edx, dword [ebp - 0x428]
cmp edx, 0x10
jb 0x49790d
inc edx
mov ecx, dword [ebp - 0x43c]
mov eax, ecx
cmp edx, 0x1000
jb 0x497903
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0xf
mov byte [ebp - 0x43c], 0
and esi, 0xfcffffff
lea ecx, [ebp - 0xa30]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x497949
mov dword [0], 0x2a
lea eax, [ebp - 0xa78]
push eax
call fcn.00493cb0
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0x30000000
mov ecx, dword [0x4c9920]
mov dword [ebp - 0x137], ecx
mov cx, word [0x4c9924]
mov word [ebp - 0x133], cx
mov cl, byte [0x4c9926]
mov byte [ebp - 0x131], cl
xor edx, edx
mov dword [ebp - 0x28], edx
nop dword [eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x137], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 7
jl 0x497990
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0xf
lea ecx, [ebp - 0x137]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4979e1
sub ecx, edx
push ecx
lea eax, [ebp - 0x137]
push eax
lea ecx, [ebp - 0x424]
call fcn.00401820
lea ecx, [ebp - 0x424]
cmp dword [ebp - 0x410], 0x10
cmovae ecx, dword [ebp - 0x424]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x497a1f
mov eax, dword [eax]
push dword [ebp - 0x414]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x497af7
lea eax, [ebp - 0xa60]
push eax
call fcn.00493b40
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0xc0000000
movq xmm0, qword [str.avtr]
movq qword [ebp - 0x8a], xmm0
mov cx, word [0x4c9930]
mov word [ebp - 0x82], cx
test ch, ch
je 0x497aaa
xor edx, edx
mov dword [ebp - 0x28], edx
nop word [eax + eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x8a], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 0xa
jl 0x497a80
lea eax, [ebp - 0x8a]
push eax
lea ecx, [ebp - 0xa48]
call fcn.00404740
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x98], ecx
cmp dword [eax + 0x14], 0x10
jb 0x497acd
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x497adb
mov ecx, dword [ecx]
push dword [ebp - 0x98]
push eax
push 0
push edx
push ecx
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
mov byte [ebp - 0x21], 1
jne 0x497afb
mov byte [ebp - 0x21], 0
test esi, esi
jns 0x497b10
and esi, 0x7fffffff
lea ecx, [ebp - 0xa48]
call fcn.00401290
test esi, 0x40000000
je 0x497b23
lea ecx, [ebp - 0xa60]
call fcn.00401290
mov edx, dword [ebp - 0x410]
cmp edx, 0x10
jb 0x497b5d
inc edx
mov ecx, dword [ebp - 0x424]
mov eax, ecx
cmp edx, 0x1000
jb 0x497b53
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0xf
mov byte [ebp - 0x424], 0
lea ecx, [ebp - 0xa78]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x497b93
mov dword [0], 0x2a
lea eax, [ebp - 0xac0]
push eax
call fcn.00493cb0
add esp, 4
mov esi, eax
mov dword [ebp - 0x40], eax
mov ecx, dword [0x4c9934]
mov dword [ebp - 0xfd], ecx
mov cl, byte [0x4c9938]
mov byte [ebp - 0xf9], cl
xor edx, edx
mov dword [ebp - 0x28], edx
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xfd], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 5
jl 0x497bc4
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x3f8], 0xf
lea ecx, [ebp - 0xfd]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x497c15
sub ecx, edx
push ecx
lea eax, [ebp - 0xfd]
push eax
lea ecx, [ebp - 0x40c]
call fcn.00401820
lea eax, [ebp - 0x40c]
cmp dword [ebp - 0x3f8], 0x10
cmovae eax, dword [ebp - 0x40c]
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x497c53
mov esi, dword [esi]
mov dword [ebp - 0x40], esi
mov esi, 3
mov dword [ebp - 0x34], esi
push dword [ebp - 0x3fc]
push eax
push 0
push ecx
push dword [ebp - 0x40]
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x497e4a
lea eax, [ebp - 0xaa8]
push eax
call fcn.00493b40
add esp, 4
mov esi, eax
mov dword [ebp - 0x40], eax
mov ecx, dword [0x4c993c]
mov dword [ebp - 0xd0], ecx
mov eax, dword [0x4c9940]
mov dword [ebp - 0xcc], eax
cmp byte [str.wSUPTROIL4.0C], 0
je 0x497dfa
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x497dd0
movaps xmm4, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movaps xmm2, xmmword [0x4c0630]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
mov eax, dword [str.6666666666666666]
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0xd0], xmm1
movaps xmm2, xmmword [0x4c07c0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x4c9940]
pxor xmm1, xmm0
movd dword [ebp - 0xcc], xmm1
jmp 0x497dfa
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xd0], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 8
jl 0x497dd0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xa90]
call fcn.00404740
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x497e17
mov eax, dword [eax]
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x497e25
mov esi, dword [esi]
mov dword [ebp - 0x40], esi
mov esi, 0xf
mov dword [ebp - 0x34], esi
push edx
push eax
push 0
push ecx
push dword [ebp - 0x40]
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x497e4a
mov byte [ebp - 0x21], 1
mov eax, esi
jmp 0x497e55
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x34]
test al, 8
je 0x497e69
and eax, 0xfffffff7
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xa90]
call fcn.00401290
mov eax, dword [ebp - 0x34]
test al, 4
je 0x497e7e
and eax, 0xfffffffb
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xaa8]
call fcn.00401290
mov edx, dword [ebp - 0x3f8]
cmp edx, 0x10
jb 0x497eb8
inc edx
mov ecx, dword [ebp - 0x40c]
mov eax, ecx
cmp edx, 0x1000
jb 0x497eae
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 0x3f8], 0xf
mov byte [ebp - 0x40c], 0
mov esi, dword [ebp - 0x34]
and esi, 0xfffffffc
lea ecx, [ebp - 0xac0]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x497ef4
mov dword [0], 0x2a
lea eax, [ebp - 0xb08]
push eax
call fcn.00493cb0
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0x30
mov dword [ebp - 0x34], esi
movq xmm0, qword [0x4c9944]
movq qword [ebp - 0x1ee], xmm0
mov ecx, dword [0x4c994c]
mov dword [ebp - 0x1e6], ecx
mov cx, word [0x4c9950]
mov word [ebp - 0x1e2], cx
test ch, ch
je 0x498091
xor edx, edx
mov dword [ebp - 0x30], edx
cmp edi, 2
jl 0x498060
movaps xmm4, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movaps xmm2, xmmword [0x4c0630]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
mov eax, dword [str.6666666666666666]
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x4c9944]
pxor xmm1, xmm0
movd dword [ebp - 0x1ee], xmm1
movaps xmm2, xmmword [0x4c07c0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x1ea]
pxor xmm1, xmm0
movd dword [ebp - 0x1ea], xmm1
mov edx, 8
mov dword [ebp - 0x30], edx
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x1ee], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0xe
jl 0x498060
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 0xf
lea ecx, [ebp - 0x1ee]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4980b8
sub ecx, edx
push ecx
lea eax, [ebp - 0x1ee]
push eax
lea ecx, [ebp - 0x3dc]
call fcn.00401820
lea ecx, [ebp - 0x3dc]
cmp dword [ebp - 0x3c8], 0x10
cmovae ecx, dword [ebp - 0x3dc]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x4980f6
mov eax, dword [eax]
push dword [ebp - 0x3cc]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4981be
lea eax, [ebp - 0xaf0]
push eax
call fcn.00493b40
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0xc0
mov dword [ebp - 0x34], esi
mov ecx, dword [str.eUVT_]
mov dword [ebp - 0x66], ecx
mov cx, word [0x4c9958]
mov word [ebp - 0x62], cx
test ch, ch
je 0x498177
xor edx, edx
mov dword [ebp - 0x28], edx
nop word [eax + eax]
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x66], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 6
jl 0x498150
lea eax, [ebp - 0x66]
push eax
lea ecx, [ebp - 0xad8]
call fcn.00404740
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x498191
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x49819f
mov ecx, dword [ecx]
push esi
push eax
push 0
push edx
push ecx
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4981be
mov byte [ebp - 0x21], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
jmp 0x4981c5
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x34]
test al, al
jns 0x4981df
and eax, 0xffffff7f
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xad8]
call fcn.00401290
mov eax, dword [ebp - 0x34]
test al, 0x40
je 0x4981f4
and eax, 0xffffffbf
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xaf0]
call fcn.00401290
mov edx, dword [ebp - 0x3c8]
cmp edx, 0x10
jb 0x49822e
inc edx
mov ecx, dword [ebp - 0x3dc]
mov eax, ecx
cmp edx, 0x1000
jb 0x498224
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 0xf
mov byte [ebp - 0x3dc], 0
mov esi, dword [ebp - 0x34]
and esi, 0xffffffcf
lea ecx, [ebp - 0xb08]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x49826a
mov dword [0], 0x2a
lea eax, [ebp - 0xb50]
push eax
call fcn.00493cb0
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0x300
mov ecx, dword [str.wYVX:]
mov dword [ebp - 0xf8], ecx
mov cl, byte [0x4c9960]
mov byte [ebp - 0xf4], cl
xor edx, edx
mov dword [ebp - 0x28], edx
nop
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xf8], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 5
jl 0x4982a0
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x3e0], 0xf
lea ecx, [ebp - 0xf8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4982f1
sub ecx, edx
push ecx
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x3f4]
call fcn.00401820
lea ecx, [ebp - 0x3f4]
cmp dword [ebp - 0x3e0], 0x10
cmovae ecx, dword [ebp - 0x3f4]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x49832f
mov eax, dword [eax]
push dword [ebp - 0x3e4]
push ecx
push 0
push edx
push eax
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
je 0x498517
lea eax, [ebp - 0xb38]
push eax
call fcn.00493b40
add esp, 4
mov dword [ebp - 0x3c], eax
or esi, 0xc00
mov ecx, dword [str.wyvx]
mov dword [ebp - 0xd0], ecx
mov eax, dword [0x4c9968]
mov dword [ebp - 0xcc], eax
cmp byte [0x4c996b], 0
je 0x4984ca
xor edx, edx
mov dword [ebp - 0x28], edx
cmp edi, 2
jl 0x4984a0
movaps xmm4, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movaps xmm2, xmmword [0x4c0630]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
mov eax, dword [str.6666666666666666]
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, ecx
pxor xmm1, xmm0
movd dword [ebp - 0xd0], xmm1
movaps xmm2, xmmword [0x4c07c0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x4c9968]
pxor xmm1, xmm0
movd dword [ebp - 0xcc], xmm1
jmp 0x4984ca
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xd0], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 8
jl 0x4984a0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xb20]
call fcn.00404740
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x98], ecx
cmp dword [eax + 0x14], 0x10
jb 0x4984ed
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x4984fb
mov ecx, dword [ecx]
push dword [ebp - 0x98]
push eax
push 0
push edx
push ecx
call fcn.004010d0
add esp, 0x14
cmp eax, 0xffffffff
mov byte [ebp - 0x21], 1
jne 0x49851b
mov byte [ebp - 0x21], 0
test esi, 0x800
je 0x498534
and esi, 0xfffff7ff
lea ecx, [ebp - 0xb20]
call fcn.00401290
test esi, 0x400
je 0x498547
lea ecx, [ebp - 0xb38]
call fcn.00401290
mov edx, dword [ebp - 0x3e0]
cmp edx, 0x10
jb 0x498581
inc edx
mov ecx, dword [ebp - 0x3f4]
mov eax, ecx
cmp edx, 0x1000
jb 0x498577
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x498ca0
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x3e0], 0xf
mov byte [ebp - 0x3f4], 0
lea ecx, [ebp - 0xb50]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x4985b7
mov dword [0], 0x2a
lea eax, [ebp - 0xb68]
push eax
call fcn.00493b40
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x4985d0
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4985d5
sub ecx, esi
lea eax, [ecx + edx]
push 1
push 0x10
lea ecx, [ebp - 0x8dc]
push ecx
push 0
push eax
push edx
call fcn.0048a920
add esp, 0x18
mov byte [ebp - 0x21], al
lea ecx, [ebp - 0xb68]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x498616
mov dword [0], 0x2a
lea eax, [ebp - 0xb80]
push eax
call fcn.00493b40
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x49862f
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498634
sub ecx, esi
lea eax, [ecx + edx]
push 1
push 0x10
lea ecx, [ebp - 0x8c8]
push ecx
push 0
push eax
push edx
call fcn.0048a920
add esp, 0x18
mov byte [ebp - 0x21], al
lea ecx, [ebp - 0xb80]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x498675
mov dword [0], 0x2a
lea eax, [ebp - 0xb98]
push eax
call fcn.00493b40
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x49868e
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498693
sub ecx, esi
lea eax, [ecx + edx]
push 1
push 0x10
lea ecx, [ebp - 0x8b4]
push ecx
push 0
push eax
push edx
call fcn.0048a920
add esp, 0x18
mov byte [ebp - 0x21], al
lea ecx, [ebp - 0xb98]
call fcn.00401290
cmp byte [ebp - 0x21], 0
je 0x4986d4
mov dword [0], 0x2a
movups xmm0, xmmword [0x4c9988]
movups xmmword [ebp - 0x3ba], xmm0
mov ax, word [0x4c9998]
mov word [ebp - 0x3aa], ax
test ah, ah
je 0x498881
xor edx, edx
mov dword [ebp - 0x30], edx
cmp edi, 2
jl 0x498850
movaps xmm4, xmmword [0x4c0630]
movaps xmm3, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
movaps xmm6, xmmword [str.1111]
mov eax, 0x1f
movd xmm7, eax
movaps xmm0, xmmword [str.6666666666666666]
movaps xmmword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x80]
nop word [eax + eax]
movd xmm0, edx
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x3ba]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x3ba], xmm1
lea eax, [edx + 4]
movd xmm0, eax
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x3b6]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x3b6], xmm1
add edx, 8
cmp edx, 0x10
jl 0x498740
mov dword [ebp - 0x30], edx
cmp edx, 0x12
jge 0x498881
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x3ba], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0x12
jl 0x498850
mov dword [ebp - 0x580], 0
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x56c], 0xf
lea ecx, [ebp - 0x3ba]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4988a8
sub ecx, edx
push ecx
lea eax, [ebp - 0x3ba]
push eax
lea ecx, [ebp - 0x580]
call fcn.00401820
movups xmm0, xmmword [0x4c996c]
movups xmmword [ebp - 0x59c], xmm0
movq xmm0, qword [0x4c997c]
movq qword [ebp - 0x58c], xmm0
mov eax, dword [0x4c9984]
mov dword [ebp - 0x584], eax
cmp byte [0x4c9987], 0
je 0x498a81
xor edx, edx
mov dword [ebp - 0x30], edx
cmp edi, 2
jl 0x498a50
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x558], 0
mov dword [ebp - 0x554], 0xf
lea ecx, [ebp - 0x59c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498aa8
call fcn.004a514f
push edx
push ecx
call fcn.004a06de
add esp, 8
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x56c], 0xf
mov byte [ebp - 0x580], 0
cmp dword [ebp - 0x3c], 0xffffffff
je 0x498cda
mov dword [0], 0x2a
movups xmm0, xmmword [0x4c99c0]
movups xmmword [ebp - 0x5a], xmm0
mov ax, word [0x4c99d0]
mov word [ebp - 0x4a], ax
test ah, ah
je 0x498e6e
xor edx, edx
mov dword [ebp - 0x30], edx
cmp edi, 2
jl 0x498e40
movaps xmm4, xmmword [0x4c0630]
movaps xmm3, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
movaps xmm6, xmmword [str.1111]
mov eax, 0x1f
movd xmm7, eax
movaps xmm0, xmmword [str.6666666666666666]
movaps xmmword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x80]
nop word [eax + eax]
movd xmm0, edx
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x5a]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x5a], xmm1
lea eax, [edx + 4]
movd xmm0, eax
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x56]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x56], xmm1
add edx, 8
cmp edx, 0x10
jl 0x498d40
mov dword [ebp - 0x30], edx
cmp edx, 0x12
jge 0x498e6e
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x5a], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0x12
jl 0x498e40
lea eax, [ebp - 0x5a]
push eax
lea ecx, [ebp - 0xc10]
call fcn.00404740
mov esi, eax
movups xmm0, xmmword [0x4c99a4]
movups xmmword [ebp - 0xb6], xmm0
movq xmm0, qword [0x4c99b4]
movq qword [ebp - 0xa6], xmm0
mov ecx, dword [0x4c99bc]
mov dword [ebp - 0x9e], ecx
cmp byte [0x4c99bf], 0
je 0x499041
xor edx, edx
mov dword [ebp - 0x30], edx
cmp edi, 2
jl 0x499010
movaps xmm4, xmmword [0x4c0630]
movaps xmm3, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
movaps xmm6, xmmword [str.1111]
mov eax, 0x1f
movd xmm7, eax
movaps xmm0, xmmword [str.6666666666666666]
movaps xmmword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x80]
nop dword [eax]
movd xmm0, edx
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xb6]
pxor xmm1, xmm0
movd dword [ebp + edx - 0xb6], xmm1
lea eax, [edx + 4]
movd xmm0, eax
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xb2]
pxor xmm1, xmm0
movd dword [ebp + edx - 0xb2], xmm1
add edx, 8
cmp edx, 0x18
jl 0x498f00
mov dword [ebp - 0x30], edx
cmp edx, 0x1c
jge 0x499041
nop dword [eax + eax]
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xb6], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0x1c
jl 0x499010
lea eax, [ebp - 0xb6]
push eax
lea ecx, [ebp - 0xbf8]
call fcn.00404740
mov dword [ebp - 0x544], reloc.OLEAUT32.dll_SysReAllocString
push esi
push eax
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0xbe0]
push eax
call fcn.00409ee0
add esp, 0x10
mov esi, eax
movq xmm0, qword [0x4c99d4]
movq qword [ebp - 0xef], xmm0
mov ecx, dword [0x4c99dc]
mov dword [ebp - 0xe7], ecx
mov cl, byte [0x4c99e0]
mov byte [ebp - 0xe3], cl
xor edx, edx
mov dword [ebp - 0x30], edx
cmp edi, 2
jl 0x4991c0
movaps xmm4, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
mov eax, 0x1f
movd xmm6, eax
movaps xmm2, xmmword [0x4c0630]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
mov eax, dword [str.6666666666666666]
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x4c99d4]
pxor xmm1, xmm0
movd dword [ebp - 0xef], xmm1
movaps xmm2, xmmword [0x4c07c0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0xeb]
pxor xmm1, xmm0
movd dword [ebp - 0xeb], xmm1
mov edx, 8
mov dword [ebp - 0x30], edx
nop
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xef], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0xd
jl 0x4991c0
lea eax, [ebp - 0xef]
push eax
lea ecx, [ebp - 0xbc8]
call fcn.00404740
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x49920e
mov eax, dword [eax]
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x499219
mov esi, dword [esi]
push edx
push eax
push 0
push ecx
push esi
call fcn.004010d0
add esp, 0x14
mov esi, eax
lea ecx, [ebp - 0xbc8]
call fcn.00401290
lea ecx, [ebp - 0xbe0]
call fcn.00401290
lea ecx, [ebp - 0xbf8]
call fcn.00401290
lea ecx, [ebp - 0xc10]
call fcn.00401290
cmp esi, 0xffffffff
je 0x499264
mov dword [0], 0x2a
movups xmm0, xmmword [0x4c9a00]
movups xmmword [ebp - 0x5a], xmm0
mov ax, word [0x4c9a10]
mov word [ebp - 0x4a], ax
test ah, ah
je 0x4993fe
xor edx, edx
mov dword [ebp - 0x30], edx
cmp edi, 2
jl 0x4993d0
movaps xmm4, xmmword [0x4c0630]
movaps xmm3, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
movaps xmm6, xmmword [str.1111]
mov eax, 0x1f
movd xmm7, eax
movaps xmm0, xmmword [str.6666666666666666]
movaps xmmword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x80]
nop dword [eax]
nop dword [eax + eax]
movd xmm0, edx
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x5a]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x5a], xmm1
lea eax, [edx + 4]
movd xmm0, eax
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x56]
pxor xmm1, xmm0
movd dword [ebp + edx - 0x56], xmm1
add edx, 8
cmp edx, 0x10
jl 0x4992d0
mov dword [ebp - 0x30], edx
cmp edx, 0x12
jge 0x4993fe
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x5a], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0x12
jl 0x4993d0
lea eax, [ebp - 0x5a]
push eax
lea ecx, [ebp - 0xc70]
call fcn.00404740
mov esi, eax
movups xmm0, xmmword [0x4c99e4]
movups xmmword [ebp - 0xb6], xmm0
movq xmm0, qword [0x4c99f4]
movq qword [ebp - 0xa6], xmm0
mov ecx, dword [0x4c99fc]
mov dword [ebp - 0x9e], ecx
cmp byte [0x4c99ff], 0
je 0x4995d1
xor edx, edx
mov dword [ebp - 0x30], edx
cmp edi, 2
jl 0x4995a0
movaps xmm4, xmmword [0x4c0630]
movaps xmm3, xmmword [0x4ca210]
mov eax, 4
movd xmm5, eax
movaps xmm6, xmmword [str.1111]
mov eax, 0x1f
movd xmm7, eax
movaps xmm0, xmmword [str.6666666666666666]
movaps xmmword [ebp - 0x80], xmm0
mov ecx, dword [ebp - 0x80]
nop dword [eax]
movd xmm0, edx
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xb6]
pxor xmm1, xmm0
movd dword [ebp + edx - 0xb6], xmm1
lea eax, [edx + 4]
movd xmm0, eax
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x4c06b0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0xb2]
pxor xmm1, xmm0
movd dword [ebp + edx - 0xb2], xmm1
add edx, 8
cmp edx, 0x18
jl 0x499490
mov eax, 0x5397829d
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
mov edx, dword [ebp - 0x30]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0xb6], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0x1c
jl 0x4995a0
lea eax, [ebp - 0xb6]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00404740
mov dword [ebp - 0x510], reloc.OLEAUT32.dll_SysReAllocString
push esi
push eax
lea eax, [ebp - 0x510]
push eax
lea eax, [ebp - 0xc40]
push eax
call fcn.00409ee0
add esp, 0x10
mov esi, eax
mov ecx, dword [str.ezp:]
mov dword [ebp - 0x48], ecx
mov cl, byte [0x4c9a18]
mov byte [ebp - 0x44], cl
xor edx, edx
mov dword [ebp - 0x28], edx
nop
mov eax, 0x5397829d
mul edx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
mov edx, dword [ebp - 0x28]
mov cl, dl
sub cl, al
add cl, 0x36
xor byte [ebp + edx - 0x48], cl
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 5
jl 0x499620
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xc28]
call fcn.00404740
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x499661