Function at 0x4bc870
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 0x4e5cde
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ecx + 0x14]
lea edx, [eax + 0x98]
test edx, edx
je 0x4bcd1d
mov edx, dword [edx]
mov dword [ebp - 0x4c], edx
test edx, edx
je 0x4bcd1d
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4bcd1d
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x38]
mov edi, dword [ecx + 0x3c]
cmp eax, edi
je 0x4bc91f
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
test esi, esi
jne 0x4bc90e
mov esi, dword [ecx + 0x18]
sub edx, dword [ecx + 0x14]
cmp edx, esi
jb 0x4bc967
mov edx, dword [ebp - 0x4c]
add eax, 4
cmp eax, edi
jne 0x4bc902
xor eax, eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], 0
push eax
call fcn.004cd000
mov esi, eax
test esi, esi
js 0x4bcd07
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
cmp edx, esi
je 0x4bc973
nop dword [eax + eax]
mov ecx, dword [edx]
add edx, 4
mov eax, dword [ecx + 0x44]
mov dword [ecx + 0x48], eax
cmp edx, esi
jne 0x4bc950
mov edx, dword [ebp - 0x50]
mov esi, dword [edx + 0x3c]
jmp 0x4bc975
cmp edx, dword [ecx + 0x18]
jae 0x4bc91f
mov eax, dword [ecx + 0x40]
add eax, edx
jmp 0x4bc921
mov edx, eax
mov eax, dword [edx + 0x38]
sub esi, eax
sar esi, 2
test esi, esi
je 0x4bc985
mov esi, dword [eax]
jmp 0x4bc987
xor esi, esi
mov edi, dword [ebp - 0x5c]
mov eax, edi
mov dword [ebp - 0x4c], edi
cmp eax, dword [ebp - 0x58]
je 0x4bca0e
mov ecx, dword [esi + 0x10]
mov edi, dword [eax]
test ecx, ecx
jne 0x4bc9a0
mov ecx, dword [esi + 0x18]
mov eax, edi
sub eax, dword [esi + 0x14]
cmp eax, ecx
jb 0x4bc9d3
mov ecx, dword [edx + 0x38]
cmp ecx, dword [edx + 0x3c]
je 0x4bc9d1
mov esi, dword [ecx]
mov edx, dword [esi + 0x10]
test edx, edx
jne 0x4bc9bd
mov edx, dword [esi + 0x18]
mov eax, edi
sub eax, dword [esi + 0x14]
cmp eax, edx
jb 0x4bc9d3
mov eax, dword [ebp - 0x50]
add ecx, 4
cmp ecx, dword [eax + 0x3c]
jne 0x4bc9b1
xor esi, esi
test esi, esi
je 0x4bca47
sub edi, dword [esi + 0x14]
lea ecx, [esi + 0x44]
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x48], edi
cmp eax, dword [esi + 0x4c]
je 0x4bc9f0
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x4bc9fa
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.004b6040
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add eax, 4
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp - 0x58]
jne 0x4bc994
mov edi, dword [ebp - 0x5c]
xor esi, esi
test edi, edi
je 0x4bcd19
mov ecx, dword [ebp - 0x54]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4bcd0f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bcd40
jmp 0x4bcd0f
push 4
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], edi
lea ecx, [ebp - 0xac]
call fcn.004b8370
add esp, 4
push 0x30
mov byte [ebp - 4], 1
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x34], 0x20
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x2f
mov dword [ebp - 0x44], edx
mov edi, 0x4f5490
mov esi, 0x20
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov byte [edx + 0x20], 0
movsx ecx, byte [edx]
add ecx, 0xce85cd0
sub edi, edx
nop
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xd8f5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x5832f5d7
sub esi, 1
jne 0x4bcaa0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x9c]
call fcn.004b7340
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], esi
push 0x30
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 4
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x1c], 0x24
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], esi
mov byte [edx + 0x24], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x4bcb20
movsx ecx, byte [edx]
jmp 0x4bcb26
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov edi, 0x4f5280
add ecx, 0xce85cd0
sub edi, edx
mov esi, 0x24
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdcf5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x5832f5d7
sub esi, 1
jne 0x4bcb40
cmp dword [ebp - 0x18], 0x10
lea edi, [ebp - 0x2c]
mov eax, dword [0x4fdaa8]
cmovae edi, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, 0x4f45fc
mov dword [ebp - 0x7c], 0x4efc60
nop
inc eax
cmp byte [eax], 0
jne 0x4bcb80
sub eax, 0x4f45fc
mov dword [ebp - 0x70], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x74], ecx
test ecx, ecx
jne 0x4bcb9c
xor esi, esi
jmp 0x4bcba7
push ecx
call fcn.004d4296
add esp, 4
mov esi, eax
mov dword [ebp - 0x78], esi
mov ecx, 0x4f45fc
nop
inc ecx
cmp byte [ecx], 0
jne 0x4bcbb0
sub ecx, 0x4f45fc
inc ecx
push ecx
push 0x4f45fc
push esi
call fcn.004d1d90
add esp, 0xc
push 2
mov dword [ebp - 0x6c], 0x4efc60
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x60], 1
call fcn.004d4296
add esp, 4
mov dword [ebp - 0x68], eax
mov word [eax], 0x29
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x8c]
call fcn.004b6770
push ecx
mov ecx, dword [ebp - 0x4c]
push 0
push 0x875
push edi
mov byte [ebp - 4], 9
push dword [eax + 4]
call fcn.004c3d30
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], 0x4efc60
test eax, eax
je 0x4bcc45
push eax
call fcn.004d427b
add esp, 4
push dword [ebp - 0x68]
call fcn.004d427b
add esp, 4
test esi, esi
je 0x4bcc5d
push esi
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x18]
mov esi, 0xfffffffc
cmp edx, 0x10
jb 0x4bcc95
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bcc8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, esi
cmp eax, 0x1f
ja 0x4bcd45
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x9c], 0x4efc60
test eax, eax
je 0x4bccc4
push eax
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4bccf4
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bccea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bcd45
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x4bcd07
push eax
call fcn.004d427b
add esp, 4
mov edi, dword [ebp - 0x5c]
jmp 0x4bca10
push ecx
push edi
call fcn.004cf4f2
add esp, 8
mov eax, esi
jmp 0x4bcd22
mov eax, 0xffffffe6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004d4192
call fcn.004d4192
int3