Function at 0x4bb464
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404c38
xor eax, eax
push ebp
push 0x4bb6b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00404820
mov eax, dword [ebp - 0x18]
call fcn.00404a48
and eax, 0x80000001
jns 0x4bb4c3
dec eax
or eax, 0xfffffffe
inc eax
dec eax
je 0x4bb680
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004bb23c
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
call fcn.00404820
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.00404820
mov eax, dword [ebp - 0x1c]
call fcn.00404a48
sar eax, 1
jns 0x4bb4fa
adc eax, 0
cmp eax, 1
jl 0x4bb675
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
call fcn.00404a48
sar eax, 1
jns 0x4bb515
adc eax, 0
cmp eax, dword [ebp - 0x10]
je 0x4bb525
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00404820
lea eax, [ebp - 0x24]
call fcn.00404788
mov eax, dword [ebp - 0x20]
call fcn.00404a48
sar eax, 1
jns 0x4bb53c
adc eax, 0
test eax, eax
jle 0x4bb668
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 1
mov edx, 0x4bb6c4
lea eax, [ebp - 0x34]
call fcn.004030ac
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x14]
add edx, edx
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x34]
mov cl, 2
call fcn.0040307c
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x3c]
call fcn.004030ac
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x14]
add edx, edx
mov ecx, dword [ebp - 0x20]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x3c]
mov cl, 3
call fcn.0040307c
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x30]
call fcn.004049ec
mov eax, dword [ebp - 0x30]
call fcn.004096d8
mov byte [ebp - 0x25], al
mov edx, 0x4bb6c4
lea eax, [ebp - 0x34]
call fcn.004030ac
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x10]
add edx, edx
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x34]
mov cl, 2
call fcn.0040307c
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x3c]
call fcn.004030ac
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x10]
add edx, edx
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x3c]
mov cl, 3
call fcn.0040307c
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x40]
call fcn.004049ec
mov eax, dword [ebp - 0x40]
call fcn.004096d8
mov byte [ebp - 0x26], al
mov al, byte [ebp - 0x25]
xor al, byte [ebp - 0x26]
mov byte [ebp - 0x27], al
lea eax, [ebp - 0x48]
mov dl, byte [ebp - 0x27]
call fcn.00404970
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.004bb23c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x24]
call fcn.00404a50
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x4bb54e
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jne 0x4bb506
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
call fcn.004bb2ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb6bf
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.004047ac
lea eax, [ebp - 0x30]
call fcn.00404788
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.004047ac
lea eax, [ebp - 8]
call fcn.00404788
ret