Function at 0x47fc90
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 0x50a80b
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 0x47fcdb
mov byte [ebp - 0x11], 0
jmp 0x480022
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], 0x9c9f9e81
mov dword [ebp - 0x21], 0xc0c1d7
mov byte [ebp - 0x1d], 1
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x25], al
inc ecx
cmp ecx, 7
jb 0x47fd22
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 0x47fd40
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.0046b050
add esp, 0xc
cmp eax, 0xffffffff
je 0x47fd99
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.004de630
mov esi, dword [ebx + 0x1c]
add esp, 0xc
mov dword [ebx + 0x18], edi
mov dword [ebp - 0x26], 0x9c9f9e81
xor ecx, ecx
mov dword [ebp - 0x22], 0xdfc0d49e
mov word [ebp - 0x1e], 0x100
nop
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 8
jb 0x47fdb0
lea edx, [ebp - 0x26]
mov byte [ebp - 0x1d], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x47fdc7
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.0046b050
add esp, 0xc
cmp eax, 0xffffffff
je 0x47fe1d
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.004de630
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 0x47fe30
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.0046b050
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.00465640
mov edi, dword [ebx + 0x18]
mov eax, edi
sub eax, esi
je 0x47fea7
mov ecx, dword [ebp - 0x48]
mov edx, edi
sub edx, ecx
cmp edi, ecx
jb 0x4800ac
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.00465640
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x30]
cmp dword [edx + 0x2c], 0xa
jne 0x47ff27
test ecx, ecx
je 0x47ff27
lea eax, [ebp - 0x17]
mov word [ebp - 0x17], 0x3f
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x15], 0
call fcn.00465770
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 0x47ff15
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.004de630
mov ecx, dword [ebp - 0x18]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x47ff42
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
push edi
call fcn.0046b810
jmp 0x47ff42
add edx, 0x60
lea eax, [ebx + 0x20]
cmp edx, eax
je 0x47ff42
cmp dword [ebx + 0x34], 0x10
push ecx
cmovae eax, dword [ebx + 0x20]
mov ecx, edx
push eax
call fcn.00465640
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.004800c0
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.004800c0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 0x11], 1
cmp ecx, 0x10
jb 0x47ffca
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47ffc0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4800b1
push ecx
push edx
call fcn.004dcbd1
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 0x480010
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480006
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4800b1
push ecx
push edx
call fcn.004dcbd1
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 0x480052
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480048
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4800b1
push ecx
push edx
call fcn.004dcbd1
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 0x480094
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48008a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4800b1
push ecx
push edx
call fcn.004dcbd1
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.00469030
call fcn.004e1e70
int3