joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416e72
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
xor eax, eax
lea ecx, [ebp - 0x208]
push ecx
push eax
push eax
push 0x26
push eax
mov word [ebp - 0x208], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x459724
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.0040151b
push dword [ebp + 8]
call fcn.00401504
test al, al
jne 0x416ebe
push dword [ebp + 8]
call fcn.0040c38b
leave
ret 4

Function at 0x417185
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
lea eax, [ebp - 0x208]
call fcn.00413874
cmp word [ebp - 0x208], 0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, str..lnk
mov edi, 0x46b758
je 0x4171d4
push ebx
push edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00413e38
lea eax, [ebp - 0x410]
push eax
call esi
lea eax, [ebp - 0x208]
call fcn.00413886
cmp word [ebp - 0x208], 0
je 0x417207
push ebx
push edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00413e38
lea eax, [ebp - 0x410]
push eax
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4172b1
Capabilities:
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.0044c310
push edi
push str.SoftwareNCH_Swift_SoundTempoPerfect
mov edi, SysReAllocString
push edi
call fcn.0040b935
test al, al
je 0x417437
push ebx
push esi
mov esi, 0x459720
push esi
push str.Migrated
push str.SoftwareNCH_SoftwareTempoPerfectSettings
push edi
lea eax, [ebp - 0xc30]
call fcn.00401071
xor ebx, ebx
cmp word [ebp - 0xc30], bx
jne 0x417435
push str.copy__HKCUSoftwareNCH_Swift_SoundTempoPerfect___HKCUSoftwareNCH_SoftwareTempoPerfect___s__f
call fcn.0041743a
call fcn.0041147b
push str.copy__HKLMSoftwareNCH_Swift_SoundTempoPerfect___HKLMSoftwareNCH_SoftwareTempoPerfect___s__f
call fcn.0041743a
lea eax, [ebp - 0x410]
push eax
push ebx
push ebx
push 0x23
push ebx
mov word [ebp - 0x410], bx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
mov edi, str.NCH_Swift_SoundTempoPerfect
push edi
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.00413e38
push esi
push str.NCH_SoftwareTempoPerfect
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x618]
call fcn.00413eb7
lea eax, [ebp - 0x820]
call fcn.0041373d
push esi
push edi
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.00413e38
push esi
push str.NCH_SoftwareTempoPerfect
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x618]
call fcn.00413eb7
lea eax, [ebp - 0xa28]
push eax
push ebx
push ebx
push 0x26
push ebx
mov word [ebp - 0xa28], bx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
push edi
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xe38]
push eax
call fcn.00413e38
push str..exe
push 0x46b3ac
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.00413e38
lea eax, [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.true
push str.Migrated
push str.SoftwareNCH_SoftwareTempoPerfectSettings
push SysReAllocString
call fcn.0040b88a
pop esi
pop ebx
pop edi
leave
ret

Function at 0x41743a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00444dd0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x2c], str.reg.exe
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0x4e20
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret 4
Function at 0x417bdb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push eax
call ebx
test eax, eax
je 0x417c83
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x417c17
xor eax, eax
jmp 0x417c81
lea eax, [ebp - 0x234]
push eax
push esi
mov dword [ebp - 0x234], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x417c6c
lea eax, [ebp - 0x210]
push str.explorer.exe
push eax
call fcn.00453969
test eax, eax
pop ecx
pop ecx
jne 0x417c5f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x22c]
call ebx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x417c72
lea eax, [ebp - 0x234]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x417c30
jmp 0x417c78
mov edi, dword [ebp - 0x22c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417c86
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x2ac
push dword [ebp + 0x74]
call fcn.00401504
test al, al
je 0x417e3c
push ebx
xor ebx, ebx
cmp dword [0x4885bc], ebx
jne 0x417cbc
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4885bc], eax
push esi
lea eax, [ebp + 0x58]
push eax
call fcn.0043c672
test al, al
je 0x417dea
mov byte [ebp + 0x6b], bl
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call fcn.00417bdb
cmp eax, ebx
je 0x417dcc
push eax
push ebx
mov esi, 0x2000000
push esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp + 0x5c], eax
je 0x417dcc
lea eax, [ebp + 0x60]
push eax
push 0xf
push dword [ebp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x417dcc
lea eax, [ebp + 0x64]
push eax
push 1
push 2
push ebx
push esi
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x417dcc
push edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00444dd0
xor eax, eax
lea edi, [ebp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x78]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], ebx
je 0x417d8b
cmp word [eax], bx
je 0x417d8b
push eax
push dword [ebp + 0x74]
mov esi, 0x104
push str.__s___s
lea edi, [ebp - 0x240]
call fcn.00417ed8
add esp, 0xc
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
mov eax, edi
push eax
jmp 0x417d97
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x74]
push ebx
push dword [ebp + 0x64]
call dword [ebp + 0x58]
test eax, eax
setne byte [ebp + 0x6b]
cmp byte [ebp + 0x6b], bl
pop edi
je 0x417dbc
cmp dword [ebp + 0x7c], 1
jne 0x417dbc
push dword [ebp + 0x48]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0x4c]
call esi
push dword [ebp + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0x60]
call esi
push dword [ebp + 0x5c]
call esi
cmp byte [ebp + 0x6b], bl
je 0x417dea
mov al, 1
jmp 0x417e3a
push 0x3c
pop esi
push esi
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.00444dd0
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x28], eax
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], 0x40
mov dword [ebp + 0x18], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp + 0x2c], 0x20
setg al
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
Function at 0x417ee7
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
and word [ebp - 0x214], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x214]
push eax
push 0
call sub.NETAPI32.dll_NetUserGetInfo
test eax, eax
mov eax, dword [ebp - 8]
jne 0x417f3d
cmp dword [eax + 0xc], 2
jne 0x417f3d
mov byte [ebp - 1], 1
test eax, eax
je 0x417f47
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov al, byte [ebp - 1]
leave
ret

Function at 0x4180eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x418196
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push ebx
push str.SVar
push dword [ebp - 4]
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
push edi
cmp dword [ebp - 8], ebx
jne 0x418187
mov edi, dword [ebp + 8]
shr edi, 1
lea eax, [edi + 1]
push eax
call fcn.0040945b
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push eax
push ebx
push ebx
push str.SVar
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
shr eax, 1
cmp eax, edi
ja 0x41812f
mov ecx, dword [esi]
mov word [ecx + eax*2], bx
mov ecx, dword [esi]
mov eax, ecx
lea edx, [eax + 2]
mov di, word [eax]
inc eax
inc eax
cmp di, bx
jne 0x418172
sub eax, edx
sar eax, 1
mov dword [esi + 4], eax
mov word [ecx + eax*2], bx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], ebx
pop edi
je 0x4181a4
push 0x459720
call fcn.00409349
xor al, al
jmp 0x4181a6
mov al, 1
pop esi
pop ebx
leave
ret 4

Function at 0x4181c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp word [eax], 0x2b
push esi
push edi
mov esi, 0x104
lea edi, [ebp - 0x208]
jne 0x4181e7
add eax, 2
push eax
push str.https:__www.nchsoftware.com__s.html
jmp 0x4181ed
push eax
push str.https:__www.nch.com.au__s.html
call fcn.00417ed8
pop ecx
pop ecx
push 1
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x208]
push ecx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret
Function at 0x4186fe
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
xor ebx, ebx
cmp dword [0x4888f0], ebx
push edi
mov edi, 0x4e20
je 0x41871c
mov al, 1
jmp 0x41878d
push esi
push 0x104
mov edx, 0x4886e8
lea esi, [ebp - 0x208]
call fcn.00417e96
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
jmp 0x418755
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41878a
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x32
jbe 0x41878a
sub edi, 0x32
lea eax, [ebp - 0x208]
push eax
push ebx
push ebx
call esi
cmp eax, ebx
mov dword [0x4888f0], eax
je 0x41873a
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x418791
push dword [0x4888f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4888f0], ebx
xor al, al
pop esi
pop edi
pop ebx
leave
ret
mov al, 1
jmp 0x41878c

Function at 0x41885f
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push 1
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x418921
push 2
push 0x400
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x418921
push esi
push 1
call dword [sym.imp.ADVAPI32.dll_GetSidLengthRequired]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 1
lea eax, [ebp - 8]
push eax
push esi
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov byte [ebp - 4], bl
mov byte [ebp - 3], 1
call dword [sym.imp.ADVAPI32.dll_InitializeSid]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
push esi
push 0x10000000
mov dword [eax], ebx
push 2
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
je 0x418919
push ebx
lea eax, [ebp - 0x428]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x418919
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
lea eax, [ebp - 0x14]
push eax
push 0xbb8
mov eax, 0x10000
push eax
push eax
mov eax, dword [ebp + 8]
push 0xff
push ebx
push 0x40000003
add eax, 0x29
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
pop ebx
leave
ret 4
Function at 0x41894e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 4
pop ebx
lea edi, [esi + 8]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4189ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4189ba
push 0xffffffffffffffff
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
call dword [eax + 8]
cmp dword [ebp - 8], 0
jne 0x4189c5
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x4189ba
mov eax, dword [ebp - 4]
cmp eax, ebx
jae 0x4189d7
add dword [ebp + 0x10], eax
sub ebx, eax
jmp 0x41895b
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x4189dd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x4189dd
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x4189e3
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.0044c310
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
push ebx
push esi
push edi
push 0x44
lea esi, [eax + 4]
or dword [esi], 0xffffffff
add eax, 8
or dword [eax], 0xffffffff
pop edi
push edi
mov dword [ebp - 0xc], eax
xor ebx, ebx
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00444dd0
add esp, 0xc
push 0xfffffffffffffff4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x40], 0x101
mov word [ebp - 0x3c], bx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x2c], eax
push 0x944
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x418a67
xor al, al
jmp 0x418b21
push 2
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
push eax
push dword [ebp - 8]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call edi
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push 0x8000
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x418a60
push 2
push 0
push 0
push dword [ebp - 0xc]
call esi
push eax
push dword [ebp - 4]
call esi
push eax
call edi
push dword [ebp - 4]
call ebx
mov edx, dword [ebp + 0xc]
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x1000
lea esi, [ebp - 0x206c]
stosd dword es:[edi], eax
call fcn.00417e96
lea eax, [ebp - 0x28]
push eax
xor esi, esi
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push 0x10
push 1
push esi
push esi
lea eax, [ebp - 0x206c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x34]
mov edi, eax
call ebx
push dword [ebp - 0x30]
call ebx
cmp edi, esi
je 0x418a60
push dword [ebp - 0x24]
call ebx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41b18e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
push dword [0x4885d0]
lea eax, [ebp - 0x654]
push str._installrelated__x
push eax
call fcn.00401000
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
call fcn.00416a0a
push 0x459720
push str.tempoperfect.exe
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00413e38
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00444dd0
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x654]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
leave
ret
Function at 0x41bdd3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push edi
lea eax, [ebp - 4]
push eax
mov edi, str.SoftwareNCH_SoftwareTempoPerfectScheduler
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x41be09
lea eax, [ebp - 4]
push eax
push edi
push SysReAllocString
call esi
test eax, eax
jne 0x41be7a
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41be71
mov edi, dword [ebp - 0xc]
cmp edi, esi
jbe 0x41be71
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [edi - 1]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x41be71
cmp word [ebp - 0x214], si
je 0x41be6e
cmp dword [ebp - 8], esi
jbe 0x41be6e
lea eax, [ebp - 0x214]
push eax
call fcn.0041bbcb
dec edi
jne 0x41be2d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret

Function at 0x41d7ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax + 0xc]
sub esp, 0x208
cmp word [eax], 0x2b
push esi
push edi
mov esi, 0x104
lea edi, [ebp - 0x208]
jne 0x41d819
add eax, 2
push eax
push str.https:__www.nchsoftware.com__s
jmp 0x41d81f
push eax
push str.https:__www.nch.com.au__s
call fcn.00417ed8
pop ecx
pop ecx
push 1
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x208]
push ecx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret

Function at 0x41e2d2
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
push 0
call fcn.0043f1b3
pop ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul eax, eax, 0x201
and word [ebp - 0x20c], 0
add eax, edi
mov esi, edi
sar esi, 5
add esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 4], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
xor ecx, ecx
xor edi, edi
cmp word [ebp - 0x20c], ax
je 0x41e34a
movzx edx, word [ebp - 0x20c]
movzx edx, dx
shl edx, cl
add ecx, 6
add eax, edx
movzx edx, word [ebp + edi*2 - 0x20a]
inc edi
test dx, dx
jne 0x41e332
xor eax, esi
pop edi
and eax, 0x7fffffff
pop esi
leave
ret
Function at 0x41e414
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea ebx, [esi + 0xd]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 4], edi
je 0x41e44c
mov al, byte [esi + 8]
test al, al
jne 0x41e479
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], edi
push dword [esi + 9]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x41e486
push edi
push edi
mov byte [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
mov dword [esi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
leave
ret 4
Function at 0x41f8f9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a8
push esi
push edi
mov edi, eax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x6a8]
push ecx
push eax
lea esi, [ebp - 0x28]
call fcn.0043cb78
xor esi, esi
cmp dword [eax], esi
je 0x41f939
push 0x40
push str.No_Version_Information
push str.Online_version_information_for_TempoPerfect_is_not_currently_available.
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x41fa47
push 0x46db98
call fcn.00440d10
fcomp qword [ebp - 0x6a8]
pop ecx
fnstsw ax
test ah, 1
jne 0x41fa13
mov eax, dword [edi + 4]
push str.Version_Current
push str.You_are_using_the_current_version._r_n_r_nSign_up_to_the_NCH_Version_Update_Newsletter_today_to_be_notified_of_future_releases.
push eax
mov ecx, str.Maybe_Later
mov eax, str.Sign_Up
call fcn.00420237
test al, al
je 0x41f97b
call fcn.0040f3c6
push esi
lea eax, [ebp - 0x24]
push eax
push str.Sign_up_to_follow_NCH_Software_for_automatic__instant_program_release_notifications_of_new_versions.
push str.Follow_NCH_Software_Releases
push dword [edi + 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
lea esi, [ebp - 0x290]
mov dword [ebp - 0x24], 0x1389
mov dword [ebp - 0x20], str.Follow_version_updates_on_Facebook
mov dword [ebp - 0x1c], str.Select_if_you_have_a_Facebook_account
mov dword [ebp - 0x18], 0x138a
mov dword [ebp - 0x14], str.Follow_version_updates_on_Twitter
mov dword [ebp - 0x10], str.Select_if_you_have_a_Twitter_account
call fcn.00422709
mov edi, esi
call fcn.00422c4a
sub eax, 0x1389
je 0x41f9e7
dec eax
jne 0x41f9fa
push 1
push eax
push eax
push str.https:__twitter.com_nchsoftware
jmp 0x41f9f2
push 1
xor eax, eax
push eax
push eax
push str.https:__www.facebook.com_NCHSoftware
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x243]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x290]
call fcn.00402e02
jmp 0x41fa47
mov edi, dword [edi + 4]
push 0x459828
push str.Updated_Version_Available
push str.An_updated_version_of_TempoPerfect_is_now_available_for_download_online._Do_you_want_to_see_more_information_about_the_new_version_
push edi
mov eax, str.View
call fcn.00420198
test al, al
je 0x41fa47
push 1
push esi
push esi
lea eax, [ebp - 0x6a0]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret