Function at 0x100010f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], eax
nop dword [eax]
mov ecx, esi
call fcn.10003090
mov edi, eax
test edi, edi
je 0x10001353
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov edx, edi
mov ecx, esi
call fcn.100035c0
add esp, 4
push edi
push esi
test eax, eax
je 0x1000134b
call fcn.10004d08
mov ebx, dword [ebp - 0x24]
add esp, 8
test ebx, ebx
jne 0x10001185
mov eax, dword [esi + 0x1ac]
add eax, 0x14
mov dword [ebp - 0x20], 1
mov dword [esi + 0x1ac], eax
cmp eax, 0xea60
jbe 0x1000117d
mov dword [esi + 0x1ac], 0xea60
mov eax, 0xea60
push eax
mov eax, dword [esi + 0x10]
call eax
jmp 0x10001110
lea eax, [ebp - 0x28]
mov edx, ebx
push eax
mov ecx, esi
call fcn.10003230
mov edi, eax
add esp, 4
test edi, edi
je 0x10001349
mov edx, ebx
mov ecx, esi
call fcn.10003400
push ebx
push esi
call fcn.10004d08
mov ecx, dword [ebp - 0x28]
add esp, 8
mov dword [esi + 0x1ac], 0
mov eax, 1
mov dword [ebp - 0x20], eax
cmp ecx, 0x15
jb 0x1000132c
cmp ecx, 0x10
jbe 0x100011fe
mov edx, dword [ebp - 0x28]
lea ecx, [edi + 0x10]
mov ebx, 0xfffffff0
sub ebx, edi
add edx, 0xfffffff0
lea eax, [ebx + ecx]
and eax, 0xf
lea ecx, [ecx + 1]
mov al, byte [eax + edi]
xor byte [ecx - 1], al
sub edx, 1
jne 0x100011e5
mov ecx, dword [ebp - 0x28]
jmp 0x10001201
mov dword [ebp - 0x20], eax
mov edx, edi
mov al, byte [edx + 0x10]
cmp al, 1
jne 0x1000124b
lea ebx, [ecx - 0x11]
lea eax, [edx + 0x11]
mov dword [ebp - 0x24], eax
cmp ebx, 0xb
jb 0x1000126c
xor edx, edx
mov ecx, 8
mov esi, eax
cmp byte [ecx + esi], 0
lea eax, [edx + 1]
cmovne eax, edx
inc ecx
mov edx, eax
cmp ecx, ebx
jb 0x10001221
mov esi, dword [ebp - 0x2c]
cmp edx, 2
jne 0x1000126c
mov eax, dword [ebp - 0x24]
cmp byte [ebx + eax - 1], 0
jne 0x1000126c
mov eax, 1
jmp 0x1000126e
cmp al, 2
jne 0x1000132c
add ecx, 0xffffffef
mov eax, 4
cmp ecx, eax
jbe 0x1000126c
nop
cmp byte [edx + eax + 0x11], 0
je 0x10001244
inc eax
cmp eax, ecx
jb 0x10001260
xor eax, eax
test eax, eax
je 0x1000132c
push 0xc
push esi
call fcn.10004ca7
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100012bb
mov eax, dword [edi]
lea edx, [ebx + 0x17]
mov dword [ebp - 0xb], eax
mov ecx, esi
mov eax, 0x33
mov byte [ebp - 0xc], 3
mov word [ebp - 7], ax
lea eax, [ebp - 0x1c]
push eax
call fcn.100015e0
push 0x17
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.10003a00
add esp, 8
jmp 0x10001110
mov eax, dword [ebp - 0x28]
push 0
push 0
push ebx
push section..text
push 0
mov dword [ebx + 4], edi
mov dword [ebx], esi
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x3c]
push 0
call eax
test eax, eax
jne 0x10001321
mov eax, dword [edi]
mov edx, 0x17
mov dword [ebp - 0xb], eax
mov ecx, esi
mov eax, 0x3c
mov byte [ebp - 0xc], 3
mov word [ebp - 7], ax
lea eax, [ebp - 0x1c]
push eax
call fcn.100015e0
push 0x17
lea edx, [ebp - 0x1c]
mov ecx, esi
call fcn.10003a00
push edi
push esi
call fcn.10004d08
push ebx
push esi
call fcn.10004d08
add esp, 0x18
jmp 0x10001110
push eax
mov eax, dword [esi + 0x1c]
call eax
jmp 0x10001110
push edi
push esi
call fcn.10004d08
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006e80
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.10004d08
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10006e80
mov esp, ebp
pop ebp
ret