joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb520
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 3
push 1
push SysReAllocStringLen
push eax
mov eax, 0x1388
mov esi, ecx
call fcn.004abf70
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4bb54a
pop esi
xor al, al
pop ebx
add esp, 8
ret
push edi
lea ecx, [esp + 0xc]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4bb563
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x4bb577
mov edi, dword [esp + 0xc]
cmp edi, 0x3b9aca00
mov edx, dword [esp + 0x10]
mov dword [esp + 0x10], edx
ja 0x4bb584
lea eax, [edi + 1]
push eax
call fcn.00552ef0
test al, al
jne 0x4bb594
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi]
mov byte [edi + eax], 0
mov ecx, dword [esi]
mov dword [esi + 4], edi
push ebx
mov byte [edi + ecx], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 8
ret

Function at 0x4bb5d0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 3
push 1
push SysReAllocStringLen
push eax
mov eax, 0x1388
mov esi, ecx
call fcn.004abf70
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4bb5fa
pop esi
xor al, al
pop ebx
add esp, 8
ret
push edi
lea ecx, [esp + 0xc]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4bb613
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x4bb61f
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], edx
shr edi, 1
lea eax, [edi + 1]
push eax
call fcn.00480af0
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
lea edx, [edi + edi]
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esi]
mov word [ecx + edi*2], 0
mov edx, dword [esi]
mov dword [esi + 4], edi
push ebx
mov word [edx + edi*2], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 8
ret

Function at 0x4bb7b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
push 2
push 0
push 0xc0000000
push eax
mov eax, 0x1f4
call fcn.004abf70
mov esi, eax
cmp esi, 0xffffffff
je 0x4bb815
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 2
lea edx, [esp + 0x14]
push edx
push esi
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x1d], 0xfe
call ebx
mov eax, dword [edi]
test eax, eax
mov ecx, dword [edi + 4]
jne 0x4bb7ff
mov eax, 0x6bc0cc
push 0
lea edx, [esp + 0x10]
push edx
add ecx, ecx
push ecx
push eax
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
add esp, 8
ret
Function at 0x4bef00
Capabilities:
Encode data using xor
Get hostname

Disassembly:
sub esp, 0x20c
push esi
push edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov word [esp + 0x14], 0
mov dword [esp + 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov ax, word [esp + 0xc]
xor edi, edi
xor ecx, ecx
xor esi, esi
test ax, ax
je 0x4bef62
movzx eax, ax
lea ebx, [ebx]
movzx edx, ax
shl edx, cl
lea eax, [ecx + 6]
mov ecx, 0x19
add esi, 1
xor edi, edx
xor edx, edx
div ecx
movzx eax, word [esp + esi*2 + 0xc]
test ax, ax
mov ecx, edx
jne 0x4bef40
mov eax, edi
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x4bf4c0
Capabilities:
Create thread

Disassembly:
push ecx
push edi
lea edi, [esi + 0xd]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 4], 0
je 0x4bf4f9
mov al, byte [esi + 8]
test al, al
jne 0x4bf52d
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi + 9]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x4bf540
push 0
push 0
mov byte [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0xc]
push edx
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ecx
ret 4

Function at 0x4bf9e0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 4
push edi
push 0x4bfa30
push 0
mov dword [edi + 0x2d], esi
push 0
mov byte [edi + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [edi + 4], eax
jne 0x4bfa12
push edi
call fcn.004bfca0
pop esi
pop ecx
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret
Function at 0x4bfa80
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2064
call fcn.006ab750
push ebp
mov ebp, dword [esp + 0x206c]
push esi
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
mov esi, ecx
call fcn.006a1300
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
movzx eax, word [esi]
add esp, 0xc
xor ecx, ecx
test ax, ax
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x4c], 1
mov word [esp + 0x50], 0
mov dword [edi], 2
lea edx, [esi + 2]
je 0x4bfafd
cmp ecx, 0xfff
jae 0x4bfafd
mov word [esp + ecx*2 + 0x68], ax
movzx eax, word [edx]
add ecx, 1
add edx, 2
test ax, ax
jne 0x4bfae2
mov word [esp + ecx*2 + 0x68], 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4bfb84
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov eax, dword [esp + 0x2074]
test eax, eax
je 0x4bfb77
mov edx, dword [esp + 0xc]
push eax
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
mov dword [edi], eax
call esi
mov eax, edi
pop esi
pop ebp
add esp, 0x2064
ret 8
mov ecx, dword [esp + 0xc]
push ecx
mov dword [edi], 0
call esi
pop esi
mov eax, edi
pop ebp
add esp, 0x2064
ret 8

Function at 0x4c1c30
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x410
push esi
push edi
push eax
push str.__s___logon
mov esi, 0x104
lea edi, [esp + 0x10]
call fcn.004af0d0
add esp, 8
push 0x6bc140
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, edi
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.004af710
lea ecx, [esp + 0x210]
push ecx
push 0x6bc0cc
push 0x6bc140
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004af7e0
lea ecx, [esp + 0x210]
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c1cb6
test dx, dx
je 0x4c1cb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c1cb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c1c90
xor eax, eax
jmp 0x4c1cbb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c1cd7
push 0x6bc140
push SysReAllocStringLen
lea esi, [esp + 0x10]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.004af710
pop edi
pop esi
add esp, 0x410
ret
Function at 0x4c1ce0
Capabilities:
Check os version
Persist via run registry key

Disassembly:
sub esp, 0x20c
call fcn.004af5a0
test al, al
jne 0x4c1d40
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 8], 6
setae al
test al, al
je 0x4c1d40
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
cmp eax, 1
je 0x4c1d40
push 0
push str.InstalledByAdmin
mov eax, str.Settings
call fcn.00480fe0
test al, al
je 0x4c1d40
mov eax, 0x6f772c
call fcn.004c1dd0
test al, al
jne 0x4c1dc1
lea ecx, [esp + 4]
push ecx
push 0x6bc0cc
push 0x6bc140
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edx, SysReAllocStringLen
call fcn.004af7e0
cmp word [esp + 4], 0
je 0x4c1d97
lea edx, [esp]
push edx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c1dc1
lea eax, [esp]
push eax
mov eax, 0x6bc140
call fcn.004af990
add esp, 0x20c
ret
lea ecx, [esp]
push ecx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c1dc1
lea edx, [esp]
push edx
mov eax, 0x6bc140
call fcn.004af990
add esp, 0x20c
ret

Function at 0x4c1dd0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x244
push esi
push eax
push str._setautorun__s
lea edx, [esp + 0x48]
call fcn.00401000
push 0x3c
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.006a1300
mov edx, dword [0x735b94]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x24], str.runas
mov eax, dword [edx]
add esp, 0x14
lea edx, [esp + 4]
lea ecx, [esp + 0x40]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
mov eax, dword [esp + 0x3c]
push 0x4e20
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp esi, 1
sete al
pop esi
add esp, 0x244
ret

Function at 0x4c1e60
Capabilities:
Persist via run registry key

Disassembly:
push ecx
cmp word [esi], 0
je 0x4c1eab
cmp word [esi + 2], 0x31
jne 0x4c1e7a
mov eax, dword [0x735b94]
mov eax, dword [eax]
call fcn.004c1c30
cmp word [esi + 2], 0x30
jne 0x4c1eab
lea ecx, [esp]
push ecx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c1eab
lea edx, [esp]
push edx
mov eax, 0x6bc140
call fcn.004af990
pop ecx
ret
Function at 0x4c2bd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x69c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea esi, [esp + 0x90]
call fcn.00401df0
push 0x6bc0cc
mov ecx, 7
mov esi, str.Installer.exe
lea edi, [esp + 0x78]
lea eax, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x2a0]
push ecx
lea eax, [esp + 0x9c]
call fcn.004ad3a0
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 8]
push eax
lea esi, [esp + 0x4a4]
call fcn.004a5640
mov eax, dword [eax]
push 0
lea edx, [esp + 0x29c]
push edx
push eax
mov edx, ebx
lea ecx, [esp + 0x1c]
call fcn.00541e10
mov ecx, dword [esp + 0x6a4]
push ecx
call fcn.0069c8fa
mov eax, dword [esp + 0x14]
mov esi, 1
add esp, 4
cmp eax, esi
jne 0x4c2c80
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x90]
mov dword [edi], esi
call fcn.004ad910
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 2
jne 0x4c2cdf
mov eax, dword [edi + 0xc]
cmp word [eax], 0
je 0x4c2cb1
push 0
lea edx, [esp + 0x29c]
push edx
push ebx
lea edi, [esp + 0x30]
call fcn.00408560
mov eax, dword [eax]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x4c2c64
cmp eax, 2
jne 0x4c2cdf
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push str.The_installer_could_not_be_downloaded.
mov ecx, ebx
call edx
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x90]
mov dword [esi], 2
call fcn.004ad910
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x44
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.006a1300
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2b8]
push eax
push 0
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], esi
mov word [esp + 0x80], si
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4c2d68
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
push str.The_installer_could_not_be_run.
mov ecx, ebx
call eax
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x90]
mov dword [esi], 2
call fcn.004ad910
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x90]
mov dword [esi], 0
call fcn.004ad910
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4c2d90
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
mov eax, esi
call fcn.00420f20
xor ebx, ebx
mov dword [esi], 0x70de18
mov byte [esi + 0xcc], bl
call fcn.004af5a0
test al, al
je 0x4c2db9
xor al, al
jmp 0x4c2dd4
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 8], 6
setae al
mov edx, dword [esp + 0x120]
cmp al, bl
mov eax, dword [esp + 0x11c]
sete cl
mov byte [esi + 0xd2], bl
mov byte [esi + 0xd3], bl
mov dword [esi + 0xd4], eax
mov byte [esi + 0xcd], cl
mov dword [esi + 0xce], edx
mov byte [esi + 0xd8], bl
mov dword [esi + 0xd9], ebx
mov eax, esi
pop ebx
add esp, 0x114
ret 8
Function at 0x4c3510
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x208
push esi
lea eax, [esp + 4]
push eax
push str._installer
call fcn.004af660
push str.DebutInstall
push SysReAllocStringLen
lea esi, [esp + 0xc]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.004af710
pop esi
add esp, 0x208
ret

Function at 0x4c3550
Capabilities:
Persist via run registry key

Disassembly:
push ecx
lea eax, [esp]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c357b
lea ecx, [esp]
push ecx
mov eax, str.DebutInstall
call fcn.004af990
pop ecx
ret

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

Disassembly:
sub esp, 0x208
lea ecx, [esp]
call fcn.004c5190
test al, al
je 0x4c40e7
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4c40f0
push str.To_install_software_you_must_be_logged_on_as_this_computers_Administrator._If_you_are_not_able_to_do_this__ask_your_computer_Administrator_to_log_in_and_run_the_setup_file_again.
push 0
mov eax, str.Continue
mov edx, str.Install_Error
call fcn.0049c8b0
xor al, al
add esp, 0x208
ret
call fcn.004a3da0
test al, al
je 0x4c40e7
push 0xfffffffffffffffe
call fcn.004bf4c0
mov al, 1
add esp, 0x208
ret
Function at 0x4c4920
Capabilities:
Enumerate files on windows
Get common file path
Get program files directory

Disassembly:
mov eax, 0x1294
call fcn.006ab750
push ebp
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x464]
push eax
push 0
push 0
push 0x26
push 0
mov word [esp + 0x478], 0
call esi
push 0x6bc0cc
push str.NCH_Software
lea ecx, [esp + 0x87c]
push ecx
lea eax, [esp + 0x470]
call fcn.004ad3a0
push 0x6bc0cc
push str.NCH_Swift_Sound
lea edx, [esp + 0xa84]
push edx
lea eax, [esp + 0x470]
call fcn.004ad3a0
lea eax, [esp + 0x25c]
push eax
push 0
push 0
push 0x1a
push 0
mov word [esp + 0x270], 0
call esi
push 0x6bc0cc
push str.NCH_SoftwareProgram_Files
lea ecx, [esp + 0xc8c]
push ecx
lea eax, [esp + 0x268]
call fcn.004ad3a0
push 0x6bc0cc
push str.NCH_Swift_SoundProgram_Files
lea edx, [esp + 0xe94]
push edx
lea eax, [esp + 0x268]
call fcn.004ad3a0
xor ebp, ebp
cmp word [esp + 0x874], bp
mov word [esp + 0x1094], 0
je 0x4c4afb
lea eax, [esp + 0x874]
cmp word [eax], 0
mov dword [esp + 8], 0xffffffff
je 0x4c4ada
push 0x6bc0cc
push 0x6bc14c
lea ecx, [esp + 0x674]
push ecx
call fcn.004ad3a0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
je 0x4c4ada
lea esp, [esp]
cmp word [esp + 0x38], 0x2e
jne 0x4c4a70
mov cx, word [esp + 0x3a]
test cx, cx
je 0x4c4ab4
cmp cx, 0x2e
jne 0x4c4a70
cmp word [esp + 0x3c], 0
je 0x4c4ab4
mov ecx, dword [esp + 0xc]
shr ecx, 4
test cl, 1
je 0x4c4ab4
mov edx, str.Components
lea ecx, [esp + 0x38]
mov si, word [ecx]
cmp si, word [edx]
jne 0x4c4aab
test si, si
je 0x4c4aa7
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4c4aab
add ecx, 4
add edx, 4
test si, si
jne 0x4c4a85
xor ecx, ecx
jmp 0x4c4ab0
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4c4b06
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [esp + 8]
je 0x4c4ad3
cmp eax, 0xffffffff
jne 0x4c4a50
jmp 0x4c4ada
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
add ebp, 1
mov ecx, ebp
imul ecx, ecx, 0x208
cmp word [esp + ecx + 0x874], 0
lea eax, [esp + ecx + 0x874]
jne 0x4c4a03
pop esi
xor al, al
pop ebp
add esp, 0x1294
ret
cmp eax, 0xffffffff
je 0x4c4b12
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
mov al, 1
pop ebp
add esp, 0x1294
ret
Function at 0x4c5190
Capabilities:
Create directory
Delete directory
Get common file path

Disassembly:
sub esp, 0xc30
cmp word [0x735900], 0
push edi
mov edi, ecx
je 0x4c51c9
mov eax, 0x735900
mov edx, edi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4c51b0
mov al, 1
pop edi
add esp, 0xc30
ret
push esi
lea esi, [esp + 0x620]
call fcn.004c5390
push 0x6bc0cc
push 0x6bc140
push 0x735900
mov eax, esi
call fcn.004ad3a0
mov eax, 0x735900
mov edx, edi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4c51f5
push str.InstalledByAdmin
mov eax, str.Settings
call fcn.004a54a0
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x1a
push 0
mov word [esp + 0x1c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x6bc0cc
push str.NCH_Software
lea ecx, [esp + 0x830]
push ecx
lea eax, [esp + 0x14]
call fcn.004ad3a0
push 0x6bc0cc
push str.Program_Files
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x834]
call fcn.004ad3a0
push 0x6bc0cc
push 0x6bc140
lea eax, [esp + 0xa38]
push eax
lea eax, [esp + 0x21c]
call fcn.004ad3a0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push 0x735900
call esi
push 0x6bc0cc
push str.testfolder
lea ecx, [esp + 0x420]
push ecx
mov eax, 0x735900
call fcn.004ad3a0
push 0
lea edx, [esp + 0x41c]
push edx
call esi
test eax, eax
je 0x4c5319
lea eax, [esp + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push str.Settings
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0x218]
mov word [esp + 0x10], 0x31
mov word [esp + 0x12], 0
call fcn.004af0d0
add esp, 8
push str.InstalledByAdmin
push SysReAllocStringLen
lea esi, [esp + 0x10]
mov edx, edi
call fcn.004af710
pop esi
mov al, 1
pop edi
add esp, 0xc30
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x4c5334
cmp eax, 5
je 0x4c5334
pop esi
mov al, 1
pop edi
add esp, 0xc30
ret
xor eax, eax
jmp 0x4c5340
movzx ecx, word [esp + eax + 0xa30]
mov word [eax + 0x735900], cx
add eax, 2
test cx, cx
jne 0x4c5340
mov ecx, 0x735900
call fcn.004ad6d0
mov edx, 0x735900
mov eax, edi
sub edx, edi
lea ebx, [ebx]
movzx ecx, word [edx + eax]
mov word [eax], cx
add eax, 2
test cx, cx
jne 0x4c5370
mov al, 1
pop esi
mov byte [0x735b73], al
pop edi
add esp, 0xc30
ret

Function at 0x4c5390
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes
Get program files directory

Disassembly:
sub esp, 0x208
lea eax, [esp]
push eax
push 0
push 0
push 0x26
push 0
mov word [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x6bc0cc
push str.NCH_Software
push esi
lea eax, [esp + 0xc]
call fcn.004ad3a0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4c53d8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x208
ret
Function at 0x4c53e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp]
push eax
push 0x70afbc
push 1
push 0
push 0x6b8fec
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4c542a
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x6b902c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [esp]
mov ecx, dword [eax]
jge 0x4c5432
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
add esp, 8
ret 8
mov edx, dword [esp + 0x10]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push str.Launch_Debut_Video_Capture_Software
push eax
call edx
mov eax, dword [esp + 4]
call fcn.005516f0
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
sete bl
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, bl
pop ebx
add esp, 8
ret 8

Function at 0x4c54a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x14
push edi
push 0
mov edi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 4]
push eax
push 0x70afbc
push 1
push 0
push 0x6b8fec
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4c54f0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x6b902c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
jge 0x4c54f9
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
pop edi
add esp, 0x14
ret 4
mov edx, dword [ecx + 0x50]
push edi
push eax
call edx
call fcn.004af310
test al, al
je 0x4c5559
push esi
lea esi, [esp + 0x10]
call fcn.004805c0
mov eax, esi
call fcn.00552b00
push str._ProgramFiles_x86___
push str.c:program_files__x86__
mov eax, esi
push eax
call fcn.005528c0
mov esi, dword [esp + 0x10]
test esi, esi
mov ecx, esi
jne 0x4c553b
mov ecx, 0x6bc0cc
mov eax, dword [esp + 8]
mov edx, dword [eax]
push 0xfffffc72
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
push esi
call fcn.0069c8fa
add esp, 4
pop esi
jmp 0x4c556b
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0xfffffc72
push edi
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push str._suite
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push str.Open_the_NCH_Software_Suite_Quick_Launcher
push eax
call edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
sete bl
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, bl
pop ebx
pop edi
add esp, 0x14
ret 4