Function at 0x450dfd
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xd8
movzx ebx, ax
mov edx, dword [0x8723d0]
cmp dword [edx + ebx*4], 0
je 0x450e26
mov eax, 1
add esp, 0xd8
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x1c
call fcn.00403564
mov edx, dword [0x8723d0]
mov dword [edx + ebx*4], eax
lea eax, [esp + 0x14]
push ebx
push 0x878b40
push eax
call fcn.0046f488
add esp, 0x10
mov byte [esp + 0xc], 1
lea eax, [esp + 0x90]
lea edx, [esp + 0x10]
xor ecx, ecx
call fcn.0040bc29
test eax, eax
jne 0x45111a
mov esi, dword [esp + 0x94]
mov dword [esp + 0xcc], esi
mov eax, dword [0x8723d0]
mov eax, dword [eax + ebx*4]
mov ecx, dword [esi + 8]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0xd4], edx
mov ecx, dword [esi + 0x14]
mov ebp, dword [esi + 0x18]
mov dword [esp + 0xc8], ebp
lea ebp, [esi + 0x20]
mov dword [esp + 0xd0], ebp
lea ebp, [esi + eax]
lea esi, [esi + eax + 0x20]
mov dword [esp + 0xc4], esi
mov edi, dword [0x8723d0]
lea esi, [edx + ebp]
lea edx, [ebp + edx + 0x20]
mov ebp, dword [edi + ebx*4]
mov dword [ebp + 0x14], edx
lea edx, [esi + ecx + 0x20]
mov ebp, dword [edi + ebx*4]
mov dword [ebp + 0x18], edx
test eax, eax
mov edx, dword [esp + 0xd4]
jle 0x450f09
xor ebp, ebp
mov dword [esp + 0xc0], ebx
mov esi, dword [esp + 0xd0]
inc esi
mov edi, ebp
and edi, 3
movzx ebx, byte [edi + 0x871ff8]
xor byte [esi - 1], bl
inc ebp
cmp ebp, eax
jl 0x450eed
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
test edx, edx
jle 0x450f2b
xor ebp, ebp
inc esi
mov edi, ebp
and edi, 3
movzx eax, byte [edi + 0x871ff8]
xor byte [esi - 1], al
inc ebp
cmp ebp, edx
jl 0x450f16
mov ebp, dword [0x8723d0]
mov esi, dword [ebp + ebx*4]
mov eax, dword [esi + 0x14]
test ecx, ecx
jle 0x450f5d
xor ebp, ebp
inc eax
mov esi, ebp
and esi, 3
movzx edx, byte [esi + 0x871ff8]
xor byte [eax - 1], dl
inc ebp
cmp ebp, ecx
jl 0x450f3e
mov ebp, dword [0x8723d0]
mov esi, dword [ebp + ebx*4]
mov eax, dword [esi + 0x18]
mov edx, dword [esp + 0xc8]
test edx, edx
jle 0x450f8e
xor ecx, ecx
mov esi, edx
inc eax
mov ebp, ecx
and ebp, 3
movzx edx, byte [ebp + 0x871ff8]
xor byte [eax - 1], dl
inc ecx
cmp ecx, esi
jl 0x450f6f
mov ebp, dword [0x8723d0]
mov esi, dword [ebp + ebx*4]
mov eax, dword [esi]
add eax, eax
add eax, eax
push eax
call fcn.0046ed7c
pop ecx
mov edx, dword [ebp + ebx*4]
mov dword [edx + 0x10], eax
mov edi, dword [ebp + ebx*4]
cmp dword [edi], 0
jle 0x450fe1
xor edx, edx
mov ecx, dword [esp + 0xc4]
mov esi, dword [esp + 0xcc]
movzx eax, byte [esi + edx*4 + 0x21]
mov ebp, dword [edi + 0x10]
mov dword [ebp + edx*4], ecx
add eax, eax
add eax, eax
lea edi, [eax + eax]
add edi, eax
add ecx, edi
mov ebp, dword [0x8723d0]
mov edi, dword [ebp + ebx*4]
inc edx
cmp edx, dword [edi]
jl 0x450fbb
push 8
call fcn.0046ed7c
mov edx, dword [ebp + ebx*4]
mov dword [edx + 4], eax
mov eax, dword [ebp + ebx*4]
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.0046ed7c
mov ebp, dword [ebp + ebx*4]
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov ebp, dword [0x8723d0]
mov eax, dword [ebp + ebx*4]
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.0046ed7c
mov ebp, dword [ebp + ebx*4]
mov edx, dword [ebp + 4]
mov dword [edx + 4], eax
mov ebp, dword [0x8723d0]
mov eax, dword [ebp + ebx*4]
mov ecx, dword [eax]
add ecx, ecx
push ecx
call fcn.0046ed7c
mov edx, dword [ebp + ebx*4]
mov dword [edx + 8], eax
mov eax, dword [ebp + ebx*4]
push dword [eax]
call fcn.0046ed7c
mov edx, dword [ebp + ebx*4]
mov dword [edx + 0xc], eax
push 0
call fcn.0046a1a8
add esp, 0x18
mov eax, dword [0x8723d0]
mov ebp, dword [eax + ebx*4]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp]
test eax, eax
jle 0x451127
xor esi, esi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xc4], edx
jmp 0x451090
mov edx, dword [0x8723d0]
mov ebp, dword [edx + ebx*4]
lea ecx, [esi + esi]
mov dword [esp + 0xd4], ecx
mov edi, dword [esp + 0xcc]
movzx ecx, byte [edi + esi*4 + 0x20]
movzx eax, byte [edi + esi*4 + 0x21]
movzx edx, word [edi + esi*4 + 0x22]
mov ebp, dword [ebp + 4]
mov ebp, dword [ebp]
mov dword [ebp + esi*4], 0x45c4ec
mov ebp, dword [0x8723d0]
mov ebp, dword [ebp + ebx*4]
mov ebp, dword [ebp + 4]
mov edi, dword [ebp + 4]
mov ebp, dword [ecx*4 + 0x78afe0]
mov dword [edi + esi*4], ebp
mov ebp, dword [0x8723d0]
mov ebp, dword [ebp + ebx*4]
mov ebp, dword [ebp + 0xc]
mov byte [esi + ebp], al
mov ebp, dword [0x8723d0]
mov ebp, dword [ebp + ebx*4]
mov ebp, dword [ebp + 8]
mov word [ebp + esi*2], dx
cmp ecx, 0x2a
je 0x4511d8
cmp ecx, 0x2b
je 0x45113b
inc esi
mov edx, dword [esp + 0xd0]
cmp esi, edx
jl 0x451087
jmp 0x451127
xor eax, eax
add esp, 0xd8
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
call fcn.0046a1a8
pop ecx
mov eax, ebx
call fcn.00451348
jmp 0x450e16
mov edx, dword [0x8723d0]
mov ecx, dword [edx + ebx*4]
mov ebp, dword [ecx + 0x10]
mov edi, dword [esp + 0xd4]
mov edi, dword [ebp + edi*2]
test eax, eax
jle 0x451108
add eax, eax
add eax, eax
lea ebp, [eax + eax]
add ebp, eax
add ebp, edi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc0], ebx
mov ebx, dword [esp + 0xc4]
movzx eax, byte [edi]
test eax, eax
jne 0x4511be
xor eax, eax
mov word [edi + 2], ax
mov edx, dword [edi + 8]
mov byte [0x872698], al
add edx, ebx
push dword [edi + 4]
push edx
push 0x5c8860
call dword [0x872628]
add esp, 0xc
mov edx, eax
movsx ecx, byte [0x872698]
test ecx, ecx
jne 0x4511be
mov eax, 0x5c8860
call fcn.0045124c
test eax, eax
jl 0x4511be
mov word [edi + 2], ax
add edi, 0xc
cmp edi, ebp
jb 0x451176
mov esi, dword [esp + 0xc8]
mov ebx, dword [esp + 0xc0]
jmp 0x451108
mov ebp, dword [0x8723d0]
mov edx, dword [ebp + ebx*4]
mov ecx, dword [edx + 0x10]
mov edi, dword [esp + 0xd4]
mov ebp, dword [ecx + edi*2]
mov edx, dword [ebp + 8]
mov byte [0x872698], 0
add edx, dword [esp + 0xc4]
push dword [ebp + 4]
push edx
push 0x5c8c60
call dword [0x872628]
add esp, 0xc
mov edx, eax
movsx ecx, byte [0x872698]
test ecx, ecx
jne 0x451108
mov eax, 0x5c8c60
call fcn.0045124c
test eax, eax
jl 0x451108
add eax, 0x10000000
mov dword [ebp + 4], eax
jmp 0x451108