Function at 0x10003890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x8f8
mov eax, dword [0x10017004]
xor eax, esp
mov dword [esp + 0x8f4], eax
push esi
push edi
call fcn.100012e0
test eax, eax
je 0x10004a99
lea eax, [esp + 0xc0]
xor edi, edi
push eax
push 8
push 0x29
lea edx, [edi + 1]
xor esi, esi
call section..text
add esp, 4
call eax
push eax
push 0x5f
lea edx, [edi + 4]
call section..text
add esp, 4
call eax
test eax, eax
je 0x10004a08
lea eax, [esp + 0xd0]
push eax
push 4
lea eax, [esp + 0xd4]
push eax
push 0x14
push dword [esp + 0xd0]
lea edx, [edi + 4]
push 0x3a
call section..text
add esp, 4
call eax
push dword [esp + 0xc0]
test eax, eax
lea edx, [edi + 1]
push 4
cmovne esi, dword [esp + 0xd4]
call section..text
add esp, 4
call eax
test esi, esi
je 0x10004a08
push 0x104
lea eax, [esp + 0x6f4]
xor edx, edx
push eax
push 0x80
call section..text
add esp, 4
call eax
movups xmm0, xmmword [0x100157c8]
mov edx, 2
lea esi, [edi + 0x1f]
xor ecx, ecx
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x100157d8]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [0x100157e8]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [0x100157f8]
movups xmmword [esp + 0x60], xmm0
cmp dword [0x10017bfc], edx
jl 0x10003ab0
movaps xmm4, xmmword [0x10015810]
movaps xmm3, xmmword [0x10015890]
movaps xmm6, xmmword [0x10015830]
movd xmm5, edx
movd xmm7, esi
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm0, qword [0x10015850]
paddw xmm1, xmm0
movq xmm0, qword [esp + ecx*2 + 0x30]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + ecx*2 + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, 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
movq xmm0, qword [0x10015850]
paddw xmm1, xmm0
movq xmm0, qword [esp + ecx*2 + 0x38]
pxor xmm1, xmm0
movq qword [esp + ecx*2 + 0x38], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x100039c1
jmp 0x10003ad2
mov eax, 0xcccccccd
mul ecx
mov eax, 5
shr edx, 3
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
xor word [esp + ecx*2 + 0x30], ax
inc ecx
cmp ecx, 0x20
jl 0x10003ab0
push 0x104
lea eax, [esp + 0x6f4]
mov edx, 1
push eax
lea eax, [esp + 0x38]
push eax
push 0x20
call section..text
add esp, 4
call eax
test eax, eax
je 0x10004a08
push 0xf003f
push 0
push 0
push 0x60
mov edx, 4
call section..text
add esp, 4
call eax
mov dword [esp + 0xcc], eax
test eax, eax
je 0x10004a0a
push 0x104
lea eax, [esp + 0xdc]
xor edx, edx
push eax
push 0x80
call section..text
add esp, 4
call eax
movups xmm0, xmmword [0x10015630]
mov ax, word [0x10015678]
xor esi, esi
mov edi, dword [0x10017bfc]
mov word [esp + 0x78], ax
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x10015640]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [0x10015650]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [0x10015660]
movups xmmword [esp + 0x60], xmm0
movq xmm0, qword [0x10015670]
movq qword [esp + 0x70], xmm0
cmp edi, 2
jl 0x10003cc0
movaps xmm4, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm6, xmmword [0x10015830]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
nop word [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm0, qword [0x10015850]
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x30]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, 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
movq xmm0, qword [0x10015850]
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x38]
pxor xmm1, xmm0
movq qword [esp + esi*2 + 0x38], xmm1
add esi, 8
cmp esi, 0x20
jl 0x10003bd0
cmp esi, 0x25
jge 0x10003ce9
nop dword [eax]
mov eax, 0x66666667
imul esi
mov eax, 5
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
xor word [esp + esi*2 + 0x30], ax
inc esi
cmp esi, 0x25
jl 0x10003cc0
lea eax, [esp + 0x30]
mov edx, 1
push eax
lea eax, [esp + 0xdc]
push eax
push 0x50
call section..text
add esp, 4
call eax
lea eax, [esp + 0x6f0]
mov edx, 1
push eax
lea eax, [esp + 0xdc]
push eax
push 0x4e
call section..text
add esp, 4
call eax
cmp word [0x10015772], 0
movups xmm0, xmmword [0x10015758]
mov eax, dword [0x10015770]
mov dword [esp + 0x28], eax
movups xmmword [esp + 0x10], xmm0
movq xmm0, qword [0x10015768]
movq qword [esp + 0x20], xmm0
je 0x10003e89
xor esi, esi
cmp edi, 2
jl 0x10003e60
movaps xmm2, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x10015850]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x10015758
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10015820]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [esp + 0x18]
pxor xmm1, xmm0
movq qword [esp + 0x18], xmm1
nop dword [eax + eax]
mov eax, 0x66666667
imul esi
mov eax, 5
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
xor word [esp + esi*2 + 0x10], ax
inc esi
cmp esi, 0xe
jl 0x10003e60
lea eax, [esp + 0x10]
mov edx, 1
push eax
lea eax, [esp + 0xdc]
push eax
push 0x4e
call section..text
add esp, 4
call eax
cmp word [0x1001562e], 0
movups xmm0, xmmword [0x10015614]
mov eax, dword [0x1001562c]
mov dword [esp + 0x98], eax
movups xmmword [esp + 0x80], xmm0
movq xmm0, qword [0x10015624]
movq qword [esp + 0x90], xmm0
je 0x1000401c
xor esi, esi
cmp edi, 2
jl 0x10003ff0
movaps xmm2, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x10015850]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x10015614
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10015820]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [esp + 0x80], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [esp + 0x88]
pxor xmm1, xmm0
movq qword [esp + 0x88], xmm1
nop dword [eax]
mov eax, 0x66666667
imul esi
mov eax, 5
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
xor word [esp + esi*2 + 0x80], ax
inc esi
cmp esi, 0xe
jl 0x10003ff0
cmp word [0x1001562e], 0
movups xmm0, xmmword [0x10015614]
mov eax, dword [0x1001562c]
mov dword [esp + 0xb8], eax
movups xmmword [esp + 0xa0], xmm0
movq xmm0, qword [0x10015624]
movq qword [esp + 0xb0], xmm0
je 0x1000418c
xor esi, esi
cmp edi, 2
jl 0x10004160
movaps xmm2, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x10015850]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x10015614
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10015820]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [esp + 0xa0], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [esp + 0xa8]
pxor xmm1, xmm0
movq qword [esp + 0xa8], xmm1
nop
mov eax, 0x66666667
imul esi
mov eax, 5
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
xor word [esp + esi*2 + 0xa0], ax
inc esi
cmp esi, 0xe
jl 0x10004160
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xec]
mov edx, 4
push eax
push 1
push 2
push 0x10
push 0xf01ff
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0xfc]
push 0xe
call section..text
add esp, 4
call eax
mov edi, eax
test edi, edi
jne 0x100041f9
push dword [esp + 0xcc]
lea edx, [eax + 4]
push 5
call section..text
add esp, 4
call eax
mov eax, dword [esp + 0xcc]
jmp 0x10004a0a
push 0x104
lea eax, [esp + 0x2e4]
xor edx, edx
push eax
push 0x80
call section..text
add esp, 4
call eax
movups xmm0, xmmword [str.ajgaszdzOI_VZAuXVMHT_QAjd_KLRQVGi6]
mov eax, dword [0x100157b8]
xor esi, esi
cmp dword [0x10017bfc], 2
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x70], eax
movups xmm0, xmmword [0x10015788]
mov ax, word [0x100157bc]
mov word [esp + 0x74], ax
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [0x10015798]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [0x100157a8]
movups xmmword [esp + 0x60], xmm0
jl 0x10004380
movaps xmm4, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm6, xmmword [0x10015830]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm0, qword [0x10015850]
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x30]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, 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
movq xmm0, qword [0x10015850]
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x38]
pxor xmm1, xmm0
movq qword [esp + esi*2 + 0x38], xmm1
add esi, 8
cmp esi, 0x20
jl 0x10004291
cmp esi, 0x23
jge 0x100043a9
nop dword [eax]
mov eax, 0x66666667
imul esi
mov eax, 5
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
xor word [esp + esi*2 + 0x30], ax
inc esi
cmp esi, 0x23
jl 0x10004380
lea eax, [esp + 0x30]
mov edx, 1
push eax
lea eax, [esp + 0x2e4]
push eax
push 0x50
call section..text
add esp, 4
call eax
cmp word [0x1001562e], 0
movups xmm0, xmmword [0x10015614]
mov eax, dword [0x1001562c]
mov dword [esp + 0x28], eax
movups xmmword [esp + 0x10], xmm0
movq xmm0, qword [0x10015624]
movq qword [esp + 0x20], xmm0
je 0x10004529
xor esi, esi
cmp dword [0x10017bfc], 2
jl 0x10004500
movaps xmm2, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov esi, 8
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x10015850]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x10015614
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10015820]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [esp + 0x18]
pxor xmm1, xmm0
movq qword [esp + 0x18], xmm1
nop dword [eax + eax]
mov eax, 0x66666667
imul esi
mov eax, 5
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
xor word [esp + esi*2 + 0x10], ax
inc esi
cmp esi, 0xe
jl 0x10004500
lea eax, [esp + 0x10]
mov edx, 1
push eax
lea eax, [esp + 0x2e4]
push eax
push 0x4e
call section..text
add esp, 4
call eax
lea eax, [esp + 0xc8]
mov edx, 4
push eax
push 0xf003f
push 0
lea eax, [esp + 0x2ec]
push eax
push 0x80000002
push 0x6e
call section..text
add esp, 4
call eax
test eax, eax
jne 0x100041ed
mov eax, dword [0x10015750]
xor ecx, ecx
movups xmm0, xmmword [0x10015740]
mov dword [esp + 0x20], eax
mov ax, word [0x10015754]
movups xmmword [esp + 0x10], xmm0
mov word [esp + 0x24], ax
nop
mov eax, 0xcccccccd
mul ecx
mov eax, 5
shr edx, 3
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
xor word [esp + ecx*2 + 0x10], ax
inc ecx
cmp ecx, 0xb
jl 0x100045a0
lea eax, [esp + 0xd4]
mov edx, 4
push eax
lea eax, [esp + 0xc8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0xe8]
push 0x6c
call section..text
add esp, 4
call eax
test eax, eax
jne 0x100041ed
push 0x104
lea eax, [esp + 0x4ec]
xor edx, edx
push eax
push 0x80
call section..text
add esp, 4
call eax
movups xmm0, xmmword [0x100155c8]
mov ax, word [0x10015610]
xor esi, esi
cmp dword [0x10017bfc], 2
movups xmmword [esp + 0x30], xmm0
mov word [esp + 0x78], ax
movups xmm0, xmmword [0x100155d8]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [0x100155e8]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [0x100155f8]
movups xmmword [esp + 0x60], xmm0
movq xmm0, qword [0x10015608]
movq qword [esp + 0x70], xmm0
jl 0x10004790
movaps xmm4, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm6, xmmword [0x10015830]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm0, qword [0x10015850]
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x30]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, 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
movq xmm0, qword [0x10015850]
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0x38]
pxor xmm1, xmm0
movq qword [esp + esi*2 + 0x38], xmm1
add esi, 8
cmp esi, 0x20
jl 0x100046a1
cmp esi, 0x25
jge 0x100047b9
nop dword [eax]
mov eax, 0x66666667
imul esi
mov eax, 5
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [esi + eax*2]
xor word [esp + esi*2 + 0x30], ax
inc esi
cmp esi, 0x25
jl 0x10004790
lea eax, [esp + 0x30]
mov edx, 1
push eax
lea eax, [esp + 0x4ec]
push eax
push 0x50
call section..text
add esp, 4
call eax
movups xmm0, xmmword [str._VRPDRJ9]
pextrw eax, xmm0, 7
movups xmmword [esp + 0x10], xmm0
test ax, ax
je 0x10004913
xor ecx, ecx
cmp dword [0x10017bfc], 2
jl 0x100048f1
movaps xmm2, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x10015850]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, str._VRPDRJ9
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10015820]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [esp + 0x10], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [esp + 0x18]
pxor xmm1, xmm0
movq qword [esp + 0x18], xmm1
jmp 0x10004913
mov eax, 0xcccccccd
mul ecx
mov eax, 5
shr edx, 3
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
xor word [esp + ecx*2 + 0x10], ax
inc ecx
cmp ecx, 8
jl 0x100048f1
lea eax, [esp + 0x4e8]
mov edx, 1
push eax
push 0x52
call section..text
add esp, 4
call eax
mov edx, 4
lea eax, [eax*2 + 2]
push eax
lea eax, [esp + 0x4ec]
push eax
push 2
push 0
lea eax, [esp + 0x20]
push eax
push dword [esp + 0xd8]
push 0x70
call section..text
add esp, 4
call eax
test eax, eax
jne 0x100041ed
push dword [esp + 0xc4]
lea edx, [eax + 4]
push 0x6b
call section..text
add esp, 4
call eax
push dword [esp + 0xc8]
mov edx, 4
push 0x6b
call section..text
add esp, 4
call eax
push 0
push 0
push edi
push 0x89
mov edx, 4
call section..text
add esp, 4
call eax
test eax, eax
je 0x100041ed
cmp word [0x100157c6], 0
mov eax, dword [0x100157c4]
mov dword [esp + 0xc0], eax
je 0x100049f5
xor ecx, ecx
nop dword [eax]
mov eax, 0xcccccccd
mul ecx
mov eax, 5
shr edx, 3
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
xor word [esp + ecx*2 + 0xc0], ax
inc ecx
cmp ecx, 2
jl 0x100049d0
mov edx, 0x10015264
lea ecx, [esp + 0xc0]
call fcn.10002000
jmp 0x10004a6a
xor eax, eax
cmp word [0x100157c6], 0
mov dword [esp + 0xcc], eax
mov eax, dword [0x100157c4]
mov dword [esp + 0xc0], eax
je 0x10004a55
xor ecx, ecx
nop dword [eax]
mov eax, 0xcccccccd
mul ecx
mov eax, 5
shr edx, 3
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
xor word [esp + ecx*2 + 0xc0], ax
inc ecx
cmp ecx, 2
jl 0x10004a30
mov edx, 0x10015268
lea ecx, [esp + 0xc0]
call fcn.10002000
test edi, edi
je 0x10004a7c
push edi
push 5
mov edx, 4
call section..text
add esp, 4
call eax
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x10004a99
push eax
push 5
mov edx, 4
call section..text
add esp, 4
call eax
mov ecx, dword [esp + 0x8fc]
pop edi
pop esi
xor ecx, esp
call fcn.100054f7
mov esp, ebp
pop ebp
ret