Function at 0x4bc74c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
mov eax, 0x588888
push ebx
push esi
push edi
call fcn.0054e578
mov word [ebp - 0x24], 8
push 0x14
push 0x30
mov edx, dword [ebp + 0xc]
push edx
call fcn.0054e144
add esp, 0xc
lea ecx, [ebp - 0x50]
push 0x14
push 0
push ecx
call fcn.0054e144
add esp, 0xc
lea eax, [ebp - 0x64]
push 0x14
push 0
push eax
call fcn.0054e144
add esp, 0xc
mov dl, 1
mov eax, dword [0x535998]
call fcn.004087f0
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x38]
push eax
call fcn.0040ceb8
add esp, 8
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jge 0x4bc7fb
mov dword [ebp - 0x3c], 1
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x38]
push eax
call fcn.0040ceb8
add esp, 8
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jge 0x4bc7fb
xor eax, eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x4bc9f7
mov word [ebp - 0x24], 0x14
xor ecx, ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
inc dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 4], 0
je 0x4bc821
mov eax, dword [ebp - 4]
jmp 0x4bc826
mov eax, 0x581ea3
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
lea esi, [ebp - 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
lea eax, [ebp - 4]
rep movsb byte es:[edi], byte [esi]
dec dword [ebp - 0x18]
call fcn.0055c51c
mov word [ebp - 0x24], 0x20
xor ecx, ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
inc dword [ebp - 0x18]
mov edx, 1
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 8], 0
je 0x4bc881
mov eax, dword [ebp - 8]
jmp 0x4bc886
mov eax, 0x581ea4
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
lea esi, [ebp - 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
lea eax, [ebp - 8]
rep movsb byte es:[edi], byte [esi]
dec dword [ebp - 0x18]
call fcn.0055c51c
lea ecx, [ebp - 0x50]
push ecx
call fcn.0054e278
pop ecx
mov edx, eax
cmp edx, 0x14
jle 0x4bc8ce
mov edx, 0x14
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [ebp - 0x50]
cmp edx, eax
jle 0x4bc8e7
mov bl, byte [ecx]
mov byte [esi], bl
inc eax
inc esi
inc ecx
cmp edx, eax
jg 0x4bc8dc
lea eax, [ebp - 0x64]
push eax
call fcn.0054e278
pop ecx
mov edx, eax
cmp edx, 0x14
jle 0x4bc8fd
mov edx, 0x14
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov esi, ecx
lea ecx, [ebp - 0x64]
cmp edx, eax
jle 0x4bc916
mov bl, byte [ecx]
xor byte [esi], bl
inc eax
inc esi
inc ecx
cmp edx, eax
jg 0x4bc90b
cmp dword [ebp - 0x3c], 0
jne 0x4bc93a
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x10], 0x17
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x11], 0x16
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x12], 0x15
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x13], 0x14
jmp 0x4bc95c
cmp dword [ebp - 0x3c], 1
jne 0x4bc95c
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x10], 0x16
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x11], 0x17
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x12], 0x14
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x13], 0x15
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4bc984
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x24], 0x38
mov edx, 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x24], 0x2c
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x14], 0
push 0x14
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0040d5c4
mov word [ebp - 0x24], 0
add esp, 0xc
jmp 0x4bc9c5
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2a20], 1
jne 0x4bc9e8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2a20], 2
mov eax, dword [ebp + 8]
push eax
call fcn.004a5cc4
pop ecx
mov eax, 1
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret