Function at 0x6b0997
Capabilities:
Encode data using xor

Disassembly:
pop eax
add eax, 0xb
mov dword [ebx], eax
jmp 0x6b098c
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
call 0x6b0997
out dx, eax
sub dword [ecx - 0x16aef66b], 5
lds si, [edi]
jae 0x6b095e
pop esi
add esi, 0xdabc
jne 0x6b09b1
movsx ecx, di
sti
push 0x3680
mov ebx, ecx
pop eax
mov edx, dword [esi]
jmp 0x6b09d3
sub edx, 0x5c6c2700
movsx ebx, cx
sub edx, 0x3277f414
jmp 0x6b09f5
sub edx, 0x4c2aad4
mov di, 0xd402
push edx
jmp 0x6b0a14
pop dword [esi]
mov cx, 0xdd87
sub esi, 2
movsx ecx, di
dec esi
dec esi
mov cx, ax
sub eax, 1
jne 0x6b0a44
movsx edi, bx
sti
jmp 0x6b0a51
movsx edi, si
jmp 0x6b09ba
cmp dword [ebp + 0x122d158d], 0
je 0x6b0a68
mov dword [ebp + 0x122d39c6], 1
mov eax, dword [ebp + 0x122d0845]
mov esi, eax
mov ecx, dword [esi + 0x3c]
add esi, ecx
mov ecx, 0x400000
mov dword [ebp + 0x12466c4f], ecx
mov edi, dword [ebp + 0x122d38d6]
test edi, edi
jne 0x6b0a93
jmp 0x6b0bd4
mov esi, edi
mov ecx, 0x374c
lodsb al, byte [esi]
xor al, 0x37
stosb byte es:[edi], al
dec ecx
jne 0x6b0a9a
mov ecx, dword [ebp + 0x122d38d6]
mov edi, dword [ebp + 0x122d0845]
mov esi, dword [ebp + 0x12466c4f]
cmp edi, esi
jne 0x6b0ac4
jmp 0x6b0bc5
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
sub dword [ebp + 0x122d1739], edx
sub edx, 8
add ecx, 8
add eax, edi
pushal
mov ebx, eax
push ebx
push 0x1000
push ebx
call dword [ebp + 0x122d35c9]
pop ebx
test eax, eax
je 0x6b0b05
lea eax, [ebp + 0x122d32e3]
push eax
push 0x40
push 0x1000
push ebx
call dword [ebp + 0x122d3253]
popal
mov bx, word [ecx]
test bx, 0xf000
je 0x6b0bac
and ebx, 0xfff
add ebx, eax
cmp dword [ebp + 0x122d3992], 1
jne 0x6b0b42
cmp byte [ebx - 2], 0xe8
jne 0x6b0b42
cmp byte [ebx + 3], 0x90
jne 0x6b0b42
jmp 0x6b0bac
cmp byte [ebx - 1], 0xc5
jne 0x6b0b6f
cmp dword [ebp + 0x122d3846], 0
je 0x6b0b6f
cmp dword [ebp + 0x122d082d], 0
je 0x6b0b6f
mov byte [ebx - 1], 0xe9
jmp 0x6b0bac
cmp dword [ebp + 0x122d158d], 0
je 0x6b0b9c
cmp byte [ebx - 1], 0xc5
jne 0x6b0b9c
cmp dword [ebp + 0x122d3846], 0
je 0x6b0b9c
mov byte [ebx - 1], 0xe9
jmp 0x6b0bac
cmp dword [ebx], 0x90909090
je 0x6b0bac
sub dword [ebx], esi
add dword [ebx], edi
add ecx, 2
sub edx, 2
jne 0x6b0b06
cmp dword [ebp + 0x122d1739], 0
jne 0x6b0ac4
mov edi, dword [ebp + 0x122d38d6]
mov ecx, 0x374c
xor al, al
rep stosb byte es:[edi], al
mov edx, 0x2863c7e2
mov edi, dword [ebp + 0x122d0325]
mov ecx, 0x79
lea esi, [ebp + 0x1252cc27]
rep movsb byte es:[edi], byte [esi]
xor edx, 0x28634112
mov edi, dword [ebp + 0x122d0325]
add edi, 0xe
test edx, edx
je 0x6b0c09
add edx, dword [ebp + 0x122d0845]
mov dword [edi + 1], edx
mov edx, dword [ebp + 0x122d2908]
mov edi, dword [ebp + 0x122d0325]
add edi, 0x54
mov dword [edi + 1], edx
mov edi, dword [ebp + 0x122d0325]
add edi, 0x49
mov dword [edi + 1], ebp
mov edi, dword [ebp + 0x122d0325]
add edi, 0x25
mov dword [edi + 1], ebp
jmp 0x6b0cb4
mov eax, edx
jmp 0x6b0cc4
jmp 0x6b2e81
or esi, 0x6bbf9dc6
push edi
mov edi, 0xdf40223b
jmp 0x6b2e36
add eax, esi
sub eax, 0x795f3463
mov esi, dword [esp]
push edx
mov edx, esp
add edx, 4
jmp 0x6b2e75
push 0x153cfe34
mov dword [esp], ebx
mov ebx, 4
add eax, ebx
pop ebx
xor eax, dword [esp]
xor dword [esp], eax
jmp 0x6b2df0
xor eax, dword [esp]
jmp 0x6b2e41
add byte [eax], al
add byte [eax], al
add eax, 0x25ef0a19
sub eax, esi
sub eax, 0x25ef0a19
push esi
mov esi, 0x77a62637
jmp 0x6b2d6c
and eax, 0x192df029
or ch, bh
and eax, 0x2637be56
cmpsb byte [esi], byte es:[edi]
ja 0x6b2e1b
invalid
sub esi, 0x4e6fd651
jmp 0x6b2e49
mov esp, dword [esp]
jmp 0x6b2e81
add esi, edi
add esi, 0x4e6fd651
jmp 0x6b2e56
pop edi
add eax, 0x795f3463
jmp 0x6b2da9
push dword [esp]
pop esi
push ebp
mov dword [esp], eax
mov eax, esp
add eax, 4
jmp 0x6b2dd5
add edx, 4
xchg dword [esp], edx
pop esp
jmp 0x6b2e61
mov edx, ebx
lea eax, [ebp + 0x1252ea42]
mov dword [ebp + 0x122d29be], eax
dec dl
dec dword [ebp + 0x1a7ca83a]
jle 0x6b2e23
cmp dl, byte [edx - 0x2a5457c6]
ljmp 0x7aa8