Function at 0x47f7e0
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 0x50a32b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
mov edi, dword [ebx + 0x18]
test edi, edi
jne 0x47f82b
mov byte [ebp - 0x11], 0
jmp 0x47fb72
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
xor ecx, ecx
mov dword [ebp - 0x25], 0x1813120d
mov dword [ebp - 0x21], 0x444553
mov byte [ebp - 0x1d], 1
lea eax, [ecx + 0x65]
xor byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 7
jb 0x47f872
lea edx, [ebp - 0x25]
mov byte [ebp - 0x1d], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x47f890
mov esi, dword [ebx + 0x1c]
lea eax, [ebp - 0x25]
sub edx, ecx
cmp esi, 0x10
push edx
push eax
lea ecx, [ebx + 8]
mov edx, edi
cmovae ecx, dword [ebx + 8]
push 0
call fcn.0046aba0
add esp, 0xc
cmp eax, 0xffffffff
je 0x47f8e9
mov edx, 7
lea ecx, [ebx + 8]
cmp edi, edx
cmovb edx, edi
cmp esi, 0x10
cmovae ecx, dword [ebx + 8]
sub edi, edx
lea eax, [edi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004de150
mov esi, dword [ebx + 0x1c]
add esp, 0xc
mov dword [ebx + 0x18], edi
mov dword [ebp - 0x26], 0x1813120d
xor ecx, ecx
mov dword [ebp - 0x22], 0x4344501a
mov word [ebp - 0x1e], 0x100
nop
lea eax, [ecx + 0x65]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 8
jb 0x47f900
lea edx, [ebp - 0x26]
mov byte [ebp - 0x1d], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x47f917
sub edx, ecx
lea eax, [ebp - 0x26]
push edx
cmp esi, 0x10
lea ecx, [ebx + 8]
push eax
cmovae ecx, dword [ebx + 8]
mov edx, edi
push 0
call fcn.0046aba0
add esp, 0xc
cmp eax, 0xffffffff
je 0x47f96d
mov edx, 8
lea ecx, [ebx + 8]
cmp edi, edx
cmovb edx, edi
cmp esi, 0x10
cmovae ecx, dword [ebx + 8]
sub edi, edx
lea eax, [edi + 1]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.004de150
mov esi, dword [ebx + 0x1c]
add esp, 0xc
mov dword [ebx + 0x18], edi
lea edx, [ebp - 0x17]
mov word [ebp - 0x17], 0x2f
mov byte [ebp - 0x15], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x47f980
sub edx, ecx
lea eax, [ebp - 0x17]
push edx
cmp esi, 0x10
lea ecx, [ebx + 8]
push eax
cmovae ecx, dword [ebx + 8]
mov edx, edi
push 0
call fcn.0046aba0
add esp, 0xc
mov esi, edi
cmp eax, 0xffffffff
cmovne esi, eax
lea eax, [ebx + 8]
cmp edi, esi
mov ecx, esi
cmovb ecx, edi
cmp dword [ebx + 0x1c], 0x10
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x58]
push eax
call fcn.00465190
mov edi, dword [ebx + 0x18]
mov eax, edi
sub eax, esi
je 0x47f9f7
mov ecx, dword [ebp - 0x48]
mov edx, edi
sub edx, ecx
cmp edi, ecx
jb 0x47fbfc
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push edx
cmovae eax, dword [ebx + 8]
add eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00465190
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x30]
cmp dword [edx + 0x2c], 0xa
jne 0x47fa77
test ecx, ecx
je 0x47fa77
lea eax, [ebp - 0x17]
mov word [ebp - 0x17], 0x3f
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x15], 0
call fcn.004652c0
cmp dword [ebx + 0x34], 0x10
lea ecx, [ebx + 0x20]
mov edx, dword [ebp - 0x30]
cmovae ecx, dword [ebx + 0x20]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebx + 0x30]
sub eax, edx
mov dword [ebp - 0x18], edx
push edi
push ecx
cmp edi, eax
ja 0x47fa65
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
lea eax, [esi + edx]
push eax
call fcn.004de150
mov ecx, dword [ebp - 0x18]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x47fa92
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
push edi
call fcn.0046b360
jmp 0x47fa92
add edx, 0x60
lea eax, [ebx + 0x20]
cmp edx, eax
je 0x47fa92
cmp dword [ebx + 0x34], 0x10
push ecx
cmovae eax, dword [ebx + 0x20]
mov ecx, edx
push eax
call fcn.00465190
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
add ecx, 0x30
cmp dword [ebp - 0x44], 0x10
cmovae edx, dword [ebp - 0x58]
add eax, edx
cmp dword [ebp - 0x44], 0x10
lea edx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x58]
push eax
push edx
call fcn.0047fc10
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
add eax, edx
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push eax
cmovae edx, dword [ebp - 0x40]
lea ecx, [ecx + 0x48]
push edx
call fcn.0047fc10
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x11], 1
cmp ecx, 0x10
jb 0x47fb1a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47fb10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fc01
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x47fb60
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47fb56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fc01
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x47fba2
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47fb98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fc01
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x47fbe4
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47fbda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47fc01
push ecx
push edx
call fcn.004dc6f1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30
call fcn.00468b80
call fcn.004e1990
int3