Function at 0x442700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x484f14], 0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
je 0x4429ea
mov edx, dword [esi + 0x30]
test edx, edx
je 0x4429ea
lea eax, [esi + 0x34]
push eax
push edx
call fcn.00432100
mov dword [ebp - 4], eax
cmp eax, 1
jl 0x4429ea
lea ebx, [esi + 0x40]
mov dword [ebx], 0
cmp dword [ebx + 8], 1
mov dword [ebp - 8], ebx
jge 0x44275b
push 2
mov ecx, ebx
call fcn.00445080
test eax, eax
je 0x442766
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov byte [ecx + eax], 0x97
inc dword [ebx]
mov eax, dword [ebx]
mov esi, dword [esi + 0x30]
inc eax
cmp eax, dword [ebx + 8]
jle 0x44277e
push 2
mov ecx, ebx
call fcn.00445080
test eax, eax
je 0x44278b
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 4]
mov byte [ecx + eax], dl
inc dword [ebx]
mov edi, dword [ebp - 4]
add esi, 4
test esi, esi
je 0x4427ca
mov eax, dword [ebx]
add eax, 0xe
cmp eax, dword [ebx + 8]
jle 0x4427ac
push 0x1c
mov ecx, ebx
call fcn.00445080
test eax, eax
je 0x4427ca
mov ecx, dword [ebx + 4]
add ecx, dword [ebx]
movq xmm0, qword [esi]
movq qword [ecx], xmm0
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov ax, word [esi + 0xc]
mov word [ecx + 0xc], ax
add dword [ebx], 0xe
add esi, 0x14
sub edi, 1
jne 0x442791
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0x20]
test esi, esi
je 0x4429dc
cmp dword [eax + 0x1c], 0
jne 0x4429dc
test byte [esi + 0x1a0], 1
jne 0x4429aa
lea edi, [eax + 0x50]
mov dword [ebp - 0xc], 0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
test edi, edi
je 0x4428f0
test eax, eax
je 0x44299f
cmp dword [esi + 0x1b8], 0
je 0x442913
cmp word [esi + 0x1bc], 1
jl 0x442913
push 0x97
mov ecx, edi
mov dword [edi], 0
call fcn.00406710
mov eax, dword [edi]
inc eax
cmp eax, dword [edi + 8]
jle 0x442859
push 2
mov ecx, edi
call fcn.00445080
test eax, eax
je 0x442866
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 4]
mov byte [ecx + eax], dl
inc dword [edi]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], eax
movsx eax, word [esi + 0x1bc]
push 0x449f80
push 2
push eax
push dword [esi + 0x1b8]
push ebx
call fcn.0041c3a8
add esp, 0x14
test eax, eax
je 0x4428d6
test ebx, ebx
je 0x4428cd
mov eax, dword [edi]
add eax, 0xe
cmp eax, dword [edi + 8]
jle 0x4428af
push 0x1c
mov ecx, edi
call fcn.00445080
test eax, eax
je 0x4428cd
mov ecx, dword [edi + 4]
add ecx, dword [edi]
movq xmm0, qword [ebx]
movq qword [ecx], xmm0
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov ax, word [ebx + 0xc]
mov word [ecx + 0xc], ax
add dword [edi], 0xe
mov ecx, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0xc], ecx
jmp 0x4428d9
mov ecx, dword [ebp - 0xc]
add ebx, 0x14
sub dword [ebp - 0x10], 1
jne 0x442872
cmp ecx, 1
jge 0x442906
mov dword [edi], 0
mov ebx, dword [ebp - 8]
cmp dword [edi], 0
jle 0x4429aa
push edi
mov ecx, esi
call fcn.004470b0
jmp 0x4429cb
cmp dword [edi], 1
jle 0x4428ed
mov eax, dword [edi + 4]
mov byte [eax + 1], cl
jmp 0x4428ed
test ebx, ebx
je 0x4429cb
cmp dword [esi + 4], 0xffffffff
je 0x4429cb
mov eax, dword [ebx]
cmp eax, 1
jb 0x4429cb
cmp dword [ebx + 4], 0
je 0x4429cb
push 2
push eax
mov dword [edi], 0
mov ecx, edi
push dword [ebx + 4]
call fcn.00445210
cmp dword [esi + 4], 0xffffffff
je 0x4429cb
cmp dword [edi], 1
jb 0x4429cb
mov ebx, dword [edi + 4]
xor edx, edx
nop dword [eax]
mov eax, dword [esi + 0x130]
mov cl, byte [edx + ebx]
and eax, 0xf
mov al, byte [eax + esi + 0x164]
add al, byte [esi + 0x138]
xor al, cl
mov byte [edx + ebx], al
inc edx
inc dword [esi + 0x130]
movsx eax, cl
mov dword [esi + 0x138], eax
cmp edx, dword [edi]
jb 0x442960
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 4]
mov ebx, dword [ebp - 8]
jmp 0x4429cb
mov dword [edi], 0
jmp 0x4428f0
mov edi, dword [ebp + 8]
mov eax, edi
sub eax, dword [esi + 0x1a4]
cmp eax, 0x190
jbe 0x4429cb
push 2
mov ecx, esi
call fcn.00447510
mov dword [esi + 0x1a4], edi
mov esi, dword [esi + 0x178]
mov eax, dword [ebp - 0x14]
test esi, esi
jne 0x4427e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4