Function at 0x47a980
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd930
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x672494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x64eb1c]
xor ecx, ecx
cmp dword [0x67be1c], 2
movq xmm0, qword [0x64eb14]
mov dword [ebp - 0x1c], eax
mov ax, word [0x64eb20]
mov word [ebp - 0x18], ax
mov al, byte [0x64eb22]
movq qword [ebp - 0x24], xmm0
mov byte [ebp - 0x16], al
jl 0x47ab00
movaps xmm2, xmmword [0x654300]
mov eax, 4
movaps xmm4, xmmword [0x6543d0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.2222]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x654310]
paddd xmm2, xmmword [0x654300]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6543a0]
movd xmm0, dword [0x64eb14]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.9999999999999999]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x24], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.2222]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x6543a0]
movd xmm0, dword [ebp - 0x20]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.9999999999999999]
pxor xmm1, xmm0
movd dword [ebp - 0x20], xmm1
nop dword [eax + eax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x32
sub dl, al
add dl, 0x39
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0xf
jl 0x47ab00
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ab40
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.0040eb70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 6
push str.Config
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.0040eb70
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x67f530
push eax
call fcn.0040d1b0
mov ecx, eax
call fcn.0040d1b0
cmp dword [eax + 8], 8
jne 0x47aba8
mov al, byte [eax]
mov byte [ebp - 0x11], al
jmp 0x47abac
mov byte [ebp - 0x11], 0
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x47abdc
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47abd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ac39
push edx
push ecx
call fcn.004d0c91
add esp, 8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 0x10
jb 0x47ac1e
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47ac14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ac3e
push edx
push ecx
call fcn.004d0c91
add esp, 8
xor eax, eax
cmp byte [ebp - 0x11], 1
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0056efe9
call fcn.0056efe9
int3