joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dbbd0
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65327d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.005cf260
push 3
push 0x67c3bc
lea ecx, [esi + 0x18]
call fcn.0042e850
push 0xc
push str.DEFAULT_PROD
mov ecx, esi
call fcn.0042e850
push 0x206
push str.resolution_chassis_type_screen_size_proc_nums_proc_type_proc_level_bios_serial_num_bios_ver_machine_name_locale_dev_type_is_tablet_os_os_major_ver_os_minor_ver_os_build_num_service_pack_svc_pack_ver_avl_physical_mem_physical_mem_total_hd_space_free_hd_space_battery_status_battery_level_fips_code_browser_detail_default_browser_package_id_hw_id_sw_id_ip_address_mac_address_v2_pc_system_type_oem_manufacturer_oem_model_is_cdma_utcdiff_seconds_timezone_mcc_mnc_os_telco_activated_protection_status_anti_malware_provider
lea ecx, [esi + 0xb0]
mov dword [esi + 0x30], 0x2328
mov dword [esi + 0x34], 0x1c20
mov dword [esi + 0x38], 0x12c
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0x578
mov dword [esi + 0x44], 0x1c20
mov dword [esi + 0x48], 0x3840
mov dword [esi + 0x6c], 0x15180
mov dword [esi + 0x70], 0x3f480
mov dword [esi + 0x50], 0x708
mov dword [esi + 0x54], 0x708
mov dword [esi + 0x58], 0x1000001
mov word [esi + 0x5c], 0x101
mov byte [esi + 0x5e], 0
mov dword [esi + 0x60], 2
mov dword [esi + 0x64], 0x12c
mov dword [esi + 0x68], 0xa
mov dword [esi + 0x74], 0x12c
mov word [esi + 0xa8], 0
call fcn.0042e850
push 6
push str.30_5_1
lea ecx, [esi + 0xfc]
mov dword [esi + 0xac], 3
mov dword [esi + 0xc8], 0x1e
mov dword [esi + 0xcc], 0x1e
mov dword [esi + 0xd0], 0x1e
mov dword [esi + 0xd4], 0x15180
mov dword [esi + 0xd8], 0x1e
mov dword [esi + 0xdc], 0x15180
mov dword [esi + 0xe0], 0x384
mov dword [esi + 0xe4], 0x32
mov dword [esi + 0xe8], 5
mov dword [esi + 0xec], 0x64
mov dword [esi + 0xf0], 0x1e
mov dword [esi + 0xf4], 5
mov dword [esi + 0xf8], 5
call fcn.0042e850
push 0x11
push str.300_600_1200_7200
lea ecx, [esi + 0x114]
call fcn.0042e850
push 3
push 0x67c82c
lea ecx, [esi + 0x134]
mov word [esi + 0x12c], 0x100
mov dword [esi + 0x130], 4
call fcn.0042e850
push 9
push str.default2
lea ecx, [esi + 0x1b0]
mov word [esi + 0x14c], 0x100
mov byte [esi + 0x198], 1
mov word [esi + 0x1a4], 1
mov dword [esi + 0x1a0], 0x100000
mov dword [esi + 0x19c], 0x100000
mov dword [esi + 0x1a8], 0x3e8
mov byte [esi + 0x1ac], 1
call fcn.0042e850
push 0x22
push str.binary0_named0_error5_default2
lea ecx, [esi + 0x1c8]
call fcn.0042e850
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0x1e0], 0x15180
cmp edx, 8
jb 0x5dbe30
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5dbe26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dbe40
push edx
push ecx
call fcn.00608415
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0060e0d0
int3
Function at 0x5dcc10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6534a2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x30], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov dword [edi + 0x48], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
mov dword [edi + 0x60], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 7
mov word [edi + 0x60], ax
mov dword [edi + 0x78], eax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [edi + 0x90], eax
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], 7
mov word [edi + 0x90], ax
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 6
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0060862c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5ed590
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65516d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 4]
push ebx
push 0x69436c
push 1
push 0
push 0x6822cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x5ed62c
call fcn.004ca6f0
push esi
push str.Failed_to_create_WMI_locator_object._HRESULT__x
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0xe6
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::InitializeWMI
push 4
push 0
push 1
push eax
call fcn.004cac10
add esp, 0x38
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.0045d520
mov ecx, dword [ebx]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov ebx, dword [eax + 0xc]
test esi, esi
je 0x5ed652
mov eax, dword [esi]
jmp 0x5ed654
xor eax, eax
push edi
push 0
push 0
push 0x80
push 0
push 0
push 0
push eax
push ecx
mov ecx, ebx
call dword [0x659730]
call ebx
mov ebx, eax
test ebx, ebx
jns 0x5ed6c7
call fcn.004ca6f0
test esi, esi
je 0x5ed683
mov ecx, dword [esi]
jmp 0x5ed685
xor ecx, ecx
push ebx
push ecx
push str.Failed_to_connect_to_WMI_server_to_namespace__s._HRESULT__x
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0xee
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::InitializeWMI
push 4
push 0
push 1
push eax
call fcn.004cac10
add esp, 0x3c
xor bl, bl
jmp 0x5ed72b
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jns 0x5ed729
call fcn.004ca6f0
push esi
push str.Failed_to_setProxyBlanket_for_WMI_service_object._HRESULT__x
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0x68d90c
push 0xf4
push str.E:BTd43d8306_eb5d_4cf4_b392_556e569c404aMCSP_DBSplit_2_6McCSPService_srcMcHardwareId.cpp
push str.McAfee::MCSP::CMcHardwareId::InitializeWMI
push 4
push 0
push 1
push eax
call fcn.004cac10
add esp, 0x38
xor bl, bl
jmp 0x5ed72b
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.0045d5d0
mov al, bl
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 0x5ee305
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5ee36a
xor eax, eax
cmp ax, word [esi]
je 0x5ee36a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5ee326
push 2
jmp 0x5ee36c
push 0
call fcn.005ede50
pop ecx
push esi
mov ecx, eax
call fcn.005f0f71
test eax, eax
je 0x5ee366
push 0x6e1cbc
push dword [0x67fdcc]
push 0x6d32d8
push 0x6d32fc
push dword [0x67fdd0]
push esi
call fcn.005efaeb
add esp, 0x18
test eax, eax
jne 0x5ee366
push 5
jmp 0x5ee36c
xor eax, eax
jmp 0x5ee36d
push 0x57
pop eax
pop esi
pop ebp
ret

Function at 0x5f0056
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push 0x5f0400
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x5f0098
push esi
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
jne 0x5f0098
xor eax, eax
inc eax
jmp 0x5f009a
xor eax, eax
pop edi
leave
ret
Function at 0x5f0450
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x27c
mov eax, 0x655552
call fcn.006096cc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.0060a8e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push str.Program_FilesCommon_FilesMcAfeePlatformCore_trusted.js
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5f04f3
lea eax, [ebp - 0x218]
push eax
call fcn.005efd65
pop ecx
test eax, eax
je 0x5f04f3
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x5f04e4
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.005ee3f8
jmp 0x5f04f3
lea ecx, [ebp - 0x218]
push ecx
push eax
mov ecx, edi
call fcn.005ee5b2
mov byte [ebp - 0x27c], bl
lea eax, [ebp + 0xc]
push dword [ebp - 0x27c]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.005ee3a5
add esp, 0xc
lea eax, [ebp - 0x260]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x278]
call fcn.005f0970
push 0x67fd00
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.005ee726
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x5f0545
mov esi, dword [esi]
push esi
mov dword [ebp - 0x27c], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5f0588
push esi
call fcn.005efd65
pop ecx
test eax, eax
je 0x5f0588
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x5f0579
lea eax, [ebp - 0x27c]
mov ecx, edi
push eax
call fcn.005ee3ce
jmp 0x5f0588
lea ecx, [ebp - 0x27c]
push ecx
push eax
mov ecx, edi
call fcn.005ee4c2
lea eax, [ebp - 0x288]
push eax
call fcn.005f068c
pop ecx
mov esi, dword [ebp - 0x288]
mov byte [ebp - 4], 2
jmp 0x5f0659
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.0042b170
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x230]
call fcn.005f0970
push 0x67fd00
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 4
call fcn.005ee726
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x5f05f6
mov ebx, dword [ebx]
push ebx
mov dword [ebp - 0x27c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5f0639
push ebx
call fcn.005efd65
pop ecx
test eax, eax
je 0x5f0639
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x5f062a
lea eax, [ebp - 0x27c]
mov ecx, edi
push eax
call fcn.005ee3ce
jmp 0x5f0639
lea ecx, [ebp - 0x27c]
push ecx
push eax
mov ecx, edi
call fcn.005ee4c2
lea ecx, [ebp - 0x248]
call fcn.0042f900
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.0042f900
push 0
add esi, 0x18
pop ebx
cmp esi, dword [ebp - 0x284]
jne 0x5f05a4
lea ecx, [ebp - 0x288]
call fcn.005f025b
lea ecx, [ebp - 0x260]
call fcn.0042f900
lea ecx, [ebp - 0x278]
call fcn.0042f900
call fcn.0060968a
ret
Function at 0x5f09a6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x22c], ebx
call fcn.0060a8e0
and dword [ebp - 0x210], 0
add esp, 0xc
mov dword [ebp - 0x218], str.McLocalServer32
mov edi, str.InprocServer32
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x214], str.LocalServer32
test ebx, ebx
je 0x5f0b96
cmp dword [ebp + 0x10], 0
jle 0x5f0b96
test esi, esi
je 0x5f0b92
xor eax, eax
cmp ax, word [esi]
je 0x5f0b92
and dword [ebp - 0x220], eax
mov word [ebx], ax
xor ebx, ebx
push str.CLSID_
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.005f0c31
push 0x7b
pop eax
cmp ax, word [esi]
je 0x5f0a68
push 0x660ab8
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004ace00
and dword [ebp - 0x224], 0
lea eax, [ebp - 0x224]
push eax
push 0x104
push esi
call fcn.005f0c70
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004ace00
mov eax, dword [ebp - 0x224]
push 0x7d
pop ecx
cmp cx, word [esi + eax*2 - 2]
je 0x5f0ab9
push 0x6906a4
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004ace00
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004ace00
lea eax, [ebp - 0x220]
xor edi, edi
push eax
push 1
push edi
lea eax, [ebp - 0x20c]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5f0afd
mov edi, dword [ebp + ebx*4 - 0x218]
inc ebx
test edi, edi
jne 0x5f0a34
cmp dword [ebp - 0x220], 0
mov ebx, dword [ebp - 0x22c]
jne 0x5f0b16
mov eax, 0x3f3
jmp 0x5f0b99
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push ebx
push edi
push edi
push edi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x228]
push ebx
call fcn.006196a0
pop ecx
pop ecx
cmp eax, 2
jbe 0x5f0b77
push 0x22
pop ecx
cmp word [ebx], cx
jne 0x5f0b77
cmp word [ebx + eax*2 - 2], cx
jne 0x5f0b77
xor ecx, ecx
mov word [ebx + eax*2 - 2], cx
lea ecx, [eax - 2]
test ecx, ecx
je 0x5f0b70
lea esi, [ebx + 2]
mov edi, ebx
rep movsw word es:[edi], word [esi]
xor edi, edi
xor ecx, ecx
mov word [ebx + eax*2 - 4], cx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov eax, 0x3f4
cmp word [ebx], di
cmovne eax, ecx
jmp 0x5f0b99
push 0x57
jmp 0x5f0b98
push 0x7a
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00608185
leave
ret
Function at 0x5f0df5
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
je 0x5f0f1b
cmp dword [ebp + 0xc], 0
je 0x5f0f1b
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x4000
mov edi, eax
call fcn.00608193
mov esi, eax
pop ecx
test esi, esi
jne 0x5f0e32
push 8
jmp 0x5f0f0c
push edi
xor ebx, ebx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x5f0e55
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x5f0f0d
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
push ecx
push 0x4000
push esi
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x5f0e82
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5f0f0d
mov eax, dword [ebp - 8]
mov ecx, ebx
shr eax, 2
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], bl
test eax, eax
je 0x5f0efb
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
push 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
push eax
push dword [esi + ecx*4]
push edi
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
je 0x5f0ec7
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + 8]
jg 0x5f0ec7
mov eax, dword [ebp + 8]
sub eax, ecx
cmp eax, dword [ebp - 0x18]
jl 0x5f0ed5
mov ecx, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 8]
jb 0x5f0e97
jmp 0x5f0efe
mov eax, dword [ebp - 0xc]
push 0x104
push dword [ebp + 0xc]
push dword [esi + eax*4]
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x5f0ef3
mov byte [ebp - 1], 1
jmp 0x5f0efe
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x5f0efe
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 1], bl
jne 0x5f0f0d
push 5
pop ebx
push esi
call fcn.0060819c
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push 0x57
pop eax
leave
ret
Function at 0x5f1763
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x6556a5
call fcn.006096cc
mov edi, ecx
mov dword [ebp - 0x21c], edi
mov ebx, dword [ebp + 8]
lea esi, [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x220], edi
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
push esi
mov dword [ebp - 0x21c], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.005f134c
pop ecx
mov dword [esi], eax
xor ecx, ecx
lea esi, [edi + 0x24]
mov dword [edi + 0x20], ecx
mov dword [ebp - 4], ecx
mov dword [esi], ecx
xor eax, eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
test ebx, ebx
je 0x5f17d4
push ebx
jmp 0x5f1821
push 0x208
push ecx
lea eax, [ebp - 0x218]
push eax
call fcn.0060a8e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push str.Program_FilesCommon_FilesMcAfeePlatformCore_trusted.js
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0042a4b0
mov eax, edi
call fcn.0060968a
ret 4
Function at 0x5f24ce
Capabilities:
Check if file exists
Copy file
Create directory
Move file

Disassembly:
push 0x234
mov eax, 0x6557ec
call fcn.006096cc
mov edi, ecx
mov dword [ebp - 0x21c], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0x14]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], esi
test esi, esi
je 0x5f2502
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
add edi, 0x24
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x5f2514
mov eax, dword [edi]
push 1
push eax
lea ecx, [ebp - 0x240]
call fcn.005f1832
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0060a8e0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x5f2541
mov eax, dword [edi]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.005f0c31
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.trusted.tmp
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x5f260a
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x5f25a3
mov eax, dword [edi]
mov ebx, dword [ebp - 0x21c]
push eax
add ebx, 0x24
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5f25d6
cmp dword [ebx + 0x14], 8
jb 0x5f25bf
mov ebx, dword [ebx]
xor eax, eax
push eax
push eax
push 2
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
jmp 0x5f25ec
cmp dword [ebx + 0x14], 8
jb 0x5f25de
mov ebx, dword [ebx]
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x5f262a
cmp dword [edi + 0x14], 8
jb 0x5f25f8
mov edi, dword [edi]
push 4
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
lea ecx, [ebp - 0x240]
call fcn.005f1909
test esi, esi
je 0x5f2620
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, ebx
call fcn.0060968a
ret 4
lea ecx, [ebp - 0x240]
call fcn.005f1909
push str.67136527_5D6B_4AC9_865B_3E392E982420
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [ebp - 0x21c]
call fcn.005f1c5b
mov ecx, dword [ebp - 0x21c]
call fcn.005f1f22
mov ebx, eax
jmp 0x5f2615
Function at 0x5f2827
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x4ac
mov eax, 0x655831
call fcn.006096cc
mov ebx, ecx
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [ebx + 0x10], edi
jne 0x5f2849
xor eax, eax
jmp 0x5f2a0a
lea ecx, [ebp - 0x2a4]
push 3
mov dword [ebp - 0x2a8], ecx
lea ecx, [ebp - 0x2a8]
push eax
call fcn.005ed420
mov esi, 0x104
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0060a8e0
push esi
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0060a8e0
add esp, 0x18
push dword [ebp - 0x2a8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push esi
lea eax, [ebp - 0x218]
push eax
call fcn.005f0bf4
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.005f0bf4
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x660b00
push esi
lea eax, [ebp - 0x114]
push eax
call fcn.005f0ba8
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
push 0x5f2a59
push 0x5f2a3e
push 0x5f2a62
push 0x5f2a50
push 0x5f2a47
push fcn.0050c150
push 0x4f76f0
mov ecx, esi
call dword [0x659730]
call esi
add esp, 0x24
mov dword [ebp - 0x4b8], eax
test eax, eax
je 0x5f29ee
push 0x108
lea eax, [ebp - 0x4b4]
push edi
push eax
call fcn.0060a8e0
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x4b4]
add esp, 0xc
mov ecx, esi
push eax
push edi
push 0x5f2a6b
push edi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x4b8]
call dword [0x659730]
call esi
mov esi, dword [ebx + 0xc]
add esp, 0x1c
mov ecx, esi
push dword [ebp - 0x4b8]
call dword [0x659730]
call esi
pop ecx
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x5f29ee
cmp dword [ebp - 0x4b4], 0
je 0x5f29e1
lea eax, [ebp - 0x3a8]
mov dword [ebp - 0x3ac], eax
lea ecx, [ebp - 0x3ac]
push 3
lea eax, [ebp - 0x4b0]
push eax
call fcn.00447410
push dword [ebp - 0x3ac]
mov byte [ebp - 4], 1
call fcn.005ef148
mov edi, eax
lea eax, [ebp - 0x3a8]
pop ecx
cmp dword [ebp - 0x3ac], eax
je 0x5f29e1
push dword [ebp - 0x3ac]
call fcn.0060dd99
pop ecx
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x2a4]
cmp dword [ebp - 0x2a8], eax
je 0x5f2a08
push dword [ebp - 0x2a8]
call fcn.0060dd99
pop ecx
mov eax, edi
call fcn.0060968a
ret 4
Function at 0x613f93
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x683114
push esi
call fcn.0062bb42
pop ecx
pop ecx
test eax, eax
jne 0x613fc1
xor al, al
jmp 0x61403e
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.00613cd6
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x613ffb
push dword [ebp - 0x210]
call fcn.0060dd99
xor al, al
jmp 0x61403c
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x614001
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x614021
push edx
call fcn.00613ec9
pop ecx
test al, al
je 0x613fec
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x61402f
mov bl, 1
push dword [ebp - 0x210]
call fcn.0060dd99
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00608185
leave
ret