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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x6340ab
call edi
lea eax, [ebp - 4]
mov dword [0x6340ab], 0x100347c4
push eax
push dword [ebp - 4]
push 4
push 0x6340ab
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x6340e4
call edi
lea eax, [ebp - 4]
mov dword [0x6340e4], 0x100347d8
push eax
push dword [ebp - 4]
push 4
push 0x6340e4
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x6341b8
call edi
lea eax, [ebp - 4]
mov dword [0x6341b8], 0x10033810
push eax
push dword [ebp - 4]
push 4
push 0x6341b8
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x6341f1
call edi
lea eax, [ebp - 4]
mov dword [0x6341f1], 0x100347f0
push eax
push dword [ebp - 4]
push 4
push 0x6341f1
call edi
push 0xf
call fcn.10019470
mov esi, eax
mov dword [ebp - 4], 0
mov eax, 0x90909090
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], ax
mov byte [esi + 0xe], al
lea eax, [ebp - 4]
push eax
push 0x40
push 0xf
push 0x47e1c4
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1001306d
mov eax, dword [esi]
mov ecx, 0x47e1c4
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov ax, word [esi + 0xc]
mov word [ecx + 0xc], ax
mov al, byte [esi + 0xe]
mov byte [ecx + 0xe], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0xf
push ecx
call edi
test eax, eax
jne 0x1001306f
call ebx
mov eax, 0x10012f00
mov byte [ebp - 0x10], 0xe9
sub eax, 0x47e1c9
mov dword [ebp - 4], 0
mov dword [ebp - 0xf], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x47e1c4
call edi
test eax, eax
je 0x100130c1
mov eax, dword [ebp - 0x10]
mov ecx, 0x47e1c4
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call edi
test eax, eax
jne 0x100130c3
call ebx
push 0xf
call fcn.10019470
mov esi, eax
mov dword [ebp - 4], 0
mov eax, 0x90909090
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov word [esi + 0xc], ax
mov byte [esi + 0xe], al
lea eax, [ebp - 4]
push eax
push 0x40
push 0xf
push 0x6339e7
call edi
test eax, eax
je 0x10013137
mov eax, dword [esi]
mov ecx, 0x6339e7
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov ax, word [esi + 0xc]
mov word [ecx + 0xc], ax
mov al, byte [esi + 0xe]
mov byte [ecx + 0xe], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0xf
push ecx
call edi
test eax, eax
jne 0x10013139
call ebx
mov eax, 0x10012f20
mov byte [ebp - 0x10], 0xe9
sub eax, 0x6339ec
mov dword [ebp - 4], 0
mov dword [ebp - 0xf], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x6339e7
call edi
test eax, eax
je 0x1001318b
mov eax, dword [ebp - 0x10]
mov ecx, 0x6339e7
mov dword [ecx], eax
mov al, byte [ebp - 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 5
push ecx
call edi
test eax, eax
jne 0x1001318d
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret