Function at 0x448990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xchg edi, edi
push esi
push edi
mov edi, ecx
xchg edx, edx
mov esi, dword [edi + 0xb8]
mov eax, esi
mov edx, dword [edi + 0xb4]
cmp esi, edx
mov dword [esp - 0x14], 0x665efba1
cmovbe eax, edx
cmovae esi, edx
push eax
push esi
xchg edx, edx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
mov ebx, ebx
push eax
call fcn.00449420
mov ecx, eax
call fcn.00481a10
mov esi, esi
cmp dword [ebp - 0x14], 2
jbe 0x4489eb
push dword [ebp - 0x18]
call fcn.0048b6f0
xchg esi, esi
add esp, 4
mov ecx, edi
call fcn.0043f570
mov dword [esp - 0x38], 0x682046b8
mov ecx, eax
call fcn.0043b960
push eax
mov eax, dword [0x4bade0]
mov dword [esp - 0xc], esp
xor eax, dword [0x4ba958]
call eax
test eax, eax
je 0x448c3c
xchg ecx, ecx
mov eax, dword [0x4badf0]
xor eax, dword [0x4ba958]
call eax
mov dword [esp - 0x1c], 0x3cbfc56b
mov eax, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
push eax
mov ebp, ebp
mov eax, dword [0x4babc0]
xor eax, dword [0x4ba958]
nop
sub esp, 4
xchg esp, esp
mov dword [esp], 0x6843fc7c
sub dword [esp], 0x52ab4fbe
add dword [esp], 0x54f3e9d6
sub dword [esp], 0x16252211
mov ecx, ecx
xor dword [esp], 0x1d1710f4
add dword [esp], 0xacdeab6
sub dword [esp], 0x543e4f2b
mov edx, edx
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x448c2f
xchg edi, edi
mov ecx, dword [0x4babc8]
xor ecx, dword [0x4ba958]
push ebx
mov ecx, ecx
push eax
call ecx
mov dword [ebp - 0x10], eax
xchg esi, esi
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov esi, 0x7efde958
sub esi, 0x72ba86eb
xchg ebx, ebx
add esi, 0x142f2b92
xor esi, 0x7d8cd682
sub esi, 0x5dfe5b7b
xchg esp, esp
lea eax, [eax + 1]
mul esi
seto cl
mov esp, esp
neg ecx
or ecx, eax
push ecx
mov esp, esp
call fcn.0048b720
mov dword [ebp - 0xc], eax
lea ebx, [ebp - 0x20]
mov dword [esp - 0x2c], edi
mov eax, dword [ebp - 0x1c]
cmp eax, esi
mov dword [ebp - 4], eax
cmova ebx, dword [ebp - 0x20]
xchg ebx, ebx
xor ecx, ecx
inc eax
mul esi
mov dword [esp - 0x18], 0x12935407
seto cl
neg ecx
or ecx, eax
push ecx
xchg ecx, ecx
call fcn.0048b720
mov esi, eax
add esp, 8
mov eax, dword [ebp - 4]
mov dword [esp - 0x28], 0x687ffe06
xor edi, edi
mov dword [ebp - 8], esi
test eax, eax
mov ecx, ecx
je 0x448b8a
mov edx, esi
sub ebx, esi
mov dword [esp - 0x24], ebp
mov esi, eax
mov ecx, edi
lea edx, [edx + 2]
and ecx, 3
xchg esi, esi
mov eax, 0x3b760721
sub eax, 0x32007e5b
add eax, 0x371072db
mov dword [esp - 0x28], ebx
add eax, 0x340f44c0
xor eax, 0x7eb6421
shl ecx, 3
inc edi
xchg ebx, ebx
sar eax, cl
cbw
xor ax, word [ebx + edx - 2]
mov edx, edx
mov word [edx - 2], ax
cmp edi, esi
jb 0x448b40
mov dword [esp - 0x3c], ebp
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
xor ecx, ecx
mov edi, edi
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x1c]
push esi
xchg ecx, ecx
inc eax
push eax
push ebx
call fcn.0048c0a0
mov ecx, ecx
push esi
call fcn.0048b6f0
mov eax, dword [ebp - 0x1c]
mov dword [esp - 0x44], edx
push ebx
inc eax
push eax
mov ebx, ebx
push dword [ebp - 0x10]
call fcn.0048c0a0
push ebx
mov dword [esp - 0x24], 0x181f53e
call fcn.0048b6f0
mov eax, dword [0x4babd0]
add esp, 0x20
mov esi, dword [ebp - 0x14]
mov ecx, ecx
xor eax, dword [0x4ba958]
push esi
call eax
mov eax, dword [0x4badd8]
mov dword [esp - 0x34], 0x86f2f5c
xor eax, dword [0x4ba958]
push esi
nop
sub esp, 4
mov dword [esp - 0x1c], 0x3df8fefb
mov dword [esp], 0x15e2737e
add dword [esp], 0x48450503
xor dword [esp], 0x773494ba
mov dword [esp - 0x34], edi
add dword [esp], 0x5367b2a6
xor dword [esp], 0x7c7b9eec
call eax
pop ebx
mov esp, esp
mov eax, dword [0x4bade8]
xor eax, dword [0x4ba958]
call eax
cmp dword [ebp - 0x1c], 2
mov dword [esp - 0x30], 0x192bbae
pop edi
pop esi
jbe 0x448c59
push dword [ebp - 0x20]
xchg ecx, ecx
call fcn.0048b6f0
add esp, 4
mov esp, ebp
pop ebp
mov dword [esp - 0x14], edx
ret