Function at 0x496690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6230
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51ec70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
jne 0x4969c5
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x4967e9
lea eax, [ebp - 0x24]
push eax
call fcn.0044f090
mov ecx, eax
call fcn.00422a80
cmp dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
je 0x49679f
mov ecx, dword [ebx + 0x6c]
lea edi, [ebx + 0x6c]
test ecx, ecx
je 0x496710
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.window_default_s
mov dword [edi], 0
call int.004225b0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4969e5
mov eax, dword [0x4fd0b0]
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [0x4fd0b4]
mov dword [edx + 4], eax
mov eax, dword [0x4fd0b8]
mov dword [edx + 8], eax
mov eax, dword [0x4fd0bc]
mov dword [edx + 0xc], eax
mov edx, esp
mov eax, dword [0x4fd12c]
mov dword [edx], eax
mov eax, dword [0x4fd130]
mov dword [edx + 4], eax
mov eax, dword [0x4fd134]
mov dword [edx + 8], eax
mov eax, dword [0x4fd138]
mov dword [edx + 0xc], eax
mov byte [ebp - 4], 0
call int.00423d70
test eax, eax
jns 0x4967ae
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x49679f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
mov dword [esi], eax
mov eax, 1
jmp 0x4969c7
mov ecx, dword [edi]
test ecx, ecx
je 0x4969ef
mov eax, dword [ecx]
push 1
push dword [ebx + 0x30]
push ecx
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
js 0x496795
test eax, eax
je 0x4967db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esi], eax
mov eax, 1
jmp 0x4969c7
cmp eax, 2
jne 0x49683a
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x496808
mov dword [ebx + 0xf4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebx + 0xf8]
test ecx, ecx
je 0x496822
mov dword [ebx + 0xf8], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebx + 0x64]
call fcn.00459aa0
mov dword [esi], 0
mov eax, 1
jmp 0x4969c7
cmp eax, 0x201
jne 0x4968c6
push 0
mov dword [ebx + 0xf0], 1
call sub.msvcrt.dll__time64
lea ecx, [ebx + 0xfc]
add esp, 4
cmp dword [ecx + 0x14], 8
jb 0x496867
mov ecx, dword [ecx]
push edx
push eax
push str.tempnoremind
push ecx
push SysReAllocString
call int.00425180
push 0
push str.close_tempnoremind
call fcn.00492e50
add esp, 0x1c
push 0
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi], 0
cmp dword [ebx + 0xf0], 0
je 0x49695a
mov eax, 1
jmp 0x4969c7
cmp eax, 6
jne 0x49695a
xor eax, eax
mov dword [ebx + 0xf0], 1
cmp ax, word [ebp + 0x10]
jne 0x496947
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push dword [ebx + 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
je 0x496947
push 0
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi], 0
cmp dword [ebx + 0xf0], 0
jne 0x4967df
mov esi, dword [ebx + 0x68]
lea ecx, [ebx + 0x64]
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00493e90
mov dword [ebx + 0x68], esi
test eax, eax
jne 0x4967df
cmp dword [ebp + 0xc], 0x104
mov ecx, dword [ebx + 0xec]
jne 0x4969bf
cmp dword [ebp + 0x10], 0x73
jne 0x4969b6
mov eax, dword [ebp - 0x28]
shr eax, 0x1d
test al, 1
je 0x4969b6
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
mov eax, 1
mov dword [ebx + 0xec], ecx
jmp 0x4969c7
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
mov dword [ebx + 0xec], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d761c
mov esp, ebp
pop ebp
ret 0x18
push 0x80004003
call fcn.00499ec0
push 0x80004003
call fcn.00499ec0
int3