Function at 0x4429b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 8], 0xd3d2d5d4
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x442a0e
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xfb70ca8a
xor eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0xa1
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x4429e0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 8]
mov eax, dword [0x44d0a8]
test eax, eax
je 0x442a68
xor ecx, ecx
mov edx, dword [0x44d0ac]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x9b15aa7a
je 0x442a40
inc ecx
cmp eax, ecx
jne 0x442a30
jmp 0x442a68
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x442a68
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push ebx
push edi
push 6
push dword [0x44d0b0]
push eax
call fcn.0043f8b0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x442cbd
push dword [esp + 0x10]
call fcn.0043dab0
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], 0xd3d2d5d4
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x442ade
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add eax, 0xfb70ca8a
xor eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0xa1
mov edx, dword [esp]
mov byte [esp + edx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x442ab0
mov esi, dword [esp + 8]
mov eax, dword [0x44d0a8]
test eax, eax
je 0x442b3b
xor edx, edx
mov ebp, dword [0x44d0ac]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edx*8], 0x9b15aa7a
je 0x442b11
inc edx
cmp eax, edx
jne 0x442b00
jmp 0x442b3b
mov edx, dword [ebp + edx*8 + 4]
cmp edx, esi
je 0x442b3b
lea eax, [esp + 0x10]
push eax
push ecx
mov eax, dword [esp + 0xc]
push eax
push 1
push ebx
push edi
push 6
push dword [0x44d0b0]
push edx
call fcn.0043f8b0
add esp, 0x24
mov esi, eax
test esi, esi
js 0x442cb1
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x442c3a
mov edi, dword [esp + 0x38]
test edi, edi
je 0x442c2f
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov ebp, dword [edx]
cmp ebp, eax
jb 0x442b70
mov ebp, eax
test ebp, ebp
je 0x442c2a
mov ebx, dword [esp + 4]
add ebx, 0x14
mov eax, ebp
and ebp, 3
je 0x442bc0
mov dword [esp + 0x18], eax
xor edx, edx
nop
nop
nop
nop
movzx eax, word [ebx]
xor ecx, ecx
test ax, ax
setne cl
lea ebx, [ebx + ecx*2]
mov word [edi], ax
add edi, 2
inc edx
cmp ebp, edx
jne 0x442b90
mov eax, dword [esp + 0x18]
mov ebp, eax
sub ebp, edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
cmp eax, 4
jae 0x442bd0
jmp 0x442c2a
mov ebp, eax
cmp eax, 4
jb 0x442c2a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ebx]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [ebx + ecx*2]
mov word [edi], ax
movzx eax, word [ebx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea ebx, [edx + ecx*2]
mov word [edi + 2], ax
movzx eax, word [edx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [ebx + ecx*2]
mov word [edi + 4], ax
movzx ecx, word [ebx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [edi + 6], cx
add edi, 8
lea ebx, [edx + eax*2]
add ebp, 0xfffffffc
jne 0x442bd0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov word [edi], 0
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [edx], eax
mov edi, dword [esp + 0x48]
test ecx, ecx
je 0x442c4b
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [ecx], eax
test edi, edi
je 0x442cb1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x442ca8
mov edx, dword [edi]
mov edi, dword [esp + 4]
mov ecx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
add ebp, edi
cmp edx, ecx
jb 0x442c6b
mov edx, ecx
mov ecx, edx
shr ecx, 2
mov ebx, ebp
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ebx, edx
and ebx, 0xfffffffc
add eax, ebx
add ebx, ebp
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebp, ebx
mov edi, eax
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
mov edi, dword [esp + 0x48]
je 0x442ca8
and edx, 2
movzx ecx, byte [ebx + edx]
mov byte [eax + edx], cl
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
push dword [esp + 4]
call fcn.0043db40
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret