Function at 0x4426c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44270a
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 0x4426e0
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 0x44270c
xor ecx, ecx
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x44271c
add ecx, 2
mov edx, ecx
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp], 0x989b9a9d
mov eax, 0x4247dbdb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x4247dbdb]
xor ecx, eax
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
add cl, 0xb8
mov byte [esp + eax - 0x4247dbdb], cl
inc eax
cmp eax, 0x4247dbdf
jne 0x442740
mov ebx, dword [esp]
mov eax, dword [0x44de2c]
test eax, eax
je 0x4427bf
xor ecx, ecx
mov edx, dword [0x44de30]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x442790
inc ecx
cmp eax, ecx
jne 0x442780
jmp 0x4427bf
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4427bf
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x44]
push 0x18
push eax
push dword [0x44de34]
call fcn.0043f290
add esp, 0x24
mov ebx, eax
mov dword [esp], 0xf9babba1
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
mov ecx, eax
and ecx, 5
mov edx, eax
and edx, 2
mov edi, eax
or edi, 2
imul edi, edx
xor edx, 2
imul edx, ecx
mov ecx, eax
xor ecx, 0xdf
add ecx, edi
add ecx, edx
xor cl, byte [esp + eax]
add cl, 0xa5
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x4427d0
cmp ebx, dword [esp]
jne 0x4429bf
push dword [esp + 0xc]
call fcn.0043cca0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp], 0x919e9f9e
mov dword [esp + 4], 0
xor edx, edx
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebp]
mov edi, edx
and edi, 0xa
mov ebx, ebp
xor ebx, 0xe27d0de5
add ebx, edi
xor ebx, ecx
mov edi, ebx
and edi, 0x84
mov esi, ebx
and esi, 2
mov ecx, esi
xor ecx, 2
imul ecx, edi
or edi, 2
imul edi, esi
xor ebx, 0x86
add ebx, ecx
add ebx, edi
inc bl
mov byte [esp + ebp], bl
inc ebp
add edx, 2
cmp ebp, 8
jne 0x442840
mov edx, dword [esp]
mov dword [esp + 0x10], 0x989b9a9d
mov ebx, 0x4247dbdb
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebx - 0x4247dbcb]
xor ecx, ebx
mov esi, ecx
and esi, 1
or ecx, 1
add ecx, esi
add cl, 0xb8
mov byte [esp + ebx - 0x4247dbcb], cl
inc ebx
cmp ebx, 0x4247dbdf
jne 0x4428a0
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x44de2c]
test ebp, ebp
je 0x442900
xor edi, edi
mov ecx, dword [0x44de30]
mov esi, dword [esp + 0x40]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x877f203a
je 0x442906
inc edi
cmp ebp, edi
jne 0x4428f0
jmp 0x44293d
mov esi, dword [esp + 0x40]
jmp 0x44293d
mov ebp, dword [ecx + edi*8 + 4]
cmp ebp, ebx
je 0x44293d
lea ecx, [esp + 0xc]
lea esi, [esp + 0x14]
push ecx
push dword [esp + 0xc]
push eax
push edx
push esi
mov esi, dword [esp + 0x54]
push dword [esp + 0x44]
push 0x18
push ebp
push dword [0x44de34]
mov edi, eax
call fcn.0043f290
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x4429b6
mov edx, dword [esp + 0x38]
test edx, edx
je 0x44294e
mov ecx, dword [eax + 4]
mov dword [edx], ecx
test esi, esi
je 0x4429b6
cmp dword [esp + 0x3c], 0
je 0x4429b1
mov edx, dword [esi]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x442964
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov ebp, dword [esp + 0x3c]
mov edi, ebp
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea esi, [eax + ecx]
add esi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], esi
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
mov esi, dword [esp + 0x40]
je 0x4429b1
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [ebp + edx], cl
mov ecx, dword [eax + 8]
mov dword [esi], ecx
push eax
call fcn.0043cd10
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret