Function at 0x442000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [ebp + 0xc]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x442020
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x2c], cx
add ecx, 2
mov word [esp + 0x2e], cx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x2a252427
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
xor eax, eax
nop
nop
movzx edx, byte [esp + eax + 0x10]
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 + 4], 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 + 4]
or ebx, esi
or ecx, dword [esp + 8]
and ecx, ebx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x5d
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0xc
jne 0x442060
mov ebx, dword [esp + 0x10]
mov eax, dword [0x44d628]
test eax, eax
je 0x44214e
xor ecx, ecx
mov edx, dword [0x44d62c]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xd07a397f
je 0x442120
inc ecx
cmp eax, ecx
jne 0x442110
jmp 0x44214e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44214e
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x44d630]
push eax
call fcn.0043dbc0
add esp, 0x24
mov ebx, eax
mov dword [esp + 0x10], 0xa364654b
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 0
mov eax, 0x76d3cef1
movzx ecx, byte [esp + eax - 0x76d3cee1]
mov edx, ecx
not edx
or edx, eax
lea ecx, [ecx + edx*2]
neg ecx
add ecx, eax
add ecx, 0xfffffffe
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
lea ecx, [edx + edx]
mov esi, ecx
and esi, 0x2e
sub esi, edx
and ecx, 0xd0
add ecx, esi
add cl, 0x69
mov byte [esp + eax - 0x76d3cee1], cl
inc eax
cmp eax, 0x76d3cefe
jne 0x442170
cmp ebx, dword [esp + 0x10]
jne 0x442393
push dword [esp + 0x28]
call fcn.0043bc30
add esp, 4
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0x2a252427
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
xor esi, esi
nop
movzx edx, byte [esp + esi + 0x10]
mov dword [esp + 8], edx
mov eax, esi
and eax, 0xb
xor eax, 0x2828347b
mov ebx, esi
and ebx, 4
sub ebx, eax
mov eax, edx
not eax
lea edi, [edx + eax*2]
mov ecx, 0xfffffffe
sub ecx, edi
mov eax, 0xfe
sub eax, edi
and eax, edx
or eax, ecx
lea edi, [eax + eax]
not edi
add edi, eax
mov ecx, ebx
not ecx
mov dword [esp + 4], ecx
mov eax, ebx
and eax, 0xd7d7cb9d
and ecx, 2
imul ecx, eax
mov eax, ebx
and eax, 2
mov edx, ebx
or edx, 2
imul edx, eax
lea eax, [edx + ecx]
add ecx, edx
inc ecx
xor ecx, ebx
xor eax, 0x17d7cb9e
and eax, ebx
add eax, eax
sub eax, ecx
and eax, dword [esp + 4]
or eax, edi
or ebx, dword [esp + 8]
and ebx, eax
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0xc]
add al, 0x5d
mov byte [esp + esi + 0x10], al
inc esi
cmp esi, 0xc
jne 0x4421f0
mov ebx, dword [esp + 0x10]
mov eax, dword [0x44d628]
test eax, eax
je 0x4422e3
xor ecx, ecx
mov edx, dword [0x44d62c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xd07a397f
je 0x4422b0
inc ecx
cmp eax, ecx
jne 0x4422a0
jmp 0x4422e3
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4422e3
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push dword [esp + 0x28]
mov ecx, dword [esp + 8]
push ecx
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x44d630]
push eax
call fcn.0043dbc0
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x442388
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4422fa
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [ecx], eax
cmp dword [ebp + 0x18], 0
je 0x442388
cmp dword [ebp + 0x14], 0
je 0x44237d
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp edx, eax
jb 0x44231b
mov edx, eax
mov eax, dword [esp]
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, dword [ebp + 0x14]
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, edx
and esi, 0xfffffffc
add esi, dword [ebp + 0x14]
mov ecx, edx
not ecx
or ecx, 0xfffffffc
add eax, ecx
add eax, 0xc
mov dword [esp + 4], eax
add eax, edx
inc eax
mov dword [esp + 8], eax
mov ecx, edx
and ecx, 3
mov dword [esp + 0x24], ecx
shr ecx, 1
mov edi, esi
mov eax, dword [esp + 8]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test dl, 1
je 0x44237d
mov ecx, dword [esp + 4]
add ecx, edx
and edx, 2
mov eax, dword [esp + 0x24]
movzx eax, byte [ecx + eax]
mov byte [esi + edx], al
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
push dword [esp]
call fcn.0043bcf0
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret