joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f4039
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
xor ebx, ebx
cmp byte [ebp + 8], bl
push esi
je 0x4f4065
call fcn.0053c966
test al, al
jne 0x4f4109
call fcn.0053a07c
test al, al
jne 0x4f4109
cmp byte [ebp + 8], bl
mov byte [ebp - 5], bl
jne 0x4f407a
lea eax, [ebp - 5]
push eax
call fcn.00547d73
test al, al
je 0x4f40bd
push 0x6a9888
call fcn.00545907
mov al, byte [ebp - 5]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push eax
call fcn.005312c1
test al, al
je 0x4f40bd
cmp byte [ebp + 8], bl
jne 0x4f40b8
push 0x40
push 0xfffd
push str.Uninstall_Completed
push str.Uninstall_is_complete._We_are_sorry_to_see_you_go._If_you_change_your_mind_and_decide_to_reinstall_PicoPDF__please_visit_www.nchsoftware.com.
push ebx
mov ecx, str.Close
call fcn.00559794
call fcn.0052fbeb
mov eax, dword [0x6a9b2c]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 5
push ebx
push dword [eax]
call esi
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x631a7c
push str.nchuninst
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
call fcn.0053768f
push 5
push ebx
lea eax, [ebp - 0x41c]
push eax
call esi
pop esi
pop ebx
leave
ret 4

Function at 0x4f410f
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push 0x104
lea eax, [esp + 4]
push eax
push str.LQUIET
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
neg eax
sbb eax, eax
neg eax
add esp, 0x208
ret
Function at 0x50bcbd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
je 0x50bceb
cmp eax, ecx
jbe 0x50bceb
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
push ecx
jmp 0x50bcf2
lea eax, [ebp - 8]
push esi
push eax
mov eax, edi
push dword [ebp + 8]
call fcn.0050b3c7
push dword [ebx]
call fcn.005f858a
pop ecx
push 0x20
call fcn.005f833c
test esi, esi
pop ecx
push 0x20
pop ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
je 0x50bd43
test edi, edi
jbe 0x50bd43
cmp edi, ecx
jae 0x50bd48
push edi
push esi
push eax
call fcn.005fbd60
add esp, 0xc
push 0x20
pop eax
sub eax, edi
push eax
mov eax, dword [ebx]
add eax, edi
push 0x638838
push eax
call fcn.005fbd60
add esp, 0xc
jmp 0x50bd4f
mov esi, 0x638838
push 8
pop ecx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push 0x20
push dword [ebx]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0050aacd
mov eax, dword [ebp + 8]
cmp dword [eax + 0x35], 3
jl 0x50bdba
mov edi, dword [eax + 0x21]
shr edi, 3
mov dword [ebp + 8], 1
xor eax, eax
test edi, edi
jbe 0x50bd9f
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x110]
sub ecx, edx
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
lea esi, [ebp + eax - 0x110]
mov cl, byte [ecx + esi]
xor cl, byte [ebp + 8]
inc eax
cmp eax, edi
mov byte [esi], cl
jb 0x50bd88
push dword [ebx + 4]
lea eax, [ebp - 0x110]
push dword [ebx]
push edi
push eax
call fcn.0050aacd
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x13
jbe 0x50bd74
push dword [ebp - 8]
call fcn.005f858a
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x50bdca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x14]
push ebx
push esi
call fcn.0050b46e
mov eax, dword [esi + 0x35]
cmp eax, 2
jg 0x50be05
push dword [ebp + 0xc]
push 0x638838
push dword [ebx + 4]
push dword [ebx]
push 0x20
pop eax
call fcn.0050aafb
jmp 0x50bf22
cmp eax, 3
mov dword [ebp + 0x10], 0x20
jl 0x50be1a
mov esi, dword [esi + 0x6a]
add esi, 0x20
mov dword [ebp + 0x10], esi
push dword [ebp + 0x10]
call fcn.005f833c
pop ecx
mov edx, eax
push 8
pop ecx
mov esi, 0x638838
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x6a]
test eax, eax
mov dword [ebp - 0x14], edx
je 0x50be4f
mov ecx, dword [ecx + 0x66]
push eax
push ecx
add edx, 0x20
push edx
call fcn.005fbd60
add esp, 0xc
push dword [ebp + 0x10]
and dword [ebp - 0xc], 0
push dword [ebp - 0x14]
and dword [ebp - 8], 0
lea eax, [ebp - 0xc]
push eax
invalid
Function at 0x50bfac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x3d], edi
jne 0x50bfc6
xor al, al
jmp 0x50c0b1
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.0050b3c7
mov eax, dword [ebx + 0x35]
cmp eax, 2
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jne 0x50c004
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x39]
mov eax, dword [ebx + 0x3d]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0050ab55
jmp 0x50c086
cmp eax, 3
jl 0x50c08e
mov esi, dword [ebx + 0x3d]
push edi
call fcn.005f858a
pop ecx
push esi
call fcn.005f833c
mov edx, dword [ebx + 0x39]
mov ecx, dword [ebx + 0x3d]
mov dword [ebp - 0xc], eax
mov eax, esp
mov dword [eax], edx
lea eax, [ebp - 0xc]
call fcn.0049a338
mov dword [ebp + 8], 0x14
jmp 0x50c03d
xor edi, edi
cmp dword [ebp - 0x10], edi
jbe 0x50c060
mov cl, byte [ebp + 8]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
dec cl
sub eax, edx
lea esi, [ebp + edi - 0x40]
mov dl, byte [eax + esi]
xor dl, cl
inc edi
cmp edi, dword [ebp - 0x10]
mov byte [esi], dl
jb 0x50c04f
push dword [ebp - 0x10]
lea eax, [ebp - 0x40]
push eax
lea edi, [ebp - 0x20]
call fcn.0054ac3d
push dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov esi, edi
call fcn.0054ad2a
call fcn.0054acd6
dec dword [ebp + 8]
jne 0x50c03b
push 0x20
pop eax
cmp dword [ebp - 8], eax
jae 0x50c091
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push ebx
call fcn.0050bf29
push dword [ebp - 0xc]
mov bl, al
call fcn.005f858a
pop ecx
push dword [ebp - 0x14]
call fcn.005f858a
pop ecx
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x518b5a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x405f8
call fcn.0060f180
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x28e], ebx
jne 0x518b88
mov dword [esi], 2
jmp 0x519bed
mov eax, dword [ecx]
call dword [eax]
test al, al
je 0x518b9b
mov dword [esi], 1
jmp 0x519bed
mov ecx, dword [edi + 0x298]
cmp ecx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
je 0x518c56
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, 4
jne 0x518c56
mov esi, dword [edi + 0x298]
mov eax, dword [esi + 0x45]
invalid
Function at 0x52e15a
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
push esi
push ebx
push 0x18
push ebx
lea esi, [edi + 4]
push ebx
mov dword [edi], ebx
mov dword [esi], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
push esi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x52e19c
push 8
push 0x18
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x52e277
cmp dword [ebp + 8], ebx
je 0x52e277
push 0x2c
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.005fc0d0
add esp, 0xc
push 0x10
pop eax
cmp dword [ebp + 0xc], eax
mov byte [ebp - 0x2c], 8
mov byte [ebp - 0x2b], 2
mov word [ebp - 0x2a], bx
jne 0x52e1d1
mov dword [ebp - 0x28], 0x660e
jmp 0x52e1f5
push 0x18
pop eax
cmp dword [ebp + 0xc], eax
jne 0x52e1e2
mov dword [ebp - 0x28], 0x660f
jmp 0x52e1f5
push 0x20
pop eax
cmp dword [ebp + 0xc], eax
jne 0x52e277
mov dword [ebp - 0x28], 0x6610
push eax
push dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
call fcn.005fbd60
mov eax, dword [ebp - 0x24]
add esp, 0xc
lea ecx, [edi + 8]
push ecx
push 1
push ebx
add eax, 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
cmp eax, 1
jne 0x52e277
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push 8
push dword [edi + 8]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x52e277
mov eax, dword [ebp + 0xc]
shr eax, 3
push eax
lea esi, [edi + 0x10]
mov dword [edi + 0xc], eax
call fcn.004b38b4
cmp dword [ebp + 0x10], ebx
je 0x52e277
mov eax, dword [edi + 0xc]
cmp eax, dword [ebp + 0x14]
jne 0x52e277
push ebx
push dword [ebp + 0x10]
push 1
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
pop esi
mov eax, edi
pop ebx
leave
ret 0x10
Function at 0x52e29d
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 0
push esi
push edi
mov edi, eax
jne 0x52e2b6
xor al, al
jmp 0x52e387
mov ecx, dword [ebx + 0x14]
add ecx, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [ebp + 0x14], 0
mov dword [ebp + 8], ecx
jne 0x52e2de
mov esi, dword [ebx + 0xc]
test esi, esi
jbe 0x52e2de
mov eax, ecx
xor edx, edx
div esi
sub ecx, edx
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
mov esi, dword [ebx + 0xc]
add esi, ecx
call fcn.0058d0a0
cmp dword [edi], 0
je 0x52e2af
cmp dword [ebx], 0
jne 0x52e2f8
mov dword [ebx], 1
cmp dword [ebx], 1
jne 0x52e2af
mov eax, dword [ebx + 0xc]
add eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x52e31b
push eax
push dword [ebx + 0x10]
push dword [edi]
call fcn.005fbd60
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
sub eax, esi
push eax
mov eax, dword [edi]
add eax, dword [ebx + 0x14]
push dword [ebp + 0xc]
push eax
call fcn.005fbd60
add esp, 0xc
test esi, esi
jbe 0x52e34e
mov eax, dword [ebp + 0xc]
sub eax, esi
add eax, dword [ebp + 0x10]
push esi
push eax
push dword [ebx + 0x10]
call fcn.005fbd60
add esp, 0xc
mov dword [ebx + 0x14], esi
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
lea eax, [ebp + 8]
push eax
movzx eax, byte [ebp + 0x14]
push ecx
push 0
push eax
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x52e2af
cmp byte [ebp + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
je 0x52e385
and dword [ebx], 0
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x52e38e
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 8], 0
push esi
push edi
mov edi, eax
jne 0x52e3a7
xor al, al
jmp 0x52e435
mov esi, dword [ebx + 0x14]
add esi, dword [ebp + 0x10]
mov dword [ebp + 8], esi
call fcn.0058d0a0
xor esi, esi
cmp dword [edi], esi
je 0x52e3a0
cmp dword [ebx], esi
jne 0x52e3c5
mov dword [ebx], 1
cmp dword [ebx], 1
jne 0x52e3a0
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x14]
cmp eax, esi
je 0x52e3e5
push eax
push dword [ebx + 0x10]
push dword [edi]
call fcn.005fbd60
add esp, 0xc
push dword [ebp + 0x10]
mov eax, dword [edi]
add eax, dword [ebx + 0x14]
push dword [ebp + 0xc]
push eax
call fcn.005fbd60
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
mov dword [ebx + 0x14], esi
mov eax, dword [edi]
push eax
push esi
push 1
push esi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x52e42b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x14], 0
jne 0x52e3a0
cmp eax, 0x80090005
jne 0x52e3a0
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov dword [ebx], esi
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x52f0b9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b0
push ebx
push esi
lea eax, [ebp - 0x244]
push eax
mov esi, 0x631a7c
push esi
push str.PreviousInstaller
push str.Software
call fcn.00531dbb
lea eax, [ebp - 0x244]
push eax
call fcn.00401e3b
xor ebx, ebx
test al, al
jne 0x52f0f9
mov word [ebp - 0x244], bx
cmp word [ebp - 0x244], bx
push edi
mov edi, 0x1388
mov dword [0x6add20], edi
mov dword [0x6add24], 0x63eb18
mov dword [0x6add28], 0x6766d0
mov dword [0x6add2c], 0x1389
mov dword [0x6add30], 0x676750
mov dword [0x6add34], 0x676788
je 0x52f172
mov dword [0x6add38], 0x138a
mov dword [0x6add3c], 0x6767fc
mov dword [0x6add40], 0x676838
mov dword [0x6add44], ebx
mov dword [0x6add48], ebx
mov dword [0x6add4c], ebx
jmp 0x52f184
mov dword [0x6add38], ebx
mov dword [0x6add3c], ebx
mov dword [0x6add40], ebx
push ebx
push edi
push 0x6add20
push esi
push str.This_is_a_recent_release_of_PicoPDF._r_nIf_you_find_any_problems_with_this_release_please_let_us_know_by_reporting_them.
push str.PicoPDF___v_6.01_Beta
push dword [ebp + 8]
lea esi, [ebp - 0x5b0]
call fcn.00575e8c
mov eax, esi
call fcn.00575f6e
sub eax, edi
pop edi
je 0x52f1fe
dec eax
je 0x52f1f4
dec eax
jne 0x52f203
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.005fc0d0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0x100
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x665b90
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x52f203
push dword [ebp + 8]
call fcn.00558ced
jmp 0x52f203
call fcn.00421bfd
lea eax, [ebp - 0x5b0]
call fcn.0052f214
pop esi
pop ebx
leave
ret 4

Function at 0x530b55
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x530bb7
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x530bae
cmp dword [ebp - 4], 1
sete bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, bl
pop ebx
leave
ret
Function at 0x530bbc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x87c
push ebx
push esi
push edi
call fcn.00530b55
neg al
sbb eax, eax
neg eax
push eax
push str.llinad
push str.UsageStatsChoice
call fcn.0040177b
mov eax, dword [0x6a9b08]
mov esi, 0x6a9b08
jmp 0x530c15
push eax
push 0x6a9888
lea eax, [ebp - 0x468]
push eax
call fcn.00401f51
push 0
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x530bef
call fcn.004f3a68
call fcn.004cb9de
test al, al
je 0x530d03
lea eax, [ebp - 0x878]
call fcn.0053680f
lea eax, [ebp - 0x670]
call fcn.00536821
push 2
lea edi, [ebp - 0x878]
pop ebx
mov ecx, 0x6788b8
mov eax, edi
lea esi, [ebp - 0x260]
call fcn.00401e87
jmp 0x530ce9
push 0x12
lea eax, [ebp - 0x230]
push 0x6788c4
push eax
mov dword [ebp - 4], eax
call fcn.005f9a6d
add esp, 0xc
test eax, eax
jne 0x530c82
push 0x12
jmp 0x530c9e
push 9
lea eax, [ebp - 0x230]
push str.NCH_Suite
push eax
call fcn.005f9a6d
add esp, 0xc
test eax, eax
jne 0x530cde
push 9
lea ecx, [ebp - 4]
call fcn.0058c682
push 0x28
lea eax, [ebp - 4]
call fcn.0058c69f
mov eax, dword [ebp - 4]
cmp word [eax], 0x28
jne 0x530cde
lea eax, [ebp - 0x230]
push eax
push edi
lea eax, [ebp - 0x468]
push eax
call fcn.00401f51
lea eax, [ebp - 0x468]
push eax
mov eax, 0xbb8
call fcn.00536630
lea esi, [ebp - 0x260]
call fcn.00401ec4
cmp dword [ebp - 0x260], 0xffffffff
jne 0x530c61
add edi, 0x208
dec ebx
jne 0x530c4a
call fcn.0055cdae
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
Function at 0x531dee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push edi
push str.Scheduler
lea edi, [ebp - 0x210]
call fcn.00531c88
lea eax, [ebp - 4]
push eax
push 1
push 0
mov eax, edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x531e5f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 8], 0x208
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x531e5b
cmp edi, 0xea
jne 0x531e5f
mov al, 1
jmp 0x531e61
xor al, al
pop edi
leave
ret 4

Function at 0x531fb3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push edi
push dword [ebp + 8]
lea edi, [ebp - 0x20c]
call fcn.00531c88
lea eax, [ebp + 8]
push eax
push 1
push 0
mov eax, edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x532022
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x208
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x53201e
cmp edi, 0xea
jne 0x532022
mov al, 1
jmp 0x532024
xor al, al
pop edi
leave
ret 8

Function at 0x53274f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
inc eax
cmp dword [ebp - 0x20], 5
ja 0x532784
jne 0x532782
cmp dword [ebp - 0x1c], eax
jne 0x532782
cmp word [ebp + 0x70], 3
jae 0x532784
xor eax, eax
add ebp, 0x78
leave
ret
Function at 0x532a42
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x82c
push ebx
push esi
push edi
mov esi, ecx
push 0
mov edi, eax
mov eax, dword [esi]
push str.Initializing_run_on_demand...
call dword [eax + 0x20]
test edi, edi
je 0x532a8b
cmp word [edi], 0
je 0x532a8b
push edi
push str._s...
mov eax, 0x104
lea edi, [esp + 0x638]
call fcn.005383cd
pop ecx
pop ecx
push 1
mov ecx, edi
push ecx
jmp 0x532a90
push 1
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test al, al
je 0x532aaf
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x532bdf
call fcn.0057d59f
test al, al
jne 0x532ac6
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x532bdf
lea eax, [esp + 0x220]
push eax
call fcn.00401d7a
push str..exe
push dword [ebp + 0xc]
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
call fcn.0053768f
lea ecx, [esp + 0x18]
lea eax, [esp + 0x428]
call fcn.00401b1a
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x42c]
push eax
push str.audiochannel.net
push esi
lea eax, [esp + 0x20]
push eax
call fcn.004d1861
push 2
pop ebx
cmp dword [esp + 0x10], ebx
jne 0x532b45
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x42c]
push eax
push str.www.nch.com.au
push esi
lea eax, [esp + 0x24]
push eax
call fcn.004d1861
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x532baf
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x14], ebx
call fcn.00401d1e
test eax, eax
jbe 0x532baf
mov eax, dword [esi]
push 0
push str.Running_install_on_demand
mov ecx, esi
call dword [eax + 0x20]
push dword [ebp + 0x14]
lea eax, [esp + 0x18]
push dword [ebp + 0x10]
push eax
lea eax, [esp + 0x24]
call fcn.00532789
mov eax, dword [esp + 0x14]
push dword [ebp + 0xc]
mov edi, esi
mov dword [esp + 0x14], eax
call fcn.005329e8
test al, al
jne 0x532b9a
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], 0
jne 0x532baf
mov eax, dword [esi]
push 0
push str.Completed
mov ecx, esi
call dword [eax + 0x20]
fld1
mov eax, dword [esi]
push ecx
push ecx
mov ecx, esi
fstp qword [esp]
call dword [eax + 0x24]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x220]
mov dword [esi], eax
call fcn.00537db1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5330af
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push esi
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]
mov esi, 0x631a7c
push esi
push 0x631ac4
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
call fcn.0053768f
push esi
push str.Components
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x618]
call fcn.0053768f
push str.Shared
lea eax, [ebp - 0x618]
push eax
push dword [ebp + 8]
call fcn.00401f51
push dword [ebp + 8]
call fcn.004cc342
test al, al
pop esi
je 0x53312e
mov al, 1
jmp 0x533136
mov ecx, dword [ebp + 8]
call fcn.00537bf5
leave
ret 4

Function at 0x5333cd
Capabilities:
Delete directory
Delete registry key
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa48
push ebx
push esi
xor ecx, ecx
push edi
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov edi, 0x631ac4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], str.NCH_Swift_Sound
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], SysStringLen
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
xor ebx, ebx
mov esi, edi
push esi
lea eax, [ebp - 0x228]
push str.Software_sComponents
push eax
call fcn.00401000
add esp, 0xc
push dword [ebp - 4]
lea eax, [ebp - 0x228]
call fcn.0053888e
push esi
lea eax, [ebp - 0x228]
push str.Software_s
push eax
call fcn.00401000
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
mov esi, dword [ebp + ebx*4 - 0x10]
inc ebx
test esi, esi
jne 0x533409
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x20]
test eax, eax
mov dword [ebp - 4], eax
jne 0x533405
lea eax, [ebp - 0x840]
push eax
push esi
push esi
push 0x26
push esi
mov word [ebp - 0x840], si
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x638]
call fcn.005366fc
cmp word [ebp - 0x840], si
mov word [ebp - 0x430], si
mov dword [ebp - 4], esi
je 0x533516
lea ebx, [ebp - 0x840]
jmp 0x5334ac
xor esi, esi
mov eax, edi
push eax
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00401f51
push 0x631a7c
push str.Components
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0xa48]
call fcn.0053768f
mov edx, 0xbb8
lea ecx, [ebp - 0xa48]
call fcn.00537cdb
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp + esi*4 - 0x10]
inc esi
test eax, eax
jne 0x5334ae
inc dword [ebp - 4]
mov ebx, dword [ebp - 4]
imul ebx, ebx, 0x208
lea ebx, [ebp + ebx - 0x840]
cmp word [ebx], ax
jne 0x5334aa
pop edi
pop esi
pop ebx
leave
ret