Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x40]
lea edx, [eax + 0xf7]
push edi
mov edi, dword [esp + 0x38]
lea ebx, [eax + 0x19d]
lea ecx, [eax - 0x1bd4]
mov dword [esp + 0x40], edx
xor edi, 0x3e4b
mov dword [esp + 0x1c], ebx
add esi, 0xffffe6eb
mov dword [esp + 0x38], edi
lea eax, [ebx + 0xc5]
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], ecx
cmp edx, eax
jg 0x1000107b
mov eax, dword [ebp + 0x1c]
xor edi, 0x3a36
add eax, dword [0x110102f4]
mov ebx, dword [0x110102a4]
xor eax, 0x1719dfb8
mov dword [0x110102a8], eax
jmp 0x1000120c
imul eax, dword [ebp + 0xc8], 0x2114
xor eax, 0x1915
cmp dword [0x11010308], eax
jae 0x10001172
imul ebx, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov ebx, dword [0x110102a4]
mov eax, dword [ebx + 0x38]
xor eax, dword [esp + 0x14]
cmp edi, eax
jb 0x1000120c
mov edi, esi
mov eax, edi
and eax, 0x1a02
mov dword [esp + 0x24], eax
imul eax, ecx, 0x2114
mov dword [esp + 0x28], eax
lea eax, [ecx + 0x21e2]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x50]
sub eax, edi
add eax, ecx
add dword [0x11010354], eax
mov eax, dword [ebx + 0xc4]
mov ecx, dword [ebp + 0xc0]
xor eax, dword [ebp + 0x128]
or ecx, dword [esp + 0x44]
mov edx, dword [ebx + 0x80]
sub edx, dword [ebx + 0xd4]
mov esi, dword [ebp + 0x64]
xor esi, dword [esp + 0x1c]
push ebp
push eax
push ecx
push dword [esp + 0x30]
sub esi, edi
push edx
push dword [esp + 0x3c]
push esi
call fcn.10004a3c
mov dword [esp + 0x3c], eax
add esp, 0x1c
mov eax, edi
sub eax, dword [0x1101033c]
or eax, 0x199d
push eax
mov eax, dword [ebp + 4]
imul eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ebx, dword [0x110102a4]
mov ecx, dword [esp + 0x10]
add ecx, 2
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0x38]
xor eax, dword [esp + 0x14]
cmp ecx, eax
mov ecx, dword [esp + 0x44]
jae 0x100010d7
mov esi, dword [esp + 0x18]
jmp 0x10001204
mov ebx, dword [0x110102a4]
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 0xc4]
and eax, esi
cmp edi, eax
je 0x1000120c
xor edx, 0x1ee7
lea eax, [ecx + edi]
mov edi, dword [esp + 0x40]
add edx, 0x1e36
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [0x11010380]
and eax, ecx
push eax
mov eax, dword [0x11010358]
xor eax, dword [0x1101032c]
xor eax, dword [esp + 0x20]
push eax
mov eax, dword [ebp + 0x18]
imul eax, edi
push eax
mov eax, dword [0x110102bc]
xor eax, esi
xor eax, dword [ebp + 0x84]
push edx
push eax
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, dword [0x110102a4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
add ecx, 3
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 0xc4]
and eax, esi
cmp ecx, eax
mov ecx, dword [esp + 0x44]
jne 0x100011a7
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov eax, edi
xor eax, 0x2c1
cmp esi, eax
je 0x1000125c
mov eax, dword [ebp + 0x4c]
xor edi, 0x5e2
mov ecx, dword [esp + 0x20]
add eax, 0xd9947
xor dword [ebx + 0x7c], eax
lea eax, [esi + 0x199d]
push ebp
push edi
push eax
lea eax, [ecx + 0x24b5]
push eax
lea eax, [ecx + 0x22e9]
push eax
mov eax, edx
xor eax, 0xb4f
push eax
lea eax, [edx + 0x2de]
push eax
call fcn.10004a3c
add esp, 0x1c
mov edi, eax
lea eax, [edi + 0x758]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret