joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ef0
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftCryptographyCalaisSmartCardsHSIC_MiniCard
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401f3e
mov ecx, dword [esp + 4]
push 0x40e30c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x401f3e
mov eax, dword [esp + 4]
test eax, eax
je 0x401f36
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x401f4d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x401f60
Capabilities:
Set registry value

Disassembly:
sub esp, 0x28
mov al, byte [0x40e30c]
push ebx
push edi
mov byte [esp + 0x10], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x11]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x40e30c
stosw word es:[edi], ax
push ebx
push str.SOFTWAREBOCOMHUADA
push 0x80000002
mov dword [esp + 0x2c], ebx
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402019
mov edi, str.1.0.0.11
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov edx, dword [esp + 0xc]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
jne 0x402019
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x40200e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x402028
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00402b20
mov eax, ebx
pop edi
pop ebx
add esp, 0x28
ret
Function at 0x402040
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov ecx, 0x10
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsHDADM_JH.exe
lea edi, [esp + 0x18]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x2f
lea edi, [esp + 0x59]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
xor ebp, ebp
push eax
push ecx
push ebp
push 0xf003f
push ebp
push 0x40e30c
lea edx, [esp + 0x30]
push ebp
push edx
push 0x80000002
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402104
mov esi, dword [esp + 0x11c]
or ecx, 0xffffffff
mov edi, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
push ecx
push esi
push 1
push ebp
push str.Paths
push eax
call ebx
test eax, eax
jne 0x402104
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x14]
push esi
push 1
push ebp
push 0x40e30c
push ecx
call ebx
test eax, eax
jne 0x402104
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4020f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x402113
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x402a50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x28
mov al, byte [0x40e30c]
push ebx
push edi
mov byte [esp + 0x10], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x11]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x40e30c
stosw word es:[edi], ax
push ebx
push str.SOFTWAREBOCOMHUADA
push 0x80000001
mov dword [esp + 0x2c], ebx
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402b09
mov edi, str.1.0.0.11
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov edx, dword [esp + 0xc]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
jne 0x402b09
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x402afe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x402b18
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
add esp, 0x28
ret

Function at 0x402b20
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 1
push esi
push str.SOFTWAREBOCOMHUADA
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402b6b
mov ecx, dword [esp + 4]
push 0x40e30c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402b6b
mov eax, dword [esp + 4]
test eax, eax
je 0x402b63
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x402b7a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x402b80
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 1
push esi
push str.SOFTWAREMicrosoftCryptographyDefaultsProviderBOCOM_2010USBKey_HDE_CSP_v1.0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402bcb
mov ecx, dword [esp + 4]
push 0x40e30c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402bcb
mov eax, dword [esp + 4]
test eax, eax
je 0x402bc3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x402bda
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x402be0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp]
push eax
push 0x40b1ec
push 1
push 0
push 0x40b1fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x402c14
xor eax, eax
add esp, 0x210
ret
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
mov edx, dword [esp + 0x21c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x40b20c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x402c58
xor eax, eax
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
lea eax, [esp + 8]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
add esp, 0x210
ret

Function at 0x402cb0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x108
mov al, byte [0x40e30c]
push edi
mov byte [esp + 8], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
mov dword [esp + 4], 0
stosw word es:[edi], ax
push ecx
push 0x17
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
pop edi
jne 0x402d68
mov eax, dword [esp]
test eax, eax
je 0x402d68
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x402d68
mov al, byte [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.C:Program_FilesBOCOM
mov byte [str.C:Program_FilesBOCOM2010USBKeyHuaDa], al
mov byte [str.C:Program_FilesBOCOM2010USBKey], al
mov byte [str.C:Program_FilesBOCOM], al
call esi
push 0
push str.C:Program_FilesBOCOM2010USBKey
call esi
push 0
push str.C:Program_FilesBOCOM2010USBKeyHuaDa
call esi
mov al, byte [esp + 8]
push 0
push str.C:ProgramDataMicrosoftWindowsDeviceMetadataStoreen_US
mov byte [str.C:ProgramDataMicrosoftWindowsDeviceMetadataStoreen_US], al
mov byte [str.C:ProgramDataMicrosoftWindowsDeviceMetadataStorezh_cn], al
mov byte [str.C:ProgramDataMicrosoftWindowsDeviceMetadataStorezh_tw], al
call esi
push 0
push str.C:ProgramDataMicrosoftWindowsDeviceMetadataStorezh_cn
call esi
push 0
push str.C:ProgramDataMicrosoftWindowsDeviceMetadataStorezh_tw
call esi
pop esi
add esp, 0x108
ret
Function at 0x402d70
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x108
mov al, byte [0x40e30c]
push edi
mov byte [esp + 8], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
mov dword [esp + 4], 0
stosw word es:[edi], ax
push ecx
push 0x17
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
pop edi
jne 0x402e28
mov eax, dword [esp]
test eax, eax
je 0x402e28
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x402e28
mov al, byte [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.C:Program_Files__x86_BOCOM
mov byte [str.C:Program_Files__x86_BOCOM2010USBKeyHuaDa], al
mov byte [str.C:Program_Files__x86_BOCOM2010USBKey], al
mov byte [str.C:Program_Files__x86_BOCOM], al
call esi
push 0
push str.C:Program_Files__x86_BOCOM2010USBKey
call esi
push 0
push str.C:Program_Files__x86_BOCOM2010USBKeyHuaDa
call esi
mov al, byte [esp + 8]
push 0
push str.C:ProgramDataMicrosoftWindowsDeviceMetadataStoreen_US
mov byte [str.C:ProgramDataMicrosoftWindowsDeviceMetadataStoreen_US], al
mov byte [str.C:ProgramDataMicrosoftWindowsDeviceMetadataStorezh_cn], al
mov byte [str.C:ProgramDataMicrosoftWindowsDeviceMetadataStorezh_tw], al
call esi
push 0
push str.C:ProgramDataMicrosoftWindowsDeviceMetadataStorezh_cn
call esi
push 0
push str.C:ProgramDataMicrosoftWindowsDeviceMetadataStorezh_tw
call esi
pop esi
add esp, 0x108
ret
Function at 0x402e30
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x410
mov dl, byte [0x40e30c]
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
mov byte [esp + 0x10c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x311]
mov byte [esp + 0x310], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40309c
mov eax, dword [esp + 4]
test eax, eax
je 0x40309c
lea ecx, [esp + 0x310]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x40309c
mov eax, dword [0x40d258]
mov ecx, dword [0x40e1f4]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push ebx
push ebp
push esi
lea edx, [esp + 0x21c]
push 0x100
push edx
push eax
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x31c]
lea eax, [esp + 0x118]
push edx
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x118]
push ecx
push edx
call ebx
lea eax, [esp + 0x118]
lea ecx, [esp + 0x14]
push eax
push ecx
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [esp + 0x14]
push 0
push edx
call ebp
mov ecx, dword [0x40d254]
mov edx, dword [0x40e1f4]
lea eax, [esp + 0x21c]
push 0x100
push eax
push ecx
push edx
call edi
lea eax, [esp + 0x31c]
lea ecx, [esp + 0x118]
push eax
push ecx
call esi
lea edx, [esp + 0x21c]
lea eax, [esp + 0x118]
push edx
push eax
call ebx
lea ecx, [esp + 0x118]
lea edx, [esp + 0x14]
push ecx
push edx
call esi
lea eax, [esp + 0x14]
push 0
push eax
call ebp
mov edx, dword [0x40d250]
mov eax, dword [0x40e1f4]
lea ecx, [esp + 0x21c]
push 0x100
push ecx
push edx
push eax
call edi
lea ecx, [esp + 0x31c]
lea edx, [esp + 0x118]
push ecx
push edx
call esi
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x118]
push eax
push ecx
call ebx
lea edx, [esp + 0x118]
push edx
lea eax, [esp + 0x18]
push eax
call esi
lea ecx, [esp + 0x14]
push 0
push ecx
call ebp
mov eax, dword [0x40d25c]
mov ecx, dword [0x40e1f4]
lea edx, [esp + 0x21c]
push 0x100
push edx
push eax
push ecx
call edi
lea edx, [esp + 0x21c]
lea eax, [esp + 0x14]
push edx
push eax
call ebx
mov edx, dword [esp + 0x424]
lea ecx, [esp + 0x14]
push 0x40e30c
push ecx
push edx
call fcn.00402be0
mov ecx, dword [0x40d260]
mov edx, dword [0x40e1f4]
add esp, 0xc
lea eax, [esp + 0x21c]
push 0x100
push eax
push ecx
push edx
call edi
lea eax, [esp + 0x118]
lea ecx, [esp + 0x14]
push eax
push ecx
call esi
lea edx, [esp + 0x21c]
lea eax, [esp + 0x14]
push edx
push eax
call ebx
mov edx, dword [esp + 0x428]
lea ecx, [esp + 0x14]
push 0x40e30c
push ecx
push edx
call fcn.00402be0
add esp, 0xc
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x410
ret
Function at 0x404d60
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
push eax
xor esi, esi
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x404d88
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x404dd4
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x404da8
mov esi, 2
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 0xa
jne 0x404dbc
mov esi, 3
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 0x5a
jne 0x404e53
mov esi, 4
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 2
jne 0x404e53
mov eax, dword [esp + 8]
cmp eax, 3
jne 0x404df1
mov esi, 1
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 4
jne 0x404e05
mov esi, 5
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 5
jne 0x404e49
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x404e21
mov esi, 6
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 1
jne 0x404e35
mov esi, 7
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 2
jne 0x404e53
mov esi, 8
mov eax, esi
pop esi
add esp, 0x94
ret
cmp eax, 6
jne 0x404e53
mov esi, 9
mov eax, esi
pop esi
add esp, 0x94
ret

Function at 0x404f30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x44]
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], str._install
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
xor eax, eax
pop edi
add esp, 0x3c
ret
Function at 0x404f90
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
mov al, byte [0x40e30c]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x18], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov edx, dword [0x40d26c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x11c]
push 0x100
stosb byte es:[edi], al
mov eax, dword [0x40e1f4]
push ecx
xor ebp, ebp
push edx
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push ebp
push 0xf003f
push ebp
push 0x40e30c
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2010USBKey_HDE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40500f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x405153
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x220]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebp
push str.DisplayIcon
push edx
call ebx
test eax, eax
jne 0x405153
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.DisplayName
push ecx
call ebx
test eax, eax
jne 0x405153
mov edi, str.1.0.0.11
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
push ecx
push str.1.0.0.11
push 1
push eax
push str.DisplayVersion
push edx
call ebx
test eax, eax
jne 0x405153
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x224]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40e30c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.UninstallString
push ecx
call ebx
test eax, eax
jne 0x405153
mov ebp, 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405162
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
Function at 0x409286
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40df48
cmp edx, dword [eax]
je 0x4092a8
add eax, 8
inc ecx
cmp eax, 0x40dfd8
jl 0x409299
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40df48]
jne 0x4093d6
mov eax, dword [0x40e318]
cmp eax, 1
je 0x4093b0
test eax, eax
jne 0x4092d9
cmp dword [0x40d8c0], 1
je 0x4093b0
cmp edx, 0xfc
je 0x4093d6
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x409310
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040aa30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040ab20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409353
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040ab20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b52c
push edi
call fcn.00408230
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040aa30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040aa40
lea eax, [ebp - 0xa0]
push 0x40b50c
push eax
call fcn.0040aa40
push dword [esi + 0x40df4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040aa40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040ab9b
add esp, 0x2c
pop edi
jmp 0x4093d6
lea eax, [ebp + 8]
lea esi, [esi + 0x40df4c]
push 0
push eax
push dword [esi]
call fcn.0040ab20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
ror edx, 0x26
add esi, 0x6a
or edi, 0x85
rcr esi, 0x1c
bswap esi
inc eax
dec edx
rol edi, 0xd5
sub ebx, 0xfe
inc edi
neg esi
inc ebx
bswap edx
mov ebx, 0xd
ror esi, 0x19
bswap edx
neg edx
not ebx
sbb edx, 0xe1
not eax
rcr edx, 0xab
and ebx, 0x13
inc edx
rol edx, 0x14
and eax, 0x1c
neg edi
imul eax
not ebx
ror eax, 0x80
mov eax, 0xb6
bswap eax
sbb eax, 0x69
sbb edi, 0x37
dec edx
ror esi, 0xb5
not edi
neg eax
and eax, 0x60
not esi
inc edi
imul edi
imul edi
not eax
imul esi
not eax
rcl esi, 0x71
neg edi
and edx, 0x22
rcr esi, 0x74
dec eax
xor ecx, ecx
xor edi, edi
inc eax
imul eax
sub edx, 0x5b
inc ebx
bswap edi
ror esi, 4
rol esi, 0xb8
rcr edi, 0x18
inc eax
rol edi, 0x8b
mov eax, 0xed
imul esi
sub ebx, 0x62
not ebx
sub edi, 0x32
bswap edx
add eax, 0xb
imul edx
not edi
or edx, 0x64
or edx, 0xa5
sbb edi, 0xe5
or ebx, 0xdf
not eax
inc ebx
dec edx
or edi, 0x17
dec ebx
ror edi, 0x1e
mov esi, 0x14
rcr ebx, 0x89
or edx, 0x18
inc esi
imul esi
sub edx, 0xa7
dec esi
bswap ebx
imul ebx
neg edx
neg esi
mov esi, 0xea
neg ebx
rcl edx, 0xa3
imul edi
not esi
rcr ebx, 0xea
neg ebx
inc edx
bswap eax
rcl esi, 0x5e
mov ecx, dword [ebp + 0xc]
add edx, 0xbd
sub edi, 0x1e
not ebx
dec ebx
rol ebx, 0x72
neg edx
inc ebx
or esi, 0x9d
inc edx
add ebx, 0xea
ror ebx, 0xc7
dec esi
inc ebx
imul edx
ror eax, 0x65
ror esi, 0x11
and esi, 0x1e
mov eax, 7
mov esi, 0xcb
inc eax
bswap edx
not edx
bswap esi
not edi
ror edi, 0xc
inc eax
rol eax, 0xb9
mov ebx, 0xb8
inc esi
rcr edx, 0x3c
neg edx
imul ebx
neg eax
mov ebx, 0x5b
or eax, 0xdd
bswap eax
dec edi
dec ebx
dec ebx
mov ebx, 0x74
inc edx
inc ebx
inc eax
inc esi
rcl eax, 0x9f
neg edi
rcr edi, 0x49
rcl ebx, 0x5e
sub esi, 0x50
dec ebx
mov edi, dword [ebp + 8]
mov esi, eax
mov esi, eax
mov esi, eax
not byte [edi]
xor ebx, eax
mov ebx, esi
xor eax, esi
xor ebx, esi
mov esi, ebx
mov eax, eax
xor esi, ebx
xor eax, eax
xor esi, esi
add byte [edi], 0x79
xor ebx, ebx
xor esi, esi
xor ebx, ebx
xor esi, eax
mov esi, eax
mov esi, ebx
xor ebx, ebx
xor ebx, ebx
xor eax, ebx
sub byte [edi], 0x30
mov eax, ebx
xor esi, eax
mov ebx, eax
mov ebx, ebx
mov esi, eax
mov eax, ebx
mov ebx, esi
mov esi, eax
xor ebx, esi
imul byte [edi]
inc edi
loop 0x4013b8
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100015c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x10008018
jmp 0x10003ed0
push 0xffffffffffffffff
push 0x10005a9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.100051c6
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [esi + 8]
mov dword [esp + 0x30], 0
call fcn.1000524a
lea eax, [esp + 8]
mov ecx, esi
push eax
mov byte [esp + 0x1c], 1
mov dword [esi], 0x10006168
call fcn.10004460
push eax
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.100051cc
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10003f5d
push str.88888888
mov ecx, edi
call fcn.100051a8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x10001650
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10005488
push eax
mov dword fs:[0], esp
lea eax, [esp + 0x10]
mov ecx, 0x10008010
push eax
mov dword [esp + 0xc], 0
call fcn.100051cc
push 0
push 0
push 0
push 0x10001630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0xc
ret