Function at 0x420670
Capabilities:
Create thread
Get system information on windows
Link many functions at runtime
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x124
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [esp], str.dxgi.dll
call esi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 4
mov ebx, eax
mov dword [esp + 4], str.CreateDXGIFactory1
mov dword [esp], eax
mov dword [ebp - 0xfc], edi
call edi
sub esp, 8
mov dword [0x440050], eax
mov dword [esp], ebx
mov dword [esp + 4], str.CreateDXGIFactory2
call edi
sub esp, 8
mov dword [0x44004c], eax
mov dword [esp], str.gdi32.dll
call esi
mov esi, 0xdc
sub esp, 4
mov ebx, eax
mov dword [esp + 4], str.D3DKMTCheckVidPnExclusiveOwnership
mov dword [esp], eax
call edi
sub esp, 8
mov dword [0x440048], eax
mov dword [esp + 4], str.D3DKMTCloseAdapter
mov dword [esp], ebx
call edi
sub esp, 8
mov dword [0x440044], eax
mov dword [esp + 4], str.D3DKMTOpenAdapterFromGdiDisplayName
mov dword [esp], ebx
call edi
mov dword [0x440040], eax
mov eax, dword [sym.imp.kernel32.dll_LoadLibraryA]
sub esp, 8
mov dword [esp], str.d3d11.dll
mov dword [ebp - 0x100], eax
call eax
sub esp, 4
mov dword [esp + 4], str.D3D11CreateDevice
mov dword [esp], eax
call edi
mov word [0x4400a4], si
sub esp, 8
mov dword [0x44003c], eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1f53
mov dword [esp + 8], 0x440060
mov dword [esp + 4], 0xfffffffe
mov dword [esp], 0
call dword [sym.imp.user32.dll_EnumDisplaySettingsW]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], str.Failed_to_get_display_mode._n
call fcn.00402320
mov dword [esp], str.WINETEST_NO_MT_D3D
call dword [sym.imp.msvcrt.dll_getenv]
test eax, eax
sete al
movzx eax, al
mov dword [0x425050], eax
mov dword [esp + 4], 0x42aa14
mov eax, dword [str.windows]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll_strcmp]
mov dword [ebp - 0xe4], eax
call eax
test eax, eax
jne 0x4207d2
mov dword [0x425050], 0
lea eax, [ebp - 0xcc]
mov dword [esp], eax
call fcn.00423430
mov dword [ebp - 0xd0], eax
cmp eax, 2
jbe 0x422889
mov dword [ebp - 0xf4], 0
mov edi, 2
jmp 0x42083d
mov dword [ebp - 0xd8], ecx
mov dword [esp + 4], str.__warp
mov dword [esp], ebx
mov eax, dword [ebp - 0xe4]
call eax
mov ecx, dword [ebp - 0xd8]
test eax, eax
jne 0x421a89
mov dword [0x440030], 1
mov edi, ecx
mov eax, dword [ebp - 0xd0]
cmp edi, eax
jae 0x420883
mov esi, dword [ebp - 0xcc]
lea eax, [edi*4]
mov dword [ebp - 0xd4], eax
mov ebx, dword [esi + edi*4]
mov dword [esp + 4], str.__validate
mov dword [esp], ebx
mov eax, dword [ebp - 0xe4]
call eax
lea ecx, [edi + 1]
test eax, eax
jne 0x420800
mov eax, dword [ebp - 0xd0]
mov edi, ecx
mov dword [ebp - 0xf4], 1
cmp edi, eax
jb 0x42083d
mov eax, 0x417660
call fcn.00401570
mov eax, 0x4113f0
call fcn.00401570
mov eax, 0x419c70
call fcn.00401570
mov eax, 0x411c30
call fcn.00401570
mov eax, 0x417c20
call fcn.00401570
mov eax, 0x414830
call fcn.00401570
mov eax, 0x410b00
call fcn.00401570
mov eax, 0x4161b0
call fcn.00401570
mov eax, 0x41b780
call fcn.00401570
mov eax, 0x410100
call fcn.00401570
mov eax, 0x41b3d0
call fcn.00401570
mov eax, 0x404ae0
call fcn.00401570
mov eax, 0x404800
call fcn.00401570
mov eax, 0x407560
call fcn.00401570
mov eax, 0x40fd90
call fcn.00401570
mov ebx, dword [0x425050]
test ebx, ebx
jne 0x422728
mov ecx, dword [section..bss]
xor ebx, ebx
test ecx, ecx
je 0x420946
mov eax, dword [0x44002c]
call dword [eax + ebx*4]
add ebx, 1
cmp ebx, dword [section..bss]
jb 0x420933
call fcn.0041dce0
call fcn.0041bfd0
call fcn.00416ef0
call fcn.00407780
xor eax, eax
call fcn.0040fc40
mov dword [ebp - 0xe8], eax
test eax, eax
je 0x42286e
call fcn.004012f0
mov edi, dword [ebp - 0xe8]
lea edx, [ebp - 0xac]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x42d9f0
mov dword [esp], edi
call dword [eax]
sub esp, 0xc
mov ebx, eax
mov eax, 0x1193
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [edi]
lea edx, [ebp - 0xb4]
mov dword [esp], edi
mov dword [esp + 4], edx
call dword [eax + 0x1c]
sub esp, 8
mov ebx, eax
mov eax, 0x1196
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x42c940
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, 0x1198
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
xor esi, esi
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
lea eax, [ebp - 0x48]
mov edx, 0x42ad80
mov dword [ebp - 0xd8], eax
sub esp, 4
lea esi, [esi]
xor eax, eax
mov ecx, 0xd
lea edi, [ebp - 0x40]
mov dword [ebp - 0xd0], edx
rep stosd dword es:[edi], eax
mov eax, dword [0x44010c]
lea edi, [ebp - 0xbc]
mov dword [ebp - 0x38], 0x1c
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x48], eax
mov eax, dword [0x440110]
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0xd8]
mov dword [esp + 8], edi
mov ebx, dword [ebp - 0xac]
mov dword [esp], eax
mov dword [esp + 4], ebx
call dword [ecx + 0x28]
sub esp, 0x10
mov ebx, eax
call fcn.00422980
mov edx, dword [ebp - 0xd0]
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11aa
mov eax, dword [edx + 0xc]
cmp ebx, eax
je 0x421f00
cmp dword [edx + 0x10], ebx
jne 0x420b28
mov ecx, dword [0x440170]
test ecx, ecx
je 0x421f00
cmp ebx, 0x87a0001
jne 0x420b38
test eax, eax
jns 0x421af6
xor eax, eax
mov dword [ebp - 0xd0], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
mov dword [esp], eax
call fcn.00402320
test ebx, ebx
mov edx, dword [ebp - 0xd0]
jns 0x421b28
add esi, 1
add edx, 0x18
cmp esi, 0x2e
jne 0x420a70
xor ebx, ebx
lea esi, [esi]
nop
xor eax, eax
mov ecx, 0xd
lea edi, [ebp - 0x40]
mov edx, dword [ebx*4 + 0x42ad40]
rep stosd dword es:[edi], eax
mov eax, dword [0x44010c]
lea edi, [ebp - 0xbc]
mov dword [ebp - 0x38], 0x1c
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0x48], eax
mov eax, dword [0x440110]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 1
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov esi, dword [ebp - 0xd8]
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x28]
sub esp, 0x10
mov edi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11fd
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
call fcn.00402320
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
mov edi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1200
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
mov dword [esp], eax
call fcn.00402320
mov edi, dword [ebp - 0xc8]
and edi, 0xffffffcf
je 0x420c95
mov edx, dword [0x440170]
xor eax, eax
test edx, edx
setne al
mov edi, eax
call fcn.00422980
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
or edx, edi
mov dword [eax + 0x10], edx
jmp 0x420cf7
call fcn.00422980
mov dword [eax], 0x427024
mov edx, dword [ebp - 0xc8]
mov dword [eax + 4], 0x1202
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0x10], ebx
movzx eax, al
mov dword [esp + 4], str.Got_usage__x__expected__x__test__u._n
mov dword [esp], eax
call fcn.00402320
call fcn.00422980
shr dword [eax + 0x10], 1
call fcn.00422980
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x420cb0
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
mov edi, eax
and edi, 0x20
mov edx, edi
or edx, 8
test al, 0x10
mov eax, dword [ebp - 0xbc]
cmovne edi, edx
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x42c210
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x10
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x120b
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
call fcn.00402320
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xa0]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x120d
mov eax, dword [ebp - 0x80]
mov dword [esp + 0x10], ebx
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edi
movzx eax, al
mov dword [esp + 4], str.Got_d3d10_bind_flags__x__expected__x__test__u._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xc0]
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x42c350
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x10
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1213
test esi, esi
je 0x4221b0
mov eax, dword [0x440170]
mov dword [esp + 0xc], ebx
test eax, eax
jne 0x420e42
cmp esi, 0x80004002
je 0x4226d9
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
mov dword [esp], 0
call fcn.00402320
test esi, esi
jns 0x4221d0
mov eax, dword [ebp - 0xbc]
lea edi, [ebp - 0xb8]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x42c9b0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x10
mov edi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x121e
xor eax, eax
test edi, edi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
call fcn.00402320
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xc8]
mov edi, dword [ebp - 0xc8]
mov edx, dword [eax]
mov dword [esp + 4], ecx
or edi, 0x240
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 8
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1221
xor eax, eax
test esi, esi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
call fcn.00402320
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1222
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], ebx
cmp edi, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edi
add ebx, 1
movzx eax, al
mov dword [esp + 4], 0x42aa80
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xbc]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
cmp ebx, 0xa
jne 0x420b80
xor eax, eax
mov ecx, 0xd
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [0x44010c]
lea edi, [ebp - 0xbc]
mov dword [ebp - 0x38], 0x1c
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x48], eax
mov eax, dword [0x440110]
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 3
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0xd8]
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x28]
sub esp, 0x10
mov ebx, eax
mov eax, 0x1234
call fcn.00401920
xor eax, eax
cmp ebx, 0x887a0001
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x14], 4
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [ebp - 0xd8], edi
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x28]
sub esp, 0x10
mov ebx, eax
mov eax, 0x1237
call fcn.00401920
xor eax, eax
cmp ebx, 0x887a0001
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov ecx, dword [ebp - 0xe8]
lea edx, [ebp - 0xa8]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x38]
mov eax, dword [ecx]
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 4], 0x42c0f0
call dword [eax]
sub esp, 0xc
mov edi, eax
mov eax, 0x10c
call fcn.00401920
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x16c]
sub esp, 0x10
mov ebx, eax
mov eax, 0x10e
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xa4]
sub esp, 4
test eax, eax
je 0x422835
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x14], 0
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov edi, dword [ebp - 0xd8]
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x28]
sub esp, 0x10
mov ebx, eax
mov eax, 0x123c
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x14], 1
sub esp, 4
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x28]
sub esp, 0x10
mov ebx, eax
mov eax, 0x1240
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xac]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov edi, dword [ebp - 0xe8]
sub esp, 4
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 8]
sub esp, 4
mov ebx, eax
mov eax, 0x124b
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Device_has__lu_references_left._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xdc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
xor eax, eax
call fcn.0040fc40
mov dword [ebp - 0xec], eax
test eax, eax
je 0x422898
mov edi, dword [ebp - 0xec]
lea edx, [ebp - 0x74]
mov eax, dword [edi]
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [eax + 0x1c]
sub esp, 8
mov ebx, eax
mov eax, 0x1863
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0xa0]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x42c940
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, 0x1865
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x320
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xa4]
sub esp, 4
mov dword [ebp - 0x44], 0x258
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x1c
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xe0], 0x42aca0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xf0], eax
nop
mov eax, dword [ebp - 0xd4]
mov dword [esp], str.Test__u
mov dword [esp + 4], eax
call fcn.004013f0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0xc8
mov dword [esp + 0x18], 0x190
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov edi, dword [ebp - 0xe0]
mov eax, dword [edi]
mov dword [esp + 8], str.dxgi_test
mov dword [esp + 4], str.static
mov dword [esp + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call dword [sym.imp.user32.dll_CreateWindowExA]
sub esp, 0x30
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0xfffffff0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov ebx, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1880
mov eax, dword [edi + 8]
cmp esi, eax
mov dword [ebp - 0xd0], eax
mov dword [esp + 0xc], eax
sete al
movzx eax, al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_style__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
xor ecx, ecx
cmp dword [ebp - 0xd4], 4
mov esi, dword [eax + 8]
sete cl
mov dword [eax + 0xc], 1
mov dword [ebp - 0xdc], ecx
lea edx, [esi + esi]
mov esi, edi
or edx, ecx
mov dword [eax + 8], edx
jmp 0x42151d
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1883
mov eax, dword [esi + 0xc]
mov dword [esp + 8], ebx
cmp ebx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], str.Got_unexpected_exstyle__lx__expected__lx._n
movzx eax, al
mov dword [esp], eax
call fcn.00402320
call fcn.00422980
shr dword [eax + 8], 1
call fcn.00422980
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edx, edx
jne 0x4214e0
mov ecx, dword [ebp - 0xe0]
mov edi, dword [ebp - 0xd0]
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0xf0]
and edi, 0x7f30ffff
mov eax, ebx
and eax, 0xfffff87e
or eax, 8
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0xec]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x28]
sub esp, 0x10
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x188d
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.00402320
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov dword [ebp - 0xe4], eax
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1891
mov eax, dword [ebp - 0xd0]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0xe4]
mov dword [esp + 4], str.Got_unexpected_style__lx__expected__lx._n
cmp eax, edx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00402320
call fcn.00422980
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xdc]
or edx, ecx
mov dword [eax + 8], edx
jmp 0x421689
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1894
xor eax, eax
cmp ebx, esi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_exstyle__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
shr dword [eax + 8], 1
call fcn.00422980
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edx, edx
jne 0x421650
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], edx
mov ecx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [ecx + 0x28]
sub esp, 0xc
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1898
test esi, esi
je 0x422237
cmp esi, 0x887a0022
je 0x422237
mov eax, dword [0x440170]
mov edx, dword [ebp - 0xe4]
test eax, eax
jne 0x421706
cmp esi, 0x887a0004
je 0x422697
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], edx
call fcn.00402320
test esi, esi
jns 0x422549
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18a9
mov dword [esp], str.Could_not_change_fullscreen_state._n
call fcn.00401db0
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov dword [ebp - 0xe4], eax
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18ae
mov eax, dword [ebp - 0xd0]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0xe4]
mov dword [esp + 4], str.Got_unexpected_style__lx__expected__lx._n
cmp eax, edx
mov dword [esp + 8], edx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00402320
call fcn.00422980
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xdc]
or edx, ecx
mov dword [eax + 8], edx
jmp 0x421811
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18b1
xor eax, eax
cmp ebx, esi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_exstyle__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
shr dword [eax + 8], 1
call fcn.00422980
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edx, edx
jne 0x4217d8
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xe4], edx
mov ecx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [ecx + 0x28]
sub esp, 0xc
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18b5
test esi, esi
je 0x422241
cmp esi, 0x887a0022
je 0x422241
mov ecx, dword [0x440170]
mov edx, dword [ebp - 0xe4]
test ecx, ecx
jne 0x42188f
cmp esi, 0x887a0004
je 0x4226b8
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], edx
call fcn.00402320
test esi, esi
jns 0x42224b
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18d1
mov dword [esp], str.Could_not_change_fullscreen_state._n
call fcn.00401db0
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18d5
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.IDXGISwapChain_has__lu_references_left._n
call fcn.00402320
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
mov ecx, dword [0x440170]
sub esp, 8
mov esi, eax
mov dword [ebp - 0xe4], ecx
call fcn.00422980
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], ebx
mov ebx, dword [ebp - 0xd0]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4219b9
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18d9
xor eax, eax
cmp ebx, edi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.Got_unexpected_style__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
shr dword [eax + 0x10], 1
call fcn.00422980
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x421980
mov ebx, dword [ebp - 0xe4]
call fcn.00422980
mov edi, dword [eax + 8]
mov dword [eax + 0xc], 1
lea edx, [edi + edi]
mov edi, dword [ebp - 0xdc]
or edx, edi
mov dword [eax + 8], edx
nop
call fcn.00422980
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edx, edx
je 0x421f10
mov edi, dword [0x440170]
call fcn.00422980
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test edi, edi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x421a69
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18dc
xor eax, eax
cmp ebx, esi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_exstyle__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
shr dword [eax + 0x10], 1
call fcn.00422980
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x421a30
call fcn.00422980
shr dword [eax + 8], 1
jmp 0x4219f0
mov dword [ebp - 0xd8], ecx
mov dword [esp + 4], str.__adapter
mov dword [esp], ebx
mov eax, dword [ebp - 0xe4]
call eax
mov ecx, dword [ebp - 0xd8]
test eax, eax
jne 0x4226fa
mov eax, dword [ebp - 0xd0]
cmp ecx, eax
jb 0x422815
mov dword [ebp - 0xd4], ecx
mov dword [esp + 4], str.__single
mov dword [esp], ebx
mov eax, dword [ebp - 0xe4]
call eax
mov ecx, dword [ebp - 0xd4]
test eax, eax
jne 0x420883
mov dword [0x425050], 0
mov edi, ecx
jmp 0x420833
mov dword [ebp - 0xd0], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x87a0001
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
mov dword [esp], 1
call fcn.00402320
mov edx, dword [ebp - 0xd0]
lea esi, [esi]
mov eax, dword [ebp - 0xbc]
lea edi, [ebp - 0xb8]
mov dword [ebp - 0xd0], edx
mov ecx, dword [eax]
mov dword [esp + 0xc], edi
lea edi, [ebp - 0xc8]
mov dword [esp + 8], 0x42c9b0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ecx + 0x24]
sub esp, 0x10
mov ebx, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11b1
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
call fcn.00402320
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [ecx + 0x24]
sub esp, 8
mov ebx, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11b5
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
call fcn.00402320
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11b6
mov eax, dword [ebp - 0xc8]
mov dword [esp + 0x10], esi
mov dword [esp + 8], eax
and eax, 0x60
cmp eax, 0x60
mov dword [esp + 0xc], 0x60
sete al
mov dword [esp + 4], 0x42aa80
movzx eax, al
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xd8]
sub esp, 4
mov ecx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [ecx + 0x30]
sub esp, 8
mov ebx, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11bc
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov ebx, 1
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx + 0x14]
test ecx, ecx
je 0x421df7
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xd4], ecx
lea esi, [esi]
nop
mov eax, dword [ebp - 0xbc]
lea edi, [ebp - 0xb8]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x42c9b0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x10
mov edi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11c1
xor eax, eax
test edi, edi
sete al
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u__buffer__u._n
call fcn.00402320
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x421d14
mov eax, dword [ebp - 0xd4]
mov edi, 0x60
cmp ebx, eax
jae 0x421d19
mov edi, 0x160
mov eax, dword [ebp - 0xb8]
lea edx, [ebp - 0xc8]
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x24]
sub esp, 8
mov dword [ebp - 0xd0], eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11da
xor eax, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov ecx, dword [ebp - 0xd0]
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u__buffer__u._n
test ecx, ecx
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.00402320
call fcn.00422980
mov dword [eax], 0x427024
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 4], 0x11db
mov eax, 1
cmp ecx, 0x160
je 0x421dad
mov eax, dword [0x440170]
test eax, eax
sete al
xor edx, edx
cmp ecx, edi
sete dl
and eax, edx
mov dword [esp + 0x14], ebx
add ebx, 1
mov dword [esp], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x160
mov dword [esp + 8], ecx
mov dword [esp + 4], str.Got_usage__x__expected__x__test__u__buffer__u._n
call fcn.00402320
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
cmp dword [ebp - 0xd4], ebx
jae 0x421ca0
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xd0], edx
mov dword [esp + 4], 0x42aa14
mov eax, dword [str.windows]
mov dword [esp], eax
mov eax, dword [ebp - 0xe4]
call eax
mov edx, dword [ebp - 0xd0]
test eax, eax
je 0x421e83
mov eax, dword [ebp - 0xbc]
lea edi, [ebp - 0xb8]
mov ecx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x42c9b0
mov dword [esp], eax
call dword [ecx + 0x24]
sub esp, 0x10
mov ebx, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11e5
xor eax, eax
cmp ebx, 0x887a0001
sete al
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
mov dword [esp], eax
call fcn.00402320
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd0], edx
mov ecx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ecx + 0x28]
sub esp, 0xc
mov ebx, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x11e9
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
call fcn.00402320
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0xd0]
sub esp, 4
jmp 0x420b66
mov eax, 1
jmp 0x420b3a
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
call fcn.00422980
mov edx, dword [eax + 0xbec]
test edx, edx
je 0x421f37
sub edx, 1
mov dword [eax + 0xbec], edx
add dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0xd4]
add dword [ebp - 0xe0], 0x10
cmp eax, 9
jne 0x4213c0
mov edi, dword [ebp - 0xec]
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 8]
sub esp, 4
mov ebx, eax
mov eax, 0x18e5
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Device_has__lu_references_left._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov ebx, eax
mov eax, 0x18e7
call fcn.00401920
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Factory_has__lu_references_left._n
mov dword [esp], eax
call fcn.00402320
mov eax, 0x409d50
call fcn.00411bb0
mov eax, 0x41a100
call fcn.00411bb0
mov eax, 0x40ccd0
call fcn.00411bb0
mov eax, 0x4184c0
call fcn.00411bb0
mov eax, 0x414c80
call fcn.00411bb0
mov eax, 0x4036f0
call fcn.00411bb0
mov eax, 0x413a00
call fcn.00411bb0
mov eax, 0x406950
call fcn.00411bb0
mov eax, 0x4121e0
call fcn.00411bb0
mov eax, 0x402b00
call fcn.00411bb0
mov eax, 0x405a50
call fcn.00411bb0
mov eax, 0x40ad90
call fcn.00411bb0
mov eax, 0x4156c0
call fcn.00411bb0
mov eax, 0x41cc10
call fcn.00411bb0
mov eax, 0x41d3b0
call fcn.00411bb0
mov eax, 0x402440
call fcn.00411bb0
mov dword [esp], str.d3d12.dll
mov eax, dword [ebp - 0x100]
call eax
sub esp, 4
mov ebx, eax
test eax, eax
je 0x422850
mov dword [esp + 4], str.D3D12CreateDevice
mov dword [esp], eax
mov edi, dword [ebp - 0xfc]
call edi
sub esp, 8
mov dword [0x440038], eax
mov dword [esp + 4], str.D3D12GetDebugInterface
mov dword [esp], ebx
call edi
mov edx, dword [ebp - 0xf4]
sub esp, 8
test edx, edx
je 0x4220e8
lea edx, [ebp - 0x48]
mov dword [esp], 0x42baa0
mov dword [esp + 4], edx
call eax
sub esp, 8
test eax, eax
js 0x4220e8
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0xc]
mov eax, dword [ebp - 0x48]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, 0x409d50
call fcn.0040fab0
mov eax, 0x41a100
call fcn.0040fab0
mov eax, 0x40ccd0
call fcn.0040fab0
mov eax, 0x4184c0
call fcn.0040fab0
mov eax, 0x414c80
call fcn.0040fab0
mov eax, 0x4036f0
call fcn.0040fab0
mov eax, 0x413a00
call fcn.0040fab0
mov eax, 0x406950
call fcn.0040fab0
mov eax, 0x40e700
call fcn.0040fab0
mov eax, 0x4180f0
call fcn.0040fab0
mov eax, 0x4121e0
call fcn.0040fab0
mov eax, 0x402b00
call fcn.0040fab0
mov eax, 0x405a50
call fcn.0040fab0
mov eax, 0x40ad90
call fcn.0040fab0
mov eax, 0x4156c0
call fcn.0040fab0
mov eax, 0x41cc10
call fcn.0040fab0
mov eax, 0x41d3b0
call fcn.0040fab0
mov eax, 0x402440
call fcn.0040fab0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FreeLibrary]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
mov dword [esp], 1
call fcn.00402320
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x74]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x28]
sub esp, 8
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x1217
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x10], ebx
cmp edi, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edi
movzx eax, al
mov dword [esp + 4], str.Got_d3d11_bind_flags__x__expected__x__test__u._n
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x420e62
mov edx, 1
jmp 0x421706
mov edx, 1
jmp 0x42188f
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
mov ecx, dword [0x440170]
sub esp, 8
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xf8], ecx
call fcn.00422980
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4222f1
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18bc
xor eax, eax
cmp edi, esi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_style__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
shr dword [eax + 0x10], 1
call fcn.00422980
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4222b8
call fcn.00422980
mov dword [eax], 0x427024
mov esi, dword [ebp - 0xe8]
mov dword [eax + 4], 0x18be
mov dword [esp + 0xc], esi
mov eax, dword [ebp - 0xe4]
mov dword [esp + 4], str.Got_unexpected_exstyle__lx__expected__lx._n
cmp esi, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00402320
mov dword [esp + 8], edi
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
mov eax, dword [ebp - 0xa4]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x28]
sub esp, 0xc
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18c5
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
call fcn.00402320
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov edi, eax
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
mov ecx, dword [0x440170]
sub esp, 8
mov esi, eax
mov dword [ebp - 0xe4], ecx
call fcn.00422980
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], ebx
mov ebx, dword [ebp - 0xd0]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x422479
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18c9
xor eax, eax
cmp ebx, edi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.Got_unexpected_style__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
shr dword [eax + 0x10], 1
call fcn.00422980
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x422440
mov ebx, dword [ebp - 0xe4]
call fcn.00422980
mov edi, dword [eax + 8]
mov dword [eax + 0xc], 1
lea edx, [edi + edi]
mov edi, dword [ebp - 0xdc]
or edx, edi
mov dword [eax + 8], edx
nop
call fcn.00422980
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edx, edx
je 0x4218c9
mov edi, dword [0x440170]
call fcn.00422980
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test edi, edi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x422529
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18cc
xor eax, eax
cmp ebx, esi
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_exstyle__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
shr dword [eax + 0x10], 1
call fcn.00422980
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4224f0
call fcn.00422980
shr dword [eax + 8], 1
jmp 0x4224b0
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowLongA]
mov ecx, dword [0x440170]
sub esp, 8
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xf8], ecx
call fcn.00422980
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4225f1
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x189f
xor eax, eax
cmp edi, esi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_style__lx__expected__lx._n
call fcn.00402320
call fcn.00422980
shr dword [eax + 0x10], 1
call fcn.00422980
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4225b8
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18a1
mov eax, dword [ebp - 0xe8]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0xe4]
mov dword [esp + 4], str.Got_unexpected_exstyle__lx__expected__lx._n
cmp eax, ecx
mov dword [esp + 8], ecx
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00402320
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x28]
sub esp, 0xc
mov esi, eax
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x18a5
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], eax
call fcn.00402320
jmp 0x421740
mov dword [esp + 8], 0x887a0004
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], 1
call fcn.00402320
jmp 0x421722
mov dword [esp + 8], 0x887a0004
mov dword [esp + 4], str.Got_unexpected_hr__lx._n
mov dword [esp], 1
call fcn.00402320
jmp 0x4218ab
mov dword [esp + 8], 0x80004002
mov dword [esp + 4], str.Got_unexpected_hr__lx__test__u._n
mov dword [esp], 1
call fcn.00402320
jmp 0x420e62
mov dword [ebp - 0xd4], ecx
mov dword [esp + 4], str.__single
mov dword [esp], ebx
mov eax, dword [ebp - 0xe4]
call eax
mov ecx, dword [ebp - 0xd4]
test eax, eax
je 0x421ae5
mov edi, ecx
jmp 0x420833
lea eax, [ebp - 0x48]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x34]
sub esp, 4
mov dword [esp + 4], 4
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_calloc]
mov dword [ebp - 0x74], 0
mov esi, eax
test edi, edi
je 0x4228b3
xor ebx, ebx
lea eax, [ebp - 0x74]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4017c0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + ebx*4], eax
sub esp, 0x18
call fcn.00422980
mov dword [eax], 0x427024
mov dword [eax + 4], 0x6f
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Failed_to_create_thread__u._n
mov edx, dword [esi + ebx*4]
test edx, edx
setne al
add ebx, 1
mov dword [esp], eax
call fcn.00402320
cmp edi, ebx
jne 0x42275e
mov dword [esp + 0xc], 0xffffffff
xor ebx, ebx
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
sub esp, 0x10
mov eax, dword [esi + ebx*4]
add ebx, 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
cmp edi, ebx
jne 0x4227f1
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_free]
jmp 0x420946
mov eax, dword [ebp - 0xd4]
add edi, 2
mov eax, dword [esi + eax + 4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_atoi]
mov dword [0x440034], eax
jmp 0x420833
mov eax, 0x1245
call fcn.00401920
mov dword [esp], str.Multisampling_not_supported_for_DXGI_FORMAT_R8G8B8A8_UNORM._n
call fcn.00401db0
jmp 0x42121f
mov eax, 0x1f95
call fcn.00401920
mov dword [esp], str.Direct3D_12_is_not_available._n
call fcn.00401db0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x118d
call fcn.00401920
mov dword [esp], str.Failed_to_create_device._n
call fcn.00401db0
jmp 0x42128b
mov dword [ebp - 0xf4], 0
jmp 0x420883
mov eax, 0x185e
call fcn.00401920
mov dword [esp], str.Failed_to_create_device._n
call fcn.00401db0
jmp 0x421fc4
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
sub esp, 0x10
jmp 0x422807