Function at 0x4cbf10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x631a4b
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6bae70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xa8]
call fcn.004cb240
mov ecx, dword [ebp + 8]
call fcn.004cb9b0
or eax, 0x40000080
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x10]
call fcn.00504520
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
and ecx, 0
je 0x4cbf9c
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xac], edx
jmp 0x4cbfd2
mov eax, dword [ebp - 0xb4]
and eax, 1
je 0x4cbfb8
mov ecx, dword [ebp - 0xac]
or ecx, 1
mov dword [ebp - 0xac], ecx
jmp 0x4cbfd2
mov edx, dword [ebp - 0xb4]
and edx, 2
je 0x4cbfd2
mov eax, dword [ebp - 0xac]
or eax, 2
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x10]
call fcn.004cc380
movzx edx, al
test edx, edx
je 0x4cbff6
mov eax, dword [ebp - 0xac]
or eax, 0x20
mov dword [ebp - 0xac], eax
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0xac]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.004bcf10
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.004b7e50
mov dword [ebp - 0xb0], 0
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x10]
call fcn.004ecb60
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0xffffffff
je 0x4cc09f
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.004bc610
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x4cc0d0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.004bc4d0
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
push 1
mov ecx, dword [ebp - 0xb0]
push ecx
push 0x30
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x10]
call fcn.004cb910
push eax
push 0xc5
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x10]
call fcn.004cc380
movzx edx, al
test edx, edx
je 0x4cc14f
push 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x10]
call fcn.004cb980
movzx ecx, ax
push ecx
push 0xcc
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xcc]
call fcn.004b8f40
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.004b8d30
push 0
push 0
push 0xb9
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0xa8]
call fcn.004b84c0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0xe8]
call edx
movzx eax, al
cmp eax, 1
jne 0x4cc213
mov dword [ebp - 0xbc], 1
jmp 0x4cc21d
mov dword [ebp - 0xbc], 0
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x10]
call fcn.004cc3a0
movzx edx, al
cmp edx, 1
jne 0x4cc256
mov dword [ebp - 0xc4], 1
jmp 0x4cc260
mov dword [ebp - 0xc4], 0
push 0
mov eax, dword [ebp - 0xc4]
push eax
push 0xcf
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x10]
call fcn.004cc360
movzx edx, al
test edx, edx
je 0x4cc2fe
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x4cc2de
mov dword [ebp - 0xb8], 1
mov edx, dword [ebp - 0xb8]
push edx
push 0
push 0xb1
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4cc337
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
push 0xb1
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xa8]
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.005e9734
mov esp, ebp
pop ebp
ret 4