Function at 0x4422c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x30]
mov dword [esp], 0x40474645
mov word [esp + 4], 0
mov eax, 0xf3d9c9f1
mov esi, 0xe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xc26360f]
mov edx, esi
xor edx, eax
and edx, ecx
xor edx, eax
mov ecx, edx
xor ecx, 0xc340f1b6
and edx, 0x30990849
add edx, edx
sub edx, ecx
mov ecx, edx
or ecx, 1
add ecx, edx
not edx
or edx, 1
add ecx, edx
inc cl
mov byte [esp + eax + 0xc26360f], cl
inc eax
dec esi
cmp eax, 0xf3d9c9f7
jne 0x4422f0
mov eax, dword [esp]
mov esi, dword [0x44da9c]
test esi, esi
je 0x44238c
xor ecx, ecx
mov edx, dword [0x44daa0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x442360
inc ecx
cmp esi, ecx
jne 0x442350
jmp 0x44238c
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x44238c
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push edx
push dword [0x44daa4]
call fcn.0043e1f0
add esp, 0x24
mov dword [esp + 8], eax
mov dword [esp], 0xe92a2b41
mov word [esp + 4], 0
mov eax, esp
mov esi, 0xf8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
mov edi, edx
not edi
mov ebp, edi
and ebp, 0xcf
or edi, 0x30
add edx, edi
inc edx
or edx, ebp
mov ecx, esi
and ecx, 0xcf
xor ecx, edx
add cl, 0xdd
mov byte [eax], cl
inc eax
dec esi
cmp esi, 0xf2
jne 0x4423b0
mov esi, dword [esp + 8]
cmp esi, dword [esp]
jne 0x4425bf
push dword [esp + 0xc]
call fcn.0043a170
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp], 0x40474645
mov word [esp + 4], 0
mov edx, 0xf3d9c9f1
mov edi, 0xe
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx + 0xc26360f]
mov esi, edi
xor esi, edx
and esi, ecx
xor esi, edx
mov ecx, esi
xor ecx, 0xc340f1b6
and esi, 0x30990849
add esi, esi
sub esi, ecx
mov ecx, esi
or ecx, 1
add ecx, esi
not esi
or esi, 1
add ecx, esi
inc cl
mov byte [esp + edx + 0xc26360f], cl
inc edx
dec edi
cmp edx, 0xf3d9c9f7
jne 0x442420
mov esi, dword [esp]
mov edx, dword [0x44da9c]
test edx, edx
je 0x4424c8
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x44daa0]
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x33079ccd
je 0x442493
inc edi
cmp edx, edi
jne 0x442480
mov ebp, ecx
jmp 0x4424c8
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
mov ebp, ecx
je 0x4424c8
lea ecx, [esp + 0xc]
push ecx
push dword [esp + 0xc]
push ebp
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push edx
push dword [0x44daa4]
mov edi, eax
call fcn.0043e1f0
add esp, 0x24
mov esi, eax
mov eax, edi
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4425b6
test esi, esi
js 0x4425b6
test ebx, ebx
je 0x4425af
mov dword [esp + 0x10], ebp
mov ecx, dword [ebp + 0xc]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x4424f5
mov ebp, ecx
test ebp, ebp
mov dword [esp + 8], esi
je 0x442533
add eax, 0x10
mov ecx, ebp
and ecx, 3
je 0x442539
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [eax]
xor edx, edx
test si, si
setne dl
lea eax, [eax + edx*2]
mov word [ebx], si
add ebx, 2
inc edi
cmp ecx, edi
jne 0x442510
mov esi, ebp
sub esi, edi
mov edx, dword [esp + 0x34]
jmp 0x44253b
mov ebp, dword [esp + 0x10]
jmp 0x4425a6
mov esi, ebp
cmp ebp, 4
mov ebp, dword [esp + 0x10]
jb 0x4425a6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add esi, 0xfffffffc
jne 0x442550
mov edx, dword [esp + 0x34]
mov word [ebx], 0
mov esi, dword [esp + 8]
mov eax, dword [ebp + 0xc]
shr eax, 1
mov dword [edx], eax
push ebp
call fcn.0043a200
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret