Function at 0x449356
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0xc], ebx
mov ecx, dword [ebp + 0xc]
mov esi, ebx
mov dword [ebp - 0x10], esi
test ecx, ecx
je 0x449374
mov byte [ecx], bl
test edi, edi
je 0x4495a9
mov edi, dword [edi + 0x54]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4495a9
cmp dword [edi], ebx
jne 0x449395
push 0xffffffffffffff9c
jmp 0x4495ab
mov eax, dword [ebp + 8]
test eax, eax
je 0x4495ac
mov ecx, dword [edi + 0x5c]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
cmp eax, ecx
jbe 0x4493b2
mov dword [edi + 0x14], ecx
mov eax, ecx
test eax, eax
je 0x4495a5
cmp dword [edi + 8], ebx
jne 0x44946b
mov eax, dword [edi + 0x58]
test eax, eax
je 0x44946b
mov dword [ebp - 8], 0x4000
cmp eax, 0x4000
jae 0x4493df
mov dword [ebp - 8], eax
mov edx, dword [edi + 0x60]
mov ecx, dword [edi + 0x68]
add ecx, dword [edi + 0x3c]
push ebx
mov eax, dword [edx]
push ebx
push ebx
push ecx
push edx
call dword [eax + 0x14]
test eax, eax
jne 0x44958a
mov eax, dword [edi + 0x60]
lea edx, [ebp - 8]
push edx
push dword [ebp - 8]
push dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x44958a
mov ecx, dword [ebp - 8]
add dword [edi + 0x3c], ecx
sub dword [edi + 0x58], ecx
cmp byte [edi + 0x6c], 0
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
je 0x44946b
mov esi, ebx
test ecx, ecx
je 0x44946b
lea ecx, [edi + 0x70]
mov edi, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 8]
and eax, 0xfffd
or eax, 2
mov ebx, eax
xor ebx, 1
imul ebx, eax
shr ebx, 8
xor bl, byte [esi + edi]
mov dl, bl
call fcn.004485a8
mov ecx, dword [ebp - 0x1c]
mov byte [esi + edi], bl
inc esi
cmp esi, dword [ebp - 8]
jb 0x44943c
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi + 0x7c]
mov ebx, dword [edi + 8]
cmp ecx, ebx
jbe 0x449477
mov ecx, ebx
test ecx, ecx
je 0x4494a4
mov eax, dword [edi + 4]
sub ebx, ecx
add eax, ecx
mov dl, byte [eax - 1]
sub dword [edi + 0x5c], ecx
sub dword [edi + 0x7c], ecx
mov byte [ebp - 1], dl
mov dword [edi + 8], ebx
mov dword [edi + 4], eax
jne 0x4494a4
mov al, dl
cmp al, byte [edi + 0x80]
jne 0x44958f
cmp dword [edi + 0x64], 0
jne 0x449532
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jae 0x4494bf
mov edx, eax
mov dword [ebp - 8], edx
jmp 0x4494c4
mov edx, ebx
mov dword [ebp - 8], ebx
xor esi, esi
test edx, edx
je 0x4494e4
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
mov al, byte [esi + eax]
mov byte [esi + ecx], al
inc esi
cmp esi, edx
jb 0x4494ca
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 0x50]
push edx
mov edx, esi
call fcn.004484be
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp - 8]
sub eax, ecx
sub dword [edi + 0x5c], ecx
sub ebx, ecx
add dword [edi + 4], ecx
add dword [edi + 0x18], ecx
mov dword [edi + 0x14], eax
lea eax, [esi + ecx]
mov esi, dword [ebp - 0x10]
add esi, ecx
mov dword [edi + 8], ebx
cmp dword [edi + 0x5c], 0
mov ebx, dword [ebp - 0xc]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x10], esi
jne 0x44957d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44957d
mov byte [ecx], 1
jmp 0x44957d
mov ebx, dword [ebp - 0x14]
mov esi, dword [edi + 0x18]
mov edi, dword [edi + 0x10]
lea ecx, [ebx + 4]
call fcn.0044885c
mov ebx, dword [ebx + 0x18]
mov edx, edi
mov edi, dword [ebp - 0x14]
sub ebx, esi
push ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [edi + 0x50]
call fcn.004484be
mov esi, dword [ebp - 0x10]
mov dword [edi + 0x50], eax
add esi, ebx
mov eax, dword [edi + 0x5c]
sub eax, ebx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp - 0xc]
mov dword [edi + 0x5c], eax
pop ecx
cmp ebx, 1
je 0x44959b
test eax, eax
je 0x44959b
test ebx, ebx
jne 0x449597
cmp dword [edi + 0x14], 0
jbe 0x449593
xor ebx, ebx
jmp 0x4493ba
or eax, 0xffffffff
jmp 0x4495ac
push 0xffffffffffffff96
jmp 0x4495ab
test ebx, ebx
je 0x4495a5
mov eax, ebx
jmp 0x4495ac
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4495a5
mov byte [ecx], 1
mov eax, esi
jmp 0x4495ac
push 0xffffffffffffff9a
pop eax
pop edi
pop esi
pop ebx
leave
ret