Function at 0x4b2d4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004053c4
mov eax, dword [ebp - 8]
call fcn.004053c4
xor eax, eax
push ebp
push 0x4b2f5d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00404f44
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x406d8000
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404fdc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b2db8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b2dc9
lea eax, [ebp - 0x10]
mov edx, 0x4b2f74
call fcn.00404fdc
xor edi, edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b2dd7
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc]
call fcn.00404f44
mov esi, dword [ebp - 0x24]
test esi, esi
jle 0x4b2e4d
mov ebx, 1
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + ebx - 1]
movzx eax, al
or edi, eax
mov eax, ebx
and eax, 0x80000003
jns 0x4b2e09
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x4b2e46
mov dword [ebp - 0x3c], edi
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdiv qword [ebp - 0x20]
call fcn.004036a4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea edx, [ebp - 0x40]
mov eax, 8
call fcn.0040a038
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0xc]
call fcn.00405210
xor edi, edi
shl edi, 8
inc ebx
dec esi
jne 0x4b2dee
cmp dword [ebp - 0x24], 1
jl 0x4b2e58
mov ebx, dword [ebp - 0x24]
jmp 0x4b2e5d
mov ebx, 1
cmp ebx, 4
jg 0x4b2e90
mov dword [ebp - 0x3c], edi
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdiv qword [ebp - 0x20]
call fcn.004036a4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.0040a038
jmp 0x4b2e9b
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404fdc
lea eax, [ebp - 0xc]
call fcn.00404f44
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b2eaf
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b2ebe
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x4b2f2a
mov ebx, 1
lea eax, [ebp - 0x44]
push eax
mov eax, ebx
add eax, eax
dec eax
cdq
idiv dword [ebp - 0x24]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00442fa8
mov eax, dword [ebp - 0x44]
call fcn.004053d4
lea edx, [ebp - 0x31]
mov ecx, 2
call fcn.00427aa4
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
mov byte [ebp - 0x32], al
movzx eax, byte [ebp - 0x31]
xor byte [ebp - 0x32], al
lea ecx, [ebp - 0x48]
movzx eax, byte [ebp - 0x32]
mov edx, 2
call fcn.0040a010
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0xc]
call fcn.00405210
inc ebx
dec esi
jne 0x4b2ec9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404f98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2f64
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404f68
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404f68
ret