Function at 0x2000e500
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xfe8
mov eax, dword [0x20026464]
xor eax, esp
mov dword [esp + 0xfe4], eax
mov ecx, dword [esp + 0xff4]
mov eax, dword [esp + 0xff0]
mov edx, dword [esp + 0xff8]
push ebx
push ebp
push esi
push edi
push 0x7ff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1010]
lea ecx, [esp + 0x7f9]
push 0
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x800], 0
call fcn.200132c0
mov esi, dword [esp + 0x101c]
mov ebp, dword [esp + 0x1008]
add esp, 0xc
test esi, esi
je 0x2000e58c
push ebp
call sym.SDTAPI.DLL_SDT_OpenPort
cmp eax, 0x90
je 0x2000e58c
mov eax, 1
jmp 0x2000efd2
mov ecx, dword [0x2002b328]
mov eax, dword [0x20026208]
cmp ecx, eax
je 0x2000e5a3
cmp ebp, eax
jne 0x2000ebac
cmp dword [0x200298e8], 0xffffffff
je 0x2000ebac
mov edx, dword [str.FF983001010000]
mov eax, dword [0x20020760]
mov ecx, dword [0x20020764]
push 0x3d9
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
mov dx, word [0x20020768]
mov dword [esp + 0x2c], eax
mov al, byte [0x2002076a]
lea ecx, [esp + 0x37]
push 0
push ecx
mov word [esp + 0x3c], dx
mov byte [esp + 0x3e], al
call fcn.200132c0
lea eax, [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x10], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2000e605
sub eax, edx
shr eax, 1
mov ebp, eax
push ebp
call fcn.200137a6
mov esi, eax
lea eax, [esp + 0x28]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2000e624
sub eax, edx
push eax
lea edx, [esp + 0x28]
push esi
push edx
call fcn.200028c0
mov ebx, 0x100
push ebx
lea eax, [esp + 0x41c]
push 0
push eax
mov dword [esp + 0x28], ebx
call fcn.200132c0
mov eax, dword [0x200298e8]
add esp, 0x18
lea ecx, [esp + 0x40c]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push ebp
push eax
call fcn.20002870
push esi
call fcn.200136c9
add esp, 4
cmp dword [esp + 0x10], 0xfa
jae 0x2000e68c
mov eax, 6
jmp 0x2000efd2
mov ecx, 0x3e
lea esi, [esp + 0x40c]
lea edi, [esp + 0x7f4]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x410]
push 0
push ecx
movsw word es:[edi], word [esi]
call fcn.200132c0
push ebp
call fcn.200137a6
mov edx, dword [str.FF983001010100]
mov ecx, dword [0x20020754]
mov esi, eax
mov eax, dword [0x20020750]
mov dword [esp + 0x38], eax
mov al, byte [0x2002075a]
mov dword [esp + 0x34], edx
mov dx, word [0x20020758]
mov byte [esp + 0x42], al
lea eax, [esp + 0x34]
mov word [esp + 0x40], dx
add esp, 0x10
mov dword [esp + 0x2c], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2000e6f7
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.200028c0
push ebx
lea edx, [esp + 0x41c]
push 0
push edx
mov dword [esp + 0x28], ebx
call fcn.200132c0
mov edx, dword [0x200298e8]
add esp, 0x18
lea eax, [esp + 0x40c]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push ebp
push edx
call fcn.20002870
push esi
call fcn.200136c9
add esp, 4
cmp dword [esp + 0x10], 0xfa
je 0x2000e75b
mov eax, 7
jmp 0x2000efd2
mov ecx, 0x3e
lea esi, [esp + 0x40c]
lea edi, [esp + 0x8ee]
rep movsd dword es:[edi], dword [esi]
push ebx
lea eax, [esp + 0x410]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.200132c0
push ebp
call fcn.200137a6
mov edx, dword [0x20020740]
mov ecx, dword [str.FF983001010200]
mov esi, eax
mov eax, dword [0x20020744]
mov dword [esp + 0x38], edx
mov dl, byte [0x2002074a]
mov dword [esp + 0x34], ecx
mov cx, word [0x20020748]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
mov byte [esp + 0x42], dl
add esp, 0x10
mov word [esp + 0x30], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2000e7c7
sub eax, edx
push eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.200028c0
push ebx
lea ecx, [esp + 0x41c]
push 0
push ecx
mov dword [esp + 0x28], ebx
call fcn.200132c0
mov ecx, dword [0x200298e8]
add esp, 0x18
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push ecx
call fcn.20002870
push esi
call fcn.200136c9
add esp, 4
cmp dword [esp + 0x10], 0xfa
je 0x2000e82b
mov eax, 8
jmp 0x2000efd2
mov ecx, 0x3e
lea esi, [esp + 0x40c]
lea edi, [esp + 0x9e8]
rep movsd dword es:[edi], dword [esi]
push ebx
lea edx, [esp + 0x410]
push 0
push edx
movsw word es:[edi], word [esi]
call fcn.200132c0
push ebp
call fcn.200137a6
mov ecx, dword [0x20020730]
mov edx, dword [0x20020734]
mov esi, eax
mov eax, dword [str.FF983001010300]
mov dword [esp + 0x34], eax
mov ax, word [0x20020738]
mov dword [esp + 0x38], ecx
mov cl, byte [0x2002073a]
mov word [esp + 0x40], ax
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], edx
add esp, 0x10
mov byte [esp + 0x32], cl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2000e896
sub eax, edx
push eax
lea edx, [esp + 0x28]
push esi
push edx
call fcn.200028c0
push ebx
lea eax, [esp + 0x41c]
push 0
push eax
mov dword [esp + 0x28], ebx
call fcn.200132c0
mov eax, dword [0x200298e8]
add esp, 0x18
lea ecx, [esp + 0x40c]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push ebp
push eax
call fcn.20002870
push esi
call fcn.200136c9
add esp, 4
cmp dword [esp + 0x10], 0xfa
je 0x2000e8f9
mov eax, 9
jmp 0x2000efd2
mov ecx, 0x3e
lea esi, [esp + 0x40c]
lea edi, [esp + 0xae2]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x410]
push 0
push ecx
movsw word es:[edi], word [esi]
call fcn.200132c0
push ebp
call fcn.200137a6
mov edx, dword [str.FF983001010400]
mov ecx, dword [0x20020724]
mov esi, eax
mov eax, dword [0x20020720]
mov dword [esp + 0x38], eax
mov al, byte [0x2002072a]
mov dword [esp + 0x34], edx
mov dx, word [0x20020728]
mov byte [esp + 0x42], al
lea eax, [esp + 0x34]
mov word [esp + 0x40], dx
add esp, 0x10
mov dword [esp + 0x2c], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2000e964
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.200028c0
push ebx
lea edx, [esp + 0x41c]
push 0
push edx
mov dword [esp + 0x28], ebx
call fcn.200132c0
mov edx, dword [0x200298e8]
add esp, 0x18
lea eax, [esp + 0x40c]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push ebp
push edx
call fcn.20002870
push esi
call fcn.200136c9
add esp, 4
cmp dword [esp + 0x10], 0xfa
je 0x2000e9c8
mov eax, 0xa
jmp 0x2000efd2
mov ecx, 0x3e
lea esi, [esp + 0x40c]
lea edi, [esp + 0xbdc]
rep movsd dword es:[edi], dword [esi]
push ebx
lea eax, [esp + 0x410]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.200132c0
push ebp
call fcn.200137a6
mov edx, dword [0x20020710]
mov ecx, dword [str.FF983001010500]
mov esi, eax
mov eax, dword [0x20020714]
mov dword [esp + 0x38], edx
mov dl, byte [0x2002071a]
mov dword [esp + 0x34], ecx
mov cx, word [0x20020718]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
mov byte [esp + 0x42], dl
add esp, 0x10
mov word [esp + 0x30], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x2000ea34
sub eax, edx
push eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.200028c0
push ebx
lea ecx, [esp + 0x41c]
push 0
push ecx
mov dword [esp + 0x28], ebx
call fcn.200132c0
mov ecx, dword [0x200298e8]
add esp, 0x18
lea edx, [esp + 0x40c]
push edx
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push ecx
call fcn.20002870
push esi
call fcn.200136c9
add esp, 4
cmp dword [esp + 0x10], 0x2d
je 0x2000ea95
mov eax, 0xb
jmp 0x2000efd2
mov ecx, 0xb
lea esi, [esp + 0x40c]
lea edi, [esp + 0xcd6]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor cl, cl
mov eax, 5
mov dl, byte [esp + eax + 0x7f9]
xor dl, byte [esp + eax + 0x7f4]
add eax, 6
xor dl, byte [esp + eax + 0x7f2]
xor dl, byte [esp + eax + 0x7ef]
xor dl, byte [esp + eax + 0x7f1]
xor dl, byte [esp + eax + 0x7f0]
xor cl, dl
cmp eax, 0x50e
jle 0x2000eab2
test cl, cl
jne 0x2000ec7a
mov ax, word [esp + 0x7fe]
mov esi, dword [esp + 0x1c]
mov cx, word [esp + 0x800]
mov edi, dword [esp + 0x20]
mov word [esi], ax
mov word [edi], cx
movzx edx, word [esi]
push edx
call fcn.200029e0
movzx eax, ax
mov dword [esi], eax
movzx ecx, word [edi]
push ecx
call fcn.200029e0
movzx edx, ax
add esp, 8
mov dword [edi], edx
cmp dword [esi], ebx
jbe 0x2000eb33
mov dword [esi], ebx
cmp dword [edi], 0x400
jbe 0x2000eb41
mov dword [edi], 0x400
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x806]
push ecx
push edx
call fcn.20013870
mov eax, dword [edi]
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x28]
lea edx, [esp + ecx + 0x812]
push edx
push eax
call fcn.20013870
add esp, 0x18
cmp dword [edi], 0x400
jne 0x2000eb9f
cmp byte [0x2002a10f], 0
jne 0x2000eb9f
push 0x32
push 1
push 1
call sym.SDTAPI.DLL__Routon_BeepLED_12
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
push 1
push 1
call sym.SDTAPI.DLL__Routon_BeepLED_12
movzx eax, byte [esp + 0x7fd]
jmp 0x2000efd2
mov eax, dword [0x20026270]
mov bl, 0x30
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], 1
mov byte [esp + 0x12], 0x32
cmp ebp, eax
je 0x2000ed91
cmp ecx, eax
je 0x2000ed91
cmp ebp, 0x3f8
jg 0x2000ebe1
cmp ebp, 0x3e9
jge 0x2000ebed
lea ecx, [ebp - 1]
cmp ecx, 0xf
ja 0x2000ed7d
mov ecx, dword [0x2002a21c]
push 3
lea edx, [esp + 0x14]
push edx
mov edx, dword [0x2002a220]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x2002a224]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.20002d20
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 3
je 0x2000ec38
test esi, esi
je 0x2000ec2e
push ebp
call sym.SDTAPI.DLL_SDT_ClosePort
mov eax, 2
jmp 0x2000efd2
mov ecx, dword [0x2002a21c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [0x2002a220]
lea eax, [esp + 0x7f8]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x2002a224]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.20002e50
add esp, 0x14
test eax, eax
je 0x2000ec84
test esi, esi
je 0x2000ec7a
push ebp
call sym.SDTAPI.DLL_SDT_ClosePort
mov eax, 3
jmp 0x2000efd2
cmp dword [esp + 0x10], 0xf
jae 0x2000ec9f
test esi, esi
je 0x2000ec95
push ebp
call sym.SDTAPI.DLL_SDT_ClosePort
mov eax, 4
jmp 0x2000efd2
mov esi, dword [esp + 0x1c]
mov dx, word [esp + 0x7f7]
mov ax, word [esp + 0x7f9]
mov edi, dword [esp + 0x20]
mov word [esi], dx
mov word [edi], ax
movzx ecx, word [esi]
push ecx
call fcn.200029e0
movzx edx, ax
mov dword [esi], edx
movzx eax, word [edi]
push eax
call fcn.200029e0
movzx ecx, ax
add esp, 8
mov dword [edi], ecx
cmp dword [esi], 0x100
jbe 0x2000ecea
mov dword [esi], 0x100
cmp dword [edi], 0x400
jbe 0x2000ecf8
mov dword [edi], 0x400
mov edx, dword [esi]
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x7ff]
push eax
push ecx
call fcn.20013870
mov edx, dword [edi]
mov eax, dword [esi]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + eax + 0x80b]
push ecx
push edx
call fcn.20013870
add esp, 0x18
cmp dword [edi], 0x400
jne 0x2000ed60
cmp byte [0x2002a10f], 0
jne 0x2000ed60
cmp ebp, 0x10
jg 0x2000ed42
cmp ebp, 1
jge 0x2000ed60
push 0x32
push 1
push 1
call sym.SDTAPI.DLL__Routon_BeepLED_12
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
push 1
push 1
call sym.SDTAPI.DLL__Routon_BeepLED_12
cmp dword [esp + 0x1010], 0
je 0x2000ed70
push ebp
call sym.SDTAPI.DLL_SDT_ClosePort
movzx eax, byte [esp + 0x7f6]
jmp 0x2000efd2
test esi, esi
je 0x2000ed87
push ebp
call sym.SDTAPI.DLL_SDT_ClosePort
mov eax, 5
jmp 0x2000efd2
push 0x100
push 0
push 0x20027658
call fcn.200132c0
add esp, 0xc
mov byte [0x20027658], 0
mov byte [0x20027659], 0xaa
mov byte [0x2002765a], 0xaa
mov byte [0x2002765b], 0xaa
mov byte [0x2002765c], 0x96
mov byte [0x2002765d], 0x69
mov byte [0x2002765e], 0
mov byte [0x2002765f], 3
mov byte [0x20027660], bl
mov byte [0x20027661], 1
mov byte [0x20027662], 0x32
mov dword [esp + 0x10], 0
lea esp, [esp]
push 0x1000
push 0
push 0x20028760
call fcn.200132c0
call fcn.20003970
push 0x1000
push 0
push 0x20027760
call fcn.200132c0
add esp, 0x18
xor bl, bl
mov esi, 1
cmp esi, 0x15
je 0x2000ec7a
call fcn.20003a10
cmp byte [0x20028761], 0xaa
jne 0x2000ee6e
cmp byte [0x20028762], 0xaa
jne 0x2000ee6e
cmp byte [0x20028763], 0xaa
jne 0x2000ee6e
cmp byte [0x20028764], 0x96
jne 0x2000ee6e
cmp byte [0x20028765], 0x69
jne 0x2000ee6e
mov bl, 1
inc esi
test bl, bl
je 0x2000ee31
mov ecx, 0x10
mov esi, 0x20028761
mov edi, 0x20027760
rep movsd dword es:[edi], dword [esi]
mov ebp, 0x200277a0
mov ebx, 0x14
mov edi, edi
call fcn.20003a10
mov edi, ebp
mov ecx, 0x10
mov esi, 0x20028761
add ebp, 0x40
sub ebx, 1
rep movsd dword es:[edi], dword [esi]
jne 0x2000ee90
xor cl, cl
mov eax, 5
jmp 0x2000eec0
mov dl, byte [eax + 0x20027760]
xor dl, byte [eax + 0x20027761]
add eax, 6
xor dl, byte [eax + 0x2002775c]
xor dl, byte [eax + 0x2002775d]
xor dl, byte [eax + 0x2002775f]
xor dl, byte [eax + 0x2002775e]
xor cl, dl
cmp eax, 0x50e
jle 0x2000eec0
test cl, cl
je 0x2000ef10
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 3
mov dword [esp + 0x10], eax
jl 0x2000ee00
mov eax, 3
jmp 0x2000efd2
mov ax, word [0x2002776a]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov word [edi], ax
mov cx, word [0x2002776c]
mov word [esi], cx
movzx edx, word [edi]
push edx
call fcn.200029e0
movzx eax, ax
mov dword [edi], eax
movzx ecx, word [esi]
push ecx
call fcn.200029e0
movzx edx, ax
add esp, 8
mov dword [esi], edx
cmp dword [edi], 0x100
jbe 0x2000ef58
mov dword [edi], 0x100
cmp dword [esi], 0x400
jbe 0x2000ef66
mov dword [esi], 0x400
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push eax
push 0x2002776e
push ecx
call fcn.20013870
mov edx, dword [esi]
mov ebx, dword [esp + 0x24]
push edx
push 0
push ebx
call fcn.200132c0
mov eax, dword [esi]
mov ecx, dword [edi]
push eax
add ecx, 0x2002776e
push ecx
push ebx
call fcn.20013870
add esp, 0x24
cmp dword [esi], 0x400
jne 0x2000efcb
cmp byte [0x2002a10f], 0
jne 0x2000efcb
push 0x32
push 1
push 1
call sym.SDTAPI.DLL__Routon_BeepLED_12
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
push 1
push 1
call sym.SDTAPI.DLL__Routon_BeepLED_12
movzx eax, byte [0x20027769]
mov ecx, dword [esp + 0xff4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.20012ef0
add esp, 0xfe8
ret 0x18