Function at 0x4bb0e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4bb0e9
mov eax, dword [ebp - 4]
add esp, 0xffffff7c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2088], edx
mov dword [ebp - 0x2084], edx
mov dword [ebp - 0x2080], edx
mov dword [ebp - 0x2074], edx
mov dword [ebp - 0x2078], edx
mov dword [ebp - 0x207c], edx
mov dword [ebp - 0x2070], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4bb49d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x206a]
xor ecx, ecx
mov edx, 0x21
call fcn.004047c8
lea eax, [ebp - 0x206a]
call fcn.004baacc
test al, al
jne 0x4bb199
push 0x10
push 0x4bb4ac
push 0x4bb4b4
mov eax, dword [ebp - 0xc]
call fcn.00484e00
push eax
call sub.user32.dll_MessageBoxW
push 0
push 0
push 0x46f
mov eax, dword [ebp - 0xc]
call fcn.00484e00
push eax
call sub.user32.dll_PostMessageW
jmp 0x4bb467
lea edx, [ebp - 0x2070]
mov eax, 1
call fcn.004045a4
mov eax, dword [ebp - 0x2070]
call fcn.00412df0
test al, al
jne 0x4bb1d4
push 0
push 0
push 0x46f
mov eax, dword [ebp - 0xc]
call fcn.00484e00
push eax
call sub.user32.dll_PostMessageW
jmp 0x4bb467
lea edx, [ebp - 0x207c]
mov eax, 1
call fcn.004045a4
mov eax, dword [ebp - 0x207c]
lea edx, [ebp - 0x2078]
call fcn.0041302c
mov eax, dword [ebp - 0x2078]
lea edx, [ebp - 0x2074]
call fcn.00411b34
mov eax, dword [ebp - 0x2074]
mov edx, 0x4bb4e4
call fcn.00406fa0
je 0x4bb234
push 0
push 0
push 0x46f
mov eax, dword [ebp - 0xc]
call fcn.00484e00
push eax
call sub.user32.dll_PostMessageW
jmp 0x4bb467
xor eax, eax
push ebp
push 0x4bb273
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
lea edx, [ebp - 0x2080]
mov eax, 1
call fcn.004045a4
mov ecx, dword [ebp - 0x2080]
mov dl, 1
mov eax, dword [0x42b794]
call fcn.00437200
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bb2df
lea edx, [ebp - 0x2088]
lea eax, [ebp - 0x206a]
call fcn.004bab08
mov edx, dword [ebp - 0x2088]
lea eax, [ebp - 4]
call fcn.00406ae4
mov eax, dword [0x4c6f48]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetCapture
mov eax, dword [0x4c70f8]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004a8c10
mov dl, 1
mov eax, dword [0x42bbc0]
call fcn.00404dd4
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x4bb460
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0043684c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2028]
xor ecx, ecx
mov edx, 0x2000
call fcn.004047c8
lea edx, [ebp - 0x2028]
mov ecx, 0x2000
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
dec esi
test esi, esi
jl 0x4bb3e4
inc esi
mov dword [ebp - 0x18], 0
lea ebx, [ebp - 0x2028]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4bb3b3
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4bb3b3
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040627c
test eax, eax
je 0x4bb3bc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jl 0x4bb3d1
inc eax
xor edx, edx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx*2 - 2]
xor byte [ebx], cl
inc edx
dec eax
jne 0x4bb3c3
mov eax, dword [ebp - 0x18]
cdq
add eax, dword [ebp - 0x28]
adc edx, dword [ebp - 0x24]
xor byte [ebx], al
inc dword [ebp - 0x18]
inc ebx
dec esi
jne 0x4bb396
mov eax, dword [ebp - 0x1c]
cdq
add eax, dword [ebp - 0x28]
adc edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x2028]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 0x1c], 0x2000
je 0x4bb358
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0043684c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x388]
mov edx, dword [ebp - 0x14]
call fcn.004b9740
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb467
mov eax, dword [ebp - 0x10]
call fcn.00404e04
mov eax, dword [ebp - 0x14]
call fcn.00404e04
mov eax, dword [0x4c70f8]
mov eax, dword [eax]
xor edx, edx
call fcn.004a8c10
call sub.user32.dll_ReleaseCapture
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb4a4
lea eax, [ebp - 0x2088]
call fcn.004060cc
lea eax, [ebp - 0x2084]
mov edx, 6
call fcn.004068c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004068c0
ret