Function at 0x4208b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2094
call fcn.0045a570
mov eax, dword [0x48f4c8]
xor eax, esp
mov dword [esp + 0x2090], eax
mov eax, dword [str.EAGLS_SYSTEM]
mov ecx, dword [0x47e7a0]
mov edx, dword [0x47e7a4]
push ebx
mov ebx, dword [esp + 0x20a0]
push ebp
mov ebp, dword [esp + 0x20a0]
push esi
push edi
push 0x73
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov al, byte [0x47e7a8]
lea ecx, [esp + 0x31]
push 0
push ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], al
call fcn.0045a5c0
lea eax, [esp + 0x2c]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420920
sub eax, edx
push 0x801600
mov dword [esp + 0x18], eax
call fcn.00401040
add esp, 4
lea edx, [esp + 0xa0]
push edx
push 0xff
call dword [0x47d200]
lea eax, [esp + 0xa0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420960
sub eax, edx
cmp byte [esp + eax + 0x9f], 0x5c
je 0x420993
lea edi, [esp + 0xa0]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x420980
mov ax, word [0x47d3fc]
mov word [edi], ax
lea eax, [esp + 0xa0]
add eax, 0xffffffff
lea ecx, [ecx]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4209a0
mov ecx, dword [str.Script_]
mov edx, dword [0x47ef6c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, ebp
mov esi, ebp
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4209c0
lea edi, [esp + 0xa0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4209d5
mov ecx, eax
shr ecx, 2
push 0
rep movsd dword es:[edi], dword [esi]
push 0x8000080
push 3
push 0
push 0
mov ecx, eax
push 0x80000000
lea eax, [esp + 0xb8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [0x47d1f4]
mov esi, eax
cmp esi, 0xffffffff
je 0x420a98
mov ebp, dword [esp + 0x20b0]
mov edi, dword [0x47d1c4]
mov edx, ebp
imul edx, edx, 0xe10
push 0
lea ecx, [esp + 0x14]
push ecx
push 0xe10
add edx, 0x1065520
push edx
push esi
call edi
push 0
lea eax, [esp + 0x14]
push eax
push 0x7a120
push ebx
push esi
call edi
push esi
call dword [0x47d1f8]
mov ecx, dword [esp + 0x10]
movsx edx, byte [ebx + ecx - 1]
push edx
call fcn.0045a63a
xor esi, esi
add esp, 4
cmp dword [esp + 0x10], esi
jle 0x420b39
call fcn.0045a647
cdq
idiv dword [esp + 0x14]
add esi, 2
mov al, byte [esp + edx + 0x20]
xor byte [ebx + esi - 2], al
cmp esi, dword [esp + 0x10]
jl 0x420a78
jmp 0x420b39
lea ecx, [esp + 0x1c]
push ecx
push 0x9cd188
push ebp
mov eax, 0x63a98
call fcn.0045a570
mov ecx, 0x18ea6
mov esi, 0x801618
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0041e0a0
mov edi, eax
and eax, edx
add esp, 0x63aa4
cmp eax, 0xffffffff
je 0x420b7f
mov ebp, dword [esp + 0x20b0]
mov ecx, ebp
imul ecx, ecx, 0xe10
push 0xe10
add ecx, 0x1065520
push 0x9cd188
push ecx
call fcn.004014b0
add edi, 0xfffff1f0
push edi
push 0x9cdf98
push ebx
call fcn.004014b0
movsx edx, byte [ebx + edi - 1]
push edx
call fcn.0045a63a
add esp, 0x1c
xor esi, esi
test edi, edi
jle 0x420b39
mov edi, edi
call fcn.0045a647
cdq
idiv dword [esp + 0x14]
add esi, 2
mov al, byte [esp + edx + 0x20]
xor byte [ebx + esi - 2], al
cmp esi, edi
jl 0x420b20
push 0x801600
call fcn.00401060
add esp, 4
cmp dword [0x1069b74], 1
jne 0x420b78
mov ecx, dword [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x10a8]
push str._nThreadNo__02d_tScriptFile__s_n_n
push edx
call fcn.0045a6e7
lea eax, [esp + 0x10b0]
push eax
push ebp
call fcn.00408ba0
add esp, 0x18
mov eax, 1
jmp 0x420bb0
push 0x801600
call fcn.00401060
mov ecx, dword [esp + 0x20b4]
push ebp
push ecx
push 0x47f618
push 0x6a8fd8
call fcn.0045a6e7
push 0x6a8fd8
call fcn.00408cb0
add esp, 0x18
xor eax, eax
mov ecx, dword [esp + 0x20a0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045a554
add esp, 0x2094
ret