Function at 0x4dc690
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1094
call fcn.0051d7f0
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x11c0]
xor edi, edi
cmp ecx, edi
jne 0x4dc6c1
push edi
push eax
push 0x1005
call fcn.004d7a80
add esp, 0xc
cmp dword [esi + 0x11c0], edi
je 0x4dc9b4
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 8], eax
je 0x4dc719
mov ecx, esi
call fcn.004dd700
lea ecx, [esp + 0x14]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esi + 0x11c0]
push eax
push ecx
push edx
call fcn.004dc3e0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp eax, edi
je 0x4dc76c
cmp dword [esi + 8], edi
jne 0x4dc76c
push 0x65
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.004db3f0
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.004dcf50
mov edx, dword [esi + 8]
lea ecx, [esp + 0x4c]
push ecx
push edx
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, edi
jne 0x4dc96d
cmp dword [esp + 0x10], edi
je 0x4dc96d
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4dc96d
cmp ebx, edi
je 0x4dc96d
cmp dword [esi + 0x40], edi
jne 0x4dc96d
mov eax, dword [esp + 0x38]
mov dword [esi + 0x11c4], ecx
mov ecx, dword [esp + 0x18]
push eax
mov dword [esi + 0x34], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x44], 1
mov dword [esi + 0x30], eax
call fcn.004dd940
test eax, eax
je 0x4dc9b4
mov ecx, esi
call fcn.004dc620
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x11c0]
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x28], eax
call fcn.0046acf0
cmp eax, edi
je 0x4dc841
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
sub ebx, edx
sub ebp, ecx
cmp eax, edi
mov dword [esp + 0x48], ebp
je 0x4dc872
mov edx, dword [esi + 0x2d0]
lea ecx, [esi + 0x2d0]
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
sub eax, ebx
add eax, edx
mov word [esp + 0x5c], di
lea edi, [esp + 0x5e]
push 0x824
lea edx, [eax + ecx + 2]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
sub eax, ebp
mov dword [esp + 0x14], edx
lea edx, [esp + 0x60]
lea ebp, [eax + ecx + 2]
mov ecx, 0x411
xor eax, eax
push edx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x11c0]
stosw word es:[edi], ax
call fcn.0046a820
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
lea eax, [esp + 0x5c]
push str.http:__www.kaixin001.com__house_ranch_index.php
push eax
call edi
add esp, 8
test eax, eax
jne 0x4dc8ed
lea ecx, [esp + 0x5c]
push str.http:__www.kaixin001.com__house_garden_index.php
push ecx
call edi
add esp, 8
test eax, eax
je 0x4dc8f5
sub dword [esp + 0x10], 0x9b
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
sub edx, ebx
lea eax, [edx + 2]
cmp ecx, eax
jle 0x4dc90a
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cmp ebp, eax
jge 0x4dc917
lea ebp, [eax + 2]
jmp 0x4dc92a
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
sub eax, edx
add eax, 2
cmp ebp, eax
jle 0x4dc92a
mov ebp, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 8]
push 0x55
push 0
push 0
push ebp
push ecx
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esi + 0x11e0], ecx
mov dword [esi + 0x11e4], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1094
ret
cmp dword [esi + 0x11c4], edi
je 0x4dc987
cmp eax, edi
je 0x4dc987
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4dc995
mov ebx, dword [esi + 8]
push ebp
call dword [sym.imp.USER32.dll_GetParent]
cmp ebx, eax
jne 0x4dc9ac
mov ecx, dword [esi + 8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1094
ret
push edi
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1094
ret