Function at 0x413c00
Capabilities:
Check os version
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x421040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push 0x41e3a4
mov dword [0x422650], ebx
call esi
test eax, eax
je 0x413c5c
push 0x1010
push 0x41e3b8
push 0x41e3cc
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401288
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0x41e3e4
call esi
test eax, eax
je 0x413c76
push 0
push 0
push 2
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov byte [0x422635], 0
call fcn.00412470
mov edx, 0x41dbc4
mov ecx, 0x41dbe0
call fcn.004122e0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x11c]
push ecx
push 0xf003f
push 0
push eax
push 0x80000002
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x413ce2
push dword [ebp - 0x11c]
call esi
xor ecx, ecx
mov byte [0x422635], 1
call fcn.004120f0
mov ecx, 7
mov byte [0x423088], al
call fcn.004120f0
mov byte [0x423089], al
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
mov dword [0x422638], eax
mov dword [0x42263c], ecx
cmp eax, 0xa
jne 0x413d1b
test ecx, ecx
je 0x413d1d
cmp eax, eax
jle 0x413d8a
lea eax, [ebp - 0x11c]
mov byte [0x422649], 1
push eax
push 0x20019
push 0
push str.CLSIDB83FC273_3522_4CC6_92EC_75CC86678DA4
push 0x80000000
call edi
test eax, eax
je 0x413d82
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push str.CLSID2ACECADE_0BC7_4c6f_95CF_A221CC161B52
push 0x80000000
call edi
test eax, eax
je 0x413d82
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push str.SOFTWAREGMO_INSIGHTE_START_App
push 0x80000001
call edi
test eax, eax
je 0x413d82
mov cl, 1
jmp 0x413d8c
push dword [ebp - 0x11c]
call esi
xor cl, cl
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
xor eax, eax
test cl, cl
mov byte [0x422649], cl
push 0x41e400
setne al
mov byte [0x422648], cl
add eax, 0x6f
mov dword [0x422640], 0xffffffff
push ebx
mov dword [0x422628], eax
mov dword [0x422644], 0xffffffff
mov dword [ebp - 0x14c], 0x30
mov dword [ebp - 0x148], 3
mov dword [ebp - 0x144], 0x4139c0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], ebx
call esi
push 0x7f00
push 0
mov dword [ebp - 0x134], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push str.setup
push ebx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], 0x10
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0x41e40c
call esi
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push ebx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xa0000
push 0x41d5a4
push str.setupMAIN
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push eax
mov dword [0x42264c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x42264c]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x168]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x413ee9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x168]
push eax
call esi
lea eax, [ebp - 0x168]
push eax
call edi
push 0
push 0
push 0
lea eax, [ebp - 0x168]
push eax
call ebx
test eax, eax
jne 0x413ec4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x160]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00401288
mov esp, ebp
pop ebp
ret 0x10