joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40575c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00402d70
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4057f7
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x409398]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4057f7
cmp eax, 1
je 0x405818
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4057f7
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4057c4
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4057f3
xor eax, eax
inc eax
jmp 0x405837
cmp edi, eax
jae 0x4057fb
xor eax, eax
jmp 0x405837
cmp eax, esi
jae 0x405802
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x409398]
jmp 0x40581b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x505b4828
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x72726e03
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40105c
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret 4

Function at 0x4010f8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
push esi
push edi
mov edi, eax
call fcn.0041800d
test al, al
je 0x40111a
cmp edi, 5
jle 0x40111a
xor al, al
jmp 0x40117a
mov esi, 0x11c
push esi
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00444dd0
mov eax, dword [ebp + 8]
add esp, 0xc
push 3
mov dword [esp + 0x10], edi
pop edi
push edi
push 2
push 0
mov dword [esp + 0x14], esi
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 0
mov dword [esp + 0x20], eax
call esi
push edi
push 1
push edx
push eax
call esi
push edi
push 0x20
push edx
push eax
call esi
push edi
push 0x10
push edx
push eax
call esi
push edx
push eax
push 0x33
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4014eb
Capabilities:
Copy file

Disassembly:
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x401504
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret 4
Function at 0x401946
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
mov ebx, dword [ebp + 8]
and word [ebx + 2], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 0xa
push ebx
push 0xe
mov edi, 0x400
push edi
mov word [ebx], 0x2e
call esi
lea eax, [ebx + 0x208]
and word [eax + 2], 0
push 0xa
push eax
push 0xf
push edi
mov word [eax], 0x2c
call esi
and word [ebx + 0x414], 0
and word [ebp - 0x224], 0
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0x5a
push edi
mov dword [ebx + 0x410], 2
call esi
cmp word [ebp - 0x224], 0
jne 0x4019d0
lea eax, [ebp - 0x224]
push eax
mov eax, 0x4597f4
call fcn.00401016
call fcn.00401597
push 0x3c
cdq
pop ecx
idiv ecx
xor ecx, ecx
cmp dword [0x45a408], ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
je 0x401a62
mov eax, 0x45a408
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
lea eax, [ebp - 0x224]
call fcn.00401031
test eax, eax
jne 0x401a31
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax + 0x45a40c]
jl 0x401a31
cmp ecx, dword [eax + 0x45a410]
jg 0x401a31
mov eax, dword [eax + 0x45a414]
push 0x4597fc
push eax
call fcn.0043f155
test eax, eax
pop ecx
pop ecx
jne 0x401a4a
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
shl eax, 4
mov dword [ebp - 4], eax
lea eax, [eax + 0x45a408]
cmp dword [eax], 0
jne 0x4019f3
jmp 0x401a62
lea eax, [ebx + 0x414]
and word [eax + 2], 0
push 0xa
push eax
push 0x14
push edi
mov word [eax], 0x24
call esi
and word [ebp - 0x1c], 0
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x1b
push edi
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.0043f104
and word [ebp - 0x1a], 0
pop ecx
and eax, 1
push 0xa
mov dword [ebx + 0x61c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x19
push edi
mov word [ebp - 0x1c], 0x32
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.0043f104
pop ecx
pop edi
mov dword [ebx + 0x620], eax
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x402202
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb4
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x3c], 5
ja 0x402233
jne 0x402286
cmp dword [ebp - 0x38], 1
jne 0x402286
cmp word [ebp + 0x54], 2
jb 0x402286
mov eax, dword [ebp + 0x7c]
push esi
push edi
push 0x78
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
push 0x20
push esi
push esi
push esi
push 0x14d
push dword [0x4885c4]
mov edi, eax
mov dword [ebp + 0x5c], 0x10000000
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x70], esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp + 0x60], eax
lea eax, [ebp + 0x5c]
push eax
push esi
push 0x108a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
add ebp, 0x74
leave
ret 4
Function at 0x402fb3
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
push str.UxTheme.dll
mov dword [esi], ebx
call edi
push str.dwmapi.dll
mov dword [esi + 4], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
je 0x4030d7
push str.OpenThemeData
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.CloseThemeData
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.DrawThemeBackground
push eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.GetThemeColor
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.GetThemeSysColorBrush
push eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.GetThemePartSize
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.GetThemeBackgroundContentRect
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push str.GetThemeFont
push eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push str.IsAppThemed
push eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push str.DrawThemeParentBackground
push eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push str.SetWindowTheme
push eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 4]
push str.IsThemeBackgroundPartiallyTransparent
push eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
push str.DrawThemeTextEx
push eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
push str.GetThemeSysFont
push eax
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 4]
push str.IsThemeActive
push eax
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 4]
push str.DrawThemeIcon
push eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 4]
push str.EnableThemeDialogTexture
push eax
call edi
mov dword [esi + 0x54], eax
jmp 0x40310a
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40312c
push str.DwmIsCompositionEnabled
push eax
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 8]
push str.DwmExtendFrameIntoClientArea
push eax
call edi
mov dword [esi + 0x5c], eax
jmp 0x403132
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
pop edi
mov eax, esi
pop ebx
ret
Function at 0x403e2d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22a0
call fcn.0044c310
push esi
push edi
lea eax, [ebp - 0x1254]
push eax
call fcn.00412fee
lea eax, [ebp - 0x208]
push eax
push 0x459720
push 0x459c74
push str.Software
call fcn.004116a0
lea eax, [ebp - 0x1254]
push eax
lea eax, [ebp - 0x208]
push eax
push str.https:__www.nch.com.au_software_bug.html_softwareTempoPerfectversion5.01iid_sdata_s
mov esi, 0x825
lea edi, [ebp - 0x22a0]
call fcn.00417ed8
add esp, 0xc
push 1
xor eax, eax
push eax
push eax
mov ecx, edi
push ecx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret

Function at 0x404371
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x208]
push eax
push ebx
push ebx
push 0x26
push ebx
mov word [ebp - 0x208], bx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, 0x459720
push esi
push 0x459724
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00413e38
push dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.0040151b
mov edi, str..exe
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x618]
push eax
push dword [ebp + 0x10]
call fcn.00413e38
push dword [ebp + 0x10]
call fcn.00401504
test al, al
je 0x4043f7
mov al, 1
jmp 0x404548
lea eax, [ebp - 0x208]
call fcn.0041373d
push esi
push 0x459724
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00413e38
push esi
push str.Program_Files
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x820]
push eax
call fcn.00413e38
push dword [ebp + 0xc]
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.0040151b
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x618]
push eax
push dword [ebp + 0x10]
call fcn.00413e38
push dword [ebp + 0x10]
call fcn.00401504
test al, al
jne 0x4043f0
cmp byte [ebp + 8], bl
jne 0x404548
lea eax, [ebp - 0x208]
push eax
push ebx
push ebx
push 0x26
push ebx
mov word [ebp - 0x208], bx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
mov ebx, str.NCH_Swift_Sound
push ebx
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00413e38
push dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.0040151b
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x618]
push eax
push dword [ebp + 0x10]
call fcn.00413e38
push dword [ebp + 0x10]
call fcn.00401504
test al, al
jne 0x4043f0
lea eax, [ebp - 0x208]
call fcn.0041373d
push esi
push ebx
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00413e38
push esi
push str.Program_Files
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x820]
push eax
call fcn.00413e38
push dword [ebp + 0xc]
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.0040151b
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x618]
push eax
push dword [ebp + 0x10]
call fcn.00413e38
push dword [ebp + 0x10]
call fcn.00401504
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40a924
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [edi + 0xb9]
cmp byte [eax], 0
je 0x40a9e5
push ebx
push esi
mov esi, dword [edi + 0xb1]
push 0
mov ebx, 0x257f
push ebx
mov byte [eax], 0
call fcn.0042c839
mov eax, dword [edi + 0xb1]
push 0
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xb1]
push 0x14
push dword [eax + 4]
call fcn.0042c74d
mov esi, eax
mov eax, dword [edi + 0xb1]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x40a9c6
mov eax, dword [edi + 0xb1]
call fcn.00402082
test al, al
jne 0x40a9c6
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0xb1]
call fcn.00401f69
mov eax, dword [ebp - 4]
sub eax, esi
mov esi, dword [edi + 0xb1]
push eax
push dword [ebp - 8]
call fcn.00401fb2
jmp 0x40a9d8
lea eax, [edi + 0x340]
mov ecx, dword [eax]
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 2
mov dword [eax], ecx
mov esi, dword [edi + 0xb1]
call fcn.0040387b
pop esi
pop ebx
leave
ret

Function at 0x40b88a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
xor ebx, ebx
push ebx
push 2
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40b8e6
mov eax, dword [ebp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x40b8b4
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x40b8e8
xor al, al
pop ebx
pop ebp
ret 0x10

Function at 0x40b8ed
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push esi
lea eax, [ebp + 8]
push eax
push esi
push 2
push esi
push esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallTempoPerfect
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40b930
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push str.EstimatedSize
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret 8

Function at 0x40b995
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp + 0xc]
push eax
push 2
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b9fa
push ebx
push dword [ebp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 0xc]
call ebx
cmp eax, 2
jne 0x40b9f0
push esi
push edi
push dword [ebp + 0x10]
mov esi, 0x104
push 0x474dac
lea edi, [ebp - 0x208]
call fcn.00417ed8
pop ecx
pop ecx
mov eax, edi
push eax
push dword [ebp + 0xc]
call ebx
pop edi
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret 0xc
Function at 0x40b9fe
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00444dd0
mov ax, word [ebp + 0xc]
mov edx, dword [ebp + 8]
mov word [ebp - 0x28], ax
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x58], esi
push 0x208
lea esi, [ebp - 0x468]
mov dword [ebp - 0x2c], 1
stosd dword es:[edi], eax
call fcn.00417e96
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x10
push ebx
push ebx
push ebx
mov eax, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40ba96
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x4e20
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
mov edi, eax
call esi
mov eax, edi
neg eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
jmp 0x40ba98
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40bc21
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
push dword [ebp + 8]
mov esi, 0x104
push str.https:__www.nch.com.au_kb__d.html
lea edi, [ebp - 0x208]
call fcn.00417ed8
pop ecx
pop ecx
push 1
xor eax, eax
push eax
push eax
mov ecx, edi
push ecx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret 4

Function at 0x40bcdc
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 0x14], 0
or dword [ebp - 0x28], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp ecx, edx
ja 0x40bd1c
mov eax, dword [ebp - 0x18]
jb 0x40bd17
cmp eax, dword [ebp - 0x28]
jae 0x40bd1c
mov dword [ebp - 4], ecx
leave
ret
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], edx
leave
ret

Function at 0x40bd24
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x34], esi
jbe 0x40bd6e
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jbe 0x40bd66
cmp dword [ebp - 0xc], 0x10000
jne 0x40bd61
cmp dword [ebp - 0x10], edi
jbe 0x40bd61
mov edi, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
jmp 0x40bd69
add esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x34]
jb 0x40bd3f
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x40c2e2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x410]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor eax, eax
inc eax
push eax
mov dword [ebp + 8], eax
call esi
mov edi, str.TempoPerfect__lu__d
jmp 0x40c321
inc dword [ebp + 8]
push dword [ebp + 8]
call esi
push eax
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.00401000
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
push ebx
call fcn.0040151b
push ebx
call fcn.00401504
test al, al
jne 0x40c319
push ebx
call fcn.0040c38b
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40c3a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40c3b3
xor al, al
jmp 0x40c3b9
shr eax, 4
and eax, 1
ret 4

Function at 0x40c56d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x10
lea ecx, [ebp - 0x410]
push ecx
push eax
call fcn.0044034b
add esp, 0xc
push str.__wt
lea eax, [ebp - 0x410]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
push 0x1388
push 2
push 0
push 0xc0000000
lea eax, [ebp - 0x208]
push eax
call fcn.0041361a
cmp eax, 0xffffffff
je 0x40c5e0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
jmp 0x40c5e2
xor al, al
leave
ret 4
Function at 0x40c9b1
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
cmp byte [0x4885cf], 0
jne 0x40c9d6
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x4885cf], 1
add esp, 0x190
ret

Function at 0x40e863
Capabilities:
Delete directory
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push ebx
push esi
push edi
lea eax, [ebp - 0x208]
push eax
call fcn.00416a0a
lea ecx, [ebp - 0x208]
call fcn.00413fe3
lea eax, [ebp - 0x618]
push eax
call fcn.00416e72
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x618]
push eax
call edi
lea eax, [ebp - 0x410]
call fcn.0041373d
mov esi, 0x459720
push esi
push str.NCH_SoftwareProgram_FilesTempoPerfect
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea ecx, [ebp - 0x208]
call fcn.00413fe3
push esi
push str.NCH_SoftwareProgram_Files
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea eax, [ebp - 0x208]
push eax
call edi
push esi
push 0x459724
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea eax, [ebp - 0x208]
push eax
call edi
xor eax, eax
lea ecx, [ebp - 0x820]
push ecx
push eax
push eax
push 0x26
push eax
mov word [ebp - 0x820], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push esi
mov ebx, str.NCH_Swift_Sound
push ebx
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.00413e38
push esi
push 0x46b3ac
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea ecx, [ebp - 0x208]
call fcn.00413fe3
lea eax, [ebp - 0x618]
push eax
call edi
lea eax, [ebp - 0x410]
call fcn.0041373d
push esi
push str.NCH_Swift_SoundProgram_FilesTempoPerfect
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea ecx, [ebp - 0x208]
call fcn.00413fe3
push esi
push str.NCH_Swift_SoundProgram_Files
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea eax, [ebp - 0x208]
push eax
call edi
push esi
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00413e38
lea eax, [ebp - 0x208]
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40efc9
Capabilities:
Delete registry key

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [esp + 0x10]
push eax
mov ebx, 0xf003f
push ebx
push 0
mov edi, str.SoftwareMicrosoftWindowsCurrentVersion
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jne 0x40f00d
push str.UninstallTempoPerfect
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push eax
push ebx
push 0
push edi
push SysReAllocString
call esi
test eax, eax
jne 0x40f036
push str.UninstallTempoPerfect
push dword [esp + 0x14]
call ebp
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret