Function at 0x444110
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x444130
sar ecx, 1
mov esi, ecx
and esi, 2
mov edx, ecx
or ecx, 2
imul ecx, esi
xor esi, 2
and edx, 0xfffd
imul edx, esi
lea esi, [edx + ecx]
mov word [esp + 0x14], si
add ecx, edx
add ecx, 2
mov word [esp + 0x16], cx
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0xf0fffefd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x4441d0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
not edx
or edx, 0x68b63b55
add edx, eax
xor eax, 0x68b63b55
lea eax, [eax + edx*2]
add eax, 2
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x57
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x444190
mov ebx, dword [esp + 4]
mov eax, dword [0x44f754]
test eax, eax
je 0x44422f
xor ecx, ecx
mov edx, dword [0x44f758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xf81c0144
je 0x444200
inc ecx
cmp eax, ecx
jne 0x4441f0
jmp 0x44422f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44422f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 6
push dword [0x44f75c]
push eax
call fcn.0043f5f0
add esp, 0x24
mov ebx, eax
mov dword [esp + 8], 0xd39291b3
mov word [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x444293
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0x110d10dc
and eax, 0x110d10dc
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp], edx
mov eax, dword [esp]
add al, 0xb4
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x444250
cmp ebx, dword [esp + 8]
jne 0x444404
push dword [esp + 0x10]
call fcn.0043c600
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], 0xf0fffefd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x444310
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov ebx, eax
not ebx
or ebx, 0x68b63b55
add ebx, eax
xor eax, 0x68b63b55
lea eax, [eax + ebx*2]
add eax, 2
xor eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x57
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x4442d0
mov ebx, dword [esp + 4]
mov eax, dword [0x44f754]
test eax, eax
je 0x444380
xor edx, edx
mov ebp, dword [0x44f758]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edx*8], 0xf81c0144
je 0x44434f
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, eax
jb 0x444330
mov ebp, dword [esp + 0x44]
jmp 0x444380
mov eax, dword [ebp + edx*8 + 4]
cmp eax, ebx
mov ebp, dword [esp + 0x44]
je 0x444380
lea edx, [esp + 0x10]
lea edi, [esp + 0x14]
push edx
push ecx
push esi
push 2
push edi
push dword [esp + 0x48]
push 6
push dword [0x44f75c]
push eax
call fcn.0043f5f0
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x4443fb
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x444391
mov eax, dword [esi + 4]
mov dword [ecx], eax
test ebp, ebp
je 0x4443fb
cmp dword [esp + 0x40], 0
je 0x4443f5
mov eax, dword [ebp]
mov ecx, dword [esi + 8]
cmp eax, ecx
jb 0x4443a8
mov eax, ecx
lea edx, [esi + 0xc]
mov ecx, eax
shr ecx, 2
mov ebp, dword [esp + 0x40]
mov edi, ebp
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
shr ecx, 1
and ecx, 1
mov edx, eax
and edx, 0xfffffffc
lea edi, [esi + edx]
add edi, 0xc
add edx, ebp
mov dword [esp + 0x1c], edi
mov ebp, edi
mov edi, edx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test al, 1
mov ebp, dword [esp + 0x44]
je 0x4443f5
and eax, 2
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + eax]
mov byte [edx + eax], cl
mov eax, dword [esi + 8]
mov dword [ebp], eax
push esi
call fcn.0043c6c0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret