Function at 0x450dc5
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xd4
movzx ebp, ax
mov edx, dword [0x835b68]
cmp dword [edx + ebp*4], 0
je 0x450dee
mov eax, 1
add esp, 0xd4
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x1c
call fcn.00403564
mov edx, dword [0x835b68]
mov dword [edx + ebp*4], eax
lea eax, [esp + 0xc]
push ebp
push 0x83bab0
push eax
call fcn.00471158
add esp, 0x10
xor eax, eax
mov byte [esp + 0x90], al
mov byte [esp + 0x91], al
movsx edx, byte [0x8359e8]
test edx, edx
jne 0x450e3e
movsx eax, byte [0x835a2c]
test eax, eax
jne 0x450e3e
mov eax, 1
jmp 0x450e40
xor eax, eax
neg eax
inc eax
cmp edx, 1
je 0x4513a0
xor edx, edx
neg edx
inc edx
imul eax, edx
movsx eax, al
cmp byte [0x8359f0], 1
je 0x450e64
test eax, eax
jne 0x450e86
mov byte [esp + 0xd0], 3
mov byte [esp + 0xd1], 1
mov byte [esp + 0xd2], 2
mov byte [esp + 0xd3], 3
jmp 0x450ea6
mov byte [esp + 0xd0], 3
mov byte [esp + 0xd1], 1
mov byte [esp + 0xd2], 3
mov byte [esp + 0xd3], 2
xor ebx, ebx
jmp 0x450eab
inc ebx
movsx edx, bl
cmp edx, 4
jge 0x451399
movsx edx, byte [esp + edx + 0xd0]
test edx, edx
je 0x45137c
cmp edx, 1
je 0x450f02
cmp edx, 2
jne 0x450ee7
lea eax, [esp + 0x88]
lea edx, [esp + 8]
call fcn.00440624
test eax, eax
jne 0x450f16
jmp 0x450eaa
cmp edx, 3
jne 0x450eaa
lea eax, [esp + 8]
call fcn.00440600
movsx eax, al
test eax, eax
jne 0x45136f
jmp 0x450eaa
lea eax, [esp + 0x88]
lea edx, [esp + 8]
call fcn.00440914
test eax, eax
je 0x450eaa
test eax, eax
jle 0x4511f5
movsx eax, byte [esp + 0x90]
cmp eax, 1
je 0x45135a
cmp eax, 2
je 0x451345
cmp eax, 3
je 0x451330
cmp eax, 4
je 0x45131b
mov eax, 0xfffffffe
movsx eax, al
test eax, eax
jne 0x4511f5
mov esi, dword [esp + 0x8c]
mov dword [esp + 0xc4], esi
mov eax, dword [0x835b68]
mov eax, dword [eax + ebp*4]
mov ecx, dword [esi + 8]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0xcc], edx
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0x18]
mov dword [esp + 0xc0], ebx
lea ebx, [esi + 0x20]
mov dword [esp + 0xc8], ebx
lea ebx, [esi + eax]
lea esi, [esi + eax + 0x20]
mov dword [esp + 0xbc], esi
mov edi, dword [0x835b68]
lea esi, [edx + ebx]
lea edx, [ebx + edx + 0x20]
mov ebx, dword [edi + ebp*4]
mov dword [ebx + 0x14], edx
lea edx, [esi + ecx + 0x20]
mov ebx, dword [edi + ebp*4]
mov dword [ebx + 0x18], edx
test eax, eax
mov edx, dword [esp + 0xcc]
jle 0x450ffb
xor esi, esi
mov dword [esp + 0xb8], ebp
mov ebp, dword [esp + 0xc8]
inc ebp
mov edi, esi
and edi, 3
movzx ebx, byte [edi + 0x835774]
xor byte [ebp - 1], bl
inc esi
cmp esi, eax
jl 0x450fdf
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
test edx, edx
jle 0x45101d
xor ebx, ebx
inc esi
mov edi, ebx
and edi, 3
movzx eax, byte [edi + 0x835774]
xor byte [esi - 1], al
inc ebx
cmp ebx, edx
jl 0x451008
mov ebx, dword [0x835b68]
mov esi, dword [ebx + ebp*4]
mov eax, dword [esi + 0x14]
test ecx, ecx
jle 0x45104d
xor ebx, ebx
inc eax
mov esi, ebx
and esi, 3
movzx edx, byte [esi + 0x835774]
xor byte [eax - 1], dl
inc ebx
cmp ebx, ecx
jl 0x45102f
mov ebx, dword [0x835b68]
mov esi, dword [ebx + ebp*4]
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0xc0]
test edx, edx
jle 0x45107d
xor ecx, ecx
mov esi, edx
inc eax
mov ebx, ecx
and ebx, 3
movzx edx, byte [ebx + 0x835774]
xor byte [eax - 1], dl
inc ecx
cmp ecx, esi
jl 0x45105f
mov ebx, dword [0x835b68]
mov esi, dword [ebx + ebp*4]
mov eax, dword [esi]
add eax, eax
add eax, eax
push eax
call fcn.004704cc
pop ecx
mov edx, dword [ebx + ebp*4]
mov dword [edx + 0x10], eax
mov edi, dword [ebx + ebp*4]
cmp dword [edi], 0
jle 0x4510cc
xor edx, edx
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0xc4]
movzx eax, byte [esi + edx*4 + 0x21]
mov ebx, dword [edi + 0x10]
mov dword [ebx + edx*4], ecx
add eax, eax
add eax, eax
lea edi, [eax + eax]
add edi, eax
add ecx, edi
mov ebx, dword [0x835b68]
mov edi, dword [ebx + ebp*4]
inc edx
cmp edx, dword [edi]
jl 0x4510a8
push 8
call fcn.004704cc
mov edx, dword [ebx + ebp*4]
mov dword [edx + 4], eax
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004704cc
mov ebx, dword [ebx + ebp*4]
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov ebx, dword [0x835b68]
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.004704cc
mov ebx, dword [ebx + ebp*4]
mov edx, dword [ebx + 4]
mov dword [edx + 4], eax
mov ebx, dword [0x835b68]
mov eax, dword [ebx + ebp*4]
mov ecx, dword [eax]
add ecx, ecx
push ecx
call fcn.004704cc
mov edx, dword [ebx + ebp*4]
mov dword [edx + 8], eax
mov eax, dword [ebx + ebp*4]
push dword [eax]
call fcn.004704cc
mov edx, dword [ebx + ebp*4]
mov dword [edx + 0xc], eax
push 0
call fcn.0046b74c
add esp, 0x18
mov eax, dword [0x835b68]
mov ebx, dword [eax + ebp*4]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx]
test eax, eax
jle 0x451202
xor esi, esi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xbc], edx
jmp 0x451171
mov edx, dword [0x835b68]
mov ebx, dword [edx + ebp*4]
lea ecx, [esi + esi]
mov dword [esp + 0xcc], ecx
mov edi, dword [esp + 0xc4]
movzx ecx, byte [edi + esi*4 + 0x20]
movzx eax, byte [edi + esi*4 + 0x21]
movzx edx, word [edi + esi*4 + 0x22]
mov ebx, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [ebx + esi*4], 0x45c344
mov ebx, dword [0x835b68]
mov ebx, dword [ebx + ebp*4]
mov ebx, dword [ebx + 4]
mov edi, dword [ebx + 4]
mov ebx, dword [ecx*4 + 0x794a80]
mov dword [edi + esi*4], ebx
mov ebx, dword [0x835b68]
mov ebx, dword [ebx + ebp*4]
mov ebx, dword [ebx + 0xc]
mov byte [esi + ebx], al
mov ebx, dword [0x835b68]
mov ebx, dword [ebx + ebp*4]
mov ebx, dword [ebx + 8]
mov word [ebx + esi*2], dx
cmp ecx, 0x2a
je 0x4512b2
cmp ecx, 0x2b
je 0x451216
inc esi
mov edx, dword [esp + 0xc8]
cmp esi, edx
jl 0x451168
jmp 0x451202
xor eax, eax
add esp, 0xd4
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
call fcn.0046b74c
pop ecx
mov eax, ebp
call fcn.004514c0
jmp 0x450dde
mov edx, dword [0x835b68]
mov ecx, dword [edx + ebp*4]
mov ebx, dword [ecx + 0x10]
mov edi, dword [esp + 0xcc]
mov edi, dword [ebx + edi*2]
test eax, eax
jle 0x4511e3
add eax, eax
add eax, eax
lea ebx, [eax + eax]
add ebx, eax
add ebx, edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xb8], ebp
mov ebp, dword [esp + 0xbc]
movzx eax, byte [edi]
test eax, eax
jne 0x451298
xor eax, eax
mov word [edi + 2], ax
mov edx, dword [edi + 8]
mov byte [0x835e14], al
add edx, ebp
push dword [edi + 4]
push edx
push 0x5c9e60
call dword [0x835da4]
add esp, 0xc
mov edx, eax
movsx ecx, byte [0x835e14]
test ecx, ecx
jne 0x451298
mov eax, 0x5c9e60
call fcn.004513c4
test eax, eax
jl 0x451298
mov word [edi + 2], ax
add edi, 0xc
cmp edi, ebx
jb 0x451250
mov esi, dword [esp + 0xc0]
mov ebp, dword [esp + 0xb8]
jmp 0x4511e3
mov ebx, dword [0x835b68]
mov edx, dword [ebx + ebp*4]
mov ecx, dword [edx + 0x10]
mov edi, dword [esp + 0xcc]
mov ebx, dword [ecx + edi*2]
mov edx, dword [ebx + 8]
mov byte [0x835e14], 0
add edx, dword [esp + 0xbc]
push dword [ebx + 4]
push edx
push 0x5ca260
call dword [0x835da4]
add esp, 0xc
mov edx, eax
movsx ecx, byte [0x835e14]
test ecx, ecx
jne 0x4511e3
mov eax, 0x5ca260
call fcn.004513c4
test eax, eax
jl 0x4511e3
add eax, 0x10000000
mov dword [ebx + 4], eax
jmp 0x4511e3
lea eax, [esp + 0x88]
lea edx, [esp + 8]
call fcn.0040bbd8
jmp 0x450f4f
lea eax, [esp + 0x88]
lea edx, [esp + 8]
call fcn.0040bc58
jmp 0x450f4f
lea eax, [esp + 0x88]
lea edx, [esp + 8]
call fcn.0040bcd0
jmp 0x450f4f
lea eax, [esp + 0x88]
lea edx, [esp + 8]
call fcn.0040c62c
jmp 0x450f4f
mov byte [esp + 0x90], 1
jmp 0x450f16
lea eax, [esp + 0x88]
lea edx, [esp + 8]
call fcn.0044096c
test eax, eax
jne 0x450f16
jmp 0x450eaa
xor eax, eax
jmp 0x450f16
movsx edx, byte [0x835a30]
test edx, edx
jne 0x450e4c
mov edx, 1
jmp 0x450e4e