Function at 0x10017390
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c152d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100ef0f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
je 0x10017588
cmp dword [0x100f32a8], 0
je 0x100173ea
cmp dword [0x100f32a4], 0
je 0x100173ea
cmp dword [0x100f32ac], 0
jne 0x1001742f
push 0x100e5dd8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x1001749a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.D3DXAssembleShader
push edi
call esi
push str.D3DXDisassembleShader
push edi
mov dword [0x100f32a8], eax
call esi
push str.D3DXLoadSurfaceFromSurface
push edi
mov dword [0x100f32a4], eax
call esi
mov esi, dword [ebp - 0x28]
mov dword [0x100f32ac], eax
push 0x8c
call fcn.10084d74
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
push 0x10017190
push 0x100171f0
mov dword [ebp - 4], 0
lea ecx, [edi + 0xc]
push 8
xorps xmm0, xmm0
mov dword [edi], vtable.Direct3D8.0
mov dword [edi + 4], esi
lea eax, [edi + 0x2c]
mov dword [edi + 8], 0
push 0xc
movups xmmword [ecx], xmm0
push eax
mov dword [ebp - 0x2c], ecx
movups xmmword [ecx + 0x10], xmm0
call fcn.10084eea
mov byte [ebp - 4], 1
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov dword [edi + 8], eax
cmp eax, 8
jbe 0x100174d7
mov dword [edi + 8], 8
jmp 0x100174df
push 0x50030
push 0
push str._Microsoft_DirectX_End_User_Runtime__is_missing_from_your_System._n_nPlease_click__OK__to_open_the_official_download_page.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x1001742f
push 5
push 0
push 0
push str.https:__www.microsoft.com_download_details.aspx_id35
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test eax, eax
jbe 0x10017586
add edi, 0x30
xor edx, edx
mov dword [ebp - 0x24], edx
nop word [eax + eax]
mov ecx, 0x100e4720
mov dword [ebp - 0x30], ecx
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
push edx
push esi
mov dword [ebp - 0x38], ecx
call dword [eax + 0x18]
xor esi, esi
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x10017551
nop
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x20]
push edx
push esi
push dword [ebp - 0x38]
mov ecx, dword [eax]
push dword [ebp - 0x24]
push eax
call dword [ecx + 0x1c]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x10017537
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax], xmm0
add dword [edi], 0x10
jmp 0x10017544
lea ecx, [ebp - 0x20]
push ecx
push eax
lea ecx, [edi - 4]
call fcn.10017220
mov eax, dword [ebp - 0x2c]
inc esi
inc dword [eax]
cmp esi, dword [ebp - 0x3c]
jb 0x10017510
jmp 0x10017554
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x28]
add ecx, 4
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
cmp ecx, 0x100e4734
jne 0x100174f8
add eax, 4
inc edx
mov dword [ebp - 0x2c], eax
add edi, 0xc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
cmp edx, dword [eax + 8]
jb 0x100174f0
mov edi, eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10084864
mov esp, ebp
pop ebp
ret 4