Function at 0x478750
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x114
push ecx
lea edi, [esp + 4]
mov eax, 0xcccccccc
mov ecx, 0x45
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [0x5c1038], eax
mov eax, dword [ebp + 0xc]
mov dword [0x5c103c], eax
mov eax, dword [ebp + 0x10]
mov dword [0x5c1040], eax
mov eax, dword [ebp + 0x14]
mov dword [0x5c1044], eax
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dword [0x5c1048], eax
call dword [sym.imp.USER32.dll_GetMessagePos]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
and edx, 0xffff
movsx edx, dx
mov dword [0x5c104c], edx
mov edx, dword [ebp - 0x6c]
shr edx, 0x10
movsx edx, dx
mov dword [0x5c104c], edx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004783f0
add esp, 0x14
cmp eax, 0
je 0x4787f3
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
sub eax, 2
je 0x47949f
sub eax, 1
je 0x47922a
sub eax, 2
je 0x4792ff
sub eax, 1
je 0x478b59
sub eax, 9
je 0x478ef8
sub eax, 1
je 0x4794dd
sub eax, 1
je 0x478ac1
sub eax, 3
je 0x478d5a
sub eax, 4
je 0x478a0d
sub eax, 4
je 0x478c2f
sub eax, 4
je 0x479520
sub eax, 1
je 0x478b2a
sub eax, 1
je 0x479817
sub eax, 0x59
je 0x478f89
sub eax, 3
je 0x4795c6
sub eax, 0x22
je 0x47917f
sub eax, 0x62
je 0x4796dc
sub eax, 0x10
je 0x479817
sub eax, 4
je 0x478f3b
sub eax, 0xb
je 0x4795bc
sub eax, 7
je 0x4789da
sub eax, 0xd
je 0x478dfd
sub eax, 3
je 0x478dfd
sub eax, 0xc8
je 0x4791b2
sub eax, 1
je 0x47909c
sub eax, 1
je 0x479140
sub eax, 2
je 0x47909c
sub eax, 1
je 0x479140
sub eax, 5
je 0x4795d0
sub eax, 0xa
je 0x4792be
sub eax, 0xe
je 0x478c70
sub eax, 0xf
je 0x479446
sub eax, 1
je 0x479452
sub eax, 0x54
je 0x478a60
sub eax, 0x89
je 0x478aeb
sub eax, 0x164
je 0x47894c
sub eax, 0x3ef
je 0x478a36
jmp 0x479817
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], 0
mov eax, dword [ebp + 0x14]
sub eax, 0x201
je 0x47897f
sub eax, 2
je 0x4789a9
sub eax, 1
je 0x4789a0
sub eax, 0x270
je 0x478976
jmp 0x4789bb
mov dword [ebp - 0x78], 0x64
jmp 0x4789bb
mov eax, dword [ebp - 0x74]
mov dword [0x5c1058], eax
push 0x478720
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push eax
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4789bb
mov dword [ebp - 0x78], 0x65
jmp 0x4789bb
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebp - 0x78], 0x66
cmp dword [ebp - 0x78], 0
je 0x4789d5
push dword [ebp - 0x78]
push dword [ebp - 0x74]
call fcn.0057b370
pop ecx
push eax
call sym.X86RunHoudini.exe_FireTrayItemActionEvent
pop ecx
pop ecx
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x478a00
push 0
mov edx, dword [ebp - 0x7c]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xf4]
mov eax, 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 5
jb 0x479817
push 0
push 0x10002
push 0x127
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x479817
cmp dword [ebp + 0x10], 1
jne 0x479817
cmp dword [ebp + 0x14], 2
jne 0x479817
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.00480490
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x478a87
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x80]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xd4]
jmp 0x478abc
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x478abc
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x84]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xd4]
jmp 0x479817
call fcn.00414940
cmp al, 0
jne 0x478ad5
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jmp 0x478ade
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x64], eax
push 0
call fcn.0047c2b0
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [ebp - 0x64]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
push dword [ebp + 8]
call fcn.0047c1b0
pop ecx
cmp al, 0
je 0x479817
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov byte [0x5c1034], 1
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x478bbb
mov eax, dword [ebp + 0x10]
and eax, 0xffff
cmp ax, 0
jne 0x478b9d
mov edx, dword [ebp - 0x88]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x90]
jmp 0x478bbb
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cmp ax, 0
jne 0x478bbb
mov edx, dword [ebp - 0x88]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x8c]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [ebp - 0x88], 0
je 0x478c22
mov eax, dword [ebp - 0x88]
cmp byte [eax + 0x50], 0
jne 0x478c22
call fcn.0040f270
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x8d], 0
cmp dword [ebp - 0x8c], 0
je 0x478c11
mov edx, dword [ebp - 0x8c]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1e4]
cmp al, 0
setne dl
mov byte [ebp - 0x8d], dl
push 0
movzx eax, byte [ebp - 0x8d]
push eax
call fcn.0047e700
pop ecx
pop ecx
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp dword [ebp + 0x10], 0
je 0x478c3f
call fcn.0047f930
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x478c6b
mov eax, dword [ebp - 0x94]
cmp byte [eax + 0x50], 0
jne 0x478c6b
call fcn.0047f980
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x478c98
mov eax, 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x14], eax
jne 0x478d3b
mov edx, dword [ebp - 0x98]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x8c]
push dword [ebp + 8]
call fcn.00477910
pop ecx
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x478d39
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x118]
mov eax, dword [edx + 0x98]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x478d39
call fcn.004b5ec0
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + 0x2c]
mov eax, dword [edx + 0x50]
cmp dword [ebp - 0xa4], eax
je 0x478d39
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + 0x2c]
push dword [edx + 0x50]
call fcn.004b5ec0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
call fcn.004b5ec0
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x478d55
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], eax
jne 0x478d55
mov edx, dword [ebp - 0x98]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x90]
jmp 0x479817
push dword [ebp + 8]
call fcn.0040f430
pop ecx
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x478df8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 0xa9], 0
je 0x478dac
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0xac]
mov dword [ebp - 0xac], ecx
jmp 0x478dba
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0xac], eax
push dword [ebp - 0xac]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x70]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
jmp 0x479817
push 0x5c13fa
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_GetPropA]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x478ef3
mov edx, dword [ebp - 0xb0]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x198]
cmp al, 0
jne 0x478ef3
mov byte [ebp - 0xb1], 0
mov edx, dword [ebp - 0xb0]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x7c]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0x34]
push eax
mov edx, dword [ebp - 0xb8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x50]
cmp al, 0
je 0x478e74
mov byte [ebp - 0xb1], 1
jmp 0x478eab
push dword [ebp - 0xb0]
call fcn.004a7200
pop ecx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
cmp byte [eax + 0xa9], 0
je 0x478eab
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax + 0xac]
mov dword [ebp - 0x34], edx
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xb1], 0
je 0x478ef3
cmp dword [0x64f184], 0
je 0x478ec9
push dword [0x64f184]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x34]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x64f184], eax
push dword [0x64f184]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x64f184]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x478f25
mov edx, dword [ebp - 0xc0]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xec]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.0040f270
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0xc5], 0
cmp dword [ebp - 0xc4], 0
je 0x478f73
mov edx, dword [ebp - 0xc4]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1e4]
cmp al, 0
setne dl
mov byte [ebp - 0xc5], dl
push 0
movzx eax, byte [ebp - 0xc5]
push eax
call fcn.0047e700
pop ecx
pop ecx
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x479097
call fcn.00478690
mov byte [0x5dda7e], 0
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx edx, dx
mov dword [ebp - 0xd0], edx
mov edx, dword [ebp + 0x14]
shr edx, 0x10
movsx edx, dx
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd0], 0xffffffff
jne 0x47903c
cmp dword [ebp - 0xd4], 0xffffffff
jne 0x47903c
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x47903c
lea edi, [ebp - 0x44]
mov eax, 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
lea edx, [ebp - 0x4c]
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0xd8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov edx, dword [ebp - 0xcc]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1d4]
cmp al, 0
je 0x479097
mov eax, 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x47912a
call fcn.00478690
mov byte [0x5dda7e], 0
cmp dword [ebp + 0xc], 0x201
jne 0x4790fc
movsx eax, word [0x5dda98]
push eax
mov edx, dword [ebp + 0x14]
shr edx, 0x10
movsx eax, dx
push eax
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
push eax
mov edx, dword [ebp - 0xe0]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x28]
jmp 0x47912a
movsx eax, word [0x5dda98]
push eax
mov edx, dword [ebp + 0x14]
shr edx, 0x10
movsx eax, dx
push eax
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
push eax
mov edx, dword [ebp - 0xe0]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x2c]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004804a0
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x479817
call fcn.00480500
mov edx, dword [ebp + 0x14]
shr edx, 0x10
movsx eax, dx
push eax
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
push eax
mov edx, dword [ebp - 0x68]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x3c]
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x4791ad
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [ebp - 0xe4]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x38]
jmp 0x479817
call fcn.004b5e90
cmp al, 0
je 0x479817
call fcn.004804a0
cmp eax, 0
jne 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x479225
mov edx, dword [ebp - 0x6c]
and edx, 0xffff
movsx edx, dx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x6c]
shr edx, 0x10
movsx edx, dx
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov edx, dword [ebp - 0xe8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x38]
jmp 0x479817
cmp byte [0x5c1034], 0
je 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x4792b9
mov ecx, dword [ebp - 0xec]
call fcn.00410cc0
mov edx, dword [ebp - 0xec]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1fc]
mov eax, fcn.005813b0
cmp eax, 0
je 0x4792b9
cmp dword [0x5dda9c], 0
je 0x4792b9
mov eax, dword [0x5dda9c]
mov dword [ebp - 0xf0], eax
jmp 0x4792ac
mov eax, dword [ebp - 0xf0]
push dword [eax + 0x10]
call fcn.004a4950
pop ecx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
mov dword [ebp - 0xf0], ecx
cmp dword [ebp - 0xf0], 0
jne 0x47928f
jmp 0x479817
cmp byte [0x5c1034], 0
je 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x4792fa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xf4]
call fcn.0047bdc0
add esp, 0xc
jmp 0x479817
cmp byte [0x5c1034], 0
je 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x479441
mov eax, dword [ebp - 0xf8]
cmp byte [eax + 0x50], 0
jne 0x479441
cmp dword [ebp + 0x10], 1
jne 0x47935c
mov byte [0x64f188], 1
mov edx, dword [ebp - 0xf8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x218]
jmp 0x4793b3
cmp dword [ebp + 0x10], 2
jne 0x479384
mov byte [0x64f182], 1
mov byte [0x64f188], 1
mov edx, dword [ebp - 0xf8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x21c]
jmp 0x4793b3
cmp byte [0x64f188], 0
je 0x4793b3
cmp dword [ebp + 0x10], 0
jne 0x4793b3
mov byte [0x64f182], 1
mov byte [0x64f188], 0
mov edx, dword [ebp - 0xf8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x220]
mov ecx, dword [ebp - 0xf8]
call fcn.00410cc0
cmp byte [0x64f182], 0
je 0x4793e2
mov byte [0x64f182], 0
mov edx, dword [ebp - 0xf8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x20c]
jmp 0x479441
mov eax, dword [ebp - 0xf8]
push dword [eax + 0x68]
call dword [sym.imp.USER32.dll_IsIconic]
cmp eax, 0
jne 0x479441
cmp byte [0x64f180], 0
je 0x47942f
mov byte [0x64f181], 1
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xf8]
call fcn.00410b10
push dword [ebp - 0x50]
push dword [ebp - 0x54]
mov edx, dword [ebp - 0xf8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x200]
jmp 0x479441
mov edx, dword [ebp - 0xf8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x20c]
jmp 0x479817
mov byte [0x64f180], 1
jmp 0x479817
mov byte [0x64f180], 0
cmp byte [0x64f181], 0
je 0x479817
mov byte [0x64f181], 0
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x47949a
mov edx, dword [ebp - 0xfc]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x20c]
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x4794d8
mov eax, dword [ebp - 0x100]
cmp byte [eax + 0x50], 0
jne 0x4794d8
mov edx, dword [ebp - 0x100]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x214]
jmp 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x47950a
mov edx, dword [ebp - 0x104]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x214]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x14]
and eax, 0xffffffff
cmp ax, 1
je 0x479539
mov eax, 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x4795b7
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp - 0x6c]
and edx, 0xffff
movsx edx, dx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x6c]
shr edx, 0x10
movsx edx, dx
mov dword [ebp - 0x30], edx
push 0x7f00
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x108]
call fcn.004b6140
add esp, 0x10
mov byte [ebp - 0x109], al
cmp byte [ebp - 0x109], 0
je 0x4795b7
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
jmp 0x479817
call fcn.004a4880
jmp 0x479817
call sym.X86RunHoudini.exe_RemoveCachedScreenInfo
jmp 0x479817
cmp dword [0x5df260], 0x20a
je 0x479817
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x110], eax
push 0
lea eax, [ebp - 0x58]
push eax
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [ebp - 0x58], 0
je 0x4796d7
mov edx, dword [ebp + 0x10]
shr edx, 0x10
neg edx
mov dword [ebp - 0x114], edx
movsx edx, word [ebp - 0x114]
mov eax, 0x88888889
mov ecx, edx
imul edx
add edx, ecx
shr ecx, 0x1f
sar edx, 6
add ecx, edx
imul ecx, dword [ebp - 0x58]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movzx edx, dx
mov dword [ebp - 0x60], edx
mov edx, dword [ebp + 0x14]
shr edx, 0x10
movzx edx, dx
mov dword [ebp - 0x5c], edx
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x110]
push dword [eax + 0x68]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebp - 0x60], 0
jl 0x4796d7
cmp dword [ebp - 0x5c], 0
jl 0x4796d7
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x110]
mov edx, dword [eax + 0x1c]
cmp ebx, edx
jg 0x4796d7
mov ebx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x110]
mov edx, dword [eax + 0x20]
cmp ebx, edx
jg 0x4796d7
push dword [ebp - 0x58]
push 0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov edx, dword [ebp - 0x110]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1b0]
mov byte [ebp - 0x115], al
cmp byte [ebp - 0x115], 0
je 0x4796d7
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
jmp 0x479817
call fcn.00480490
mov dword [ebp - 0x11c], eax
push 0
push dword [ebp + 8]
call fcn.0056d610
pop ecx
pop ecx
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x11c], 0
je 0x479791
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x11c], eax
je 0x479791
cmp dword [ebp + 0x10], 0xff
jbe 0x479756
movsx eax, word [0x5dda98]
push eax
push 0
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x11c]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xd4]
cmp al, 0
je 0x479791
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
movsx eax, word [0x5dda98]
push eax
push 0
movzx eax, byte [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x11c]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xcc]
cmp al, 0
je 0x479791
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp dword [ebp - 0x120], 0
je 0x479817
cmp dword [ebp + 0x10], 0xff
jbe 0x4797dc
movsx eax, word [0x5dda98]
push eax
push 0
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x120]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xd4]
cmp al, 0
je 0x479817
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
movsx eax, word [0x5dda98]
push eax
push 0
movzx eax, byte [ebp + 0x10]
push eax
mov edx, dword [ebp - 0x120]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xcc]
cmp al, 0
je 0x479817
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret