Function at 0x444b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
jne 0x444b3d
lea eax, [esi - 0x66]
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [esi + 0x9c]
test ebx, ebx
jne 0x444b51
lea eax, [ebx - 0x66]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
jne 0x444b61
pop ebx
mov eax, 0xffffff9c
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x444b6e
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebx + 0x5c]
mov dword [ebx + 0x14], eax
cmp eax, ecx
jbe 0x444b8a
cmp dword [ebx + 0x8c], 0
jne 0x444b8a
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebx + 8]
add ecx, dword [ebx + 0x58]
cmp eax, ecx
jbe 0x444ba0
cmp dword [ebx + 0x8c], 0
je 0x444ba0
mov dword [ebx + 0x14], ecx
cmp dword [ebx + 0x14], 0
push edi
ja 0x444bb4
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
cmp dword [ebx + 8], 0
jne 0x444c9e
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x444c9e
mov edi, 0x4000
mov dword [ebp - 8], edi
cmp eax, edi
jae 0x444bda
mov dword [ebp - 8], eax
mov edi, eax
mov edx, dword [ebx + 0x88]
add edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x7c]
push 0
push edx
mov edx, dword [ebx + 0x70]
push eax
push ecx
call edx
add esp, 0x10
test eax, eax
jne 0x444d7e
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x7c]
push edi
push eax
mov eax, dword [ebx + 0x64]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, edi
jne 0x444d7e
cmp dword [esi + 0xa0], 0
je 0x444c90
mov dword [ebp - 0xc], 0
test edi, edi
je 0x444c90
add esi, 0xa4
lea ebx, [ebx]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xac]
mov edx, dword [ebx]
add edx, dword [ebp - 0xc]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
movsx ecx, byte [edx]
shr eax, 8
and eax, 0xff
xor eax, ecx
mov byte [edx], al
mov edi, dword [edi + 0xb0]
movsx eax, al
call fcn.004440e0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebx]
mov byte [ecx + edx], al
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 8]
jb 0x444c40
mov edi, dword [ebp - 8]
mov eax, dword [ebx]
add dword [ebx + 0x3c], edi
sub dword [ebx + 0x58], edi
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
cmp dword [ebx + 0x84], 0
je 0x444d11
cmp dword [ebx + 0x8c], 0
jne 0x444d11
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x10]
lea eax, [ebx + 4]
push 2
push eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
call fcn.00401478
mov edi, eax
add esp, 8
test edi, edi
js 0x444cdb
cmp dword [ebx + 0x1c], 0
je 0x444cdb
mov edi, 0xfffffffd
mov esi, dword [ebx + 0x18]
sub esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 0x50]
push esi
push ecx
push edx
call fcn.00401006
sub dword [ebx + 0x5c], esi
add dword [ebp - 4], esi
add esp, 0xc
mov dword [ebx + 0x50], eax
cmp edi, 1
je 0x444ba7
test edi, edi
je 0x444d6a
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 8]
test eax, eax
jne 0x444d21
cmp dword [ebx + 0x58], eax
je 0x444ba7
mov esi, dword [ebx + 0x14]
cmp esi, eax
jb 0x444d2a
mov esi, eax
xor eax, eax
test esi, esi
je 0x444d41
mov ecx, dword [ebx + 4]
mov cl, byte [eax + ecx]
mov edx, dword [ebx + 0x10]
mov byte [eax + edx], cl
inc eax
cmp eax, esi
jb 0x444d30
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x50]
push esi
push edx
push eax
call fcn.00401006
sub dword [ebx + 0x5c], esi
sub dword [ebx + 8], esi
sub dword [ebx + 0x14], esi
add dword [ebx + 0x10], esi
add dword [ebx + 4], esi
add dword [ebx + 0x18], esi
add esp, 0xc
add dword [ebp - 4], esi
mov dword [ebx + 0x50], eax
cmp dword [ebx + 0x14], 0
ja 0x444bb1
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret