Function at 0x10001f50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x1001b018]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [ebp - 0x310], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x40], 0
mov dword [ebx], eax
mov dword [ebx + 0x78], edi
mov eax, dword [edi]
push edi
mov dword [ebp - 0x30c], esi
call dword [eax + 4]
mov dword [ebx + 0x7c], esi
mov eax, dword [esi]
push esi
call dword [eax + 4]
push str.overlay.fx
push dword [ebp - 0x310]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x2fc], 0
push str._s_s
push 0x104
push eax
mov dword [ebp - 0x300], 0
call fcn.100053e5
add esp, 0x14
mov dword [ebp - 0x2fc], 0
lea eax, [ebp - 0x300]
mov dword [ebp - 0x300], 0
push 0
push eax
lea eax, [ebp - 0x2fc]
push eax
push 0
push 0
push 0x800
push str.ps_4_0
push str.PSNormal
push 0
push 0
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.d3dx10_43.dll_D3DX10CompileFromFileA]
mov ecx, dword [ebp - 0x300]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x308], eax
test ecx, ecx
je 0x100020e2
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
push eax
call esi
mov eax, dword [ebp - 0x300]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x308]
test eax, eax
jns 0x100020f2
push str.pixelshader_compilation_failed_n
call esi
jmp 0x10002797
mov esi, dword [edi]
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push eax
push edi
call dword [esi + 0x148]
mov esi, eax
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x100021f7
push 0
lea eax, [ebp - 0x300]
mov dword [ebp - 0x2fc], 0
push eax
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x300], 0
push eax
push 0
push 0
push 0x800
push str.vs_4_0
push 0x10019654
push 0
push 0
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.d3dx10_43.dll_D3DX10CompileFromFileA]
mov ecx, dword [ebp - 0x300]
mov dword [ebp - 0x308], eax
test ecx, ecx
je 0x100021aa
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call esi
mov eax, dword [ebp - 0x300]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x308]
jmp 0x100021b0
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test eax, eax
jns 0x100021c0
push str.vertexshader_compilation_failed_n
call esi
jmp 0x10002797
mov esi, dword [edi]
lea eax, [ebx + 0x20]
push eax
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push eax
push edi
call dword [esi + 0x13c]
test eax, eax
jns 0x10002208
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.CreatePixelShader_failed_n
call eax
jmp 0x10002797
mov esi, dword [edi]
lea eax, [ebx + 0x24]
push eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x368], str.POSITION
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 6
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], str.TEXCOORD
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0x10
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 0xc
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x334], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push eax
push 2
lea eax, [ebp - 0x368]
push eax
push edi
call dword [esi + 0x138]
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
movaps xmm0, xmmword [0x100197f0]
lea ecx, [ebx + 4]
movups xmmword [ebp - 0x18c], xmm0
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x11c], 0x3f800000
movaps xmm0, xmmword [0x10019800]
movups xmmword [ebp - 0x17c], xmm0
push ecx
movaps xmm0, xmmword [0x10019830]
lea ecx, [ebp - 0x31c]
movups xmmword [ebp - 0x16c], xmm0
push ecx
movaps xmm0, xmmword [0x10019820]
lea ecx, [ebp - 0x1b4]
movups xmmword [ebp - 0x15c], xmm0
push ecx
movaps xmm0, xmmword [0x100197c0]
movups xmmword [ebp - 0x14c], xmm0
push edi
movaps xmm0, xmmword [0x10019790]
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x118], 0
movaps xmm0, xmmword [0x100197e0]
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x1a4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x314], 0
movq qword [ebp - 0x31c], xmm0
mov dword [ebp - 0x31c], eax
mov eax, dword [edi]
movdqu xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1b0], 2
mov dword [ebp - 0x1b4], 0x78
mov dword [ebp - 0x1ac], 1
mov dword [ebp - 0x1a8], 0x10000
call dword [eax + 0x11c]
test eax, eax
jns 0x100023d1
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Vertexbuffer_creation_failed_n
call eax
jmp 0x10002797
push 0x34
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.1000c150
mov eax, dword [edi]
lea ecx, [ebx + 0x28]
movdqa xmm0, xmmword [0x100197a0]
add esp, 0xc
movdqu xmmword [ebp - 0x288], xmm0
mov dword [ebp - 0x270], 1
mov dword [ebp - 0x25c], 0
push ecx
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x258], 0x7f7fffff
push ecx
push edi
call dword [eax + 0x158]
test eax, eax
js 0x10002797
mov eax, dword [edi]
lea ecx, [ebx + 0x2c]
xorps xmm0, xmm0
push ecx
movdqu xmmword [ebp - 0x1cc], xmm0
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x1cc], 0
movq qword [ebp - 0x1bc], xmm0
movdqu xmmword [ebp - 0x1dc], xmm0
push ecx
movdqa xmm0, xmmword [0x10019780]
push edi
movdqu xmmword [ebp - 0x1dc], xmm0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1c8], 0
call dword [eax + 0x154]
test eax, eax
js 0x10002797
mov eax, dword [edi]
lea esi, [ebx + 0x80]
push esi
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], 2
push ecx
push edi
call dword [eax + 0x154]
test eax, eax
jns 0x100024dc
mov dword [esi], 0
push 0x34
lea eax, [ebp - 0x2f8]
push 0
push eax
call fcn.1000c150
mov eax, dword [edi]
lea esi, [ebx + 0x84]
add esp, 0xc
lea ecx, [ebp - 0x2f8]
push esi
push ecx
push edi
call dword [eax + 0x150]
test eax, eax
jns 0x10002510
mov dword [esi], 0
push 0x44
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.1000c150
movdqa xmm0, xmmword [0x100197b0]
lea ecx, [ebx + 0x30]
add esp, 0xc
mov dword [ecx], 0
mov eax, dword [edi]
mov byte [ebp - 0x218], 0xf
mov dword [ebp - 0x250], 1
push ecx
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x220], 6
push ecx
push edi
movdqu xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x218], 0xf0f0f0f
mov dword [ebp - 0x214], 0xf0f0f0f
call dword [eax + 0x14c]
test eax, eax
js 0x10002797
mov ecx, dword [ebp - 0x30c]
lea edx, [ebp - 0x304]
push edx
push 0x10019750
push 0
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x304], 0
call dword [eax + 0x24]
test eax, eax
js 0x10002797
mov eax, dword [edi]
lea ecx, [ebx + 0x74]
push ecx
push 0
push dword [ebp - 0x304]
push edi
call dword [eax + 0x130]
mov esi, eax
mov eax, dword [ebp - 0x304]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x10002797
push 0x3c
lea eax, [ebp - 0x2c4]
push 0
push eax
call fcn.1000c150
mov ecx, dword [ebp - 0x30c]
lea edx, [ebp - 0x2c4]
add esp, 0xc
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x30]
push 0x2c
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.1000c150
mov eax, dword [ebp - 0x2c4]
lea esi, [ebx + 0x34]
add esp, 0xc
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x204], eax
mov eax, dword [edi]
push esi
push 0
push ecx
push edi
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f8], 0x2d
mov dword [ebp - 0x1f4], 1
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0x40
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
call dword [eax + 0x124]
test eax, eax
js 0x10002797
mov eax, dword [ebp - 0x1f8]
lea ecx, [ebx + 0x38]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x320], 0
movdqu xmmword [ebp - 0x330], xmm0
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x330], eax
mov eax, dword [edi]
push ecx
push dword [esi]
mov dword [ebp - 0x32c], 3
push edi
mov dword [ebp - 0x328], 0
call dword [eax + 0x134]
test eax, eax
js 0x10002797
mov edx, dword [ebp - 0x310]
mov ecx, dword [edx + 0x434]
mov eax, dword [edx + 0x438]
add ecx, edx
mov dword [ebx + 0x18], ecx
mov ecx, ebx
call fcn.10001b00
mov eax, dword [edi]
lea ecx, [ebx + 0x3c]
push ecx
push 0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x190], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x1a0], xmm0
push ecx
push edi
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1a0], 0x60
mov dword [ebp - 0x198], 4
mov dword [ebp - 0x194], 0
call dword [eax + 0x11c]
test eax, eax
js 0x10002797
push 0x20
mov ecx, ebx
mov dword [ebx + 8], 0
call fcn.100017b0
mov dword [ebx + 0x40], 1
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005296
mov esp, ebp
pop ebp
ret 0xc