Function at 0x10013f60
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e558
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
push 0xc
lea eax, [ebp - 0x38]
push eax
push 0x400000
mov word [0x10acf958], 0x101
mov dword [ebp - 0x24], 0xc708c483
mov dword [ebp - 0x20], 0xffffff05
mov dword [ebp - 0x1c], 0x46ff
mov dword [ebp - 0x18], 0x68006a00
mov dword [ebp - 0x38], 0
call ebx
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov edi, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test edi, edi
je 0x100142d6
xor edx, edx
test edi, edi
je 0x1001409b
xor eax, eax
mov cl, byte [ebp + eax - 0x24]
cmp cl, 0xff
je 0x1001400c
cmp byte [eax + edx + 0x400000], cl
jne 0x10014092
inc eax
cmp eax, 0x10
jl 0x10013ff6
lea edi, [edx + 0x400000]
test edi, edi
je 0x1001409b
mov ecx, dword [edi + 0x1f]
add edi, 0x1e
lea ebx, [edi + ecx + 5]
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebx + 0xa]
mov dword [0x1004be24], eax
mov edx, dword [eax + 1]
push 0x40
push 5
lea eax, [eax + edx + 5]
push ebx
mov dword [0x1004be24], eax
call esi
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
push ecx
mov edx, 0x1000dae0
sub edx, ebx
push 5
sub edx, 5
push ebx
mov byte [ebx], 0xe9
mov dword [ebx + 1], edx
call esi
lea edx, [ebp - 0x28]
push edx
push 0x40
push 5
push edi
call esi
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push ecx
push edx
mov eax, 0x1000dae0
sub eax, edi
push 5
sub eax, 5
push edi
mov byte [edi], 0xe8
mov dword [edi + 1], eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x100140ce
inc edx
cmp edx, edi
jb 0x10013ff4
mov ecx, 0xef
xor eax, eax
mov dl, byte [eax + 0x10044e00]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x24], dl
inc eax
and ecx, 0xff
cmp eax, 0x11
jb 0x100140a2
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.100043e0
mov edi, dword [0x10acf990]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 0x76
push edi
call esi
push 0x76
push 0xc3
push edi
call fcn.10025d10
mov edx, dword [ebp - 0x28]
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
push edx
push 0x76
push edi
call esi
mov edi, dword [0x101add10]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 0x1e0
push edi
call esi
push 0x1e0
push 0xc3
push edi
call fcn.10025d10
mov edx, dword [ebp - 0x28]
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
push edx
push 0x1e0
push edi
call esi
mov edi, dword [0x101adce8]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 0x33
push edi
call esi
push 0x33
push 0xc3
push edi
call fcn.10025d10
mov edx, dword [ebp - 0x28]
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
push edx
push 0x33
push edi
call esi
mov edi, dword [0x101adce8]
lea eax, [ebp - 0x28]
push eax
push 0x40
push 5
push edi
call esi
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, 0x1000df10
sub ecx, edi
push 5
sub ecx, 5
push edi
mov byte [edi], 0xe9
mov dword [edi + 1], ecx
call esi
push 0xa0
push 0
push 0x101ae0d8
call fcn.10025d10
add esp, 0xc
push 0
push 0xa0
push 0x101ae0d8
push 0x1000df10
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push eax
call esi
xor eax, eax
mov cl, byte [eax + 0x101ae0d8]
sub cl, 0x10
xor cl, 0x77
mov byte [eax + 0x101ae0d8], cl
inc eax
cmp eax, 0xa0
jb 0x100141c1
push 0x7c
push 0
push 0x101add28
call fcn.10025d10
add esp, 0xc
push 0
push 0x7c
push 0x101add28
push fcn.1000dc20
call ebx
push eax
call esi
xor eax, eax
mov dl, byte [eax + 0x101add28]
sub dl, 0x10
xor dl, 0x77
mov byte [eax + 0x101add28], dl
inc eax
cmp eax, 0x7c
jb 0x10014201
push 0x1f9
push 0
push 0x101adeb0
call fcn.10025d10
add esp, 0xc
push 0
push 0x1f9
push 0x101adeb0
push fcn.1000dca0
call ebx
push eax
call esi
xor eax, eax
jmp 0x10014250
mov cl, byte [eax + 0x101adeb0]
sub cl, 0x10
xor cl, 0x77
mov byte [eax + 0x101adeb0], cl
inc eax
cmp eax, 0x1f9
jb 0x10014250
push 0xfb
push 0
push 0x101ae2a8
call fcn.10025d10
add esp, 0xc
push 0
push 0xfb
push 0x101ae2a8
push fcn.1000d610
call ebx
push eax
call esi
xor eax, eax
jmp 0x100142a0
mov dl, byte [eax + 0x101ae2a8]
sub dl, 0x10
xor dl, 0x77
mov byte [eax + 0x101ae2a8], dl
inc eax
cmp eax, 0xfb
jb 0x100142a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret
xor edx, edx
jmp 0x100142e0
xor eax, eax
mov cl, byte [ebp + eax - 0x24]
cmp cl, 0xff
je 0x100142f4
cmp byte [eax + edx + 0x400000], cl
jne 0x100142ff
inc eax
cmp eax, 0x10
jl 0x100142e2
jmp 0x10014012
inc edx
cmp edx, 0x2000000
jb 0x100142e0
jmp 0x1001409b