Function at 0x449e55
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x430
mov eax, dword [0x522d80]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x5e4], ebx
je 0x44a191
push ebp
push edi
push 0x400
lea edi, [esi + 0x5f0]
push ebx
push edi
call fcn.00496bf0
add esp, 0xc
lea ebp, [esi + 0x1e0]
push ebp
mov ecx, edi
mov dword [edi + 0x400], ebx
mov dword [edi + 0x404], ebx
mov dword [edi + 0x408], ebx
call fcn.0040d0d0
push 0x400
push ebx
push ebp
call fcn.00496bf0
add esp, 0xc
mov dword [ebp + 0x400], ebx
mov dword [ebp + 0x404], ebx
mov dword [ebp + 0x408], ebx
cmp byte [edi], 0x53
jne 0x449f70
jmp 0x449ed0
mov edx, dword [0x4d4224]
mov ecx, dword [0x4d4220]
mov bl, byte [esi + 0x9f8]
xor eax, eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov byte [esp + 0x21], al
mov eax, dword [0x4d421c]
mov dword [esp + 0x24], eax
mov eax, dword [0x4d4228]
push 0x3ff
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x4d422c]
mov dword [esp + 0x30], edx
mov dl, byte [0x4d4230]
lea eax, [esp + 0x41]
push 0
push eax
mov byte [esp + 0x1f], bl
mov byte [esp + 0x24], 0
mov dword [esp + 0x40], ecx
mov byte [esp + 0x44], dl
mov byte [esp + 0x48], 0
call fcn.00496bf0
mov edi, 1
add esp, 0xc
cmp dword [esi + 0x9f4], edi
jle 0x449f6e
movsx eax, bl
movzx ecx, byte [esi + edi + 0x5f0]
xor ecx, eax
cmp ecx, 0x6e
je 0x44a005
add edi, 2
cmp edi, dword [esi + 0x9f4]
jl 0x449f50
xor ebx, ebx
mov eax, dword [esi + 0x4900]
mov ebp, dword [esi + 0x5ec]
lea edi, [esi + 0xb10]
mov dword [esi + 0x9fc], ebx
mov dword [esi + 0x120], ebx
mov dword [edi], eax
mov ecx, dword [esi + 0x8abc]
sub ecx, dword [esi + 0x8ab8]
sar ecx, 2
cmp ebp, ecx
jb 0x449fa8
call fcn.00497123
mov edx, dword [esi + 0x8ab8]
mov ebp, dword [edx + ebp*4]
cmp dword [esi + 0x8ac4], ebx
je 0x44a13a
push edi
mov ecx, ebp
call fcn.00442950
cmp byte [eax], 1
je 0x44a130
cmp dword [esi + 0x8ac8], ebx
jne 0x44a130
cmp dword [esi + 0x9f44], 1
je 0x44a130
cmp dword [esi + 0x8adc], ebx
jne 0x44a13a
mov ecx, esi
mov dword [esi + 0x7e44], ebx
call fcn.00444dd0
jmp 0x44a13a
mov dl, byte [esi + edi + 0x5f1]
lea eax, [esp + 0x12]
xor dl, bl
push eax
mov byte [esp + 0x16], dl
call fcn.00498372
add esp, 4
cmp eax, 0xffffffff
je 0x449f6e
mov edx, dword [esi + eax*4 + 0xa408]
push 0xa
push 0xa
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.0049a34e
lea eax, [esp + 0x28]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a048
sub eax, edx
mov ecx, eax
lea ebp, [edi - 1]
xor eax, eax
test ebp, ebp
jle 0x44a072
lea esp, [esp]
mov dl, byte [esi + eax + 0x5f1]
xor dl, bl
mov byte [esp + eax + 0x3c], dl
inc eax
cmp eax, ebp
jl 0x44a060
lea ebp, [ecx + ecx]
lea edx, [edi + ebp]
cmp eax, edx
mov dword [esp + 0x14], ebp
jge 0x44a0ab
lea ebp, [esp + 0x18]
movzx ecx, byte [ebp]
mov bl, byte [esp + ecx*2 - 0x3c]
sub ecx, 0x30
mov cl, byte [esp + ecx*2 + 0x25]
mov byte [esp + eax + 0x3c], bl
mov byte [esp + eax + 0x3d], cl
add eax, 2
inc ebp
cmp eax, edx
jl 0x44a084
mov bl, byte [esp + 0x13]
mov ebp, dword [esp + 0x14]
mov edx, dword [esi + 0x9f4]
sub edx, 2
sub eax, 2
cmp edi, edx
jge 0x44a0e1
mov ecx, dword [esi + 0x9f4]
add ecx, 0xfffffffe
lea eax, [esp + eax + 0x3c]
jmp 0x44a0d0
mov dl, byte [esi + edi + 0x5f2]
xor dl, bl
mov byte [eax], dl
inc edi
inc eax
cmp edi, ecx
jl 0x44a0d0
sub ebp, 2
add dword [esi + 0x9f4], ebp
mov edx, dword [esi + 0x9f4]
add dword [esi + 0x9f8], ebp
mov cl, byte [esi + 0x9f8]
add edx, 0xfffffffe
xor eax, eax
test edx, edx
jle 0x449ed0
lea esp, [esp]
mov dl, byte [esp + eax + 0x3c]
xor dl, cl
mov byte [esi + eax + 0x5f1], dl
mov edx, dword [esi + 0x9f4]
inc eax
sub edx, 2
cmp eax, edx
jl 0x44a110
jmp 0x449ed0
mov dword [esi + 0x7e44], 1
push edi
mov ecx, ebp
call fcn.00442950
movsx eax, byte [eax]
mov dword [esi + 0x8ad0], eax
mov eax, 1
cmp dword [esi + 0x8dc8], eax
je 0x44a168
push edi
mov ecx, ebp
call fcn.00442950
movsx ebx, byte [eax]
mov eax, 1
mov dword [esi + 0x9f7c], ebx
cmp dword [esi + 0x9f44], eax
jne 0x44a17c
mov dword [esi + 0x8ad0], eax
cmp dword [esi + 0x8dc8], eax
push edi
mov ecx, ebp
setne bl
call fcn.00442950
pop edi
mov byte [eax], bl
pop ebp
mov ecx, dword [esp + 0x434]
pop esi
pop ebx
xor ecx, esp
call fcn.00497565
add esp, 0x430
ret