Function at 0x467320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d354d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x659bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov eax, dword [str.uSGU5]
xor edx, edx
mov dword [ebp - 0x18], eax
mov al, byte [0x648f94]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x14], al
mov dword [ebp - 0x5c], edx
nop word [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x5c]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x5c]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x18], cl
inc edx
mov dword [ebp - 0x5c], edx
cmp edx, 5
jl 0x467370
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4673c0
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00472730
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x58]
sub esp, 0x18
mov edi, esp
mov dword [ebp - 0x18], esp
mov ecx, edx
movups xmmword [edi], xmm0
lea eax, [ecx + 1]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x5c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467410
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
mov ecx, edi
call fcn.00472730
mov byte [ebp - 4], 1
mov eax, dword [0x6492d4]
movq xmm0, qword [0x6492cc]
mov dword [ebp - 0x20], eax
mov ax, word [0x6492d8]
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
test ah, ah
je 0x467580
xor edx, edx
cmp dword [0x6647f8], 2
mov dword [ebp - 0x5c], edx
jl 0x467552
movaps xmm2, xmmword [0x64a4a0]
mov edx, 8
movaps xmm3, xmmword [0x64a550]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov dword [ebp - 0x5c], edx
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x64a4b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
movd xmm0, dword [0x6492cc]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.1111111111111111]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x28], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a530]
movd xmm0, dword [ebp - 0x24]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.1111111111111111]
xorps xmm1, xmm0
movd dword [ebp - 0x24], xmm1
mov eax, 0x4d4873ed
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x5c]
movsx eax, al
mov cl, dl
imul eax, eax, 0x35
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x28], cl
inc edx
mov dword [ebp - 0x5c], edx
cmp edx, 0xe
jl 0x467552
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4675a0
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00472730
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x40]
sub esp, 0x18
mov edi, esp
mov ecx, edx
movups xmmword [edi], xmm0
lea eax, [ecx + 1]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4675e6
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
mov ecx, edi
call fcn.00472730
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00464e40
mov ecx, dword [ebp - 0x2c]
add esp, 0x30
cmp ecx, 0xf
jbe 0x467637
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46762d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46765d
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x46766d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x467663
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x467663
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce06a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cdcb6
mov esp, ebp
pop ebp
ret