Function at 0x4a8dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11218
call fcn.004d12b0
push edi
mov edi, ecx
cmp dword [edi + 0x24], 0
jne 0x4a9020
cmp dword [0x657d0c], 0
push esi
je 0x4a8f02
push dword [ebp + 8]
call fcn.004a8d20
xor eax, eax
xor esi, esi
mov dword [ebp + 8], eax
push ebx
jmp 0x4a8e00
cmp dword [esi + 0x5dac4c], 0
je 0x4a8ee6
push 0x1000
lea ecx, [ebp - 0x1218]
push ecx
push eax
call fcn.0040ac70
mov ebx, eax
lea eax, [ebp - 0x11218]
push 0x7fff
push eax
lea eax, [ebp - 0x1218]
push eax
call fcn.0040aad0
add esp, 0x18
cmp word [ebp - 0x11218], 0
je 0x4a8e70
test ebx, ebx
je 0x4a8e70
mov eax, dword [esi + 0x5dac48]
test eax, eax
je 0x4a8e5b
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
lea eax, [ebp - 0x11218]
push eax
call dword [sym.imp.USER32.dll_LoadCursorFromFileW]
mov dword [esi + 0x5dac48], eax
jmp 0x4a8ecd
cmp dword [esi + 0x5e2c50], 1
je 0x4a8ecd
movzx eax, word [esi + 0x5dac4c]
push 0x8000
push 0
push 0
push 2
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
mov eax, dword [esi + 0x5dac48]
test eax, eax
je 0x4a8ea7
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
push 0
push 0
push 0
push 2
push ebx
call dword [sym.imp.USER32.dll_CopyImage]
push ebx
mov dword [esi + 0x5dac48], eax
mov dword [esi + 0x5e2c50], 1
call dword [sym.imp.USER32.dll_DestroyCursor]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_CopyIcon]
push dword [esi + 0x5dac4c]
push eax
call dword [sym.imp.USER32.dll_SetSystemCursor]
mov eax, dword [ebp + 8]
inc eax
add esi, 0x800c
mov dword [ebp + 8], eax
cmp esi, 0x780b4
jb 0x4a8e00
pop ebx
jmp 0x4a900f
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x1c]
je 0x4a8f10
push eax
call fcn.004a8d20
lea eax, [ebp - 8]
push eax
call fcn.0047d910
add esp, 4
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.HwndWrapper
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
call fcn.004a8950
test eax, eax
jne 0x4a901f
push str.MKSEmbedded
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
call fcn.004a8950
test eax, eax
jne 0x4a901f
push str.MozillaWindowClass
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
call fcn.004a8950
test eax, eax
jne 0x4a901f
push str.AfxFrameOrView100u
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
call fcn.004a8950
test eax, eax
jne 0x4a901f
push str.NS_AE_WindowClass
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
call fcn.004a8950
test eax, eax
jne 0x4a901f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040b310
mov eax, dword [ebp - 0xc]
add esp, 8
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
dec eax
push 0x9c
push 3
push 3
push eax
mov eax, dword [ebp - 0x10]
dec eax
push eax
push 0
push dword [edi + 0x18]
call esi
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 0x18]
call esi
push 8
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [edi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x2c], eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4