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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1003a040]
xor eax, ebp
mov dword [ebp - 8], eax
mov cl, byte [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
movzx ecx, cl
mov esi, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edx
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jne 0x10003497
xor cl, cl
jmp 0x100034b2
lea edx, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push edx
push 0x40
push ecx
push eax
mov dword [ebp - 0x18], eax
call ebx
mov edx, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp + 0xc]
setne cl
mov byte [ebp - 0xc], cl
mov ch, byte [esi]
mov byte [ebp - 0x1d], ch
test cl, cl
je 0x100034d5
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push edx
call ebx
mov eax, dword [ebp + 0xc]
mov ch, byte [ebp - 0x1d]
movzx ecx, ch
sub ecx, 0xe8
je 0x100035c6
sub ecx, 1
je 0x100035c6
sub ecx, 0x16
jne 0x100035ad
mov dword [ebp - 0x18], ecx
lea esi, [eax + 1]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x10003507
xor cl, cl
jmp 0x1000351f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ecx
push eax
push 0x40
push ecx
push esi
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
mov eax, dword [ebp + 0xc]
setne cl
mov byte [ebp - 0xc], cl
mov dl, byte [esi]
mov byte [ebp - 0x1d], dl
test cl, cl
je 0x10003544
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
call ebx
mov eax, dword [ebp + 0xc]
mov dl, byte [ebp - 0x1d]
cmp dl, 0x15
je 0x1000354e
cmp dl, 0x25
jne 0x100035ad
lea esi, [eax + 2]
xor edx, edx
mov eax, dword [ebp - 0x24]
shl eax, 2
mov dword [ebp - 0x18], edx
test eax, eax
jne 0x10003564
xor al, al
jmp 0x1000357c
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call ebx
mov edx, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov esi, dword [esi]
test al, al
je 0x10003596
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
push edx
call ebx
mov ecx, dword [esi]
mov eax, edi
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000d97d
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000d97d
mov esp, ebp
pop ebp
ret
lea esi, [eax + 1]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
shl eax, 2
mov dword [ebp - 0x18], ecx
test eax, eax
jne 0x100035dc
xor al, al
jmp 0x100035f4
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x18], esi
call ebx
mov ecx, dword [ebp - 0x18]
test eax, eax
setne al
mov byte [ebp - 0xc], al
mov edx, dword [esi]
mov dword [ebp - 0x24], edx
test al, al
je 0x10003614
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push ecx
call ebx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
lea eax, [edx + 4]
add eax, esi
xor ecx, ebp
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.1000d97d
mov esp, ebp
pop ebp
ret