Function at 0x448570
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x284
mov ebx, dword [0x45e0b4]
mov ebp, dword [0x45e0b0]
mov eax, ebp
or eax, ebx
jne 0x44863e
mov dword [esp + 0x54], 0xe91eeb16
mov dword [esp + 0x58], 0xed02ef0c
mov dword [esp + 0x5c], 0xf1c0f300
mov dword [esp + 0x60], 0xf51af714
mov dword [esp + 0x64], 0xf9fafb18
mov word [esp + 0x68], 0
mov dword [esp + 0x154], 0
mov eax, dword [esp + 0x154]
cmp eax, 0x15
ja 0x44861a
nop
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.00449040
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, 0x16
jb 0x4485e0
lea eax, [esp + 0x54]
push eax
call fcn.004481d0
add esp, 4
mov ebp, eax
mov dword [0x45e0b4], edx
mov dword [0x45e0b0], eax
or eax, edx
je 0x448736
mov ebx, edx
lea eax, [esp + 0x244]
push 0x40
push eax
push ebx
push ebp
call fcn.00447fe0
add esp, 0x10
test eax, eax
js 0x448736
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.00447fe0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x448738
cmp dword [esp + 0x1c8], 0
je 0x448738
mov eax, dword [esp + 0x1c4]
mov esi, 0
test eax, eax
je 0x44873a
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.00447fe0
add esp, 0x10
test eax, eax
js 0x448736
mov esi, dword [esp + 0x40]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x4486e7
lea eax, [esi*4]
push eax
call fcn.0040c8b0
add esp, 4
mov edx, esi
and edx, 0xfffffffb
mov ecx, esi
and ecx, 4
or esi, 4
imul esi, ecx
xor ecx, 4
imul ecx, edx
add esi, ecx
mov edx, dword [esp + 0x48]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x18], eax
push eax
push ecx
push edx
call fcn.00447fe0
add esp, 0x10
test eax, eax
js 0x448749
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x448752
mov eax, 0xffffffff
jmp 0x448754
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 0x448986
add eax, eax
push eax
call fcn.0040c8b0
add esp, 4
mov esi, dword [esp + 0x44]
add esi, esi
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.00447fe0
add esp, 0x10
test eax, eax
js 0x448976
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x4487a0
mov eax, esi
push eax
call fcn.0040c8b0
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.00447fe0
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], edi
js 0x448964
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x4487dc
mov esi, eax
test esi, esi
je 0x448964
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
jmp 0x44881f
mov edx, 0xb14a5e2
cmp edx, dword [esp + 0x298]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
je 0x448997
mov eax, dword [esp + 0x18]
inc eax
cmp eax, esi
je 0x448964
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.00447fe0
add esp, 0x10
test eax, eax
jns 0x44884c
cmp eax, 0x8000000d
jne 0x448812
mov ebx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
cmp byte [esp + ebx + 0x55], 0
lea ebx, [ebx + 1]
lea eax, [eax + 1]
jne 0x448860
mov dword [esp + 8], 0x161a1481
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x4488b6
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.004490c0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x448890
test ebx, ebx
je 0x4487f4
mov ecx, dword [esp + 8]
mov eax, ecx
not eax
mov edx, 0xb14a5e2
lea ebp, [esp + 0x54]
cmp ebx, 1
je 0x448938
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 0x4488e0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
test bl, 1
je 0x4487f9
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 0x4487f9
xor edi, edi
xor esi, esi
push dword [esp + 0xc]
call fcn.0040c8c0
add esp, 4
jmp 0x44897a
xor edi, edi
xor esi, esi
push dword [esp + 0x10]
call fcn.0040c8c0
add esp, 4
push dword [esp + 0x14]
call fcn.0040c8c0
add esp, 4
jmp 0x44873a
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 0x448968