Function at 0x492ac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c779b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4ebfe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0xbc]
call fcn.00492e80
mov ecx, dword [ebp + 8]
call fcn.00494100
or eax, 0x40000080
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x14]
call fcn.004347f0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 0
je 0x492b3a
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
jmp 0x492b5e
mov eax, dword [ebp - 0x18]
and eax, 1
je 0x492b4d
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x492b5e
mov edx, dword [ebp - 0x18]
and edx, 2
je 0x492b5e
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0x14]
call fcn.00494160
movzx edx, al
test edx, edx
je 0x492b7c
mov eax, dword [ebp - 0x14]
or eax, 0x20
mov dword [ebp - 0x14], eax
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x24]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0x14]
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.0041cce0
push eax
mov ecx, dword [ebp - 0xbc]
call fcn.00426cb0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0x14]
call fcn.0046ba50
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x492c15
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x14]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00423ff0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x492c40
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x14]
mov edx, dword [edx]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.004237b0
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
push 0x30
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x14]
call fcn.00494000
push eax
push 0xc5
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x14]
call fcn.00494160
movzx eax, al
test eax, eax
je 0x492cbc
push 0
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0x14]
call fcn.00494180
movzx edx, ax
push edx
push 0xcc
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x14]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc4]
call fcn.004281e0
push eax
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00427f60
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0xbc]
call fcn.00427720
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0x14]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0xe8]
call eax
movzx ecx, al
sub ecx, 1
neg ecx
sbb ecx, ecx
add ecx, 1
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0x14]
call fcn.00494090
movzx edx, al
sub edx, 1
neg edx
sbb edx, edx
add edx, 1
push edx
push 0xcf
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x14]
call fcn.004941a0
movzx ecx, al
test ecx, ecx
je 0x492e35
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x492e18
mov dword [ebp - 0x30], 1
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0xb1
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x492e65
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0xb1
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xbc]
mov byte [ecx + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4