Function at 0x4668a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa0], eax
movaps xmm0, xmmword [0x542650]
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
push esi
push str.dxgi.dll
mov dword [esp + 0x10], 0
mov ebx, dword [ebp + 0x24c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
movups xmmword [esp + 0x94], xmm0
mov dword [esp + 0xa4], 0x9300
mov dword [esp + 0xa8], 0x9200
mov dword [esp + 0xac], 0x9100
call fcn.00449c50
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x466929
mov esi, 0x80004005
jmp 0x466e28
push str.CreateDXGIFactory
push eax
call fcn.00449bd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x466947
mov esi, 0x80004005
jmp 0x466e28
push str.d3d11.dll
call fcn.00449c50
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
jne 0x466965
mov esi, 0x80004005
jmp 0x466e28
push str.D3D11CreateDevice
push eax
call fcn.00449bd0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x466985
mov esi, 0x80004005
jmp 0x466e28
push edi
lea edi, [ebx + 8]
push edi
push 0x541b8c
call esi
mov esi, eax
test esi, esi
jns 0x4669aa
push esi
push str.D3D11_CreateDeviceResources__CreateDXGIFactory
call fcn.00470580
add esp, 8
jmp 0x466e27
mov ecx, dword [edi]
lea edi, [ebx + 0xc]
push edi
push 0
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov esi, eax
test esi, esi
jns 0x4669d3
push esi
push str.D3D11_CreateDeviceResources__D3D11CreateDevice
call fcn.00470580
add esp, 8
jmp 0x466e27
push 0
push str.SDL_RENDER_DIRECT3D11_DEBUG
call fcn.0043b670
neg eax
push 0
sbb esi, esi
and esi, 2
push str.SDL_RENDER_DIRECT3D_THREADSAFE
add esi, 0x20
call fcn.0043b670
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, eax
lea eax, [ebx + 0xac]
push edx
push eax
lea eax, [esp + 0x18]
push eax
push 7
push 7
lea eax, [esp + 0xa8]
push eax
mov eax, esi
or eax, 1
test ecx, ecx
cmovne eax, esi
push eax
push 0
push 0
push dword [edi]
call dword [esp + 0x44]
mov esi, eax
test esi, esi
jns 0x466a45
push esi
push str.D3D11_CreateDeviceResources__D3D11CreateDevice
call fcn.00470580
add esp, 8
jmp 0x466e27
mov eax, dword [esp + 0x10]
lea edi, [ebx + 0x10]
push edi
push 0x541bbc
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jns 0x466a72
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device_to_ID3D11Device1
call fcn.00470580
add esp, 8
jmp 0x466e27
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0x14]
push edx
push 0x541bcc
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jns 0x466a9f
push esi
push str.D3D11_CreateDeviceResources__ID3D11DeviceContext_to_ID3D11DeviceContext1
call fcn.00470580
add esp, 8
jmp 0x466e27
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x541b9c
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jns 0x466acd
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device_to_IDXGIDevice1
call fcn.00470580
add esp, 8
jmp 0x466e27
mov eax, dword [esp + 0x18]
push 1
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x30]
call eax
mov esi, eax
test esi, esi
jns 0x466af4
push esi
push str.D3D11_CreateDeviceResources__IDXGIDevice1::SetMaximumFrameLatency
call fcn.00470580
add esp, 8
jmp 0x466e27
mov eax, dword [ebx + 0xac]
cmp eax, 0xa000
jg 0x466b48
je 0x466b90
cmp eax, 0x9100
je 0x466b32
cmp eax, 0x9200
je 0x466b32
cmp eax, 0x9300
jne 0x466b5d
mov dword [ebp + 0xc8], 0x1000
mov dword [ebp + 0xc4], 0x1000
jmp 0x466ba4
mov dword [ebp + 0xc8], 0x800
mov dword [ebp + 0xc4], 0x800
jmp 0x466ba4
cmp eax, 0xa100
je 0x466b90
cmp eax, 0xb000
je 0x466b7a
cmp eax, 0xb100
je 0x466b7a
push eax
push str.D3D11_CreateDeviceResources
push str._s__Unexpected_feature_level:__d
call fcn.0041b670
add esp, 0xc
mov esi, 0x80004005
jmp 0x466e27
mov dword [ebp + 0xc8], 0x4000
mov dword [ebp + 0xc4], 0x4000
jmp 0x466ba4
mov dword [ebp + 0xc8], 0x2000
mov dword [ebp + 0xc4], 0x2000
lea eax, [ebx + 0x28]
push eax
lea ecx, [ebx + 0x6c]
push ecx
push dword [edi]
call fcn.004a7b50
add esp, 0xc
test eax, eax
js 0x466e27
xor edi, edi
lea eax, [ebx + 0x70]
lea eax, [eax + edi*4]
push eax
push edi
push dword [ebx + 0x10]
call fcn.004a7b10
add esp, 0xc
test eax, eax
js 0x466e27
inc edi
cmp edi, 0xb
jb 0x466bc0
push 0x18
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.00459450
add esp, 0xc
mov dword [esp + 0x48], 0x80
mov dword [esp + 0x4c], 0
lea edx, [ebx + 0x138]
mov dword [esp + 0x50], 4
mov ecx, dword [ebx + 0x10]
push edx
push 0
lea edx, [esp + 0x50]
mov eax, dword [ecx]
push edx
push ecx
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
jns 0x466c3c
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateBuffer__vertex_shader_constants_
call fcn.00470580
add esp, 8
jmp 0x466e27
push 0x34
lea eax, [esp + 0x64]
push 0
push eax
call fcn.00459450
movaps xmm0, xmmword [0x542640]
lea eax, [ebx + 0xa4]
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x7c], 0
add esp, 0xc
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 8
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x7f7fffff
mov ecx, dword [ebx + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x5c]
call eax
mov esi, eax
test esi, esi
jns 0x466cb7
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateSamplerState__nearest_pixel_filter_
call fcn.00470580
add esp, 8
jmp 0x466e27
mov dword [esp + 0x60], 0x15
lea eax, [ebx + 0xa8]
mov ecx, dword [ebx + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x5c]
call eax
mov esi, eax
test esi, esi
jns 0x466cef
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateSamplerState__linear_filter_
call fcn.00470580
add esp, 8
jmp 0x466e27
push 0x28
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00459450
mov dword [esp + 0x50], 0
lea eax, [ebx + 0xb0]
mov dword [esp + 0x30], 1
add esp, 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x20], 3
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov ecx, dword [ebx + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x58]
call eax
mov esi, eax
test esi, esi
jns 0x466d80
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateRasterizerState__main_rasterizer_
call fcn.00470580
add esp, 8
jmp 0x466e27
mov dword [esp + 0x3c], 1
lea eax, [ebx + 0xb4]
mov ecx, dword [ebx + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x58]
call eax
mov esi, eax
test esi, esi
jns 0x466db5
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateRasterizerState__clipped_rasterizer_
call fcn.00470580
add esp, 8
jmp 0x466e27
push 1
push ebp
call fcn.00466670
add esp, 8
test eax, eax
je 0x466e27
push 2
push ebp
call fcn.00466670
add esp, 8
test eax, eax
je 0x466e27
push 4
push ebp
call fcn.00466670
add esp, 8
test eax, eax
je 0x466e27
push 8
push ebp
call fcn.00466670
add esp, 8
test eax, eax
je 0x466e27
mov eax, dword [ebx + 0x14]
push dword [ebx + 0x28]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [ebx + 0x14]
push 0
push 0
push dword [ebx + 0x6c]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebx + 0x14]
lea edx, [ebx + 0x138]
push edx
push 1
push 0
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x1c]
call eax
pop edi
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x466e40
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x466e58
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x466e68
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0xac]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401033
add esp, 0xa4
ret