Function at 0x4f1230
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xf013f
push str.SOFTWAREHuorongSysdiag_app
push reloc.uactmon.dll_Ordinal_2
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], vtable.CCfgOPReg.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0040ea30
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.004f0a20
test eax, eax
je 0x4f144a
push 7
lea ecx, [ebp - 0x44]
call fcn.004f09b0
test eax, eax
je 0x4f144a
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x416
push dword [edi + 4]
call esi
push 1
push 0
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [edi + 4]
call fcn.00404590
push 0x413
push dword [edi + 4]
call esi
mov esi, eax
push 0xfffffffffffffff0
push esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
and ecx, 0xfffffffe
or ecx, 0xe
cmp eax, ecx
je 0x4f132c
push ecx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x17
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 0x2c]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.004f28c0
push 0x8996
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f1356
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
call fcn.004f2500
push 0x416
push dword [edi + 4]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4f1388
neg esi
sbb esi, esi
and esi, 5
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f13a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x414
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi + 0x28], eax
test eax, eax
je 0x4f1455
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0x2a
push 0xcc
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call esi
test eax, eax
je 0x4f13fe
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
call esi
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov edx, dword [ebp - 0x1c]
sub ecx, edx
mov eax, dword [ebp - 0x14]
add ecx, eax
push 0
push dword [0x594afc]
mov dword [ebp - 0x24], eax
sub eax, edx
push 0
push dword [edi + 4]
mov dword [ebp - 0x28], ecx
sub ecx, esi
push eax
push ecx
push edx
push esi
push 0x5000000b
push 0x552728
push 0x54eef0
push 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [edi + 0x24], eax
jmp 0x4f1455
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4f1463
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x10