joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401909
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x590
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x7f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.0040ff00
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.0040152d
add esp, 0x14
test al, al
jne 0x401953
xor al, al
jmp 0x401a55
push str.S_1_5_32_544
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401982
push edi
push ebx
push ebx
push 0x801c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
neg eax
sbb eax, eax
inc eax
jmp 0x401a55
push 0x3ff
lea eax, [ebp - 0x587]
push ebx
push eax
mov byte [ebp - 0x588], bl
call fcn.0040ff00
lea eax, [ebp - 0x84]
push eax
push str._sSoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea eax, [ebp - 0x588]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x1c
lea eax, [ebp - 0x58c]
push eax
push 1
push ebx
lea eax, [ebp - 0x588]
push eax
push 0x80000003
mov dword [ebp - 0x58c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40194c
push 0x103
lea eax, [ebp - 0x187]
push ebx
push eax
mov byte [ebp - 0x188], bl
call fcn.0040ff00
add esp, 0xc
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0x188]
push eax
push ebx
push ebx
push str.Cookies
push dword [ebp - 0x58c]
mov dword [ebp - 0x590], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401a40
push dword [ebp - 0x58c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40194c
push 0x104
push edi
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret
Function at 0x401a62
Capabilities:
Acquire debug privileges
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push 0x28
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401b66
push esi
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x401aab
push esi
lea esi, [ebp - 0x20]
call fcn.00401b69
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0xc], ebx
je 0x401b51
push dword [ebp - 0xc]
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x401b4b
mov esi, dword [sym.imp.USER32.dll_GetUserObjectSecurity]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [edi]
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x14], 1
call esi
cmp dword [ebp - 4], 0
je 0x401b4b
push dword [ebp - 4]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
mov dword [edi], eax
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
test eax, eax
je 0x401b4b
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
test eax, eax
jne 0x401b55
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x401b65
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
pop esi
pop ebx
leave
ret

Function at 0x401be9
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x401c34
xor al, al
jmp 0x401c5e
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x401c4c
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
cmp dword [ebp - 0x10], 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret
Function at 0x402a4b
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov byte [esp + 0x13], 0
call fcn.004015b1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
lea eax, [esp + 0x14]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push edi
call ebx
test eax, eax
je 0x402a88
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402aaf
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebp
push 1
push 0
push dword [esp + 0x30]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push edi
call esi
lea eax, [esp + 0x18]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call ebx
test eax, eax
je 0x402ad2
xor al, al
jmp 0x402b00
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebp
push 1
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x402af6
mov byte [esp + 0x13], 1
push dword [esp + 0x18]
call esi
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x402b08
Capabilities:
Get common file path
Move file
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
mov eax, dword [ebp + 0x3b4]
push ebx
push esi
push edi
mov esi, 0x103
push esi
mov dword [ebp - 0x80], eax
xor ebx, ebx
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], 0
call fcn.0040ff00
push esi
lea eax, [ebp + 0x18d]
push ebx
push eax
mov byte [ebp + 0x18c], bl
call fcn.0040ff00
xor eax, eax
mov byte [ebp + 0x394], bl
lea edi, [ebp + 0x395]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
lea eax, [ebp + 0x291]
push ebx
push eax
mov byte [ebp + 0x290], bl
call fcn.0040ff00
mov ecx, dword [ebp - 0x80]
add esp, 0x24
lea edi, [ebp + 0x88]
call fcn.00401633
test al, al
jne 0x402bad
mov eax, edi
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x402cc1
lea eax, [ebp + 0x88]
push eax
push str._sMozillaFirefoxprofiles.ini
mov esi, 0x104
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00405899
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push str.Profile_d
lea eax, [ebp + 0x394]
push 0x14
push eax
mov dword [ebp - 0x80], ebx
call fcn.00405899
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push esi
lea eax, [ebp + 0x18c]
push eax
push 0x41804a
push str.Path
lea eax, [ebp + 0x394]
push eax
call ebx
test eax, eax
je 0x402cc1
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp + 0x18c]
push eax
lea eax, [ebp + 0x88]
push eax
push str._sMozillaFirefox_sExtensions.ini
lea eax, [ebp + 0x290]
push esi
push eax
call fcn.00405899
add esp, 0x14
push 5
push 0
lea eax, [ebp + 0x290]
push eax
call edi
lea eax, [ebp + 0x18c]
push eax
lea eax, [ebp + 0x88]
push eax
push str._sMozillaFirefox_sExtensions.rdf
lea eax, [ebp + 0x290]
push esi
push eax
call fcn.00405899
add esp, 0x14
push 5
push 0
lea eax, [ebp + 0x290]
push eax
call edi
inc dword [ebp - 0x80]
push dword [ebp - 0x80]
lea eax, [ebp + 0x394]
push str.Profile_d
push 0x14
push eax
call fcn.00405899
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
push esi
lea eax, [ebp + 0x18c]
push eax
push 0x41804a
push str.Path
lea eax, [ebp + 0x394]
push eax
call ebx
test eax, eax
jne 0x402c1e
mov ecx, dword [ebp + 0x3a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
add ebp, 0x3ac
leave
ret
Function at 0x402cd9
Capabilities:
Delete directory
Delete file
Delete registry value
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x2f4]
sub esp, 0x374
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp + 0x2f0], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp + 0x1ed]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x58], edi
mov byte [ebp + 0x1ec], bl
call fcn.0040ff00
push esi
lea eax, [ebp - 0x4f]
push ebx
push eax
mov byte [ebp - 0x50], bl
call fcn.0040ff00
mov ecx, edi
add esp, 0x18
lea edi, [ebp + 0x1ec]
call fcn.00401633
test al, al
jne 0x402d52
mov eax, edi
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x402d52
xor al, al
jmp 0x402ed7
push str.MozillaExtensionsec8030f7_c20a_464f_9b0e_13a3a9e97384_
mov esi, 0x104
lea eax, [ebp + 0x1ec]
push esi
push eax
call fcn.00405995
mov edi, str.textlinks_playsushi.com
push edi
lea eax, [ebp + 0x1ec]
push esi
push eax
call fcn.00405995
lea eax, [ebp + 0x1ec]
push eax
push str._s.
lea eax, [ebp - 0x50]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, 0x614
mov word [ebp - 0x70], ax
add esp, 0x28
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x74], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea eax, [ebp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x135
lea eax, [ebp + 0xb5]
push ebx
push eax
mov byte [ebp + 0xb4], bl
call fcn.0040ff00
lea eax, [ebp + 0x1ec]
push eax
push str.cmd.exe__c_rd___s___Q_S
lea eax, [ebp + 0xb4]
push 0x136
push eax
call fcn.00405899
lea eax, [ebp + 0xb4]
push eax
push str.PS_Firefox_removal
call fcn.00402a4b
add esp, 0x24
call fcn.004015b1
lea ecx, [ebp - 0x5c]
push ecx
push 0x2001f
push ebx
push str.SoftwareMozillaFirefoxExtensions
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402e53
push edi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x5c]
mov byte [ebp - 0x51], bl
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push dword [ebp - 0x60]
call ebx
jmp 0x402e56
mov byte [ebp - 0x51], bl
mov ecx, dword [ebp - 0x58]
lea eax, [ebp + 0x1ec]
push eax
call fcn.00401068
pop ecx
test al, al
je 0x402ecb
push str.extensions_
lea eax, [ebp + 0x1ec]
push esi
push eax
call fcn.00405995
push edi
lea eax, [ebp + 0x1ec]
push esi
push eax
call fcn.00405995
add esp, 0x18
lea eax, [ebp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [ebp + 0x1ec]
push eax
push str.cmd.exe__c_rd___s___Q_S
lea eax, [ebp + 0xb4]
push 0x136
push eax
call fcn.00405899
lea eax, [ebp + 0xb4]
push eax
push str.PS_Firefox_removal_proc
call fcn.00402a4b
add esp, 0x18
push dword [ebp - 0x58]
call fcn.00402b08
mov al, byte [ebp - 0x51]
pop ecx
mov ecx, dword [ebp + 0x2f0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
add ebp, 0x2f4
leave
ret
Function at 0x4032e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.004015b1
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x403317
or eax, 0xffffffff
jmp 0x403344
push esi
push edi
push str.PlaySushi_Welcome_Message
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
call esi
push ebx
call esi
xor eax, eax
test edi, edi
sete al
pop edi
pop esi
lea eax, [eax + eax - 1]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret
Function at 0x403351
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1cc]
sub esp, 0x24c
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp + 0x1c8], eax
push esi
push edi
push 0xc
pop ecx
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
lea edi, [ebp + 0x194]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.004015b1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x194]
push eax
push 0x80000002
call esi
mov edi, eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x194]
push eax
push dword [ebp - 0x80]
call esi
test edi, edi
je 0x4033be
or eax, 0xffffffff
jmp 0x403532
push ebx
push 0x103
lea eax, [ebp + 0x91]
push 0
push eax
mov byte [ebp + 0x90], 0
call fcn.0040ff00
mov ebx, str.PlaySushi
push ebx
push str.cmd.exe__c_reg_delete_HKCUSOFTWARE_s__f
mov esi, 0x104
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.00405899
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add esp, 0x1c
push esi
lea eax, [ebp + 0x90]
push eax
push 1
push 0
push str.PS_registry_removal
push dword [ebp - 0x78]
call edi
push esi
lea eax, [ebp + 0x90]
push eax
push 1
push 0
push str.PS_registry_removal
push dword [ebp - 0x7c]
call edi
push ebx
push str.cmd.exe__c_reg_delete_HKCUSOFTWAREAppDataLow_s__f
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.00405899
add esp, 0x10
push esi
lea eax, [ebp + 0x90]
push eax
push 1
push 0
push str.PS_registry_removal_2
push dword [ebp - 0x78]
call edi
push esi
lea eax, [ebp + 0x90]
push eax
push 1
push 0
push str.PS_registry_removal_2
push dword [ebp - 0x7c]
call edi
push 0x103
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.0040ff00
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.0040152d
push ebx
lea eax, [ebp - 0x74]
push eax
push str.cmd.exe__c_reg_delete_HKU_sSOFTWARE_s__f
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.00405899
add esp, 0x28
push esi
lea eax, [ebp + 0x90]
push eax
push 1
push 0
push str.PS_registry_removal_3
push dword [ebp - 0x78]
call edi
push esi
lea eax, [ebp + 0x90]
push eax
push 1
push 0
push str.PS_registry_removal_3
push dword [ebp - 0x7c]
call edi
push ebx
lea eax, [ebp - 0x74]
push eax
push str.cmd.exe__c_reg_delete_HKU_sSOFTWAREAppDataLow_s__f
lea eax, [ebp + 0x90]
push esi
push eax
call fcn.00405899
add esp, 0x14
push esi
lea eax, [ebp + 0x90]
push eax
push 1
push 0
mov ebx, str.PS_registry_removal_4
push ebx
push dword [ebp - 0x78]
call edi
push esi
lea eax, [ebp + 0x90]
push eax
push 1
push 0
push ebx
push dword [ebp - 0x7c]
call edi
push dword [ebp - 0x78]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
call esi
push dword [ebp - 0x80]
call esi
xor eax, eax
test edi, edi
sete al
pop ebx
lea eax, [eax + eax - 1]
mov ecx, dword [ebp + 0x1c8]
pop edi
xor ecx, ebp
pop esi
call fcn.0040588a
add ebp, 0x1cc
leave
ret
Function at 0x403549
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.00403666
xor ebx, ebx
test al, al
je 0x4035da
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x419194
push edi
call esi
push 0x4191a8
push edi
mov dword [ebp - 4], eax
call esi
push 0x4191c0
push edi
mov dword [ebp - 8], eax
call esi
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x4035da
cmp dword [ebp - 8], ebx
je 0x4035da
cmp esi, ebx
je 0x4035da
lea eax, [ebp - 0xc]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 4]
test eax, eax
je 0x4035da
lea eax, [ebp - 0x18]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [ebp - 8]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call esi
call fcn.00403666
push ebx
test al, al
je 0x4035e8
push 6
jmp 0x4035ea
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4035f5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion
mov esi, 0x104
push 0x80000002
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push str.ProgramFilesDir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.SHLWAPI.dll_StrNCatA]
push esi
push 0x418094
push dword [ebp + 8]
call edi
push esi
push str.PlaySushi
push dword [ebp + 8]
call edi
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x4036a8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.004015b1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0
push ebx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4036ea
call fcn.00401000
push eax
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push 0x80000000
call edi
test eax, eax
jne 0x40371e
mov eax, dword [str.AppIDPlaySushi32.DLL]
jmp 0x403711
push eax
push dword [ebp - 4]
call esi
mov eax, dword [ebx*4 + 0x41c21c]
inc ebx
test eax, eax
jne 0x403703
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0
push 0x80000002
call edi
test eax, eax
jne 0x403753
mov eax, dword [str.SOFTWAREClassesAppIDE89A07B5_BD7A_43F9_BDA4_0DAA48AC4FA5]
xor edi, edi
jmp 0x403746
push eax
push dword [ebp - 4]
call esi
mov eax, dword [edi*4 + 0x41c1e0]
inc edi
test eax, eax
jne 0x403738
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004032e0
call fcn.00403351
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x403765
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x41b424]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x134], 0
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403796
xor eax, eax
jmp 0x403806
lea eax, [ebp - 0x130]
push eax
push ebx
mov dword [ebp - 0x130], 0x128
call sub.KERNEL32.dll_Process32First
jmp 0x4037ed
push 0xb
lea edi, [ebp - 0x10c]
mov esi, str.chrome.exe
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4037c8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4037d6
mov eax, dword [ebp - 0x128]
test eax, eax
jne 0x4037f3
lea eax, [ebp - 0x130]
push eax
push ebx
mov dword [ebp - 0x130], 0x128
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4037af
jmp 0x4037f9
mov dword [ebp - 0x134], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040588a
leave
ret
Function at 0x403815
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0xc], edi
cmp edi, 0xffffffff
je 0x4039f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4039f8
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x4039f8
lea eax, [esi + 1]
push eax
push 8
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x4039c7
push ebx
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4039c7
cmp dword [ebp - 0x10], ebx
jbe 0x4039c7
push dword [ebp - 4]
call fcn.004043bc
mov edi, 0xfffff060
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
jbe 0x4038dd
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4039ff
push str.extensions
call fcn.004041cc
pop ecx
cmp eax, ebx
je 0x4039f2
cmp eax, edi
ja 0x4039f2
push str.settings
call fcn.004041cc
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4039df
cmp ebx, edi
ja 0x4039df
mov esi, str.fncciponkgfpkhdpcnllnbkmocnajkcf
push esi
call fcn.004041cc
pop ecx
test eax, eax
je 0x403938
cmp eax, edi
ja 0x403938
call fcn.00403ff5
mov eax, dword [ebx + 0x18]
push esi
call fcn.004056cb
pop ecx
push str.hnhgoncokajlafhnhjmccgcmgggiehjm
mov eax, ebx
call fcn.004041cc
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4039b6
cmp eax, edi
ja 0x4039b6
push str.manifest
call fcn.004041cc
pop ecx
test eax, eax
je 0x4039b6
cmp eax, edi
ja 0x4039b6
push str.name
call fcn.004041cc
pop ecx
cmp eax, edi
ja 0x4039b6
test eax, eax
je 0x403987
cmp dword [eax], 6
je 0x403984
mov esi, eax
call fcn.00404041
jmp 0x403987
mov eax, dword [eax + 0x18]
mov edi, eax
push 0xa
mov esi, str.PlaySushi
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40399c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4039b6
mov eax, dword [ebp - 0x14]
call fcn.00403ff5
mov eax, dword [ebx + 0x18]
push str.hnhgoncokajlafhnhjmccgcmgggiehjm
call fcn.004056cb
pop ecx
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
call fcn.00405331
mov edi, dword [ebp - 0xc]
pop ecx
xor ebx, ebx
push dword [ebp - 4]
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x403a02
push dword [ebp - 4]
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0xc]
jmp 0x4039f9
push dword [ebp - 4]
push ebx
jmp 0x4039e4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret