Function at 0x41b327
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x28c]
sub esp, 0x30c
mov eax, dword [0x43f050]
xor eax, ebp
mov dword [ebp + 0x288], eax
xor eax, eax
cmp dword [0x44f338], eax
jne 0x41b5d1
push ebx
push esi
xor ecx, ecx
inc eax
push edi
mov edx, eax
and dl, 0x80
movzx edx, dl
mov byte [ebp + ecx - 0x78], al
mov byte [ebp + ecx + 0x87], al
mov byte [ebp + eax + 0x188], cl
inc ecx
neg edx
sbb edx, edx
and edx, 0x11b
lea esi, [eax + eax]
xor edx, esi
xor eax, edx
cmp eax, 1
jne 0x41b356
xor ecx, ecx
mov dword [ecx + 0x44f2e0], eax
test eax, eax
je 0x41b3a2
movzx eax, byte [ebp + eax + 0x188]
movzx eax, byte [ebp + eax - 0x5f]
jmp 0x41b3a4
xor eax, eax
add ecx, 4
cmp ecx, 0x28
jb 0x41b389
and dword [ebp - 0x7c], 0
cmp byte [ebp - 0x7c], 0
je 0x41b3cf
movzx eax, byte [ebp - 0x7c]
movzx eax, byte [ebp + eax + 0x188]
lea ecx, [ebp + 0x87]
sub ecx, eax
movzx eax, byte [ecx]
jmp 0x41b3d1
xor eax, eax
movzx ecx, al
lea eax, [ecx + ecx]
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor ecx, eax
mov eax, ecx
shr eax, 8
xor al, cl
xor al, 0x63
je 0x41b402
movzx ecx, al
movzx ecx, byte [ebp + ecx + 0x188]
movzx edx, byte [ebp + ecx - 0x77]
jmp 0x41b404
xor edx, edx
test al, al
je 0x41b41a
movzx ecx, al
movzx ecx, byte [ebp + ecx + 0x188]
movzx esi, byte [ebp + ecx - 0x5f]
jmp 0x41b41c
xor esi, esi
mov ebx, dword [ebp - 0x7c]
shl edx, 8
movzx ecx, al
or edx, ecx
shl edx, 8
or edx, ecx
shl edx, 8
or edx, esi
mov esi, edx
mov eax, ebx
shl eax, 2
rol esi, 8
mov dword [eax + 0x44e2e0], edx
mov dword [eax + 0x44e6e0], esi
mov esi, edx
rol esi, 0x10
ror edx, 8
mov dword [eax + 0x44eee0], edx
mov edx, ecx
rol edx, 8
mov dword [eax + 0x44d6e0], edx
mov edx, ecx
mov dword [eax + 0x44d2e0], ecx
rol edx, 0x10
ror ecx, 8
mov dword [eax + 0x44dee0], ecx
mov dword [eax + 0x44eae0], esi
movzx esi, bl
mov ecx, esi
shl ecx, 3
xor ecx, esi
shl ecx, 2
xor ecx, esi
mov dword [eax + 0x44dae0], edx
add ecx, ecx
mov edx, ecx
shr edx, 8
xor dl, cl
xor dl, 5
je 0x41b4cf
mov ecx, esi
shl ecx, 3
xor ecx, esi
shl ecx, 2
xor ecx, esi
add ecx, ecx
mov edx, ecx
shr edx, 8
movzx edx, dl
movzx ecx, cl
xor edx, ecx
xor edx, 5
movzx ecx, byte [ebp + edx + 0x188]
lea edx, [ebp + 0x87]
sub edx, ecx
mov dl, byte [edx]
jmp 0x41b4d1
xor dl, dl
test dl, dl
je 0x41b4e7
movzx ecx, dl
movzx ecx, byte [ebp + ecx + 0x188]
movzx ecx, byte [ebp + ecx - 0x10]
jmp 0x41b4e9
xor ecx, ecx
test dl, dl
je 0x41b4ff
movzx esi, dl
movzx esi, byte [ebp + esi + 0x188]
movzx ebx, byte [ebp + esi + 0x76]
jmp 0x41b501
xor ebx, ebx
test dl, dl
je 0x41b517
movzx esi, dl
movzx esi, byte [ebp + esi + 0x188]
movzx edi, byte [ebp + esi + 0x4f]
jmp 0x41b519
xor edi, edi
test dl, dl
je 0x41b52f
movzx esi, dl
movzx esi, byte [ebp + esi + 0x188]
movzx esi, byte [ebp + esi + 0x67]
jmp 0x41b531
xor esi, esi
shl ecx, 8
or ecx, ebx
shl ecx, 8
or ecx, edi
shl ecx, 8
or ecx, esi
mov ebx, ecx
movzx ecx, dl
mov edx, ecx
shl edx, 2
inc dword [ebp - 0x7c]
mov dword [edx + 0x44a2e0], ebx
mov esi, ebx
rol esi, 8
mov edi, ebx
rol edi, 0x10
mov dword [ebp - 0x80], ebx
ror ebx, 8
mov dword [edx + 0x44a6e0], esi
mov dword [edx + 0x44aae0], edi
mov dword [edx + 0x44aee0], ebx
mov edx, dword [ebp - 0x80]
mov dword [eax + 0x44c2e0], edx
mov edx, ecx
rol edx, 8
mov dword [eax + 0x44b6e0], edx
mov edx, ecx
rol edx, 0x10
mov dword [eax + 0x44b2e0], ecx
ror ecx, 8
cmp dword [ebp - 0x7c], 0x100
mov dword [eax + 0x44c6e0], esi
mov dword [eax + 0x44cae0], edi
mov dword [eax + 0x44cee0], ebx
mov dword [eax + 0x44bae0], edx
mov dword [eax + 0x44bee0], ecx
jb 0x41b3b0
pop edi
pop esi
mov dword [0x44f338], 1
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x288]
xor ecx, ebp
call fcn.0041f998
add ebp, 0x28c
leave
ret