Function at 0x448f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x284
mov ebx, dword [0x45f0ac]
mov ebp, dword [0x45f0a8]
mov eax, ebp
or eax, ebx
jne 0x44900e
mov dword [esp + 0x54], 0xd1bacfa2
mov dword [esp + 0x58], 0xd5bed3b4
mov dword [esp + 0x5c], 0xd9f8d7b8
mov dword [esp + 0x60], 0xddb6dbbc
mov dword [esp + 0x64], 0xe1dedfb0
mov dword [esp + 0x68], 0
mov dword [esp + 0x154], 0
mov eax, dword [esp + 0x154]
cmp eax, 0x17
ja 0x448fea
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x154]
movzx eax, byte [esp + eax + 0x54]
push dword [esp + 0x154]
push eax
call fcn.00449a00
add esp, 8
mov ecx, dword [esp + 0x154]
mov byte [esp + ecx + 0x54], al
inc dword [esp + 0x154]
mov eax, dword [esp + 0x154]
cmp eax, 0x18
jb 0x448fb0
lea eax, [esp + 0x54]
push eax
call fcn.00448b80
add esp, 4
mov ebp, eax
mov dword [0x45f0ac], edx
mov dword [0x45f0a8], eax
or eax, edx
je 0x449108
mov ebx, edx
lea eax, [esp + 0x244]
push 0x40
push eax
push ebx
push ebp
call fcn.00448970
add esp, 0x10
test eax, eax
js 0x449108
mov eax, dword [esp + 0x280]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x154]
push 0xf0
push edx
push ecx
push eax
call fcn.00448970
add esp, 0x10
xor edi, edi
test eax, eax
js 0x44910a
cmp dword [esp + 0x1c8], 0
je 0x44910a
mov eax, dword [esp + 0x1c4]
mov esi, 0
test eax, eax
je 0x44910c
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.00448970
add esp, 0x10
test eax, eax
js 0x449108
mov esi, dword [esp + 0x40]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x4490b7
lea eax, [esi*4]
push eax
call fcn.0040c580
add esp, 4
mov edx, 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 + 0x48]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x18], edx
push edx
push ecx
push eax
call fcn.00448970
add esp, 0x10
test eax, eax
js 0x44911b
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x449124
mov eax, 0xffffffff
jmp 0x449126
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x284
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x449366
add eax, eax
push eax
call fcn.0040c580
add esp, 4
mov esi, dword [esp + 0x44]
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 + 0x50]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 0x14], eax
push eax
push edx
push ecx
call fcn.00448970
add esp, 0x10
test eax, eax
js 0x449356
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x449188
mov eax, esi
push eax
call fcn.0040c580
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x4c]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
push edi
push ecx
push eax
call fcn.00448970
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], edi
js 0x449344
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x4491c4
mov esi, eax
test esi, esi
je 0x449344
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x449207
mov edx, 0xb14a5e2
cmp edx, dword [esp + 0x298]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
je 0x449377
mov eax, dword [esp + 0x18]
inc eax
cmp eax, esi
je 0x449344
mov dword [esp + 0x18], eax
mov eax, dword [edi + eax*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x58]
push edx
push ecx
push eax
call fcn.00448970
add esp, 0x10
test eax, eax
jns 0x449234
cmp eax, 0x8000000d
jne 0x4491fa
mov ebx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
mov esi, eax
cmp byte [esp + ebx + 0x55], 0
lea ebx, [ebx + 1]
lea eax, [eax + 1]
jne 0x449240
mov dword [esp + 8], 0x22222093
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x449296
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
push dword [esp]
push eax
call fcn.00449a90
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x449270
test ebx, ebx
je 0x4491dc
mov ecx, dword [esp + 8]
mov eax, ecx
not eax
mov edx, 0xb14a5e2
lea ebp, [esp + 0x54]
cmp ebx, 1
je 0x449318
and esi, 0xfffffffe
mov dword [esp + 4], eax
nop
nop
nop
nop
nop
mov dword [esp + 0x28], ebp
movsx edi, byte [ebp]
xor edi, edx
mov edx, edi
not edx
and edx, ecx
mov eax, edi
and eax, dword [esp + 4]
mov ebp, dword [esp + 0x28]
imul eax, edx
mov edx, edi
and edx, ecx
or edi, ecx
imul edi, edx
add edi, eax
movsx edx, byte [ebp + 1]
add ebp, 2
xor edx, edi
mov eax, edx
not eax
and eax, ecx
mov edi, edx
and edi, dword [esp + 4]
imul edi, eax
mov eax, edx
and eax, ecx
or edx, ecx
imul edx, eax
add edx, edi
add esi, 0xfffffffe
jne 0x4492c0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
test bl, 1
je 0x4491e1
mov esi, eax
movsx eax, byte [ebp]
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 0x4491e1
xor edi, edi
xor esi, esi
push dword [esp + 0xc]
call fcn.0040c590
add esp, 4
jmp 0x44935a
xor edi, edi
xor esi, esi
push dword [esp + 0x10]
call fcn.0040c590
add esp, 4
push dword [esp + 0x14]
call fcn.0040c590
add esp, 4
jmp 0x44910c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x14]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x449348