Function at 0x100023e0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x4bc
mov eax, dword [0x1001a030]
xor eax, esp
mov dword [esp + 0x4b4], eax
mov eax, dword [esp + 0x4c4]
push ebx
mov ebx, dword [esp + 0x4c4]
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [ebx + 4]
mov edi, edx
push ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [esp + 0x24]
xor ebp, ebp
mov dword [ebx + 0x60], ebp
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x6c], ebp
mov dword [ebx + 0x70], ebp
mov dword [ebx + 0x74], ebp
mov dword [ebx + 0x38], ebp
mov dword [ebx + 0x3c], ebp
mov dword [ebx + 0x40], ebp
mov dword [ebx + 0x44], ebp
mov dword [ebx + 0x48], ebp
mov dword [ebx + 0x4c], ebp
mov dword [ebx + 0x50], ebp
mov dword [ebx + 0x54], ebp
mov dword [ebx + 0x58], ebp
mov dword [ebx + 0x5c], ebp
mov dword [ebx + 0x9c], ebp
mov dword [ebx + 0xa0], ebp
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x64], ebp
mov dword [ebx], edx
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x1c], edi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x24]
push str.overlay.fx
push ecx
push str._s_s
lea edx, [esp + 0x3c4]
push 0x104
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.1000615b
add esp, 0x14
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
push ebp
push 0x800
push str.ps_4_0
push str.PSNormal
push ebp
push ebp
lea edx, [esp + 0x3e0]
push edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call sub.d3dx11_43.dll_D3DX11CompileFromFileA
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x100024fd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebp
jge 0x10002511
push str.pixelshader_compilation_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10002cb8
mov edi, dword [esi]
lea eax, [ebx + 0x38]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push ebp
push eax
call edx
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
push eax
mov eax, dword [edi + 0x3c]
push esi
call eax
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebp
jge 0x1000255a
push str.CreatePixelShader_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10002cb8
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
push ebp
push 0x800
push str.vs_4_0
push 0x10016c7c
push ebp
push ebp
lea edx, [esp + 0x3e0]
push edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call sub.d3dx11_43.dll_D3DX11CompileFromFileA
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x1000259f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebp
jge 0x100025b3
push str.vertexshader_compilation_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10002cb8
mov edi, dword [esi]
lea eax, [ebx + 0x3c]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push ebp
push eax
call edx
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
push eax
mov eax, dword [edi + 0x30]
push esi
call eax
test eax, eax
jge 0x100025fa
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.CreateVertexShader_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10002cb8
mov edi, dword [esi]
lea eax, [ebx + 0x40]
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x124], str.POSITION
mov dword [esp + 0x128], ebp
mov dword [esp + 0x12c], 6
mov dword [esp + 0x130], ebp
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], ebp
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x140], str.TEXCOORD
mov dword [esp + 0x144], ebp
mov dword [esp + 0x148], 0x10
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x150], 0xc
mov dword [esp + 0x154], ebp
mov dword [esp + 0x158], ebp
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov ecx, dword [edi + 0x2c]
push eax
push 2
lea eax, [esp + 0x130]
push eax
push esi
call ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
fld1
fst dword [esp + 0x158]
mov dword [esp + 0xb0], ebp
fst dword [esp + 0x15c]
mov dword [esp + 0xb4], ebp
fst dword [esp + 0x160]
mov dword [esp + 0xb8], ebp
fst dword [esp + 0x164]
mov dword [esp + 0xbc], ebp
fldz
mov dword [esp + 0xc0], ebp
fst dword [esp + 0x168]
mov dword [esp + 0xc4], ebp
fxch st(1)
mov edi, 1
fst dword [esp + 0x16c]
fld dword [0x10016e04]
fst dword [esp + 0x170]
fst dword [esp + 0x180]
fst dword [esp + 0x184]
fst dword [esp + 0x194]
fst dword [esp + 0x198]
fstp dword [esp + 0x1a8]
fst dword [esp + 0x174]
fst dword [esp + 0x178]
fst dword [esp + 0x17c]
fst dword [esp + 0x188]
fst dword [esp + 0x190]
fst dword [esp + 0x19c]
fst dword [esp + 0x1a4]
fst dword [esp + 0x1ac]
fst dword [esp + 0x1b0]
fst dword [esp + 0x1bc]
fst dword [esp + 0x1c0]
fst dword [esp + 0x1c4]
fstp dword [esp + 0x1c8]
fst dword [esp + 0x18c]
fst dword [esp + 0x1a0]
fst dword [esp + 0x1b4]
fst dword [esp + 0x1b8]
fstp dword [esp + 0x1cc]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [ebx + 0x20]
push eax
lea ecx, [esp + 0x15c]
mov dword [esp + 0x90], ebp
lea eax, [esp + 0x90]
mov dword [esp + 0x90], ecx
push eax
lea ecx, [esp + 0xb8]
push ecx
push esi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], 0x78
mov dword [esp + 0xc8], edi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
call edx
test eax, eax
jge 0x10002825
push str.Vertexbuffer_creation_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10002cb8
push 0x34
lea eax, [esp + 0x1d4]
push ebp
push eax
call fcn.10009580
fldz
mov ecx, dword [esi]
fstp dword [esp + 0x208]
fld dword [0x10016e00]
add esp, 0xc
lea eax, [ebx + 0x44]
fstp dword [esp + 0x200]
push eax
mov eax, dword [ecx + 0x5c]
lea edx, [esp + 0x1d4]
push edx
push esi
mov dword [esp + 0x1dc], 0x15
mov dword [esp + 0x1e0], edi
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e8], edi
mov dword [esp + 0x1f4], edi
call eax
test eax, eax
jl 0x10002cb8
fldz
mov ecx, dword [esi]
lea eax, [ebx + 0x48]
push eax
mov eax, dword [ecx + 0x58]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x40], ebp
fst dword [esp + 0x40]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x44], ebp
fstp dword [esp + 0x44]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
push esi
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
call eax
test eax, eax
jl 0x10002cb8
mov ecx, dword [esi]
lea eax, [ebx + 0x9c]
push eax
mov eax, dword [ecx + 0x58]
lea edx, [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x34], 2
call eax
test eax, eax
jge 0x10002926
mov dword [ebx + 0x9c], ebp
push 0x34
lea ecx, [esp + 0x280]
push ebp
push ecx
call fcn.10009580
mov edx, dword [esi]
mov ecx, dword [edx + 0x54]
add esp, 0xc
lea eax, [ebx + 0xa0]
push eax
lea eax, [esp + 0x280]
push eax
push esi
call ecx
test eax, eax
jge 0x1000295a
mov dword [ebx + 0xa0], ebp
push 0x108
lea edx, [esp + 0x2b4]
push ebp
push edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
call fcn.10009580
mov ecx, 5
mov dword [esp + 0x60], ecx
mov eax, 6
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
add esp, 0xc
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x2b0], ebp
mov dword [esp + 0x2b4], ebp
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0x2b8]
lea eax, [ebx + 0x4c]
push eax
mov byte [esp + 0x70], 0xf
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x74]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x50]
lea edx, [esp + 0x2b4]
push edx
push esi
call eax
test eax, eax
jl 0x10002cb8
mov edi, dword [esp + 0x20]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x24]
lea edx, [esp + 0x1c]
push edx
push 0x10016db0
push ebp
push edi
mov dword [esp + 0x2c], ebp
call eax
test eax, eax
jl 0x10002cb8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi]
lea eax, [ebx + 0x54]
push eax
mov eax, dword [ecx + 0x24]
push ebp
push edx
push esi
call eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x240]
push ecx
push edi
call edx
test eax, eax
jl 0x10002af5
mov edx, dword [esp + 0x240]
mov ecx, dword [esp + 0x244]
mov eax, 1
mov dword [esp + 0x100], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x108], eax
lea eax, [ebx + 0xa4]
push eax
mov dword [esp + 0xf8], edx
push ebp
lea edx, [esp + 0xfc]
mov dword [esp + 0x100], ecx
mov ecx, dword [esi]
mov eax, dword [ecx + 0x14]
push edx
push esi
mov dword [esp + 0x124], 0x28
mov dword [esp + 0x128], ebp
mov dword [esp + 0x114], 0x1c
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x11c], ebp
mov dword [esp + 0x120], ebp
call eax
test eax, eax
jl 0x10002af5
mov edx, dword [ebx + 0xa4]
lea eax, [ebx + 0xa8]
push eax
push ebp
mov dword [eax], ebp
mov ecx, dword [esi]
mov eax, dword [ecx + 0x24]
push edx
push esi
call eax
cmp dword [esp + 0x20], ebp
jl 0x10002cb8
push 0x3c
lea ecx, [esp + 0x208]
push ebp
push ecx
call fcn.10009580
mov edx, dword [edi]
mov ecx, dword [edx + 0x30]
add esp, 0xc
lea eax, [esp + 0x204]
push eax
push edi
call ecx
push 0x2c
lea edx, [esp + 0xcc]
push ebp
push edx
call fcn.10009580
mov eax, dword [esp + 0x210]
mov ecx, dword [esp + 0x214]
mov edx, dword [esi]
add esp, 0xc
mov dword [esp + 0xc8], eax
mov eax, 1
lea edi, [ebx + 0x50]
push edi
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe0], eax
push ebp
lea eax, [esp + 0xd0]
push eax
mov dword [esp + 0xd8], ecx
mov ecx, dword [edx + 0x14]
push esi
mov dword [esp + 0xe8], 0x2d
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf8], 0x40
mov dword [esp + 0xfc], ebp
mov dword [esp + 0x100], ebp
call ecx
test eax, eax
jl 0x10002cb8
mov edx, dword [esp + 0xd8]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x98], ebp
lea eax, [ebx + 0x58]
push eax
mov eax, dword [edi]
mov dword [esp + 0x9c], edx
lea edx, [esp + 0x9c]
push edx
push eax
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xb0], ebp
push esi
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xac], 3
mov dword [esp + 0xb4], ebp
call ecx
test eax, eax
jl 0x10002cb8
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x434]
mov ecx, dword [eax + 0x438]
add edx, eax
mov eax, ebx
mov dword [ebx + 0x34], edx
call fcn.10001db0
mov edx, dword [esi]
mov ecx, dword [edx + 0xc]
lea eax, [ebx + 0x5c]
push eax
push ebp
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
push esi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], 0x60
mov dword [esp + 0x8c], 4
mov dword [esp + 0x90], ebp
call ecx
test eax, eax
jl 0x10002cb8
push ebx
mov eax, 0x20
mov dword [ebx + 0x24], ebp
call fcn.10001a60
mov dword [ebx + 0x64], 1
mov ecx, dword [esp + 0x4c4]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.1000600e
add esp, 0x4bc
ret 8