Function at 0x4c78c0
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 0x4c78f2
cmp byte [ecx + 0x415], 0
je 0x4c78f7
mov esi, 0x800000
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00474d40
test al, al
jne 0x4c791a
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x419], al
jne 0x4c791a
or esi, 0x40000080
jmp 0x4c7923
mov ecx, dword [edi + 0x10]
or esi, 0x90000080
cmp byte [ecx + 0x415], 0
je 0x4c7938
and esi, 0xffffff7f
or esi, 0x1044
call fcn.004c2db0
test al, 1
je 0x4c7946
or esi, 1
jmp 0x4c794d
test al, 2
je 0x4c794d
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.00474860
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], 0x5fcdf8
mov dword [eax + 4], 0
call fcn.00480070
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c7b3f
mov ecx, dword [edi + 0x10]
call fcn.004c2d00
mov esi, eax
cmp esi, 0xffffffff
je 0x4c79d5
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x1c]
push esi
mov ecx, eax
call fcn.00473b40
test eax, eax
jne 0x4c79e6
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00473910
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 0x4c7a2e
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 0x4c7a3f
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.00480710
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 0x4c7b04
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
mov ecx, 1
cmove eax, ecx
push eax
push 0
jmp 0x4c7b0c
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 0x4c7b3b
cmp byte [eax + 0x419], 0
je 0x4c7b3b
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.00539e65
mov esp, ebp
pop ebp
ret 4