Function at 0x10012170
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Link many functions at runtime
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10088400]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.100060a0
test eax, eax
jne 0x10012191
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp dword [0x1008ba90], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x100121b0
push 0x32
call edi
cmp dword [0x1008ba90], 0
je 0x100121a3
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.d3d9.dll
call ebx
test eax, eax
je 0x100121b6
push str.xx____xx____xx
push 0x1007d7bc
mov ecx, eax
call fcn.10004460
add esp, 8
mov ecx, dword [eax + 2]
push 0x1007d7cc
push str.user32.dll
mov eax, dword [ecx + 0xa8]
mov dword [0x10089a28], eax
mov eax, dword [ecx + 0xc]
mov dword [0x10089a38], eax
mov eax, dword [ecx + 0x1c]
mov dword [0x10089a3c], eax
mov eax, dword [ecx + 0xe4]
mov dword [0x10089a2c], eax
mov eax, dword [ecx + 0x164]
mov dword [0x10089a30], eax
mov eax, dword [ecx + 0xc0]
mov dword [0x10089a34], eax
mov eax, dword [ecx + 0x68]
mov dword [0x10089a44], eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov dword [0x1008985c], eax
add eax, 5
push str.keybd_event
push str.user32.dll
mov dword [0x10089908], eax
call ebx
push eax
call esi
mov dword [0x1008a818], eax
add eax, 5
push str.D3DXVec3Project
push str.d3dx9_38.dll
mov dword [0x10089790], eax
call ebx
push eax
call esi
push str.D3DXCreateFontA
push str.d3dx9_38.dll
mov dword [0x10089910], eax
call ebx
push eax
call esi
mov dword [0x100898f8], eax
add eax, 5
push str.D3DXCreateLine
push str.d3dx9_38.dll
mov dword [0x10089a5c], eax
call ebx
push eax
call esi
mov dword [0x10089b28], eax
add eax, 5
mov dword [0x10089a78], eax
call fcn.10007600
call fcn.10007800
push 0
push 0
push 0
push 0x100045c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x10089d9c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x10089768]
jne 0x10012330
mov esi, dword [ecx + 0x28]
cmp esi, 0x1000
jbe 0x10012328
push 0xc
call fcn.1006d3a8
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push 0xc
push eax
call ebx
mov ecx, dword [esi]
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov ax, word [esi + 4]
mov ecx, dword [0x10089768]
mov word [edx + 4], ax
mov al, byte [esi + 6]
mov byte [edx + 6], al
lea eax, [edx + 7]
sub esi, eax
mov byte [eax], 0xe9
add esi, 2
mov dword [eax + 1], esi
jmp 0x1001232a
xor edx, edx
mov dword [0x10089d9c], edx
mov eax, dword [ecx]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
cmp esi, 0x1000
jbe 0x10012363
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call ebx
mov al, byte [0x1007fbc0]
mov byte [esi], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
mov ecx, dword [0x10089768]
mov eax, dword [ecx + 0x5c]
push 0
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ecx + 0x34]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x10089768]
mov esi, dword [eax + 0x28]
cmp esi, 0x1000
jbe 0x100123ac
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call ebx
mov al, byte [0x1007ec54]
mov byte [esi], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
mov eax, dword [0x1008b878]
cmp dword [eax], 0xffffffff
jne 0x100123dc
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
nop dword [eax]
push str.Point_Blank
push 0
call esi
push 0x64
mov dword [0x1008b8c4], eax
call edi
mov eax, dword [0x1008b878]
cmp dword [eax], 0xffffffff
je 0x100123c0
mov eax, dword [0x10089768]
mov eax, dword [eax]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
cmp esi, 0x1000
jbe 0x1001240e
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call ebx
mov al, byte [0x1007fbc4]
mov byte [esi], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push esi
call ebx
call fcn.10008590
push 0x3e8
call edi
mov ecx, dword [0x1008b94c]
mov edx, 0x10011e40
push 6
call fcn.10004510
mov esi, dword [0x1008b984]
lea eax, [ebp - 8]
add esp, 4
push eax
push 0x40
push 5
push esi
call ebx
push 1
call edi
push 1
call edi
push 5
push 0x100806a0
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
push 1
call edi
push 1
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
mov esi, dword [0x1008bb90]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call ebx
push 1
call edi
push 1
call edi
push 5
push 0x100806a0
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
push 1
call edi
push 1
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push esi
call ebx
mov ecx, dword [0x10089a2c]
mov edx, 0x10089d30
push 5
call fcn.10004510
mov ecx, dword [0x10089a30]
mov edx, 0x10089d10
push 5
call fcn.10004510
mov ecx, dword [0x10089a34]
mov edx, 0x10089cd0
push 5
call fcn.10004510
mov ecx, dword [0x10089a3c]
mov edx, 0x10089d70
push 5
call fcn.10004510
mov ecx, dword [0x10089a38]
mov edx, 0x10089cf0
push 5
call fcn.10004510
push 5
mov ecx, dword [0x10089a44]
mov edx, 0x10089d50
call fcn.10004510
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006cc7b
mov esp, ebp
pop ebp
ret