Function at 0x4f0337
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x6300f4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x34], eax
push edi
mov dword [ebp - 0x30], esi
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004f058b
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp byte [eax + 0x16d], 0
je 0x4f03bb
mov ecx, dword [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
mov ebx, 0x90000080
mov dword [ebp - 0x1c], ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push dword [eax + 0xa8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x2c], eax
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
dec eax
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
dec eax
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4f03c3
mov ebx, 0x40000080
mov dword [ebp - 0x1c], ebx
mov ecx, dword [esi + 0x10]
xor edx, edx
inc edx
mov eax, dword [ecx + 0x55c]
test dl, al
je 0x4f03d7
or ebx, edx
jmp 0x4f03de
test al, 2
je 0x4f03e1
or ebx, 2
mov dword [ebp - 0x1c], ebx
mov eax, dword [ecx]
mov bl, byte [ecx + 0x591]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x2c]
mov edi, esp
mov ecx, eax
mov eax, dword [ebp - 0x1c]
or eax, 0x20
test bl, bl
mov ebx, dword [ebp - 0x30]
cmove eax, dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push ecx
push 0
push eax
movsd dword es:[edi], dword [esi]
push ecx
push dword [ecx + 0xa8]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c3d61
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x558]
cmp eax, 0xffffffff
je 0x4f043a
push eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c126d
test eax, eax
jne 0x4f044b
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004c0a1b
mov eax, dword [eax]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
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 + 0x58c]
push 0xc5
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x591], 0
je 0x4f0492
movzx eax, word [eax + 0x594]
push 0
push eax
push 0xcc
push dword [ebx + 4]
call esi
mov ecx, dword [ebx + 0x10]
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
push dword [eax]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0xbc]
call fcn.00403943
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 + 0x100]
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 + 0x590], 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 - 0x34]
mov ecx, dword [ecx + 0x83c]
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 [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x10]
push dword [ebx + 4]
cmp byte [eax + 0x592], 0
je 0x4f0560
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
cmove eax, edi
push eax
push 0
jmp 0x4f0568
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.00570864
mov esp, ebp
pop ebp
ret 4