Function at 0x444590
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4445da
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 0x4445b0
sar ecx, 1
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffd
imul esi, edx
add ecx, esi
jmp 0x4445dc
xor ecx, ecx
mov word [esp + 0xc], cx
mov edx, eax
test eax, eax
je 0x4445ec
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x34]
mov word [esp + 0xe], dx
mov dword [esp + 0x10], eax
mov dword [esp], 0x34353637
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
lea ecx, [eax + eax]
mov edi, ecx
and edi, 8
mov edx, eax
xor edx, 0xc
add edx, edi
xor dl, byte [esp + eax]
add dl, 0xc4
mov byte [esp + eax], dl
and ecx, 2
xor eax, 1
add eax, ecx
cmp eax, 7
jb 0x444610
mov ebx, dword [esp]
mov eax, dword [0x44f9d8]
test eax, eax
je 0x44468f
xor ecx, ecx
mov edx, dword [0x44f9dc]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x444660
inc ecx
cmp eax, ecx
jne 0x444650
jmp 0x44468f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44468f
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x40]
push 6
push dword [0x44f9e0]
push eax
call fcn.00440440
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x81c6c729
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xb1
xor cl, byte [esp + eax]
add cl, 0x8b
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x4446a0
cmp ebx, dword [esp]
jne 0x4447f2
push dword [esp + 8]
call fcn.0043d7a0
add esp, 4
mov ecx, dword [esp + 8]
mov dword [esp], 0x34353637
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebx, [edi + edi]
mov ebp, ebx
and ebp, 8
mov edx, edi
xor edx, 0xc
add edx, ebp
xor dl, byte [esp + edi]
add dl, 0xc4
mov byte [esp + edi], dl
and ebx, 2
xor edi, 1
add edi, ebx
cmp edi, 7
jb 0x4446f0
mov ebx, dword [esp]
mov edx, dword [0x44f9d8]
test edx, edx
je 0x444771
xor ebp, ebp
mov edi, dword [0x44f9dc]
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xbbe848dd
je 0x444740
inc ebp
cmp edx, ebp
jne 0x444730
jmp 0x444771
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
je 0x444771
lea edi, [esp + 8]
lea ebx, [esp + 0xc]
push edi
push ecx
push eax
push 2
push ebx
push dword [esp + 0x40]
push 6
push dword [0x44f9e0]
push edx
mov edi, eax
call fcn.00440440
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x4447e9
test esi, esi
je 0x44477e
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x3c], 0
je 0x4447e9
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4447e0
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x44479c
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 0x14], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x4447e0
and edx, 2
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x3c]
mov dword [edx], ecx
push eax
call fcn.0043d890
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret