Function at 0x465ba0
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 [0x5430e0]
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.004491e0
add esp, 4
mov dword [ebx], eax
test eax, eax
jne 0x465c29
mov esi, 0x80004005
jmp 0x466128
push str.CreateDXGIFactory
push eax
call fcn.00449160
mov esi, eax
add esp, 8
test esi, esi
jne 0x465c47
mov esi, 0x80004005
jmp 0x466128
push str.d3d11.dll
call fcn.004491e0
add esp, 4
mov dword [ebx + 4], eax
test eax, eax
jne 0x465c65
mov esi, 0x80004005
jmp 0x466128
push str.D3D11CreateDevice
push eax
call fcn.00449160
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x465c85
mov esi, 0x80004005
jmp 0x466128
push edi
lea edi, [ebx + 8]
push edi
push 0x54261c
call esi
mov esi, eax
test esi, esi
jns 0x465caa
push esi
push str.D3D11_CreateDeviceResources__CreateDXGIFactory
call fcn.0046f870
add esp, 8
jmp 0x466127
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 0x465cd3
push esi
push str.D3D11_CreateDeviceResources__D3D11CreateDevice
call fcn.0046f870
add esp, 8
jmp 0x466127
push 0
push str.SDL_RENDER_DIRECT3D11_DEBUG
call fcn.0043ac50
neg eax
push 0
sbb esi, esi
and esi, 2
push str.SDL_RENDER_DIRECT3D_THREADSAFE
add esi, 0x20
call fcn.0043ac50
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 0x465d45
push esi
push str.D3D11_CreateDeviceResources__D3D11CreateDevice
call fcn.0046f870
add esp, 8
jmp 0x466127
mov eax, dword [esp + 0x10]
lea edi, [ebx + 0x10]
push edi
push 0x54264c
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jns 0x465d72
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device_to_ID3D11Device1
call fcn.0046f870
add esp, 8
jmp 0x466127
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0x14]
push edx
push 0x54265c
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jns 0x465d9f
push esi
push str.D3D11_CreateDeviceResources__ID3D11DeviceContext_to_ID3D11DeviceContext1
call fcn.0046f870
add esp, 8
jmp 0x466127
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0x54262c
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jns 0x465dcd
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device_to_IDXGIDevice1
call fcn.0046f870
add esp, 8
jmp 0x466127
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 0x465df4
push esi
push str.D3D11_CreateDeviceResources__IDXGIDevice1::SetMaximumFrameLatency
call fcn.0046f870
add esp, 8
jmp 0x466127
mov eax, dword [ebx + 0xac]
cmp eax, 0xa000
jg 0x465e48
je 0x465e90
cmp eax, 0x9100
je 0x465e32
cmp eax, 0x9200
je 0x465e32
cmp eax, 0x9300
jne 0x465e5d
mov dword [ebp + 0xc8], 0x1000
mov dword [ebp + 0xc4], 0x1000
jmp 0x465ea4
mov dword [ebp + 0xc8], 0x800
mov dword [ebp + 0xc4], 0x800
jmp 0x465ea4
cmp eax, 0xa100
je 0x465e90
cmp eax, 0xb000
je 0x465e7a
cmp eax, 0xb100
je 0x465e7a
push eax
push str.D3D11_CreateDeviceResources
push str._s__Unexpected_feature_level:__d
call fcn.0041ad60
add esp, 0xc
mov esi, 0x80004005
jmp 0x466127
mov dword [ebp + 0xc8], 0x4000
mov dword [ebp + 0xc4], 0x4000
jmp 0x465ea4
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.004a6190
add esp, 0xc
test eax, eax
js 0x466127
xor edi, edi
lea eax, [ebx + 0x70]
lea eax, [eax + edi*4]
push eax
push edi
push dword [ebx + 0x10]
call fcn.004a6150
add esp, 0xc
test eax, eax
js 0x466127
inc edi
cmp edi, 0xb
jb 0x465ec0
push 0x18
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.004587c0
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 0x465f3c
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateBuffer__vertex_shader_constants_
call fcn.0046f870
add esp, 8
jmp 0x466127
push 0x34
lea eax, [esp + 0x64]
push 0
push eax
call fcn.004587c0
movaps xmm0, xmmword [0x5430d0]
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 0x465fb7
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateSamplerState__nearest_pixel_filter_
call fcn.0046f870
add esp, 8
jmp 0x466127
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 0x465fef
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateSamplerState__linear_filter_
call fcn.0046f870
add esp, 8
jmp 0x466127
push 0x28
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004587c0
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 0x466080
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateRasterizerState__main_rasterizer_
call fcn.0046f870
add esp, 8
jmp 0x466127
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 0x4660b5
push esi
push str.D3D11_CreateDeviceResources__ID3D11Device1::CreateRasterizerState__clipped_rasterizer_
call fcn.0046f870
add esp, 8
jmp 0x466127
push 1
push ebp
call fcn.00465970
add esp, 8
test eax, eax
je 0x466127
push 2
push ebp
call fcn.00465970
add esp, 8
test eax, eax
je 0x466127
push 4
push ebp
call fcn.00465970
add esp, 8
test eax, eax
je 0x466127
push 8
push ebp
call fcn.00465970
add esp, 8
test eax, eax
je 0x466127
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 0x466140
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 0x466158
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 0x466168
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