Function at 0x4dce40
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1094
call fcn.0051e250
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 0x4dce71
push edi
push eax
push 0x1005
call fcn.004d8260
add esp, 0xc
cmp dword [esi + 0x11c0], edi
je 0x4dd164
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 0x4dcec9
mov ecx, esi
call fcn.004ddeb0
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.004dcb90
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp eax, edi
je 0x4dcf1c
cmp dword [esi + 8], edi
jne 0x4dcf1c
push 0x65
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, esi
call fcn.004dbba0
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.004dd700
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 0x4dd11d
cmp dword [esp + 0x10], edi
je 0x4dd11d
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4dd11d
cmp ebx, edi
je 0x4dd11d
cmp dword [esi + 0x40], edi
jne 0x4dd11d
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.004de0f0
test eax, eax
je 0x4dd164
mov ecx, esi
call fcn.004dcdd0
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.0046afb0
cmp eax, edi
je 0x4dcff1
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 0x4dd022
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.0046aae0
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
lea eax, [esp + 0x5c]
push 0x56e414
push eax
call edi
add esp, 8
test eax, eax
jne 0x4dd09d
lea ecx, [esp + 0x5c]
push 0x56e3b0
push ecx
call edi
add esp, 8
test eax, eax
je 0x4dd0a5
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 0x4dd0ba
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cmp ebp, eax
jge 0x4dd0c7
lea ebp, [eax + 2]
jmp 0x4dd0da
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
sub eax, edx
add eax, 2
cmp ebp, eax
jle 0x4dd0da
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 0x4dd137
cmp eax, edi
je 0x4dd137
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4dd145
mov ebx, dword [esi + 8]
push ebp
call dword [sym.imp.USER32.dll_GetParent]
cmp ebx, eax
jne 0x4dd15c
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