Function at 0x41bca5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4524c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
pop eax
mov esi, edx
mov edi, ecx
shr esi, 1
cmp esi, eax
mov dword [ebp - 0x50], edi
cmovg esi, eax
lea eax, [ebp - 0x44]
push esi
push edi
push eax
call fcn.0041e470
xor ebx, ebx
add esp, 0xc
mov edx, ebx
test esi, esi
jle 0x41bd35
mov edi, ebx
mov al, byte [edi + 0x4481d4]
xor byte [ebp + edx - 0x44], al
inc edi
cmp edi, 8
jge 0x41bd32
mov al, byte [ebp + edx - 0x44]
mov ecx, edx
mov byte [ebp - 0x49], al
and ecx, 0x80000007
jns 0x41bd07
dec ecx
or ecx, 0xfffffff8
inc ecx
movzx eax, al
shl eax, cl
mov dword [ebp - 0x48], ecx
test eax, eax
jne 0x41bd27
mov cl, byte [ebp + 8]
sub cl, byte [ebp - 0x48]
mov al, byte [ebp - 0x49]
add cl, 8
shr al, cl
test al, al
mov al, bl
je 0x41bd29
mov al, 1
mov byte [ebp + edx - 0x44], al
inc edx
cmp edx, esi
jl 0x41bce1
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
mov edx, ecx
and edx, 0x80000001
jns 0x41bd47
dec edx
or edx, 0xfffffffe
inc edx
sar ecx, 2
mov dword [ebp - 0x50], edx
mov dword [ebp + 0xc], ecx
test edx, edx
je 0x41bd91
mov dword [ebp - 0x48], ebx
mov esi, ebx
push 7
pop edx
test ecx, ecx
je 0x41bd86
mov al, byte [edx + 0x4481d4]
xor byte [edi + esi], al
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [edx*4 + 0x449d30]
jle 0x41bd81
dec edx
test edx, edx
jg 0x41bd86
mov dword [ebp - 0x48], ebx
inc esi
cmp esi, ecx
jb 0x41bd60
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x41be54
cmp ecx, 0x10
jb 0x41bde0
cmp ecx, 0x9e
ja 0x41bde8
mov dword [ebp - 0x48], ebx
test edx, edx
mov dl, byte [ebx + 0x4481d4]
je 0x41bdbb
mov esi, dword [ebx*8 + 0x449cf0]
mov ecx, dword [ebx*8 + 0x449cf4]
jmp 0x41bdc9
mov esi, dword [ebx*8 + 0x449cf4]
mov ecx, dword [ebx*8 + 0x449cf0]
xor dl, byte [esi + edi]
inc ebx
mov al, byte [ecx + edi]
mov byte [esi + edi], al
mov byte [ecx + edi], dl
mov edx, dword [ebp - 0x50]
cmp ebx, 8
jl 0x41bda1
jmp 0x41be40
cmp ecx, 0x9e
jbe 0x41be47
mov ecx, 0x449c70
push 0x10
mov dword [ebp - 0x48], ecx
pop ebx
mov eax, ebx
test edx, edx
je 0x41be0c
mov esi, dword [ecx]
and eax, 0x80000007
jns 0x41be07
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, dword [ecx + 4]
jmp 0x41be1d
mov esi, dword [ecx + 4]
and eax, 0x80000007
jns 0x41be1b
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, dword [ecx]
mov dl, byte [eax + 0x4481d4]
xor dl, byte [esi + edi]
dec ebx
mov al, byte [ecx + edi]
mov byte [esi + edi], al
mov byte [ecx + edi], dl
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
add ecx, 8
mov dword [ebp - 0x48], ecx
test ebx, ebx
jg 0x41bdf3
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
jmp 0x41be4a
xor byte [edi], 0x94
cmp dword [ebp - 0x50], 0
je 0x41bd54
push 0x10
mov ecx, ebx
pop edx
mov al, byte [ebp + ecx - 0x44]
xor al, 0x32
mov byte [ecx + 0x453710], al
inc ecx
cmp ecx, edx
jl 0x41be59
mov dword [0x455270], edx
test ecx, ecx
jle 0x41be88
cmp ebx, 4
jge 0x41be83
mov al, bl
add al, al
add al, cl
mov byte [ebp + ebx - 0x44], al
inc ebx
cmp ebx, ecx
jl 0x41be74
lea eax, [ecx + 0x2f]
push 0xa
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp - 4]
xor eax, eax
add dl, byte [ebp - 0x42]
xor ecx, ebp
pop edi
pop esi
mov byte [0x453713], dl
inc eax
pop ebx
call fcn.0041e2e9
mov esp, ebp
pop ebp
ret