Function at 0x50eee0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a7bb
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5b0514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xb8]
call fcn.0050e230
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.004ab660
movzx eax, al
test eax, eax
je 0x50efce
mov dword [ebp - 0xbc], 0x90000080
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.004ab080
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0x14], ecx
jmp 0x50efd8
mov dword [ebp - 0xbc], 0x40000080
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx + 0x10]
call fcn.004cbc70
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
and eax, 0
je 0x50f005
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xbc], ecx
jmp 0x50f03b
mov edx, dword [ebp - 0xc4]
and edx, 1
je 0x50f021
mov eax, dword [ebp - 0xbc]
or eax, 1
mov dword [ebp - 0xbc], eax
jmp 0x50f03b
mov ecx, dword [ebp - 0xc4]
and ecx, 2
je 0x50f03b
mov edx, dword [ebp - 0xbc]
or edx, 2
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x10]
call fcn.0050f430
movzx ecx, al
test ecx, ecx
je 0x50f05f
mov edx, dword [ebp - 0xbc]
or edx, 0x20
mov dword [ebp - 0xbc], edx
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0xbc]
push eax
push 0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xb8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.004ab080
push eax
mov ecx, dword [ebp - 0xb8]
call fcn.004c84e0
mov dword [ebp - 0xc0], 0
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 0x10]
call fcn.004cbbb0
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0xffffffff
je 0x50f108
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.004aa8f0
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x50f139
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.004aa5d0
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
push 1
mov ecx, dword [ebp - 0xc0]
push ecx
push 0x30
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 0x10]
call fcn.004b6300
push eax
push 0xc5
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 0x10]
call fcn.0050f430
movzx edx, al
test edx, edx
je 0x50f1b8
push 0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x10]
call fcn.0050e9e0
movzx ecx, ax
push ecx
push 0xcc
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xe4]
call fcn.004a08d0
push eax
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004a06c0
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0xb8]
call fcn.004c8a40
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x100]
call edx
movzx eax, al
cmp eax, 1
jne 0x50f27c
mov dword [ebp - 0xd4], 1
jmp 0x50f286
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 0x10]
call fcn.0050f450
movzx edx, al
cmp edx, 1
jne 0x50f2bf
mov dword [ebp - 0xd8], 1
jmp 0x50f2c9
mov dword [ebp - 0xd8], 0
push 0
mov eax, dword [ebp - 0xd8]
push eax
push 0xcf
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xfffffffffffffff0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp + 8]
call fcn.0050eb00
or eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
push edx
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0xb8]
call fcn.004a1190
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx + 0x10]
call fcn.0050f410
movzx edx, al
test edx, edx
je 0x50f3ae
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x50f38e
mov dword [ebp - 0xcc], 1
mov edx, dword [ebp - 0xcc]
push edx
push 0
push 0xb1
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x50f3e7
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
push 0xb1
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xb8]
mov byte [edx + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497d40
mov esp, ebp
pop ebp
ret 4