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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5546b2
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x5b3db0]
xor eax, esp
mov dword [esp + 0x540], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3db0]
xor eax, esp
push eax
lea eax, [esp + 0x558]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x344]
push eax
call fcn.0040f399
test eax, eax
jne 0x40ee1d
xor eax, eax
jmp 0x40f175
mov edi, dword [sym.imp.USER32.dll_FindWindowW]
xor ebx, ebx
push ebx
push str.NSLicenseCheck
call edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, 0x90
test eax, eax
jne 0x40f088
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 [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x10
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.0052bfd0
add esp, 0xc
lea eax, [esp + 0x344]
push eax
lea ecx, [esp + 0x14]
call fcn.00401daf
mov dword [esp + 0x560], ebx
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x40eeb4
lea ecx, [eax - 0x10]
call fcn.004021a7
jmp 0x40ee16
push 0x5c
push eax
call fcn.0052c71c
pop ecx
pop ecx
cmp eax, ebx
jne 0x40eec7
or eax, 0xffffffff
jmp 0x40eecd
sub eax, dword [esp + 0x10]
sar eax, 1
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00403286
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x564], 1
call fcn.00401ee1
mov byte [esp + 0x560], bl
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
push str.LicenseCheck.exe
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004016d7
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x564], 2
call fcn.00401ee1
mov byte [esp + 0x560], bl
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
push str._silence
call fcn.0052cd58
pop ecx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x60]
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push eax
push dword [esp + 0x34]
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esp + 0x14]
mov dword [esp + 0x28], eax
call fcn.0052b484
pop ecx
cmp dword [esp + 0x24], ebx
jne 0x40ef88
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
jmp 0x40eeaa
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x48]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
je 0x40ef7c
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push str.NSLicenseCheck
call edi
mov dword [esp + 0x14], eax
push 0x104
lea eax, [esp + 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [esp + 0xa4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x23c]
push eax
call fcn.0052b5e0
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x240]
push eax
lea eax, [esp + 0xbc]
push 0x80
push eax
call fcn.0052d8b6
push 0xc
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.0052bfd0
lea eax, [esp + 0xc0]
add esp, 0x1c
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
call fcn.00409974
cmp eax, ebx
jne 0x40f05f
xor eax, eax
jmp 0x40f062
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x34]
push ecx
push eax
push 0x4a
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [esp + 0x560], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004021a7
push 0x104
lea eax, [esp + 0x138]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [esp + 0xa8]
push ebx
push eax
call fcn.0052bfd0
add esp, 0xc
mov dword [esp + 0xa4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x134]
push eax
call fcn.0052b5e0
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0xbc]
push 0x80
push eax
call fcn.0052d8b6
push 0xc
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0052bfd0
lea eax, [esp + 0xc0]
add esp, 0x1c
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], eax
call fcn.00409974
cmp eax, ebx
jne 0x40f131
xor eax, eax
jmp 0x40f134
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x28]
push ecx
push eax
push 0x4a
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x110], ebx
jne 0x40f172
lea eax, [esp + 0x58]
push eax
push ebx
push esi
push 0x40f29b
push ebx
push ebx
mov byte [0x5bc168], bl
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x110], eax
xor eax, eax
inc eax
mov ecx, dword [esp + 0x558]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.0052b424
mov esp, ebp
pop ebp
ret 4