joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fb60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x7c
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x98]
push ecx
xor ebx, ebx
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fc75
push 0x64
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.005f8cb0
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push str.CurrentVersion
push edx
mov dword [esp + 0x38], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40fc6a
lea ebx, [eax + 1]
lea eax, [esp + 0x24]
push 0x2e
push eax
call fcn.005f9b50
add esp, 8
test eax, eax
je 0x40fc24
mov byte [eax], 0
lea ecx, [esp + 0x24]
push ecx
call fcn.005f9da1
add esp, 4
test eax, eax
je 0x40fc6a
cmp eax, 0x49
mov dword [esi], eax
jle 0x40fc40
mov dword [edi], ebx
jmp 0x40fc6a
cmp eax, 0x34
jle 0x40fc4a
mov dword [ebp], ebx
jmp 0x40fc6a
cmp eax, 0x1a
jle 0x40fc57
mov edx, dword [esp + 0x14]
mov dword [edx], ebx
jmp 0x40fc6a
cmp eax, 7
jle 0x40fc64
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
jmp 0x40fc6a
mov ecx, dword [esp + 0x1c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.005f85e7
add esp, 0x7c
ret
Function at 0x40fc90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x70
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x80]
push edi
mov edi, dword [esp + 0x80]
lea eax, [esp + 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMozillaSeaMonkey
mov dword [edi], ebx
push 0x80000002
mov dword [ebp], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fd72
push 0x64
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.005f8cb0
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push str.CurrentVersion
push ecx
mov dword [esp + 0x28], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40fd67
push esi
lea edx, [esp + 0x18]
push 0x2e
push edx
lea ebx, [eax + 1]
call fcn.005f9b50
mov esi, eax
add esp, 8
test esi, esi
je 0x40fd66
lea eax, [esp + 0x18]
push eax
mov byte [esi], 0
call fcn.005f9da1
add esp, 4
test eax, eax
je 0x40fd40
mov dword [edi], eax
inc esi
push 0x651328
push esi
call fcn.005fad50
add esp, 8
test eax, eax
je 0x40fd56
mov byte [eax], 0
push esi
call fcn.005f9da1
add esp, 4
test eax, eax
je 0x40fd66
mov dword [ebp], eax
pop esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x78]
pop edi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.005f85e7
add esp, 0x70
ret

Function at 0x40fd90
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebp
push esi
push edi
push 0x6513c0
xor edi, edi
call fcn.00445b00
mov ebp, dword [esp + 0x1c]
mov esi, eax
add esp, 4
test esi, esi
je 0x40fdea
push ebx
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40fdde
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push ebp
push edi
push edi
push 0x1c
push edi
call ebx
test eax, eax
jne 0x40fdd8
lea edi, [eax + 1]
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
test edi, edi
jne 0x40fe39
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40fe39
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push ebp
push eax
push eax
push str.Local_AppData
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fe2e
lea edi, [eax + 1]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x410060
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push edi
push str.IEXPLORE
add ecx, 4
call fcn.0040deb0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000001
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410134
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.DownloadUI
push eax
mov dword [esp + 0x28], 0x104
call ebx
test eax, eax
jne 0x41010e
test edi, edi
je 0x410129
mov ecx, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x14]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410105
test dl, dl
je 0x410101
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410105
add eax, 2
add ecx, 2
test dl, dl
jne 0x4100e5
xor eax, eax
jmp 0x41010a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410129
mov ecx, dword [esp + 0xc]
push 0x27
push str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
push 1
push 0
push str.DownloadUI
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
call esi
test eax, eax
jne 0x4101d4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push str.DownloadUI
push eax
mov dword [esp + 0x28], 0x104
call ebx
test eax, eax
jne 0x4101ae
test edi, edi
je 0x4101c9
mov ecx, str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
lea eax, [esp + 0x14]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4101a5
test dl, dl
je 0x4101a1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4101a5
add eax, 2
add ecx, 2
test dl, dl
jne 0x410185
xor eax, eax
jmp 0x4101aa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4101c9
mov ecx, dword [esp + 0xc]
push 0x27
push str.7D11E719_FF90_479C_B0D7_96EB43EE55D7
push 1
push 0
push str.DownloadUI
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005f85e7
add esp, 0x110
ret
Function at 0x4102e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x108], eax
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragemicrosoft.microsoftedge_8wekyb3d8bbweMicrosoftEdgeExtensionsStoredatastoreConfig
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410377
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push esi
push edi
xor edi, edi
mov edi, edi
mov edx, dword [esp + 0xc]
push 0x104
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x410350
push 0x15
lea eax, [esp + 0x14]
push str.IDMIntegrationModule_
push eax
call fcn.005ffd4c
add esp, 0xc
test eax, eax
je 0x410357
inc edi
test esi, esi
je 0x410320
jmp 0x410369
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.004102a0
add esp, 8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.005f85e7
add esp, 0x10c
ret

Function at 0x4103d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x70f604]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push str.bShInstEdgeExtTip
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret

Function at 0x4104b0
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
cmp dword [0x70f5f8], 0
je 0x4105a5
push esi
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS_1.3Client
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4105a4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.Enabled
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410515
cmp dword [esp + 0xc], 1
jne 0x410515
lea esi, [eax + 1]
mov ecx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
test esi, esi
je 0x4105a3
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS_1.3
push 0x80000002
call esi
test eax, eax
jne 0x4105a3
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.Client
push eax
call ebx
mov ecx, dword [esp + 0xc]
push ecx
call edi
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocols
push 0x80000002
call esi
test eax, eax
jne 0x4105a2
mov eax, dword [esp + 0xc]
push str.TLS_1.3
push eax
call ebx
mov ecx, dword [esp + 0xc]
push ecx
call edi
pop ebx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4105b0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 8
push esi
push edi
call fcn.00445c40
neg eax
sbb eax, eax
and eax, 0x100
lea ecx, [esp + 8]
push ecx
add eax, 0xf003f
push eax
push 0
push str.SYSTEMCurrentControlSetServicesIDMTDI
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x410616
mov eax, dword [esp + 8]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push 0x651768
push eax
mov dword [esp + 0x24], 1
call esi
mov ecx, dword [esp + 8]
push ecx
call edi
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0xf003f
push 0
push 0x64f8bc
push 0
push 0x64ed98
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x410667
mov ecx, dword [esp + 8]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.AdvIntDriverEnabled2
push ecx
mov dword [esp + 0x24], 1
call esi
mov edx, dword [esp + 8]
push edx
call edi
pop edi
pop esi
add esp, 8
ret

Function at 0x410670
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0xa4
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, dword [esp + 0xac]
push esi
push edi
lea eax, [esp + 0x18]
push eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4106d2
cmp dword [esp + 0x28], 2
jne 0x4106d2
cmp dword [esp + 0x1c], 6
jb 0x4106da
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov esi, 1
push str..IDMWFP
jmp 0x4106ee
mov eax, dword [edi + 0x1c]
jmp 0x410798
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..IDMTDI
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x410710
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 1
mov eax, 1
jmp 0x410798
mov dword [ebx], 0
test esi, esi
je 0x41072d
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesIDMWFP
jmp 0x41073e
lea edx, [esp + 0xc]
push edx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesIDMTDI
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410796
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x651768
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41078b
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x41078b
cmp eax, 2
je 0x41078b
mov dword [ebx], 1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005f85e7
add esp, 0xa4
ret 4
Function at 0x410a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x61b488
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x21c]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
mov dword [edi], eax
test eax, eax
jne 0x410c00
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x410c00
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.NoExplorer
mov edx, dword [ebp - 0x18]
push edx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call ebx
test eax, eax
jne 0x410c00
cmp dword [ebp - 0x1c], 1
jne 0x410c00
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00445c40
test eax, eax
je 0x410bc5
lea edx, [ebp - 0x14]
push edx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
call esi
mov dword [edi], eax
test eax, eax
jne 0x410c00
lea eax, [ebp - 0x18]
push eax
push 0x20119
push 0
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
mov ecx, dword [ebp - 0x14]
push ecx
call esi
test eax, eax
jne 0x410c00
mov dword [ebp - 0x20], 4
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.NoExplorer
mov ecx, dword [ebp - 0x18]
push ecx
call ebx
test eax, eax
jne 0x410c00
cmp dword [ebp - 0x1c], 1
jne 0x410c00
mov edx, dword [ebp - 0x18]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov eax, dword [ebp - 0x14]
push eax
call esi
mov eax, 1
jmp 0x410c02
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x214
mov esp, ebp
pop ebp
ret

Function at 0x410ed0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x70f604]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
push str.intAOFRWE
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410f0d
cmp dword [esp + 4], eax
je 0x410f0d
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x411380
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b510
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x411413
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411419
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411690
Capabilities:
Shutdown system
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x61b53b
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
cmp dword [esp + 0x118], 0
je 0x4116f6
push 0
lea ecx, [esp + 0x1c]
call fcn.0050b100
mov dword [esp + 0x110], 0
lea ecx, [esp + 0x18]
call fcn.005d199e
mov dword [esp + 0x110], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0040ffd0
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x411748
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x411840
Capabilities:
Create process on windows
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61b59b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0xc]
call fcn.004e5c60
mov dword [esp + 0x14c], 0
lea ecx, [esp + 8]
call fcn.005d199e
mov ecx, dword [0x70f604]
push 4
lea eax, [esp + 8]
push eax
push 4
push 0
push str.bShInstEdgeExtTip
push ecx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call fcn.004102e0
push 0
push 0
push 0
push str.ms_windows_store:__review__PFNTonecInc.IDMIntegrationModule_e7b5mm5d3r6v2
push 0x64ed4c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esp + 0x14c], 0xffffffff
lea ecx, [esp + 8]
call fcn.00410410
mov eax, 1
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14c
ret
Function at 0x4122b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x61b6db
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x48c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x49c]
lea ecx, [esp + 0x280]
push ecx
mov dword [esp + 0x24], eax
call fcn.005516b0
add esp, 4
test eax, eax
je 0x4124b6
xor ebx, ebx
lea eax, [esp + 0x280]
mov byte [esp + 0x17], bl
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412320
sub eax, edx
xor edx, edx
sar eax, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x28], dx
mov dword [esp + 0x494], ebx
cmp word [esp + eax*2 + 0x27e], 0x5c
lea edi, [esp + eax*2 + 0x27e]
mov eax, 0x64fbb8
je 0x412361
mov eax, 0x64f8c0
push ebx
push eax
lea eax, [esp + 0x288]
push eax
push str._s_sMozillaFirefoxProfiles
lea ecx, [esp + 0x34]
call fcn.00402300
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x412385
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp esi, 0xffffffff
je 0x4124a2
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ebx, [ebx]
mov ecx, 0x651d74
lea eax, [esp + 0x5c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4123e6
cmp dx, bx
je 0x4123e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4123e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4123c0
xor eax, eax
jmp 0x4123eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x412485
mov ecx, 0x651d6c
lea eax, [esp + 0x5c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x412426
cmp dx, bx
je 0x412422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412426
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x412400
xor eax, eax
jmp 0x41242b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x412485
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x412485
cmp word [edi], 0x5c
mov eax, 0x64fbb8
je 0x412453
mov eax, 0x64f8c0
push ebx
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x28c]
push edx
push str._s_sMozillaFirefoxProfiles_s_
call fcn.00411bf0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x17], 1
lea edx, [esp + 0x30]
push edx
push esi
call ebp
test eax, eax
jne 0x4123b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x17], bl
jne 0x4124ba
mov dword [esp + 0x494], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004011f0
xor eax, eax
jmp 0x4124d3
mov dword [esp + 0x494], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004011f0
mov eax, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.005f85e7
add esp, 0x484
ret
Function at 0x412500
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x61b720
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ebx
mov word [esp + 0xc], ax
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 8]
push ecx
call fcn.004122b0
add esp, 4
test eax, eax
je 0x4125db
xor edx, edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], dx
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x412579
lea eax, [esp + 0xc]
push ebx
push eax
push str._sextensionsmozilla_cc3_internetdownloadmanager.com.xpi
lea ecx, [esp + 0x20]
call fcn.00402190
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x412595
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4125ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4125ce
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x14]
call fcn.004011f0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 8]
call fcn.004011f0
xor eax, eax
jmp 0x4125f1
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x14]
call fcn.004011f0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 8]
call fcn.004011f0
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005f85e7
add esp, 0x28
ret