Function at 0x4bc450
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 0x4e5c00
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
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 edi, ecx
mov dword [ebp - 0x4c], edi
mov eax, dword [edi + 0x14]
add eax, 0xc0
je 0x4bc846
cmp dword [eax], 0
je 0x4bc846
cmp dword [eax + 4], 0
je 0x4bc846
push 0x160
call fcn.004cf4bd
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov word [esi + 0x120], ax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], eax
mov dword [esi + 0x138], eax
mov dword [esi + 0x13c], eax
mov dword [esi + 0x140], eax
mov dword [esi + 0x144], eax
push pe_nt_image_headers32
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
push eax
push esi
mov dword [esi + 0x154], eax
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], eax
call fcn.004d0920
lea eax, [edi + 0x5c]
add esp, 0xc
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], eax
cmp eax, ecx
je 0x4bc58f
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x4bc57c
mov ecx, edi
call fcn.004cae50
push 0x160
push edi
call fcn.004cf4f2
mov eax, dword [ebp - 0x54]
add esp, 8
mov edi, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov eax, dword [edi + 0x14]
add eax, 0xc0
je 0x4bc5a9
mov eax, dword [eax]
jmp 0x4bc5ab
mov ecx, esi
call fcn.004cae50
push 0x160
push esi
call fcn.004cf4f2
add esp, 8
lea eax, [edi + 0x5c]
jmp 0x4bc57f
xor eax, eax
push eax
push edi
call fcn.004cb060
mov byte [ebp - 0x45], al
test al, al
jne 0x4bc848
mov eax, dword [0x4fdaa8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x2c], 0
push 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
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], 0
mov byte [edx + 0x24], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x4bc622
movsx ecx, byte [edx]
jmp 0x4bc628
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov edi, 0x4f54e0
add ecx, 0xbaf8de3
sub edi, edx
mov esi, 0x24
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdcf5
shr eax, 6
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x681577e0
sub esi, 1
jne 0x4bc640
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x6c], 0x4efc60
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, 0x4f45fc
inc eax
cmp byte [eax], 0
jne 0x4bc681
sub eax, 0x4f45fc
mov dword [ebp - 0x60], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x64], ecx
test ecx, ecx
jne 0x4bc6a0
xor edi, edi
mov dword [ebp - 0x4c], edi
jmp 0x4bc6ae
push ecx
call fcn.004d4296
add esp, 4
mov dword [ebp - 0x4c], eax
mov edi, eax
mov dword [ebp - 0x68], edi
mov ecx, 0x4f45fc
inc ecx
cmp byte [ecx], 0
jne 0x4bc6b6
sub ecx, 0x4f45fc
inc ecx
push ecx
push 0x4f45fc
push edi
call fcn.004d1d90
add esp, 0xc
push 0x20
mov byte [ebp - 4], 2
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x34], 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x1f
mov dword [ebp - 0x44], edx
mov eax, 0x4f5680
mov esi, 0x1c
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], 0
mov byte [edx + 0x1c], 0
movsx ecx, byte [edx]
add ecx, 0xbaf8de3
sub eax, edx
mov dword [ebp - 0x58], eax
mov edi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xd4f5
shr eax, 6
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
sub ecx, 0x681577e0
sub esi, 1
jne 0x4bc720
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004b7340
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.004b65c0
push ecx
mov ecx, dword [ebp - 0x50]
push esi
push 0x7a8
push dword [ebp - 0x5c]
mov byte [ebp - 4], 6
push dword [eax + 4]
call fcn.004c3d30
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], 0x4efc60
test eax, eax
je 0x4bc78f
push eax
call fcn.004d427b
add esp, 4
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], 0x4efc60
test eax, eax
je 0x4bc7ac
push eax
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4bc7e0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bc7d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bc866
push edx
push ecx
call fcn.004cf4f2
add esp, 8
test edi, edi
je 0x4bc7ed
push edi
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4bc81d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bc813
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bc866
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
je 0x4bc841
mov ecx, esi
call fcn.004cae50
push 0x160
push esi
call fcn.004cf4f2
add esp, 8
mov al, byte [ebp - 0x45]
jmp 0x4bc848
xor al, al
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
int3