Function at 0x4c9676
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x58a06c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x2c], eax
push esi
push edi
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004c989f
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp byte [eax + 0x172], 0
je 0x4c96ef
mov ecx, dword [ebx + 0x10]
lea edi, [ebp - 0x18]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ecx]
call dword [eax + 0x40]
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x28], eax
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
dec eax
add eax, ecx
dec ecx
add dword [ebp - 0x1c], ecx
mov ecx, 0x90000080
mov dword [ebp - 0x24], eax
jmp 0x4c96f4
mov ecx, 0x40000080
mov edx, dword [ebx + 0x10]
xor esi, esi
inc esi
mov eax, dword [edx + 0x6c4]
test al, 1
je 0x4c9708
or ecx, esi
jmp 0x4c970f
test al, 2
je 0x4c970f
or ecx, 2
sub esp, 0x10
lea esi, [ebp - 0x28]
mov edi, esp
mov eax, ecx
or eax, 0x20
cmp byte [edx + 0x6e9], 0
push ecx
movsd dword es:[edi], dword [esi]
cmove eax, ecx
push 0
push eax
mov eax, dword [edx]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
mov ecx, ebx
push dword [eax + 0xa8]
call fcn.0047e0b0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x6c0]
cmp eax, 0xffffffff
je 0x4c9762
push eax
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.00483f42
test eax, eax
jne 0x4c9774
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, eax
call fcn.0048368a
mov eax, dword [eax + 4]
mov esi, dword [0x53e4ec]
xor edi, edi
inc edi
push edi
push eax
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push 0
push dword [eax + 0x6e4]
push 0xc5
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
cmp byte [ecx + 0x6e9], 0
je 0x4c97be
movzx eax, word [ecx + 0x6ec]
push 0
push eax
push 0xcc
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x4c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0xb9
push dword [ebx + 4]
call esi
push 0
push 3
push 0xd3
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x17c]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebx + 0x10]
xor ecx, ecx
push 0
cmp byte [eax + 0x6e8], 1
sete cl
push ecx
push 0xcf
push dword [ebx + 4]
call esi
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x994]
or ecx, eax
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [0x53e5e0]
mov eax, dword [ebx + 0x10]
push dword [ebx + 4]
cmp byte [eax + 0x6ea], 0
je 0x4c9876
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
cmove eax, edi
push eax
push 0
jmp 0x4c987e
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push eax
push eax
push 0xb1
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
inc eax
xor ecx, ebp
pop esi
mov byte [ebx + 0x18], al
pop ebx
call fcn.005000f2
leave
ret 4