Function at 0x47f0e0
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 0x5099eb
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 0x47f12b
mov byte [ebp - 0x11], 0
jmp 0x47f472
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], 0x62656467
mov dword [ebp - 0x21], 0x3a3b29
mov byte [ebp - 0x1d], 1
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 7
jb 0x47f172
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 0x47f190
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.0046a520
add esp, 0xc
cmp eax, 0xffffffff
je 0x47f1e9
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.004dda60
mov esi, dword [ebx + 0x1c]
add esp, 0xc
mov dword [ebx + 0x18], edi
mov dword [ebp - 0x26], 0x62656467
xor ecx, ecx
mov dword [ebp - 0x22], 0x393a2e60
mov word [ebp - 0x1e], 0x100
nop
lea eax, [ecx + 0xf]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 8
jb 0x47f200
lea edx, [ebp - 0x26]
mov byte [ebp - 0x1d], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x47f217
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.0046a520
add esp, 0xc
cmp eax, 0xffffffff
je 0x47f26d
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.004dda60
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 0x47f280
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.0046a520
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.00464c20
mov edi, dword [ebx + 0x18]
mov eax, edi
sub eax, esi
je 0x47f2f7
mov ecx, dword [ebp - 0x48]
mov edx, edi
sub edx, ecx
cmp edi, ecx
jb 0x47f4fc
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.00464c20
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x30]
cmp dword [edx + 0x2c], 0xa
jne 0x47f377
test ecx, ecx
je 0x47f377
lea eax, [ebp - 0x17]
mov word [ebp - 0x17], 0x3f
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x15], 0
call fcn.00464d50
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 0x47f365
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.004dda60
mov ecx, dword [ebp - 0x18]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x47f392
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
push edi
call fcn.0046ace0
jmp 0x47f392
add edx, 0x60
lea eax, [ebx + 0x20]
cmp edx, eax
je 0x47f392
cmp dword [ebx + 0x34], 0x10
push ecx
cmovae eax, dword [ebx + 0x20]
mov ecx, edx
push eax
call fcn.00464c20
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.0047f510
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.0047f510
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x11], 1
cmp ecx, 0x10
jb 0x47f41a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47f410
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f501
push ecx
push edx
call fcn.004dc002
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 0x47f460
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47f456
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f501
push ecx
push edx
call fcn.004dc002
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 0x47f4a2
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47f498
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f501
push ecx
push edx
call fcn.004dc002
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 0x47f4e4
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47f4da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f501
push ecx
push edx
call fcn.004dc002
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.004685f0
call fcn.004e12a0
int3