Function at 0x4429e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
xor eax, eax
mov ecx, 0xd2
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x354]
push ebx
sub esp, 0x41c
rep stosd dword es:[edi], eax
mov eax, dword [0x53406c]
mov dword [ebp - 0x354], 0x348
test eax, eax
je 0x4436d0
mov dword [esp], 0
call eax
sub esp, 4
cmp eax, 0xc000007a
je 0x4436d0
mov dword [esp], 0
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2ca
xor eax, eax
cmp ebx, 0xc000000d
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], 0
mov dword [esp], eax
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2ce
xor eax, eax
cmp ebx, 0xc000000d
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov eax, dword [sym.imp.user32.dll_CreateWindowExA]
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], 0xc8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10cf0000
mov dword [esp + 8], str.static1
mov dword [esp + 4], 0x4aad24
mov dword [esp], 0
mov dword [ebp - 0x3f8], eax
call eax
sub esp, 0x30
mov esi, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2d1
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], str.Failed_to_create_window._n
mov dword [esp], eax
call fcn.00441d20
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
mov dword [esp], eax
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2d5
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov eax, dword [sym.imp.user32.dll_ShowWindow]
mov dword [esp + 4], 6
mov dword [esp], esi
mov dword [ebp - 0x3f4], eax
call eax
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
sub esp, 8
mov dword [esp], eax
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov edx, dword [eax + 8]
mov dword [eax + 0xc], 1
lea edx, [edx + edx + 1]
mov dword [eax + 8], edx
jmp 0x442c25
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2dc
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
call fcn.00492bc0
shr dword [eax + 8], 1
call fcn.00492bc0
mov edi, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edi, edi
jne 0x442bf0
mov dword [esp + 4], 1
mov dword [esp], esi
mov ebx, dword [ebp - 0x3f4]
mov eax, ebx
call eax
mov eax, ebx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x3f4], ebx
call eax
lea ecx, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
sub esp, 8
mov dword [esp], ecx
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2e3
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov dword [esp + 4], 5
mov dword [esp], esi
mov eax, dword [ebp - 0x3f4]
call eax
sub esp, 8
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], 0xc8
mov dword [esp + 0x14], 0x64
mov dword [esp + 0x10], 0x64
mov dword [esp + 0xc], 0x10cf0000
mov dword [esp + 8], str.static2
mov dword [esp + 4], 0x4aad24
mov dword [esp], 0
mov ecx, dword [ebp - 0x3f8]
call ecx
sub esp, 0x30
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2e8
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.Failed_to_create_window._n
mov dword [ebp - 0x3f8], ebx
mov dword [esp], eax
call fcn.00441d20
lea edx, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
mov dword [esp], edx
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2ec
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
mov dword [esp], eax
call fcn.00441d20
mov ecx, dword [ebp - 0x3f8]
lea edx, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], ecx
mov dword [esp], edx
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2f0
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov eax, dword [0x534040]
test eax, eax
je 0x443748
mov dword [esp], 0
call eax
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2f6
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], str.Failed_to_disable_composition._n
mov dword [esp], eax
call fcn.00441d20
lea edx, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
mov dword [esp], edx
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2fb
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
mov dword [esp], eax
call fcn.00441d20
mov ecx, dword [ebp - 0x3f8]
mov dword [ebp - 0x3e4], ecx
lea ecx, [ebp - 0x3e4]
mov dword [esp], ecx
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2ff
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov dword [esp + 4], 6
mov dword [esp], esi
mov eax, dword [ebp - 0x3f4]
call eax
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
sub esp, 8
mov dword [esp], eax
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], 1
lea ecx, [ecx + ecx + 1]
mov dword [eax + 8], ecx
jmp 0x442f4d
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x305
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
call fcn.00492bc0
shr dword [eax + 8], 1
call fcn.00492bc0
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edx, edx
jne 0x442f18
mov dword [esp + 4], 1
mov dword [esp], esi
mov ebx, dword [ebp - 0x3f4]
mov eax, ebx
call eax
mov eax, ebx
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [ebp - 0x3f4], ebx
call eax
lea ecx, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
sub esp, 8
mov dword [esp], ecx
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x30b
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov dword [esp + 4], 5
mov dword [esp], esi
mov eax, dword [ebp - 0x3f4]
call eax
sub esp, 8
mov dword [esp], 1
call dword [0x534040]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x30f
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], str.Failed_to_enable_composition._n
mov dword [esp], eax
call fcn.00441d20
xor eax, eax
lea ebx, [ebp - 0x3a4]
movzx edx, word [eax + str..DISPLAY1]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x443030
mov dword [esp], ebx
call dword [0x534050]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x316
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
xor ecx, ecx
xor eax, eax
mov dword [ebp + eax - 0x3c4], ecx
add eax, 4
cmp eax, 0x20
jb 0x443082
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x3c8], eax
lea eax, [ebp - 0x3c8]
mov dword [esp], eax
call dword [0x534060]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x31b
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x3e0]
mov dword [esp], eax
call dword [0x534068]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
test ebx, ebx
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x322
sete al
cmp ebx, 0xc01e000c
sete cl
mov dword [esp + 8], ebx
or eax, ecx
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
movzx eax, al
mov dword [esp], eax
call fcn.00441d20
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x3ec], 2
mov dword [ebp - 0x3cc], 1
mov dword [ebp - 0x3d8], eax
lea eax, [ebp - 0x3ec]
mov dword [ebp - 0x3d4], eax
lea eax, [ebp - 0x358]
mov dword [ebp - 0x3d0], eax
lea eax, [ebp - 0x3d8]
mov dword [esp], eax
call dword [0x534048]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x32b
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
mov dword [esp], eax
call fcn.00441d20
jmp 0x4431d2
mov eax, dword [ebp - 0x210]
and eax, 1
cmp eax, 1
sbb edi, 0xffffffff
add ebx, 1
lea eax, [ebp - 0x354]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [sym.imp.user32.dll_EnumDisplayDevicesW]
sub esp, 0x10
test eax, eax
jne 0x4431c0
cmp edi, 1
mov ebx, eax
mov eax, 0xc01e0006
mov dword [ebp - 0x3e4], esi
cmovle ebx, eax
lea eax, [ebp - 0x3e4]
mov dword [esp], eax
call dword [0x53406c]
sub esp, 4
mov edi, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x337
xor eax, eax
cmp ebx, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov dword [esp + 0x18], 3
mov edi, dword [sym.imp.user32.dll_SetWindowPos]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x3f8]
mov dword [esp], eax
call edi
sub esp, 0x1c
mov dword [esp + 4], 5
mov eax, dword [ebp - 0x3f8]
mov dword [esp], eax
mov ecx, dword [ebp - 0x3f4]
call ecx
mov eax, dword [ebp - 0x3f8]
lea ecx, [ebp - 0x3e4]
sub esp, 8
mov dword [ebp - 0x3e4], eax
mov dword [esp], ecx
call dword [0x53406c]
sub esp, 4
mov dword [ebp - 0x3f4], eax
call fcn.00492bc0
mov edx, dword [ebp - 0x3f4]
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x33e
xor eax, eax
cmp ebx, edx
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x341
mov dword [esp + 0x18], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call edi
sub esp, 0x1c
mov dword [esp], eax
mov dword [esp + 4], str.Failed_to_SetWindowPos._n
call fcn.00441d20
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x342
mov dword [esp + 4], 0xffffffec
mov dword [esp], esi
call dword [sym.imp.user32.dll_GetWindowLongW]
sub esp, 8
and eax, 8
mov dword [esp + 4], str.No_WS_EX_TOPMOST_style._n
mov dword [esp], eax
call fcn.00441d20
lea ecx, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
mov dword [esp], ecx
call dword [0x53406c]
sub esp, 4
mov edi, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x345
xor eax, eax
cmp ebx, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov eax, dword [ebp - 0x3f8]
mov edi, dword [sym.imp.user32.dll_DestroyWindow]
mov dword [esp], eax
call edi
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
sub esp, 4
mov dword [esp], eax
call dword [0x53406c]
sub esp, 4
mov dword [ebp - 0x3f4], eax
call fcn.00492bc0
mov edx, dword [ebp - 0x3f4]
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x34a
xor eax, eax
cmp ebx, edx
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x3e0]
mov dword [esp], eax
call dword [0x534068]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x34f
xor eax, eax
cmp ebx, 0xc01e0006
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x3d0], 0
mov dword [ebp - 0x3d8], eax
lea eax, [ebp - 0x3d8]
mov dword [ebp - 0x3cc], 0
mov dword [esp], eax
call dword [0x534048]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x357
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
lea eax, [ebp - 0x3e4]
mov dword [ebp - 0x3e4], esi
mov dword [esp], eax
call dword [0x53406c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov edx, dword [eax + 8]
mov dword [eax + 0xc], 1
lea edx, [edx + edx + 1]
mov dword [eax + 8], edx
jmp 0x443575
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x35c
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
call fcn.00492bc0
shr dword [eax + 8], 1
call fcn.00492bc0
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edx, edx
jne 0x443540
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x3e0]
mov dword [esp], eax
call dword [0x534068]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov edx, dword [eax + 8]
mov dword [eax + 0xc], 1
lea edx, [edx + edx + 1]
mov dword [eax + 8], edx
jmp 0x443611
call fcn.00492bc0
test ebx, ebx
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x362
sete al
cmp ebx, 0xc01e000c
sete dl
mov dword [esp + 8], ebx
or eax, edx
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
movzx eax, al
mov dword [esp], eax
call fcn.00441d20
call fcn.00492bc0
shr dword [eax + 8], 1
call fcn.00492bc0
mov edx, dword [eax + 0xc]
mov dword [eax + 0xc], 0
test edx, edx
jne 0x4435d0
mov eax, dword [ebp - 0x3c0]
mov dword [ebp - 0x3f0], eax
lea eax, [ebp - 0x3f0]
mov dword [esp], eax
call dword [0x53405c]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x366
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
call fcn.00441d20
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x3e8], eax
lea eax, [ebp - 0x3e8]
mov dword [esp], eax
call dword [0x534064]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x36a
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Got_unexpected_return_code__lx._n
mov dword [esp], eax
call fcn.00441d20
mov dword [esp], esi
call edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [0x5b41f0]
call fcn.00492bc0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test ebx, ebx
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x443726
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x2c4
mov dword [esp], str.D3DKMTCheckOcclusion___is_unavailable._n
call fcn.00441d40
call fcn.00492bc0
shr dword [eax + 0x10], 1
call fcn.00492bc0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x443700
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00492bc0
mov dword [eax], 0x4aaaf0
mov dword [eax + 4], 0x312
mov dword [esp], str.Skip_testing_composition._n
call fcn.00441880
jmp 0x443028