Function at 0x4417e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov dword [esp + 0x20], 0x2a252427
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
xor eax, eax
nop
nop
nop
movzx edx, byte [esp + eax + 0x20]
mov dword [esp + 8], edx
mov esi, eax
and esi, 0xb
xor esi, 0x2828347b
mov ecx, eax
and ecx, 4
sub ecx, esi
mov esi, edx
not esi
lea esi, [edx + esi*2]
mov edi, 0xfffffffe
sub edi, esi
mov ebx, 0xfe
sub ebx, esi
and ebx, edx
or ebx, edi
lea esi, [ebx + ebx]
not esi
add esi, ebx
mov edi, ecx
not edi
mov dword [esp + 0x10], edi
mov ebx, ecx
and ebx, 0xd7d7cb9d
and edi, 2
imul edi, ebx
mov ebx, ecx
and ebx, 2
mov edx, ecx
or edx, 2
imul edx, ebx
lea ebx, [edx + edi]
add edx, edi
inc edx
xor edx, ecx
xor ebx, 0x17d7cb9e
and ebx, ecx
add ebx, ebx
sub ebx, edx
and ebx, dword [esp + 0x10]
or ebx, esi
or ecx, dword [esp + 8]
and ecx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
add cl, 0x5d
mov byte [esp + eax + 0x20], cl
inc eax
cmp eax, 0xc
jne 0x441810
mov eax, dword [esp + 0x20]
mov esi, dword [0x44d628]
test esi, esi
je 0x4418f7
xor ecx, ecx
mov edx, dword [0x44d62c]
nop
nop
nop
cmp dword [edx + ecx*8], 0xffc37dba
je 0x4418d0
inc ecx
cmp esi, ecx
jne 0x4418c0
jmp 0x4418f7
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x4418f7
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push dword [ebp + 8]
push 5
push dword [0x44d630]
push edx
call fcn.0043dbc0
add esp, 0x20
cmp eax, 0xc0000023
jne 0x441bec
push dword [esp + 0x18]
call fcn.0043bc30
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], 0x2a252427
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + esi + 0x20]
mov dword [esp + 8], edx
mov ecx, esi
and ecx, 0xb
xor ecx, 0x2828347b
mov eax, esi
and eax, 4
sub eax, ecx
mov ecx, edx
not ecx
lea ecx, [edx + ecx*2]
mov edi, 0xfffffffe
sub edi, ecx
mov ebx, 0xfe
sub ebx, ecx
and ebx, edx
or ebx, edi
lea edi, [ebx + ebx]
not edi
add edi, ebx
mov ebx, eax
not ebx
mov dword [esp + 0x10], ebx
mov ecx, eax
and ecx, 0xd7d7cb9d
and ebx, 2
imul ebx, ecx
mov ecx, eax
and ecx, 2
mov edx, eax
or edx, 2
imul edx, ecx
lea ecx, [edx + ebx]
add edx, ebx
inc edx
xor edx, eax
xor ecx, 0x17d7cb9e
and ecx, eax
add ecx, ecx
sub ecx, edx
and ecx, dword [esp + 0x10]
or ecx, edi
or eax, dword [esp + 8]
and eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x5d
mov byte [esp + esi + 0x20], al
inc esi
cmp esi, 0xc
jne 0x441940
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [0x44d628]
test eax, eax
je 0x441a14
xor ecx, ecx
mov edx, dword [0x44d62c]
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xffc37dba
je 0x441ab8
inc ecx
cmp eax, ecx
jne 0x441a00
jmp 0x441a1d
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 8]
mov dword [esp + 8], eax
test eax, eax
js 0x441bdc
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
je 0x441b7e
test esi, esi
je 0x441b70
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
cmp esi, eax
jb 0x441a59
mov esi, eax
test esi, esi
je 0x441b67
add dword [esp + 0xc], 0x2c
mov ecx, esi
and ecx, 3
je 0x441af0
mov dword [esp + 0x10], esi
xor edi, edi
mov esi, dword [ebp + 0xc]
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov dword [esp + 0xc], eax
mov word [esi], bx
add esi, 2
inc edi
cmp ecx, edi
jne 0x441a80
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x10]
mov esi, eax
sub esi, edi
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
jmp 0x441af2
mov edx, dword [edx + ecx*8 + 4]
mov eax, dword [esp + 8]
cmp edx, eax
je 0x441a21
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x34]
push dword [esp + 0xc]
push 2
push dword [ebp + 8]
push 5
push dword [0x44d630]
push edx
call fcn.0043dbc0
add esp, 0x20
jmp 0x441a21
mov eax, esi
cmp eax, 4
mov ecx, dword [ebp + 0x20]
jb 0x441b67
mov ebx, dword [esp + 0x14]
nop
nop
mov eax, dword [esp + 0xc]
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
mov word [ebx], dx
lea edx, [eax + ecx*2]
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
mov word [ebx + 2], ax
lea eax, [edx + ecx*2]
movzx ecx, word [edx + ecx*2]
xor edx, edx
test cx, cx
setne dl
mov word [ebx + 4], cx
lea ecx, [eax + edx*2]
movzx edx, word [eax + edx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [ecx + eax*2]
mov dword [esp + 0xc], eax
mov word [ebx + 6], dx
add ebx, 8
add esi, 0xfffffffc
jne 0x441b00
mov dword [esp + 0x14], ebx
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x18]
mov eax, dword [esp + 0x14]
mov word [eax], 0
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x441b90
mov esi, eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
mov dword [esi], eax
test ebx, ebx
je 0x441b9f
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test edi, edi
je 0x441bae
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [edi], eax
test ecx, ecx
je 0x441bbb
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
test edx, edx
je 0x441bca
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [edx], eax
cmp dword [ebp + 0x28], 0
je 0x441bdc
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
push dword [esp + 4]
call fcn.0043bcf0
add esp, 4
mov eax, dword [esp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret