Function at 0x4eaac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x78
mov ebx, 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], 0x64
mov dword [esp + 0x18], 0x64
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], 0x57df40
mov dword [esp + 4], 0x57df4b
mov dword [esp], 0
call ebx
sub esp, 0x30
mov dword [ebp - 0x20], eax
mov esi, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x32
mov dword [esp + 0x18], 0x32
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10cf0000
mov dword [esp + 8], 0x57df40
mov dword [esp + 4], 0x57df4b
mov dword [esp], 0
call ebx
mov ebx, esi
sub esp, 0x30
mov dword [ebp - 0x48], eax
call fcn.004e51e0
mov edi, eax
mov dword [ebp - 0x28], eax
mov eax, 0xa89
call fcn.004e5d30
xor eax, eax
test edi, edi
mov dword [esp + 4], str.Failed_to_create_a_ddraw_object._n
setne al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp], esi
mov esi, dword [sym.imp.user32.dll_GetWindowLongA]
mov dword [esp + 4], 0xfffffff0
mov dword [ebp - 0x24], esi
call esi
sub esp, 8
mov dword [ebp - 0x2c], eax
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffec
call esi
mov ecx, dword [0x5e8490]
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
sub esp, 8
mov dword [ebp - 0x40], ecx
mov ecx, dword [0x5e848c]
mov dword [ebp - 0x34], ecx
mov ecx, edi
mov edi, ebx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x11
call dword [eax + 0x50]
sub esp, 0xc
mov ebx, eax
mov eax, 0xa90
call fcn.004e5d30
mov dword [esp + 8], ebx
not ebx
shr ebx, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], ebx
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov dword [esp], edi
call esi
mov esi, dword [0x628750]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
mov esi, dword [ebp - 0x2c]
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eacc9
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xa93
xor eax, eax
cmp esi, ebx
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eac90
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov esi, dword [0x628750]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov edi, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4ead59
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xa95
xor eax, eax
cmp edi, ebx
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov esi, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test esi, esi
jne 0x4ead20
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetWindowRect]
mov dword [ebp - 0x44], eax
call eax
mov eax, 0xa98
sub esp, 8
call fcn.004e5d30
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], str.__d__d____d__d_
mov dword [esp + 4], eax
call fcn.004e5d50
mov ebx, eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x10], eax
mov edi, dword [ebp - 0x34]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov dword [esp + 4], 0
mov dword [esp], str.__d__d____d__d_
call fcn.004e5d50
mov edx, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x14]
je 0x4ec700
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.Expected__s__got__s._n
mov dword [esp], esi
call fcn.004e6560
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ebx, dword [0x628750]
sub esp, 8
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test ebx, ebx
mov ebx, dword [ebp - 0x34]
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eae68
mov dword [esp], eax
mov dword [esp + 4], str.Client_rect_and_window_rect_are_equal._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
je 0x4eaeb0
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], 0xa9b
mov eax, 1
cmp ebx, dword [ebp - 0x14]
jne 0x4eae50
or edx, dword [ebp - 0x18]
jne 0x4eae50
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x10], eax
setne al
movzx eax, al
jmp 0x4eae50
mov eax, dword [sym.imp.user32.dll_GetDesktopWindow]
mov dword [ebp - 0x4c], eax
call eax
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_SetForegroundWindow]
mov dword [ebp - 0x3c], eax
call eax
sub esp, 4
mov ebx, eax
mov eax, 0xa9e
call fcn.004e5d30
mov dword [esp], ebx
mov dword [esp + 4], str.Failed_to_set_foreground_window._n
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov esi, dword [0x628750]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
mov esi, dword [ebp - 0x2c]
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eaf69
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xaa1
xor eax, eax
cmp esi, ebx
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eaf30
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov esi, dword [0x628750]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
mov esi, dword [ebp - 0x30]
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eaff9
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xaa3
xor eax, eax
cmp esi, ebx
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eafc0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 4
mov ebx, eax
mov eax, 0xaa6
call fcn.004e5d30
mov dword [esp], ebx
mov dword [esp + 4], str.Failed_to_set_foreground_window._n
call fcn.004e6560
mov eax, dword [sym.imp.user32.dll_ShowWindow]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [ebp - 0x38], eax
call eax
mov esi, dword [ebp - 0x28]
sub esp, 8
mov eax, dword [esi]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], 8
call dword [eax + 0x50]
sub esp, 0xc
mov ebx, eax
mov eax, 0xaac
call fcn.004e5d30
mov dword [esp + 8], ebx
not ebx
shr ebx, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], ebx
call fcn.004e6560
mov dword [esp], edi
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov ebx, eax
mov eax, 0xaaf
call fcn.004e5d30
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
cmp ecx, ebx
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp], edi
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov ebx, eax
mov eax, 0xab1
call fcn.004e5d30
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
cmp edx, ebx
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [esi]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], 0x15
call dword [eax + 0x50]
sub esp, 0xc
mov ebx, eax
mov eax, 0xab4
call fcn.004e5d30
mov dword [esp + 8], ebx
not ebx
shr ebx, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], ebx
call fcn.004e6560
mov dword [esp], edi
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x24]
call eax
mov esi, dword [0x628750]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
xor ecx, ecx
test esi, esi
mov esi, dword [ebp - 0x2c]
mov edi, dword [eax + 0x10]
setne cl
mov dword [eax + 0x14], 1
lea edx, [edi + edi]
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eb1c9
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xab7
xor eax, eax
cmp esi, ebx
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eb190
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov esi, dword [0x628750]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
mov esi, dword [ebp - 0x30]
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eb259
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xab9
xor eax, eax
cmp esi, ebx
sete al
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eb220
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [esp + 8], 0x11
mov esi, dword [ebp - 0x20]
mov dword [esp], ecx
mov dword [esp + 4], esi
call dword [eax + 0x50]
sub esp, 0xc
mov ebx, eax
mov eax, 0xabc
call fcn.004e5d30
mov dword [esp + 8], ebx
not ebx
shr ebx, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], ebx
call fcn.004e6560
mov dword [esp], esi
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x24]
call eax
mov esi, dword [ebp - 0x2c]
mov edi, dword [0x628750]
sub esp, 8
mov ebx, eax
call fcn.0054f6e0
or esi, 0x10000000
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 0x4eb331
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xac0
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.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eb2f8
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
mov ebx, dword [ebp - 0x30]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x50], ecx
or ebx, 8
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eb3c9
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xac3
xor eax, eax
cmp edi, ebx
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eb390
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x38]
call eax
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x50], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x2c]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eb479
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xac7
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eb440
mov esi, dword [ebp - 0x50]
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x50], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eb511
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xaca
xor eax, eax
cmp ebx, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eb4d8
mov edi, dword [ebp - 0x28]
mov eax, dword [edi]
mov dword [esp + 8], 0xc
mov ecx, dword [ebp - 0x20]
mov dword [esp], edi
mov dword [esp + 4], ecx
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xacd
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov edi, eax
mov eax, 0xad0
call fcn.004e5d30
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
cmp edx, edi
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp + 4], 0xffffffec
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov edi, eax
mov eax, 0xad3
call fcn.004e5d30
xor eax, eax
cmp ebx, edi
mov dword [esp + 0xc], edi
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
mov edi, dword [ebp - 0x28]
mov eax, dword [edi]
mov dword [esp + 8], 8
mov ecx, dword [ebp - 0x20]
mov dword [esp], edi
mov dword [esp + 4], ecx
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xad6
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov edi, eax
mov eax, 0xad9
call fcn.004e5d30
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
cmp edx, edi
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp + 4], 0xffffffec
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov edi, eax
mov eax, 0xadc
call fcn.004e5d30
xor eax, eax
cmp ebx, edi
mov dword [esp + 0xc], edi
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
mov dword [esp], eax
call fcn.004e6560
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov edx, dword [ebp - 0x3c]
call edx
sub esp, 4
mov edi, eax
mov eax, 0xadf
call fcn.004e5d30
mov dword [esp], edi
mov dword [esp + 4], str.Failed_to_set_foreground_window._n
call fcn.004e6560
mov edi, dword [ebp - 0x28]
mov eax, dword [edi]
mov dword [esp + 8], 0x11
mov ecx, dword [ebp - 0x20]
mov dword [esp], edi
mov dword [esp + 4], ecx
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xae2
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x50], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eb7a1
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xae6
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eb768
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x50], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eb839
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xae9
xor eax, eax
cmp ebx, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eb800
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x38]
call eax
mov ecx, dword [ebp - 0x28]
sub esp, 8
mov eax, dword [ecx]
mov dword [esp + 8], 8
mov dword [ebp - 0x20], edi
mov dword [esp], ecx
mov dword [esp + 4], edi
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xaed
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov edi, eax
mov eax, 0xaf0
call fcn.004e5d30
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
cmp edx, edi
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp + 4], 0xffffffec
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov edi, eax
mov eax, 0xaf2
call fcn.004e5d30
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
cmp edx, edi
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp + 4], 5
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov edx, dword [ebp - 0x38]
call edx
mov edx, dword [ebp - 0x4c]
sub esp, 8
call edx
mov dword [esp], eax
mov edx, dword [ebp - 0x3c]
call edx
sub esp, 4
mov edi, eax
mov eax, 0xaf6
call fcn.004e5d30
mov dword [esp], edi
mov dword [esp + 4], str.Failed_to_set_foreground_window._n
call fcn.004e6560
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetActiveWindow]
mov eax, 0xaf8
sub esp, 4
call fcn.004e5d30
call dword [sym.imp.user32.dll_GetActiveWindow]
mov dword [esp + 4], str.Unexpected_active_window._n
cmp edi, eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.004e6560
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [esp + 8], 0x11
mov dword [ebp - 0x20], edi
mov dword [esp], ecx
mov dword [esp + 4], edi
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xafa
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x50], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4eba69
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xafe
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4eba30
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x50], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x30]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4ebb09
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb00
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ebad0
lea eax, [ebp - 0x1c]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x50], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
mov eax, 0xb03
sub esp, 8
call fcn.004e5d30
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], str.__d__d____d__d_
mov dword [esp + 4], eax
call fcn.004e5d50
mov edi, eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], str.__d__d____d__d_
call fcn.004e5d50
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x50]
je 0x4ec720
mov dword [esp], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.Expected__s__got__s._n
call fcn.004e6560
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [esp + 8], 8
mov edi, dword [ebp - 0x20]
mov dword [esp], ecx
mov dword [esp + 4], edi
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xb07
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 0x18], 0x14
mov eax, dword [sym.imp.user32.dll_SetWindowPos]
mov dword [esp + 0x14], 0x64
mov dword [esp + 0x10], 0x64
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov dword [ebp - 0x50], eax
call eax
lea eax, [ebp - 0x1c]
sub esp, 0x1c
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
call eax
mov eax, 0xb0b
sub esp, 8
call fcn.004e5d30
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], str.__d__d____d__d_
mov dword [esp + 4], eax
call fcn.004e5d50
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
mov edx, 1
cmp edi, dword [ebp - 0x14]
je 0x4ec740
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str.Window_resize_failed__got__s._n
call fcn.004e6560
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 4
mov edi, eax
mov eax, 0xb0f
call fcn.004e5d30
mov dword [esp], edi
mov dword [esp + 4], str.Failed_to_set_foreground_window._n
call fcn.004e6560
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [esp + 8], 0x11
mov edx, dword [ebp - 0x20]
mov dword [esp], ecx
mov dword [esp + 4], edx
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xb11
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov edx, dword [ebp - 0x20]
mov dword [esp], edx
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x54], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4ebda1
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb15
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ebd68
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x54], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x30]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4ebe39
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb17
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ebe00
lea eax, [ebp - 0x1c]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x54], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call eax
mov eax, 0xb1a
sub esp, 8
call fcn.004e5d30
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], str.__d__d____d__d_
mov dword [esp + 4], eax
call fcn.004e5d50
mov edi, eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], str.__d__d____d__d_
call fcn.004e5d50
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
je 0x4ec760
mov dword [esp], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.Expected__s__got__s._n
call fcn.004e6560
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov edi, dword [ebp - 0x3c]
call edi
sub esp, 4
mov edi, eax
mov eax, 0xb1e
call fcn.004e5d30
mov dword [esp], edi
mov dword [esp + 4], str.Failed_to_set_foreground_window._n
call fcn.004e6560
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [esp + 8], 0x11
mov ecx, dword [ebp - 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xb20
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x34], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4ebfd9
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb24
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ebfa0
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x34], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4ec071
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb27
xor eax, eax
cmp ebx, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ec038
mov dword [esp + 4], 0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x38]
call eax
mov ecx, dword [ebp - 0x28]
sub esp, 8
mov eax, dword [ecx]
mov dword [esp + 8], 8
mov dword [ebp - 0x20], edi
mov dword [esp], ecx
mov dword [esp + 4], edi
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xb2b
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov edi, eax
mov eax, 0xb2e
call fcn.004e5d30
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
cmp edx, edi
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp + 4], 0xffffffec
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
mov edi, eax
mov eax, 0xb30
call fcn.004e5d30
mov dword [esp + 0xc], edi
mov edx, dword [ebp - 0x30]
xor eax, eax
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
cmp edx, edi
mov dword [esp + 8], edx
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp + 4], 5
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov edx, dword [ebp - 0x38]
call edx
mov ecx, dword [ebp - 0x28]
sub esp, 8
mov eax, dword [ecx]
mov dword [esp + 8], 0x11
mov dword [ebp - 0x20], edi
mov dword [esp], ecx
mov dword [esp + 4], edi
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
mov eax, 0xb34
call fcn.004e5d30
mov dword [esp + 8], edi
not edi
shr edi, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], edi
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x30], ecx
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4ec241
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb38
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0xc], edi
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], str.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ec208
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov edi, dword [0x628750]
sub esp, 8
mov esi, eax
call fcn.0054f6e0
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 0x4ec2d1
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb3b
xor eax, eax
cmp ebx, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ec298
mov eax, dword [ebp - 0x4c]
call eax
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
call eax
sub esp, 4
mov esi, eax
mov eax, 0xb3e
call fcn.004e5d30
mov dword [esp], esi
mov dword [esp + 4], str.Failed_to_set_foreground_window._n
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov ecx, dword [0x628750]
mov esi, dword [ebp - 0x2c]
sub esp, 8
mov edi, eax
mov dword [ebp - 0x2c], ecx
or esi, 0x30000000
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
setne cl
movzx ecx, cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4ec399
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb41
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.Expected_window_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ec360
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call eax
mov edi, dword [0x628750]
sub esp, 8
mov esi, eax
call fcn.0054f6e0
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 0x4ec429
call fcn.0054f6e0
mov dword [eax], 0x57df88
mov dword [eax + 4], 0xb44
xor eax, eax
cmp ebx, esi
sete al
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Expected_window_extended_style__lx__got__lx._n
call fcn.004e6560
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x4ec3f0
mov dword [esp + 4], 9
mov edi, dword [ebp - 0x20]
mov esi, dword fs:[0x18]
mov dword [esp], edi
mov eax, dword [ebp - 0x38]
call eax
sub esp, 8
mov ebx, eax
mov eax, 0xb48
call fcn.004e5d30
mov eax, dword [esi + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.ShowWindow_failed__error__lx._n
mov dword [esp + 8], eax
call fcn.004e6560
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x11
call dword [eax + 0x50]
sub esp, 0xc
mov ebx, eax
mov eax, 0xb4a
call fcn.004e5d30
mov dword [esp + 8], ebx
not ebx
shr ebx, 0x1f
mov dword [esp + 4], str.SetCooperativeLevel_failed__hr__lx._n
mov dword [esp], ebx
call fcn.004e6560
call fcn.004e5660
mov dword [esp], edi
mov dword [esp + 4], 0xfffffff0
mov eax, dword [ebp - 0x24]
call eax
mov ebx, eax
sub esp, 8
mov eax, 0xb4f
call fcn.004e5d30
and ebx, 0x10000000
mov dword [esp + 4], str.Expected_WS_VISIBLE._n
mov dword [esp], ebx
call fcn.004e6560
mov dword [esp], edi
mov dword [esp + 4], 0xffffffec
mov eax, dword [ebp - 0x24]
call eax
mov ebx, eax
sub esp, 8
mov eax, 0xb51
call fcn.004e5d30
and ebx, 8
mov dword [esp + 4], str.Expected_WS_EX_TOPMOST._n
mov dword [esp], ebx
call fcn.004e6560
mov dword [esp], edi
mov dword [esp + 4], 0
mov ebx, dword [ebp - 0x38]
call ebx
sub esp, 8
mov ebx, eax
mov eax, 0xb53
call fcn.004e5d30
mov eax, dword [esi + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], str.ShowWindow_failed__error__lx._n
mov dword [esp + 8], eax
call fcn.004e6560
mov dword [esp], edi
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], 0xfffffffe
mov ebx, dword [ebp - 0x50]
call ebx
sub esp, 0x1c
mov ebx, eax
mov eax, 0xb55
call fcn.004e5d30
mov eax, dword [esi + 0x34]
mov dword [esp], ebx
mov esi, edi
mov dword [esp + 4], str.SetWindowPos_failed__error__lx._n
mov dword [esp + 8], eax
call fcn.004e6560
mov dword [esp + 4], 0xfffffff0
mov dword [esp], edi
mov edi, dword [ebp - 0x24]
call edi
sub esp, 8
mov ebx, eax
mov eax, 0xb57
call fcn.004e5d30
xor eax, eax
and ebx, 0x10000000
mov dword [esp + 4], str.Got_unexpected_WS_VISIBLE._n
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp], esi
mov dword [esp + 4], 0xffffffec
call edi
sub esp, 8
mov ebx, eax
mov eax, 0xb59
call fcn.004e5d30
xor eax, eax
and ebx, 8
mov dword [esp + 4], str.Got_unexpected_WS_EX_TOPMOST._n
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp], 0x7d0
call dword [sym.imp.kernel32.dll_Sleep]
sub esp, 4
call fcn.004e5660
mov dword [esp], esi
mov dword [esp + 4], 0xfffffff0
call edi
sub esp, 8
mov ebx, eax
mov eax, 0xb60
call fcn.004e5d30
xor eax, eax
and ebx, 0x10000000
mov dword [esp + 4], str.Got_unexpected_WS_VISIBLE._n
sete al
mov dword [esp], eax
call fcn.004e6560
mov dword [esp], esi
mov dword [esp + 4], 0xffffffec
call edi
mov ebx, eax
sub esp, 8
mov eax, 0xb62
call fcn.004e5d30
and ebx, 8
mov dword [esp + 4], str.Expected_WS_EX_TOPMOST._n
mov dword [esp], ebx
call fcn.004e6560
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 8]
sub esp, 4
mov ebx, eax
mov eax, 0xb65
call fcn.004e5d30
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], str.Unexpected_refcount__lu._n
mov dword [esp], eax
call fcn.004e6560
mov eax, dword [ebp - 0x48]
mov ebx, dword [sym.imp.user32.dll_DestroyWindow]
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp], esi
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
or edx, dword [ebp - 0x18]
jne 0x4eadf0
mov ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x10], ecx
sete cl
movzx ecx, cl
mov esi, ecx
jmp 0x4eadf0
or ecx, dword [ebp - 0x18]
jne 0x4ebba7
xor edx, edx
mov ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x10], ecx
sete dl
jmp 0x4ebba7
or ecx, dword [ebp - 0x18]
jne 0x4ebc9c
xor edx, edx
mov ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x10], ecx
setne dl
jmp 0x4ebc9c
or ecx, dword [ebp - 0x18]
jne 0x4ebed7
xor edx, edx
mov ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x10], ecx
sete dl
jmp 0x4ebed7