Function at 0x448560
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2a0
mov ebx, dword [0x45e214]
mov edi, dword [0x45e210]
mov eax, edi
or eax, ebx
jne 0x448628
mov dword [esp + 0x158], 0x118a1f82
mov dword [esp + 0x15c], 0x158e13f4
mov dword [esp + 0x160], 0x9c81788
mov dword [esp + 0x164], 0xd960bec
mov dword [esp + 0x168], 0x10e0f90
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x58]
cmp eax, 0x13
ja 0x448601
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x58]
movzx eax, byte [esp + eax + 0x158]
push dword [esp + 0x58]
push eax
call fcn.00449040
add esp, 8
mov ecx, dword [esp + 0x58]
mov byte [esp + ecx + 0x158], al
inc dword [esp + 0x58]
mov eax, dword [esp + 0x58]
cmp eax, 0x14
jb 0x4485d0
lea eax, [esp + 0x158]
push eax
call fcn.004481b0
add esp, 4
mov edi, eax
mov dword [0x45e214], edx
mov dword [0x45e210], eax
or eax, edx
je 0x4486fc
mov ebx, edx
lea eax, [esp + 0x260]
push 0x40
push eax
push ebx
push edi
call fcn.00447f90
add esp, 0x10
test eax, eax
js 0x4486fc
mov eax, dword [esp + 0x29c]
mov ecx, eax
sar ecx, 0x1f
add eax, edi
adc ecx, ebx
lea edx, [esp + 0x158]
push 0x108
push edx
push ecx
push eax
call fcn.00447f90
add esp, 0x10
xor esi, esi
test eax, eax
js 0x4486fe
cmp dword [esp + 0x1e4], 0
je 0x4486fe
mov eax, dword [esp + 0x1e0]
mov ebp, 0
test eax, eax
je 0x448700
add eax, edi
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x30]
push 0x28
push edx
push ecx
push eax
call fcn.00447f90
add esp, 0x10
test eax, eax
js 0x4486fc
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4486c5
mov eax, esi
push eax
call fcn.0040c610
add esp, 4
mov edx, dword [esp + 0x4c]
add edx, edi
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x14], eax
push eax
push ecx
push edx
call fcn.00447f90
add esp, 0x10
test eax, eax
js 0x44870f
mov eax, dword [esp + 0x44]
test eax, eax
jns 0x448718
mov eax, 0xffffffff
jmp 0x44871a
xor esi, esi
xor ebp, ebp
mov eax, esi
mov edx, ebp
add esp, 0x2a0
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
xor ebp, ebp
jmp 0x448984
add eax, eax
push eax
call fcn.0040c610
add esp, 4
mov esi, dword [esp + 0x48]
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
mov ecx, dword [esp + 0x54]
add ecx, edi
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push edx
push ecx
call fcn.00447f90
add esp, 0x10
test eax, eax
js 0x448974
mov esi, dword [esp + 0x48]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x44877a
lea eax, [esi*4]
push eax
call fcn.0040c610
add esp, 4
mov ebp, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x50]
add eax, edi
mov ecx, ebx
adc ecx, 0
push esi
push ebp
push ecx
push eax
call fcn.00447f90
add esp, 0x10
test eax, eax
mov dword [esp + 8], ebp
js 0x448962
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp esi, eax
jb 0x4487ce
mov esi, eax
test esi, esi
je 0x448962
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
jmp 0x448811
mov edx, 0xb14a5e2
cmp edx, dword [esp + 0x2b4]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
je 0x448995
mov eax, dword [esp + 0x14]
inc eax
cmp eax, esi
je 0x448962
mov dword [esp + 0x14], eax
mov eax, dword [ebp + eax*4]
add eax, edi
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x5c]
push edx
push ecx
push eax
call fcn.00447f90
add esp, 0x10
cmp eax, 0xbfffffff
ja 0x448804
mov ebx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
cmp byte [esp + ebx + 0x59], 0
lea ebx, [ebx + 1]
lea eax, [eax + 1]
jne 0x448850
mov dword [esp + 0x18], 0x969a9401
lea eax, [esp + 0x1c]
mov byte [eax + 2], 0
mov word [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4488b6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.004490d0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x448890
test ebx, ebx
je 0x4487e6
mov ecx, dword [esp + 0x18]
mov eax, ecx
not eax
mov edx, 0xb14a5e2
lea edi, [esp + 0x58]
cmp ebx, 1
je 0x448937
and esi, 0xfffffffe
mov dword [esp + 4], eax
nop
nop
nop
nop
nop
mov dword [esp + 0x2c], edi
movsx ebp, byte [edi]
xor ebp, edx
mov edx, ebp
not edx
and edx, ecx
mov eax, ebp
and eax, dword [esp + 4]
mov edi, dword [esp + 0x2c]
imul eax, edx
mov edx, ebp
and edx, ecx
or ebp, ecx
imul ebp, edx
add ebp, eax
movsx edx, byte [edi + 1]
add edi, 2
xor edx, ebp
mov eax, edx
not eax
and eax, ecx
mov ebp, edx
and ebp, dword [esp + 4]
imul ebp, eax
mov eax, edx
and eax, ecx
or edx, ecx
imul edx, eax
add edx, ebp
add esi, 0xfffffffe
jne 0x4488e0
mov ebp, dword [esp + 8]
mov eax, dword [esp + 4]
test bl, 1
je 0x4487eb
mov esi, eax
movsx eax, byte [edi]
xor edx, eax
mov eax, edx
not eax
and eax, ecx
and esi, edx
imul esi, eax
mov eax, edx
and eax, ecx
or edx, ecx
imul edx, eax
add edx, esi
jmp 0x4487eb
xor esi, esi
xor ebp, ebp
push dword [esp + 8]
call fcn.0040c620
add esp, 4
jmp 0x448978
xor esi, esi
xor ebp, ebp
push dword [esp + 0xc]
call fcn.0040c620
add esp, 4
push dword [esp + 0x10]
call fcn.0040c620
add esp, 4
jmp 0x448700
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
mov ecx, edi
and ecx, eax
mov ebp, ecx
shr ebp, 0x1f
add ecx, ecx
xor edi, eax
add edi, ecx
adc ebp, ebx
mov esi, edi
jmp 0x448966