Function at 0x4fc4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552ba9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5c2b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4fc7bf
jns 0x4fc50f
push 0x80070057
call fcn.00456ea0
cmp word [eax], 0x5f
je 0x4fc7bf
cmp byte [ebp + 0x10], 0
jne 0x4fc56d
cmp dword [eax - 4], 1
jle 0x4fc531
push ecx
lea ecx, [ebp + 0xc]
call fcn.00456d60
mov eax, dword [ebp + 0xc]
push eax
mov ecx, edi
call fcn.00457210
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0
or ecx, 0xffffffff
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc7f6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4fc7f6
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.004571a0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0xc]
call fcn.00457d10
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
mov ebx, dword [eax - 0xc]
jle 0x4fc5a3
push ebx
lea ecx, [ebp - 0x14]
call fcn.0045c400
mov eax, dword [ebp - 0x14]
test bl, 3
jne 0x4fc7a7
mov ecx, ebx
shr ecx, 2
cmp byte [ebx + eax - 1], 0x3d
lea esi, [ecx + ecx*2]
jne 0x4fc5bc
dec esi
cmp byte [ebx + eax - 2], 0x3d
jne 0x4fc5c4
dec esi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
push esi
call fcn.00460200
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 4], 1
mov eax, dword [ecx - 0xc]
mov dword [ebp - 0x30], eax
jle 0x4fc613
push eax
lea ecx, [ebp - 0x14]
call fcn.0045c400
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
lea edx, [ebp - 0x38]
push edx
push esi
push ebx
mov edx, eax
call fcn.00455bc0
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov eax, dword [ecx + 0x100]
sub eax, dword [ecx + 0xfc]
mov eax, dword [ebp - 0x1c]
jne 0x4fc682
sub eax, ebx
lea ecx, [ebp - 0x20]
add eax, 2
push eax
call fcn.00460200
push dword [ebp - 0x20]
mov ecx, edi
call fcn.00460100
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004601d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00456040
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00456040
jmp 0x4fc7f6
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
xor edx, edx
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], edx
xor esi, esi
sub eax, ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], esi
test eax, eax
jle 0x4fc6ff
xor edi, edi
mov eax, dword [ecx + 0xfc]
sub esi, edx
mov ecx, dword [ebp - 0x30]
mov bl, byte [ebx + ecx]
lea ecx, [ebp - 0x2c]
xor bl, byte [edi + eax]
lea eax, [esi + 1]
push eax
inc edi
call fcn.00460200
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov byte [edx + esi], bl
xor esi, esi
mov eax, dword [ecx + 0x100]
sub eax, dword [ecx + 0xfc]
mov ebx, dword [ebp - 0x20]
cmp edi, eax
mov eax, dword [ebp - 0x30]
cmove edi, esi
mov esi, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x38]
jl 0x4fc6b0
mov edi, dword [ebp - 0x40]
sub esi, edx
lea ecx, [ebp - 0x2c]
add esi, 2
push esi
call fcn.00460200
mov esi, dword [ebp - 0x2c]
mov ecx, edi
push esi
call fcn.00460100
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 5
test esi, esi
je 0x4fc745
push esi
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 4
test ebx, ebx
je 0x4fc76b
push ebx
call fcn.0047c370
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4fc78e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jmp 0x4fc7ec
push 0x5911c0
mov ecx, edi
call fcn.00457210
mov dword [ebp - 0x34], 1
jmp 0x4fc665
push 0x5911c0
mov ecx, edi
call fcn.00457210
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc7f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052ab62
mov esp, ebp
pop ebp
ret 0xc