Function at 0x4e4d14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004e54a0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x4e53cc
mov eax, dword [0x531784]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4e53cc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x4e53cc
cmp dword [ebp - 0x40], 0
je 0x4e53cc
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetWindowRect
test eax, eax
je 0x4e53cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
cmp dword [eax + 0x54], 0
jne 0x4e53cc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, ebx
mov edx, dword [0x4cdacc]
call fcn.00403b08
test al, al
je 0x4e4e60
mov eax, dword [ebx + 0x54]
mov ax, word [eax + 0x4e]
and ax, 0x800
cmp ax, 0x800
je 0x4e53cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004cfc80
test al, al
jne 0x4e53cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0x18], 0
jne 0x4e53cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0x78], 0
je 0x4e53cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
test byte [eax + 0x1c], 8
jne 0x4e4e09
mov edx, dword [eax + 0x22c]
test byte [edx + 0x1c], 8
je 0x4e4e15
xor edx, edx
call fcn.004e0cfc
jmp 0x4e53cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x22c]
call fcn.0044cb84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4e4e71
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x20c]
test ebx, ebx
je 0x4e4e48
cmp ebx, 0x8000
jne 0x4e4e71
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0044cb84
push eax
call sub.user32.dll_ShowWindow
jmp 0x4e53cc
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e53cc
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 1
mov eax, dword [ebp - 4]
call fcn.004e5a08
test eax, 0x1180
jne 0x4e4e95
mov eax, dword [0x531a5c]
cmp byte [eax], 0
je 0x4e4feb
mov eax, dword [ebp - 4]
call fcn.004e55e0
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, ebx
mov edx, dword [0x4cdacc]
call fcn.00403b08
test al, al
je 0x4e4eca
mov edx, ebx
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x40]
call fcn.004cf6a0
jmp 0x4e5003
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4e4fe4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x40]
call fcn.004b9aa4
push 0xcc0020
mov esi, dword [ebp - 0x4c]
push esi
mov ebx, dword [ebp - 0x50]
push ebx
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.004e80c0
push eax
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.004e80ac
push eax
mov eax, dword [ebp - 4]
call fcn.004e544c
add eax, esi
push eax
mov eax, dword [ebp - 4]
call fcn.004e5414
add eax, ebx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
call fcn.0042979c
call fcn.00424bc4
push eax
call sub.gdi32.dll_BitBlt
push 0
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.004e80c0
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004e544c
add eax, dword [ebp - 0x4c]
add ebx, eax
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.004e80ac
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004e5414
add eax, dword [ebp - 0x50]
add ebx, eax
push ebx
mov eax, dword [ebp - 4]
call fcn.004e544c
add eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
call fcn.004e5414
add eax, dword [ebp - 0x50]
pop edx
pop ecx
call fcn.00406bc0
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
mov cl, 0xff
call fcn.004a9bec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5003
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_ReleaseDC
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0x35], 0
je 0x4e5003
mov eax, dword [ebp - 4]
call fcn.004e55e0
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, ebx
mov edx, dword [0x4cdacc]
call fcn.00403b08
test al, al
je 0x4e5051
cmp byte [ebx + 0x1ec], 0
je 0x4e5051
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
call fcn.004cf954
mov ebx, eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.004e54f8
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.004cf9fc
add esi, eax
add ebx, esi
mov dword [ebp - 0x14], ebx
jmp 0x4e505c
mov eax, dword [ebp - 4]
call fcn.004e544c
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
call fcn.004cf954
push eax
mov eax, dword [ebp - 4]
call fcn.004cf9dc
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.004e54f8
add ebx, dword [ebp - 0x70]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e50c5
mov eax, dword [ebp - 4]
call fcn.004e5a08
and eax, 1
cmp eax, 1
jne 0x4e50d5
push 3
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x38], eax
jmp 0x4e50db
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov ebx, 0x610
cmp byte [ebp - 5], 0
jne 0x4e50fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp edi, dword [eax + 0x48]
jne 0x4e50fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp esi, dword [eax + 0x4c]
je 0x4e5102
mov byte [ebp - 0x31], 1
jmp 0x4e5109
or ebx, 1
mov byte [ebp - 0x31], 0
cmp byte [ebp - 5], 0
jne 0x4e5112
or ebx, 8
lea ecx, [ebp - 0xe]
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x18]
call fcn.00406bdc
call fcn.004ba654
and al, byte [ebp - 0x31]
je 0x4e539f
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
jne 0x4e539f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x30]
xor edx, edx
xor eax, eax
call fcn.00406bdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x4cdacc]
call fcn.00403b08
test al, al
je 0x4e51b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x22c]
cmp byte [eax + 0x2e0], 0
je 0x4e51b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x22c]
mov al, byte [eax + 0x2e1]
mov byte [ebp - 0x3a], al
jmp 0x4e51b6
mov al, byte [ebp - 6]
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x39], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp edi, dword [eax + 0x48]
jne 0x4e51d2
cmp esi, dword [eax + 0x4c]
je 0x4e51e8
push edi
push esi
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0x84]
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004e58e0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0044cb84
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 4]
mov esi, dword [eax + 4]
mov eax, esi
mov edx, dword [0x4cdacc]
call fcn.00403b08
test al, al
je 0x4e5299
mov eax, dword [esi + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e5299
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.004e54f8
sub esi, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x22c]
call fcn.0044cb84
mov cl, 1
mov edx, dword [ebp - 4]
call fcn.004cf954
mov edx, esi
sub edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.00445b44
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x20], eax
push 2
lea eax, [ebp - 0x3c]
push eax
push 0x1fffffff
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0x40]
call fcn.0042979c
call fcn.00424bc4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0044cb84
push eax
mov eax, dword [0x531308]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x20]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0044cb84
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x10000000
cmp eax, 0x10000000
je 0x4e5379
cmp byte [ebp - 6], 0
jne 0x4e5333
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_SetWindowLongA
push 0x253
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0044cb84
push eax
call sub.user32.dll_SetWindowPos
cmp byte [ebp - 6], 0
jne 0x4e53c5
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x40]
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x4e53c5
or ebx, 1
or ebx, 2
push ebx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0044cb84
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4e53c5
or ebx, 1
or ebx, 4
push ebx
push 0
push 0
mov eax, dword [ebp - 0xa]
push eax
mov eax, dword [ebp - 0xe]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0044cb84
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret