Function at 0x40d4f2
Capabilities:
Create process on windows
Create process suspended
Create thread

Disassembly:
push 0x548
mov eax, 0x46a6f2
call fcn.004517f7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x4c8], eax
call fcn.0040da9c
test eax, eax
jne 0x40d520
xor eax, eax
jmp 0x40d89c
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
xor ebx, ebx
push ebx
push str.NSLicenseCheck
call edi
push eax
mov dword [ebp - 0x4c4], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, 0x90
test eax, eax
jne 0x40d7a5
push str.EventSerialNumberCheckSuccess
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.EventSerialNumberCheckFailed
push ebx
push 1
push ebx
mov dword [ebp - 0x4f4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x4f0], eax
lea eax, [ebp - 0x554]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x10
lea eax, [ebp - 0x508]
push ebx
push eax
call fcn.0044de40
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.004024c3
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x4c0]
cmp dword [eax - 0xc], ebx
jne 0x40d5c0
lea ecx, [eax - 0x10]
call fcn.0040285d
jmp 0x40d519
push 0x5c
lea ecx, [ebp - 0x4c0]
call fcn.00406907
push eax
lea eax, [ebp - 0x4d4]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00402e80
push eax
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 1
call fcn.0040270e
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x4d4]
add ecx, 0xfffffff0
call fcn.0040285d
push str.LicenseCheck.exe
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.004017f8
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c0]
mov byte [ebp - 4], 2
call fcn.0040270e
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x4d0]
add ecx, 0xfffffff0
call fcn.0040285d
push str._silence
call fcn.0044e885
pop ecx
lea ecx, [ebp - 0x508]
push ecx
lea ecx, [ebp - 0x554]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x4c4]
mov dword [ebp - 0x4cc], eax
call fcn.0044dba4
pop ecx
cmp dword [ebp - 0x4cc], ebx
jne 0x40d698
mov ecx, dword [ebp - 0x4c0]
add ecx, 0xfffffff0
jmp 0x40d5b6
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x508]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4f4]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
je 0x40d68a
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push str.NSLicenseCheck
call edi
mov dword [ebp - 0x4c4], eax
push 0x104
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x4bc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x4b8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0044d7d0
pop ecx
mov dword [ebp - 0x4b0], eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x4ac]
push 0x80
push eax
call fcn.00450b06
add esp, 0xc
push 0xc
lea eax, [ebp - 0x4e0]
push ebx
push eax
call fcn.0044de40
lea eax, [ebp - 0x4bc]
add esp, 0xc
mov dword [ebp - 0x4dc], esi
mov dword [ebp - 0x4e0], esi
mov dword [ebp - 0x4d8], eax
call fcn.004081f5
cmp eax, ebx
jne 0x40d77a
xor eax, eax
jmp 0x40d77d
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x4e0]
push ecx
push eax
push 0x4a
push dword [ebp - 0x4c4]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c0]
add ecx, 0xfffffff0
call fcn.0040285d
push 0x104
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x4bc]
push ebx
push eax
call fcn.0044de40
add esp, 0xc
mov dword [ebp - 0x4bc], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x4b8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x224]
push eax
call fcn.0044d7d0
pop ecx
mov dword [ebp - 0x4b0], eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x4ac]
push 0x80
push eax
call fcn.00450b06
add esp, 0xc
push 0xc
lea eax, [ebp - 0x4ec]
push ebx
push eax
call fcn.0044de40
lea eax, [ebp - 0x4bc]
add esp, 0xc
mov dword [ebp - 0x4e8], esi
mov dword [ebp - 0x4ec], esi
mov dword [ebp - 0x4e4], eax
call fcn.004081f5
cmp eax, ebx
jne 0x40d850
xor eax, eax
jmp 0x40d853
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x4ec]
push ecx
push eax
push 0x4a
push dword [ebp - 0x4c4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x4c8]
cmp dword [esi + 0xe8], ebx
jne 0x40d899
lea eax, [ebp - 0x4f8]
push eax
push ebx
push esi
push 0x40d99e
push ebx
push ebx
mov byte [0x490c50], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xe8], eax
xor eax, eax
inc eax
call fcn.0045187a
ret 4