Function at 0x1000aeb0
Capabilities:
Encode data using xor
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1814
call fcn.10035930
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
cmp dword [0x10acf9f8], 1
push edi
je 0x1000af6b
mov ecx, dword [0x101acc14]
mov dword [0x10acf9c8], ebx
mov dword [0x10acf9cc], ebx
mov dword [0x10acf9d0], ebx
mov dword [0x10acf9d4], ebx
mov dword [0x10acf9d8], ebx
mov dword [0x10acf9dc], ebx
mov dword [0x10acf9e0], ebx
mov dword [0x10acf9e4], ebx
mov dword [0x10acf9e8], ebx
mov dword [0x10acf9ec], ebx
mov dword [0x10acf9f0], ebx
cmp ecx, dword [0x101acc18]
je 0x1000af2f
mov dword [0x101acc18], ecx
mov ecx, dword [0x101acc24]
cmp ecx, dword [0x101acc28]
je 0x1000af43
mov dword [0x101acc28], ecx
mov ecx, dword [0x101acc34]
cmp ecx, dword [0x101acc38]
je 0x1000af57
mov dword [0x101acc38], ecx
mov ecx, dword [0x101acc44]
cmp ecx, dword [0x101acc48]
je 0x1000af6b
mov dword [0x101acc48], ecx
mov word [ebp - 0x17e8], 0x74c1
call fcn.10024189
and eax, 0x800000ff
jns 0x1000af87
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [0x100ac854]
mov edx, dword [str.PREMIUM]
mov byte [ebp - 0x17e6], al
mov eax, dword [0x10acf9f8]
mov dword [ebp - 0x17e4], eax
mov eax, dword [0x10043b88]
mov byte [ebp - 0x17e5], bl
mov dword [ebp - 0x17e0], ecx
mov dword [ebp - 0x17dc], edx
mov dword [ebp - 0x17d8], eax
call fcn.10001a20
mov esi, eax
mov ecx, 9
lea edi, [ebp - 0x17d4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1810]
push ecx
push 0x1000
lea edx, [ebp - 0x1770]
push edx
mov dword [ebp - 0x1810], ebx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x1000b372
mov ecx, dword [ebp - 0x1810]
shr ecx, 2
xor esi, esi
mov dword [ebp - 0x180c], esi
mov dword [ebp - 0x1814], ecx
cmp ecx, ebx
jle 0x1000b1e0
jmp 0x1000b020
mov eax, dword [ebp + esi*4 - 0x1770]
cmp eax, ebx
je 0x1000b1b5
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x1000b1a8
push 0x104
lea eax, [ebp - 0x568]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000b1a8
lea esi, [ebp - 0x568]
mov word [ebp - 0x1808], 0x5325
mov byte [ebp - 0x1806], bl
call fcn.100048d0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [ebp - 0x1808]
push ecx
lea edx, [ebp - 0x150]
push edx
call esi
xor eax, eax
mov word [ebp - 0x1808], ax
mov byte [ebp - 0x1806], al
lea eax, [ebp - 0x770]
add esp, 0xc
push eax
lea ecx, [ebp - 0x568]
call fcn.10004680
add esp, 4
test al, al
je 0x1000b1a2
push 0x104
lea ecx, [ebp - 0x110]
push ebx
push ecx
call fcn.10025d10
add esp, 0xc
lea edx, [ebp - 0x770]
push edx
lea eax, [ebp - 0x1804]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov word [ebp - 0x1804], 0x5325
mov byte [ebp - 0x1802], bl
call esi
xor eax, eax
add esp, 0xc
mov word [ebp - 0x1804], ax
mov byte [ebp - 0x1802], al
xor edx, edx
mov al, byte [ebp + edx - 0x110]
cmp al, 0x41
jl 0x1000b128
cmp al, 0x5a
jg 0x1000b128
add al, 0x20
mov byte [ebp + edx - 0x110], al
lea eax, [ebp - 0x110]
inc edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000b132
sub eax, esi
cmp edx, eax
jbe 0x1000b110
mov ecx, 0xb4
xor eax, eax
mov dl, byte [eax + 0x10043fc0]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x1800], dl
inc eax
and ecx, 0xff
cmp eax, 0x17
jb 0x1000b146
mov byte [ebp - 0x17e9], bl
lea ecx, [ebp - 0x1800]
lea eax, [ebp - 0x110]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b194
cmp dl, bl
je 0x1000b190
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b194
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x1000b174
xor eax, eax
jmp 0x1000b199
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
jne 0x1000b1c6
mov esi, dword [ebp - 0x180c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1814]
inc esi
mov dword [ebp - 0x180c], esi
cmp esi, ecx
jl 0x1000b020
jmp 0x1000b1e0
mov eax, dword [ebp - 0x180c]
mov ecx, dword [ebp + eax*4 - 0x1770]
push edi
mov dword [ebp - 0x1778], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea edx, [ebp - 0x360]
push ebx
push edx
call fcn.10025d10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.10025d10
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x360]
push ecx
push ebx
call esi
lea edx, [ebp - 0x360]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x104
lea eax, [ebp - 0x258]
push eax
push ebx
call esi
lea edx, [ebp - 0x360]
lea esi, [ebp - 0x258]
call fcn.10002ea0
xor eax, eax
mov dword [ebp - 0x17b0], eax
mov dword [ebp - 0x17ac], eax
mov dword [ebp - 0x17a8], eax
mov dword [ebp - 0x17a4], eax
mov dword [ebp - 0x17a0], eax
mov dword [ebp - 0x179c], eax
mov dword [ebp - 0x1798], eax
mov dword [ebp - 0x1794], eax
mov dword [ebp - 0x1790], eax
mov dword [ebp - 0x178c], eax
mov dword [ebp - 0x1788], eax
mov dword [ebp - 0x1784], eax
mov dword [ebp - 0x1780], eax
mov byte [ebp - 0x177c], al
mov eax, dword [0x10acfa0c]
mov ecx, 9
lea esi, [ebp - 0x258]
lea edi, [ebp - 0x17b0]
rep movsd dword es:[edi], dword [esi]
cmp eax, ebx
je 0x1000b2ea
mov ecx, dword [eax]
mov dword [ebp - 0x178c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1788], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1784], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1780], edx
mov al, byte [eax + 0x10]
mov byte [ebp - 0x177c], al
cmp byte [0x10ad0019], bl
jne 0x1000b359
push pe_nt_image_headers32
push ebx
push 0x10acfef0
call fcn.10025d10
add esp, 0xc
xor eax, eax
jmp 0x1000b310
mov cl, byte [eax + 0x1004dd28]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10acfef0], cl
inc eax
cmp eax, 0x100
jl 0x1000b310
mov ecx, dword [ebp - 0x17e0]
lea edx, [ebp - 0x17d4]
push edx
mov edx, dword [ebp - 0x17e4]
lea eax, [ebp - 0x17dc]
push eax
push ecx
push edx
push 0x10acfef0
push ebx
mov ecx, 0x100abb70
call fcn.10004e20
add esp, 0x18
movzx ecx, byte [ebp - 0x17e7]
lea edx, [ebp - 0x17e8]
call fcn.10007330
mov byte [0x10ad0019], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002206c
mov esp, ebp
pop ebp
ret