Function at 0x4a4e90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58e450
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
push edi
je 0x4a4fa2
mov ecx, dword [esi + 0x284]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
push eax
push ecx
call edi
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
sub eax, 0x36
push 0x40
sub edx, eax
push edx
mov edx, dword [ebp - 0x18]
sub edx, ecx
push edx
push eax
push ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
push 0
push eax
call ebx
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x34]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ecx, dword [esi + 0x2b8]
add eax, 0x22
push 5
sub edx, eax
push edx
mov edx, dword [ebp - 0x20]
sub edi, edx
push edi
push eax
push edx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
push ecx
push eax
call ebx
mov ecx, dword [esi + 0x284]
push 5
xor edi, edi
push ecx
mov dword [esi + 0x20], edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x24]
push edi
push edi
push 5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5fd7c0]
push 0x80
lea edx, [ebp - 0x134]
push edx
push 0x7d8
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ecx
lea edx, [ebp - 0x134]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.0040bfb0
mov dword [ebp - 4], edi
lea ecx, [esi + 0x21c]
mov dword [ebp - 4], 0xffffffff
call fcn.004ef5c0
lea eax, [ebp - 0x10]
push eax
call fcn.0050a4d0
push edi
jmp 0x4a5086
mov eax, dword [esi + 0x284]
push 0
mov edi, 1
push eax
mov dword [esi + 0x20], edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x5fd7c0]
push 0x80
lea ecx, [ebp - 0x134]
push ecx
push 0x7d9
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
push ecx
lea eax, [ebp - 0x134]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040bfb0
mov dword [ebp - 4], edi
lea ecx, [esi + 0x21c]
mov dword [ebp - 4], 0xffffffff
call fcn.004ef5c0
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
add eax, 0x22
push 0x40
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x20]
sub edx, ecx
push edx
push eax
push ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
push 0
push eax
call ebx
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x34]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, 0x22
push 5
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x20]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x2b8]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x24]
push 0
push 0
push 5
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x10]
push eax
call fcn.0050a4d0
push 1
mov ecx, dword [ebp - 0x10]
push 0x5a39dc
push ecx
call fcn.0050a1d0
mov edx, dword [ebp - 0x10]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10