Function at 0x42c220
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc8
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], 0x80000000
mov dword [esp + 8], 0x49d40e
mov dword [esp + 4], 0x49d564
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [ebp - 0x98], eax
sub esp, 0x30
test eax, eax
je 0x42cb77
mov dword [esp + 4], 5
mov esi, dword [ebp - 0x98]
mov dword [esp], esi
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.user32.dll_UpdateWindow]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.gdi32.dll_CreateRectRgn]
mov dword [ebp - 0x94], eax
sub esp, 0x10
test eax, eax
je 0x42cb5a
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDC]
sub esp, 4
mov esi, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x87
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], 0x49d57f
mov dword [esp], eax
call fcn.0042b9e0
lea eax, [ebp - 0x80]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [sym.imp.gdi32.dll_GetClipBox]
mov dword [ebp - 0x9c], eax
call eax
mov edi, dword [0x5b41f0]
sub esp, 8
mov ebx, eax
call fcn.00492bc0
xor ecx, ecx
mov edx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add edx, edx
test edi, edi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x42c3cd
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x8b
mov eax, 1
cmp ebx, 1
je 0x42c3b1
mov edx, dword [0x5b41f0]
test edx, edx
sete dl
xor eax, eax
cmp ebx, 2
sete al
and eax, edx
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x49d58d
call fcn.0042b9e0
call fcn.00492bc0
shr dword [eax + 0x10], 1
call fcn.00492bc0
mov edi, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edi, edi
jne 0x42c380
mov ecx, dword [sym.imp.gdi32.dll_GetClipRgn]
mov eax, dword [ebp - 0x94]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [ebp - 0xa0], ecx
call ecx
sub esp, 8
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x8d
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.GetClipRgn_returned__d_instead_of_0_n
call fcn.0042b9e0
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetRgnBox]
sub esp, 8
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x8f
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], 0x49d3e0
mov dword [esp + 4], eax
call fcn.0042b100
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 4], str.GetRgnBox_returned__d__s_instead_of_NULLREGION_n
mov dword [esp], eax
call fcn.0042b9e0
lea ecx, [ebp - 0x70]
mov dword [esp + 4], 0x64
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
mov eax, dword [sym.imp.gdi32.dll_GetRegionData]
mov dword [ebp - 0xa4], eax
call eax
sub esp, 0xc
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x92
xor eax, eax
cmp ebx, 0x20
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0x49d5fc
call fcn.0042b9e0
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x93
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], 0x49d604
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042b9e0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x88], 0x64
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0x64
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x95
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], 0x49d3e0
mov dword [esp + 4], eax
call fcn.0042b100
mov ebx, eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], 0x49d3e0
mov dword [esp + 4], eax
call fcn.0042b100
mov edx, dword [ebp - 0x80]
xor ecx, ecx
cmp dword [ebp - 0x90], edx
je 0x42ca80
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.rects_are_not_equal:__s____s_n
call fcn.0042b9e0
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_SaveDC]
sub esp, 4
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x99
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x49d636
mov dword [esp], eax
call fcn.0042b9e0
mov dword [esp + 0x10], 0x32
mov dword [esp + 0xc], 0x32
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_IntersectClipRect]
sub esp, 0x14
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x9d
mov eax, 1
cmp ebx, 2
je 0x42c695
mov eax, dword [0x5b41f0]
test eax, eax
sete cl
xor eax, eax
cmp ebx, 3
sete al
and eax, ecx
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0x49d58d
call fcn.0042b9e0
mov eax, dword [ebp - 0x94]
mov dword [esp], esi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0xa0]
call ecx
sub esp, 8
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0x9f
xor eax, eax
cmp ebx, 1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.GetClipRgn_returned__d_instead_of_1_n
call fcn.0042b9e0
lea edx, [ebp - 0x70]
mov dword [esp + 4], 0x64
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
mov eax, dword [ebp - 0xa4]
call eax
sub esp, 0xc
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0xa1
xor eax, eax
cmp ebx, 0x30
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0x49d5fc
call fcn.0042b9e0
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0xa2
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], 0x49d604
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0042b9e0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x88], 0x32
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0x32
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0xa4
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], 0x49d3e0
mov dword [esp + 4], eax
call fcn.0042b100
mov edx, dword [ebp - 0x90]
xor ecx, ecx
cmp dword [ebp - 0x50], edx
je 0x42cb28
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x49d665
call fcn.0042b9e0
lea eax, [ebp - 0x80]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x9c]
call eax
sub esp, 8
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0xa7
xor eax, eax
cmp ebx, 2
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0x49d58d
call fcn.0042b9e0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x88], 0x32
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0x32
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0xa9
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], 0x49d3e0
mov dword [esp + 4], eax
call fcn.0042b100
mov ebx, eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], 0x49d3e0
mov dword [esp + 4], eax
call fcn.0042b100
mov edx, dword [ebp - 0x80]
xor ecx, ecx
cmp dword [ebp - 0x90], edx
je 0x42caf0
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.rects_are_not_equal:__s____s_n
call fcn.0042b9e0
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.gdi32.dll_RestoreDC]
sub esp, 8
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0xad
mov dword [esp + 8], ebx
mov dword [esp], ebx
mov dword [esp + 4], 0x49d636
call fcn.0042b9e0
lea eax, [ebp - 0x80]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x9c]
call eax
sub esp, 8
mov ebx, eax
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0xb0
xor eax, eax
cmp ebx, 2
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0x49d58d
call fcn.0042b9e0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x88], 0x64
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0x64
call fcn.00492bc0
mov dword [eax], 0x49d404
mov dword [eax + 4], 0xb2
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], 0x49d3e0
mov dword [esp + 4], eax
call fcn.0042b100
mov ebx, eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], 0x49d3e0
mov dword [esp + 4], eax
call fcn.0042b100
mov ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x90], ecx
je 0x42cab8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [esp + 4], str.rects_are_not_equal:__s____s_n
call fcn.0042b9e0
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
mov dword [esp + 4], esi
mov esi, dword [ebp - 0x98]
mov dword [esp], esi
call dword [sym.imp.user32.dll_ReleaseDC]
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x78]
cmp dword [ebp - 0x88], edx
jne 0x42c5e3
mov edx, dword [ebp - 0x7c]
cmp dword [ebp - 0x8c], edx
jne 0x42c5e3
mov ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x84], ecx
sete cl
movzx ecx, cl
jmp 0x42c5e3
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x88], ecx
jne 0x42ca2b
mov ecx, dword [ebp - 0x7c]
cmp dword [ebp - 0x8c], ecx
jne 0x42ca2b
mov ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x84], ecx
sete cl
movzx ecx, cl
mov edi, ecx
jmp 0x42ca2b
mov edx, dword [ebp - 0x78]
cmp dword [ebp - 0x88], edx
jne 0x42c8eb
mov edx, dword [ebp - 0x7c]
cmp dword [ebp - 0x8c], edx
jne 0x42c8eb
mov ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x84], ecx
sete cl
movzx ecx, cl
jmp 0x42c8eb
mov edx, dword [ebp - 0x88]
cmp dword [ebp - 0x48], edx
jne 0x42c7e9
mov edx, dword [ebp - 0x8c]
cmp dword [ebp - 0x4c], edx
jne 0x42c7e9
mov ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x44], ecx
sete cl
movzx ecx, cl
jmp 0x42c7e9
mov dword [esp + 8], 0x84
mov dword [esp + 4], str..._dlls_gdi32_tests_dc.c
mov dword [esp], 0x49d575
call dword [sym.imp.msvcrt.dll__assert]
mov dword [esp + 8], 0x7f
mov dword [esp + 4], str..._dlls_gdi32_tests_dc.c
mov dword [esp], str.hwnd___0
call dword [sym.imp.msvcrt.dll__assert]
lea esi, [esi]
lea esi, [esi]
nop