Function at 0x444340
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [esp + 0x30]
mov dword [esp + 8], 0x787b7a05
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov eax, 0x6ce591bf
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x6ce591b7]
mov esi, ecx
and esi, 7
mov ebx, eax
and ebx, 0x78
or ebx, esi
xor ebx, 0x78
lea esi, [ecx + 0x40]
and esi, ebx
mov ebx, eax
or ebx, edx
not edx
or edx, esi
and edx, ebx
add dl, 0x45
mov byte [esp + eax - 0x6ce591b7], dl
inc eax
dec ecx
cmp eax, 0x6ce591c6
jne 0x444370
mov ebx, dword [esp + 8]
mov eax, dword [0x44f228]
test eax, eax
je 0x4443fe
xor ecx, ecx
mov edx, dword [0x44f22c]
nop
nop
cmp dword [edx + ecx*8], 0x3602324e
je 0x4443d0
inc ecx
cmp eax, ecx
jne 0x4443c0
jmp 0x4443fe
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4443fe
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x44f230]
push eax
call fcn.004400f0
add esp, 0x24
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x44465c
push dword [esp + 0x10]
call fcn.0043d5c0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x787b7a05
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov ebp, 0x6ce591bf
xor ebx, ebx
nop
nop
nop
nop
movzx ecx, byte [esp + ebp - 0x6ce591b7]
mov esi, ebx
and esi, 7
mov edx, ebp
and edx, 0x78
or edx, esi
xor edx, 0x78
lea esi, [ebx + 0x40]
and esi, edx
mov edx, ebp
or edx, ecx
not ecx
or ecx, esi
and ecx, edx
add cl, 0x45
mov byte [esp + ebp - 0x6ce591b7], cl
inc ebp
dec ebx
cmp ebp, 0x6ce591c6
jne 0x444440
mov ebx, dword [esp + 8]
mov ecx, dword [0x44f228]
test ecx, ecx
je 0x4444b0
xor edx, edx
mov esi, dword [0x44f22c]
mov ebp, dword [esp + 0x40]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3602324e
je 0x4444b6
inc edx
cmp ecx, edx
jne 0x4444a0
jmp 0x4444ec
mov ebp, dword [esp + 0x40]
jmp 0x4444ec
mov edx, dword [esi + edx*8 + 4]
cmp edx, ebx
mov esi, dword [esp]
je 0x4444ef
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 8]
push esi
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x44f230]
push edx
mov esi, eax
call fcn.004400f0
add esp, 0x24
mov ebx, eax
mov eax, esi
mov esi, dword [esp]
test ebx, ebx
js 0x444653
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4445db
test edi, edi
je 0x4445d4
mov edx, dword [esi + 0x10]
shr edx, 1
mov ecx, dword [ecx]
cmp ecx, edx
jb 0x444518
mov ecx, edx
test ecx, ecx
je 0x4445cb
add eax, 0x14
mov edx, ecx
and ecx, 3
je 0x44455f
mov dword [esp + 4], edx
xor esi, esi
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x444530
mov edx, dword [esp + 4]
mov ecx, edx
sub ecx, esi
mov ebp, dword [esp + 0x40]
mov esi, dword [esp]
cmp edx, 4
jae 0x444566
jmp 0x4445cb
mov ecx, edx
cmp edx, 4
jb 0x4445cb
mov ebp, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x444570
mov esi, dword [esp]
mov ebx, ebp
mov ebp, dword [esp + 0x40]
mov word [edi], 0
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x10]
shr eax, 1
mov dword [ecx], eax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4445e8
mov eax, dword [esi + 4]
mov dword [ecx], eax
test ebp, ebp
je 0x444653
mov dword [esp + 4], ebx
cmp dword [esp + 0x3c], 0
je 0x444649
mov eax, dword [ebp]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x444603
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, dword [esp]
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov ebx, dword [esp + 0x3c]
mov edi, ebx
add ebx, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp]
test al, 1
je 0x444649
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov eax, dword [esi + 0xc]
mov dword [ebp], eax
mov ebx, dword [esp + 4]
push esi
call fcn.0043d610
add esp, 4
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret