Function at 0x10003a30
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
sub esp, 0x50
mov eax, dword [0x10033008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x4c], ecx
mov ecx, str.d3d11.dll
push edi
mov byte [0x10034a08], 1
call fcn.100037a0
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x10003a92
push str.d3d9_init:_Failed_to_load_D3D11
call fcn.10007830
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, str.dxgi.dll
call fcn.100037a0
test eax, eax
jne 0x10003ac2
push str.d3d9_init:_Failed_to_load_DXGI
call fcn.10007830
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateDXGIFactory1
push eax
call esi
mov edi, eax
test edi, edi
jne 0x10003af8
push str.d3d9_init:_Failed_to_get_CreateDXGIFactory1_address
call fcn.10007830
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.D3D11CreateDevice
push dword [ebp - 0x3c]
call esi
mov esi, eax
test esi, esi
jne 0x10003b2a
push str.d3d9_init:_Failed_to_get_D3D11CreateDevice_address
call fcn.10007830
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x34]
push eax
push 0x1002c2b0
call edi
test eax, eax
jns 0x10003b5a
mov edx, eax
mov ecx, str.d3d9_init:_Failed_to_create_factory_object
call fcn.100078e0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x38]
push edx
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x34]
mov edi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test edi, edi
jns 0x10003b99
mov edx, edi
mov ecx, str.d3d9_init:_Failed_to_get_adapter
call fcn.100078e0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x10034a14
lea eax, [ebp - 0x48]
push eax
push 0x10034a10
push 7
push 3
push 0x1002c1f0
push 0
push 0
push 0
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp - 0x38]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
jns 0x10003beb
mov ecx, str.d3d9_init:_Failed_to_create_D3D11_device
mov edx, esi
call fcn.100078e0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x100349f8]
lea edx, [ebp - 0x30]
mov ecx, dword [0x10034a10]
mov dword [ebp - 0x30], eax
mov eax, dword [0x100349fc]
push 0x10034a18
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10034a04]
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 2
mov dword [ebp - 0x10], 0x28
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jns 0x10003c79
mov ecx, str.d3d9_shtex_init_shtex:_Failed_to_create_D3D11_texture
mov edx, esi
call fcn.100078e0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [0x10034a18]
lea edx, [ebp - 0x34]
push edx
push 0x1002af10
push ecx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
jns 0x10003cb4
mov ecx, str.d3d9_shtex_init_shtex:_Failed_to_query_IDXGIResource
mov edx, esi
call fcn.100078e0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0x34]
push 0x10034a20
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
jns 0x10003cf2
mov ecx, str.d3d9_shtex_init_shtex:_Failed_to_get_shared_handle
mov edx, esi
call fcn.100078e0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [0x100344a8]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x40], esi
movups xmm0, xmmword [eax + 0x48]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x34], esi
psrldq xmm0, 0xc
movd edx, xmm0
test edx, edx
je 0x10003d32
test ecx, ecx
je 0x10003d32
mov eax, dword [0x100349f4]
mov edi, dword [edx + eax]
add edi, ecx
je 0x10003d93
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
mov dword [edi], 1
jmp 0x10003d93
mov edx, dword [0x10034a24]
cmp edx, 0xffffffff
jne 0x10003d41
xor esi, esi
jmp 0x10003d93
mov esi, dword [0x100349f0]
add esi, 0xc
add esi, dword [edx*4 + 0x1002c200]
je 0x10003d93
mov eax, dword [edx*8 + 0x1002c170]
lea ecx, [ebp - 0x44]
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.100105b0
mov eax, dword [0x10034a24]
add esp, 0xc
push dword [ebp - 0x34]
push dword [eax*8 + 0x1002c174]
push esi
call fcn.100105b0
add esp, 0xc
mov ecx, dword [0x100349f4]
lea edx, [ebp - 0x3c]
push 0x10034a20
push edx
push 0
push dword [0x10034a00]
mov eax, dword [ecx]
push 1
push 1
push dword [0x100349fc]
push dword [0x100349f8]
push ecx
call dword [eax + 0x5c]
mov dword [ebp - 0x48], eax
test edi, edi
je 0x10003dce
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
jmp 0x10003df6
test esi, esi
je 0x10003df6
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x10003df6
push edi
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.100105b0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [ebp - 0x48]
test esi, esi
jns 0x10003e1e
mov ecx, str.d3d9_shtex_init_copytex:_Failed_to_create_shared_texture
mov edx, esi
call fcn.100078e0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0x3c]
push 0x10034a0c
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov esi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
jns 0x10003e5e
mov ecx, str.d3d9_shtex_init_copytex:_Failed_to_get_surface_level
mov edx, esi
call fcn.100078e0
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [0x10034a20]
mov edx, dword [ebp - 0x4c]
mov ecx, 0x10034a1c
push 0
push dword [0x10034a04]
push dword [0x100349fc]
push dword [0x100349f8]
call fcn.10007af0
add esp, 0x14
test al, al
je 0x10003cdd
push str.d3d9_shared_texture_capture_successful
call fcn.10007830
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
call fcn.1000f530
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret