Function at 0x47fce0
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 0x47fd2b
mov byte [ebp - 0x11], 0
jmp 0x480072
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 0x47fd72
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 0x47fd90
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.0046b120
add esp, 0xc
cmp eax, 0xffffffff
je 0x47fde9
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.004de660
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 0x47fe00
lea edx, [ebp - 0x26]
mov byte [ebp - 0x1d], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x47fe17
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.0046b120
add esp, 0xc
cmp eax, 0xffffffff
je 0x47fe6d
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.004de660
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 0x47fe80
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.0046b120
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.00465820
mov edi, dword [ebx + 0x18]
mov eax, edi
sub eax, esi
je 0x47fef7
mov ecx, dword [ebp - 0x48]
mov edx, edi
sub edx, ecx
cmp edi, ecx
jb 0x4800fc
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.00465820
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x30]
cmp dword [edx + 0x2c], 0xa
jne 0x47ff77
test ecx, ecx
je 0x47ff77
lea eax, [ebp - 0x17]
mov word [ebp - 0x17], 0x3f
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x15], 0
call fcn.00465950
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 0x47ff65
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.004de660
mov ecx, dword [ebp - 0x18]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x47ff92
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
push edi
call fcn.0046b8e0
jmp 0x47ff92
add edx, 0x60
lea eax, [ebx + 0x20]
cmp edx, eax
je 0x47ff92
cmp dword [ebx + 0x34], 0x10
push ecx
cmovae eax, dword [ebx + 0x20]
mov ecx, edx
push eax
call fcn.00465820
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.00480110
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.00480110
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x11], 1
cmp ecx, 0x10
jb 0x48001a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480010
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480101
push ecx
push edx
call fcn.004dcc02
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 0x480060
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480056
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480101
push ecx
push edx
call fcn.004dcc02
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 0x4800a2
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480098
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480101
push ecx
push edx
call fcn.004dcc02
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 0x4800e4
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4800da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480101
push ecx
push edx
call fcn.004dcc02
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.004691f0
call fcn.004e1ea0
int3