Function at 0x42c8c0
Capabilities:
Print debug messages

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
push 0xffffffffffffffff
push 0x4c7b96
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c8
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c4], edi
mov eax, dword [ebx + 0x10]
push str.ClipInstance
mov dword [ebp - 0x5b4], eax
call fcn.00446f30
push 0x10
mov dword [edi + 8], eax
lea ecx, [edi + 0x148]
mov word [edi + 0x2d8], 0x202
mov dword [edi + 0x2b8], 0x4b00
mov dword [edi + 0x298], 1
mov dword [edi + 0x29c], 0
push dword [0x4fe45c]
call fcn.00442120
test al, al
je 0x42c983
mov ecx, dword [edi + 0x14c]
lea eax, [edi + 0x154]
push eax
push 0
push 0
mov edx, dword [ecx]
push ecx
call dword [edx + 0x20]
test eax, eax
je 0x42c9bd
push str.Map_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.clsFx12ClipInstance_CreateConstantBuffer01_Failed_n
push 0x200
push dword [ebp - 0x5b4]
call fcn.00483128
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov dword [edi + 0x148], 1
mov eax, dword [edi + 0x154]
test eax, eax
je 0x42c9db
movups xmm0, xmmword [edi + 0x2e0]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x138]
mov dword [ebp - 0x12c], 7
push eax
push 2
lea eax, [ebp - 0x158]
mov dword [ebp - 0x128], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x124], 2
push 4
push dword [0x4fe45c]
movups xmmword [ebp - 0x158], xmm0
mov ecx, edi
mov dword [ebp - 0x138], 7
movaps xmm0, xmmword [0x4f4320]
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x130], 2
call fcn.00446fa0
test al, al
jne 0x42ca5c
push str.clsFx12ClipInstance_CreateRootSignature_Failed_n
jmp 0x42c988
xorps xmm0, xmm0
movlpd qword [ebp - 0x168], xmm0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0x32
mov dword [ebp - 4], 0
push 0x898
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x148], 0xffffffff
mov dword [ebp - 0x140], 0xffffffff
mov dword [ebp - 0x13c], 0xffffffff
call fcn.0047d7a2
movaps xmm0, xmmword [0x4f4290]
add esp, 4
mov dword [ebp - 0x5c8], eax
mov dword [ebp - 0x168], eax
mov dword [eax], 0
movups xmmword [eax + 4], xmm0
mov byte [ebp - 0x12c], 0
movups xmm0, xmmword [ebp - 0x150]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
movups xmmword [eax + 0x14], xmm0
movq xmm0, qword [ebp - 0x140]
movq qword [eax + 0x24], xmm0
mov eax, 1
mov word [ebp - 0x162], ax
mov byte [ebp - 0x5d4], 0
mov dword [ebp - 0x5d0], 0
mov dword [ebp - 0x5cc], 0
mov edi, dword [ebp - 0x5b4]
lea ecx, [ebp - 0x12c]
push edi
push eax
push str.Shader_Fx12ClipInst
push 0
mov byte [ebp - 4], 2
call fcn.00447610
test al, al
je 0x42cf8b
lea ecx, [ebp - 0x5d4]
call fcn.004478d0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x3000
push 4
push 0
mov byte [ebp - 0x5d4], 1
call esi
mov dword [ebp - 0x5d0], eax
test eax, eax
jne 0x42cbaf
push str.alloc_failed
push 0x200
push edi
call fcn.00483128
add esp, 0xc
jmp 0x42cf8b
push 4
push 0x3000
push 4
push 0
call esi
mov ecx, dword [ebp - 0x5d0]
mov edx, eax
xor eax, eax
mov dword [ebp - 0x5cc], edx
sub ecx, edx
mov dword [ebp - 0x5b0], eax
mov esi, edx
mov dword [ebp - 0x5b8], ecx
nop dword [eax]
push eax
push str.Shader_Fx12ClipInst
lea eax, [ebp - 0x120]
push str._sPs_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x200
lea eax, [ebp - 0x368]
push 0
push eax
call fcn.0047ebc0
add esp, 0x1c
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x368]
push 0x200
push eax
call fcn.00483128
add esp, 8
lea ecx, [ebp - 0x368]
call fcn.0044d1d0
push 0x4f0edc
lea eax, [ebp - 0x368]
push 0x200
push eax
call fcn.00484a35
add esp, 0xc
lea eax, [ebp - 0x368]
push 0x4f0ee8
push 0x200
push eax
call fcn.00484a35
add esp, 0xc
lea eax, [ebp - 0x368]
push esi
push eax
push 0x502514
call fcn.004523e0
mov ecx, eax
call fcn.004526f0
mov edi, eax
test edi, edi
jne 0x42cc9c
mov edx, esi
lea ecx, [ebp - 0x368]
call fcn.0044eb80
mov edi, eax
test edi, edi
je 0x42cf3f
mov eax, dword [ebp - 0x5b8]
mov dword [eax + esi], edi
add esi, 4
mov eax, dword [ebp - 0x5b0]
inc eax
mov dword [ebp - 0x5b0], eax
cmp eax, 1
jl 0x42cbe0
mov ecx, dword [ebp - 0x5c4]
xor esi, esi
add ecx, 0x14
mov dword [ebp - 0x5b8], ecx
nop
mov edx, dword [ebp - 0x5c8]
xor eax, eax
mov ecx, edx
nop word [eax + eax]
cmp dword [ecx], esi
je 0x42ccf1
inc eax
add ecx, 0x2c
cmp eax, 1
jl 0x42cce0
xor edi, edi
jmp 0x42ccf9
imul eax, eax, 0x2c
lea edi, [edx + 4]
add edi, eax
mov edx, dword [ebp - 0x128]
mov cl, byte [edi + 0x14]
mov al, byte [ebp - 0x12c]
test edx, edx
je 0x42cd24
cmp cl, al
jae 0x42cd24
movzx eax, cl
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x5bc], eax
mov al, byte [ebp - 0x12c]
jmp 0x42cd2e
mov dword [ebp - 0x5bc], 0
mov edx, dword [ebp - 0x124]
test edx, edx
je 0x42cd4a
cmp cl, al
jae 0x42cd4a
movzx eax, cl
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x5c0], eax
jmp 0x42cd54
mov dword [ebp - 0x5c0], 0
mov cl, byte [edi + 0x1c]
cmp cl, 1
jae 0x42cd70
mov edx, dword [ebp - 0x5d0]
movzx eax, cl
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x5d8], eax
jmp 0x42cd7a
mov dword [ebp - 0x5d8], 0
mov edx, dword [ebp - 0x5cc]
test edx, edx
je 0x42cd97
cmp cl, 1
jae 0x42cd97
movzx eax, cl
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x5b0], eax
jmp 0x42cda1
mov dword [ebp - 0x5b0], 0
push 0x23c
lea eax, [ebp - 0x5a8]
push 0
push eax
call fcn.0047ebc0
mov eax, dword [ebp - 0x5c4]
add esp, 0xc
mov dword [ebp - 0x3b0], 3
mov dword [ebp - 0x384], 1
mov dword [ebp - 0x380], 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x5a8], eax
mov eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x5c0]
mov dword [ebp - 0x5a0], eax
mov eax, dword [ebp - 0x5d8]
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp - 0x5b0]
mov dword [ebp - 0x598], eax
lea eax, [ebp - 0x5a8]
mov dword [ebp - 0x420], 0xffffffff
mov dword [ebp - 0x568], 0
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0
mov dword [ebp - 0x58c], 0
mov dword [ebp - 0x588], 0
mov dword [ebp - 0x594], 0
mov dword [ebp - 0x590], 0
push dword [edi]
push eax
call fcn.00447210
push ecx
push dword [edi + 0x10]
lea eax, [ebp - 0x5a8]
push eax
call fcn.00447350
mov dword [ebp - 0x3a8], 0x1c
lea eax, [ebp - 0x5a8]
mov dword [ebp - 0x3ac], 1
mov dword [ebp - 0x3a4], 0
push dword [edi + 4]
push ecx
push eax
call fcn.004473e0
cmp dword [edi + 0xc], 0
push ecx
setne al
movzx eax, al
push eax
xor eax, eax
cmp dword [edi + 8], eax
setne al
push eax
lea eax, [ebp - 0x5a8]
push eax
call fcn.00447560
mov eax, dword [0x4fe45c]
lea edx, [ebp - 0x5a8]
mov edi, dword [ebp - 0x5b8]
push edi
push 0x4efae4
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x42cf28
inc esi
add edi, 4
mov dword [ebp - 0x5b8], edi
cmp esi, 1
jl 0x42ccd0
mov ecx, dword [ebp - 0x5c4]
mov eax, dword [ebx + 0xc]
mov byte [ebp - 0x5a9], 1
mov dword [ecx + 0x370], eax
jmp 0x42cf92
push eax
push esi
push str.clsFx12WaterSurfaceInstance_CreateGraphicsPipelineState__d_____d_Failed_n
push dword [ebp - 0x5b4]
call fcn.0044d1b0
add esp, 0x10
jmp 0x42cf8b
lea eax, [ebp - 0x368]
push eax
push 0x502514
lea eax, [ebp - 0x570]
push 0x4f0eec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x570]
call fcn.0044cef0
mov eax, dword [ebp - 0x5b8]
mov dword [esi + eax], edi
lea eax, [ebp - 0x120]
push eax
push str.ShaderFile:_s_load_failed
push dword [ebp - 0x5b4]
call fcn.0044d1b0
add esp, 0x1c
mov byte [ebp - 0x5a9], 0
lea ecx, [ebp - 0x5d4]
call fcn.004478d0
lea ecx, [ebp - 0x12c]
call fcn.004478d0
push dword [ebp - 0x5c8]
call fcn.0047d79d
mov al, byte [ebp - 0x5a9]
add esp, 4
jmp 0x42c99d