Function at 0x4d4160
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1094
call fcn.00512b50
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 0x4d4191
push edi
push eax
push 0x1005
call fcn.004cfdf0
add esp, 0xc
cmp dword [esi + 0x11c0], edi
je 0x4d4484
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 0x4d41e9
mov ecx, esi
call fcn.004d51d0
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.004d3eb0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp eax, edi
je 0x4d423c
cmp dword [esi + 8], edi
jne 0x4d423c
push 0x65
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.004d2ec0
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.004d4a20
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 0x4d443d
cmp dword [esp + 0x10], edi
je 0x4d443d
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4d443d
cmp ebx, edi
je 0x4d443d
cmp dword [esi + 0x40], edi
jne 0x4d443d
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.004d5410
test eax, eax
je 0x4d4484
mov ecx, esi
call fcn.004d40f0
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.00468a70
cmp eax, edi
je 0x4d4311
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 0x4d4342
mov edx, dword [esi + 0x2d0]
lea ecx, [esi + 0x2d0]
call dword [edx + 0x2c]
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.004685a0
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 0x4d43bd
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 0x4d43c5
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 0x4d43da
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cmp ebp, eax
jge 0x4d43e7
lea ebp, [eax + 2]
jmp 0x4d43fa
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
sub eax, edx
add eax, 2
cmp ebp, eax
jle 0x4d43fa
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 0x4d4457
cmp eax, edi
je 0x4d4457
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4d4465
mov ebx, dword [esi + 8]
push ebp
call dword [sym.imp.USER32.dll_GetParent]
cmp ebx, eax
jne 0x4d447c
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