Function at 0x69dad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov ecx, dword [ebp + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x69daf0
sar eax, 1
mov ebx, dword [edi + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x69db10
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1b
test edx, edx
jns 0x69db2e
mov eax, 0xffffffff
jmp 0x69db37
add eax, ecx
lea eax, [eax*2 + 0x36]
push eax
call fcn.0068c580
add esp, 4
mov esi, eax
mov dword [esp + 8], 0x91229f30
mov dword [esp + 0xc], 0x95379301
mov dword [esp + 0x10], 0x890a9737
mov dword [esp + 0x14], 0x8d4d8b68
mov dword [esp + 0x18], 0x811a8f04
mov dword [esp + 0x1c], 0x851c8327
mov dword [esp + 0x20], 0x791d8711
mov dword [esp + 0x24], 0x7de47be9
mov dword [esp + 0x28], 0x71cb7f9c
mov dword [esp + 0x2c], 0x75e673d7
mov dword [esp + 0x30], 0x69ed77e0
mov dword [esp + 0x34], 0x6df36bf6
mov dword [esp + 0x38], 0x61c26ff9
mov word [esp + 0x3c], 0x6360
mov dword [esp + 0x3e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x39
ja 0x69dc16
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0xf403c465
and eax, 0xf403c465
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, eax
not ecx
and ecx, 0xf9
and eax, 6
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x3a
jb 0x69dbd0
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x69dc41
add ecx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x69dc30
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x69dc71
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x69dc60
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x69dca1
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x69dc90
mov word [eax], 0
mov ebp, dword [ebp]
mov eax, 0xfffffffe
nop
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x69dcb0
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x69dcd0
sar eax, 1
add eax, 0xe
mov ebx, dword [edi]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x69dcf0
sar ecx, 1
add eax, ecx
sar edx, 1
mov ecx, edx
and ecx, eax
xor edx, eax
lea eax, [edx + ecx*2]
test eax, eax
jns 0x69dd15
mov eax, 0xffffffff
jmp 0x69dd17
add eax, eax
push eax
call fcn.0068c580
add esp, 4
mov edi, eax
movzx ecx, word [ebp]
test cx, cx
je 0x69dd42
add ebp, 2
mov eax, edi
mov word [eax], cx
add eax, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x69dd30
mov word [eax], 0x2f
mov dword [esp + 8], 0x9fdb99ab
mov dword [esp + 0xc], 0xa3d69de4
mov dword [esp + 0x10], 0xa7d4a1c5
mov dword [esp + 0x14], 0xabc3a5d3
mov dword [esp + 0x18], 0xafdca9db
mov dword [esp + 0x1c], 0xb381addb
mov word [esp + 0x20], 0xb1b0
mov dword [esp + 0x22], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1d
ja 0x69dde1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov ebp, ecx
xor ebp, 0x9e06209a
and ecx, 0x1e06209a
lea ecx, [ecx*2]
add ecx, ebp
xor ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0xfe
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x1e
jb 0x69dda0
add eax, 2
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 8]
movzx edx, word [ecx]
test dx, dx
je 0x69de11
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x69de00
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x69de41
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x69de30
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x69de71
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x69de60
mov word [eax], 0
mov dword [esp], 0xf7f609de
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x69dee8
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx]
mov edx, eax
xor edx, 0xd54762fe
and eax, 0xd54762fe
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
mov ebx, ecx
not ebx
or ebx, eax
lea eax, [ecx + ebx]
add ecx, ebx
inc ecx
mov ebx, ecx
xor ebx, edx
not ecx
and ecx, edx
add ecx, ecx
add eax, ebx
inc eax
sub ecx, eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
add al, 0xa
mov ecx, dword [esp + 4]
mov byte [esp + ecx], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x69de90
mov eax, esp
push 0
push 0
push 0
push 0xc00000
push eax
push esi
push edi
push dword [esp + 0x74]
call fcn.006a09e0
add esp, 0x20
mov ebx, eax
jmp dword [0x6ca1b8]