Function at 0x4c7630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov dword [edi + 0x10], ecx
cmp byte [ecx + 0x414], 0
jne 0x4c7662
cmp byte [ecx + 0x415], 0
je 0x4c7667
mov esi, 0x800000
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00474e50
test al, al
jne 0x4c768a
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x419], al
jne 0x4c768a
or esi, 0x40000080
jmp 0x4c7693
mov ecx, dword [edi + 0x10]
or esi, 0x90000080
cmp byte [ecx + 0x415], 0
je 0x4c76a8
and esi, 0xffffff7f
or esi, 0x1044
call fcn.004c2ad0
test al, 1
je 0x4c76b6
or esi, 1
jmp 0x4c76bd
test al, 2
je 0x4c76bd
or esi, 2
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov bl, byte [ecx + 0x311]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00474970
push 0
push SysReAllocString
push SysReAllocString
push 0xfffe7961
push 0xfffe7961
mov ecx, esi
mov edx, eax
or ecx, 0x20
test bl, bl
push 0
cmove ecx, esi
push ecx
sub esp, 8
mov ecx, edi
mov eax, esp
push edx
mov dword [eax], 0x5fcef8
mov dword [eax + 4], 0
call fcn.00480180
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c78af
mov ecx, dword [edi + 0x10]
call fcn.004c2a20
mov esi, eax
cmp esi, 0xffffffff
je 0x4c7745
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x1c]
push esi
mov ecx, eax
call fcn.00473c50
test eax, eax
jne 0x4c7756
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00473a20
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x10]
push 0
push dword [eax + 0x30c]
push 0xc5
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x311], 0
je 0x4c779e
movzx eax, word [ecx + 0x314]
push 0
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x28]
cmp dword [eax + 0x14], 8
jb 0x4c77af
mov eax, dword [eax]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x20]
call fcn.00405f7b
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.00480820
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x140]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x10]
xor ecx, ecx
push 0
cmp byte [eax + 0x310], 1
sete cl
push ecx
push 0xcf
push dword [edi + 4]
call esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x40c]
or ecx, eax
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push ecx
cmp byte [eax + 0x312], 0
je 0x4c7874
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
push 0
jmp 0x4c787c
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4c78ab
cmp byte [eax + 0x419], 0
je 0x4c78ab
push 3
push 0
push 0
push 0
push 0
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053a175
mov esp, ebp
pop ebp
ret 4