Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x10065400]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x10066750]
mov eax, dword [0x1006674c]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1a], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x20], 0xb668454e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
sub eax, 0xb668454e
je 0x1000110a
jmp 0x1000106d
mov eax, dword [ebp - 0x2c]
sub eax, 0xc5003d9b
je 0x100011a1
jmp 0x10001080
mov eax, dword [ebp - 0x2c]
sub eax, 0xd8881ca2
je 0x100012b8
jmp 0x10001093
mov eax, dword [ebp - 0x2c]
sub eax, 0xdd063d04
je 0x100012d6
jmp 0x100010a6
mov eax, dword [ebp - 0x2c]
sub eax, 0x1e1a005
je 0x100011ad
jmp 0x100010b9
mov eax, dword [ebp - 0x2c]
sub eax, 0x37545737
je 0x100012ca
jmp 0x100010cc
mov eax, dword [ebp - 0x2c]
sub eax, 0x3bc17a88
je 0x10001155
jmp 0x100010df
mov eax, dword [ebp - 0x2c]
sub eax, 0x504f24e6
je 0x10001215
jmp 0x100010f2
mov eax, dword [ebp - 0x2c]
sub eax, 0x6f26360a
je 0x100011c7
jmp 0x10001105
jmp 0x10001315
mov bl, byte [ebp - 0x1a]
mov dh, byte [ebp - 0x19]
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x37545737
mov ecx, 0x3bc17a88
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x10001315
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov eax, dword [0x10066750]
mov ecx, dword [0x1006674c]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x37545737
mov ecx, 0xc5003d9b
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x10001315
mov dword [ebp - 0x20], 0x1e1a005
jmp 0x10001315
mov ecx, dword [ebp - 0x28]
push eax
mov eax, esp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [ebp - 0x20], 0x6f26360a
jmp 0x10001315
mov eax, dword [0x10066750]
mov ecx, dword [0x1006674c]
mov edx, eax
sub edx, 0xd7f0b069
sub edx, 1
add edx, 0xd7f0b069
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xdd063d04
mov ecx, 0x504f24e6
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x10001315
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
xor edi, edi
mov ecx, dword [edx]
mov edi, dword [esi]
not byte [edi]
add byte [edi], 0x65
mov eax, 0
mov ebx, 0
add eax, ebx
xor eax, ebx
shl eax, 3
shr ebx, 2
nop
sub byte [edi], 0x88
imul byte [edi]
inc edi
loop 0x1000122b
mov ecx, dword [0x10066750]
mov eax, dword [0x1006674c]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xdd063d04
mov ecx, 0xd8881ca2
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x10001315
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005470
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0x3bc17a88
jmp 0x10001315
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
xor edi, edi
mov ecx, dword [edx]
mov edi, dword [esi]
not byte [edi]
add byte [edi], 0x65
mov eax, 0
mov ebx, 0
add eax, ebx
xor eax, ebx
shl eax, 3
shr ebx, 2
nop
sub byte [edi], 0x88
imul byte [edi]
inc edi
loop 0x100012ec
mov dword [ebp - 0x20], 0x504f24e6
jmp 0x10001057