joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41207e
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x27c
mov eax, 0x452eec
call fcn.0042da3e
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.0042fef0
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]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x41210c
lea eax, [ebp - 0x218]
push eax
call fcn.004117e1
pop ecx
test eax, eax
je 0x41210c
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00410093
push esi
lea ecx, [ebp - 0x278]
call fcn.0040fc7d
and dword [ebp - 4], 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x278]
call fcn.00412598
push 0x4554f0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.0040fecd
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x41214c
mov esi, dword [esi]
push esi
mov dword [ebp - 0x27c], esi
call edi
test eax, eax
je 0x412172
push esi
call fcn.004117e1
pop ecx
test eax, eax
je 0x412172
lea eax, [ebp - 0x27c]
mov ecx, ebx
push eax
call fcn.00410068
lea eax, [ebp - 0x288]
push eax
call fcn.00412258
pop ecx
mov esi, dword [ebp - 0x288]
mov byte [ebp - 4], 2
jmp 0x41221d
push esi
lea ecx, [ebp - 0x248]
call fcn.0040c9e0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x248]
call fcn.00412598
push 0x4554f0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.0040fecd
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x4121ce
mov edi, dword [edi]
push edi
mov dword [ebp - 0x27c], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4121f8
push edi
call fcn.004117e1
pop ecx
test eax, eax
je 0x4121f8
lea eax, [ebp - 0x27c]
mov ecx, ebx
push eax
call fcn.00410068
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00409fb0
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.00409fb0
add esi, 0x18
cmp esi, dword [ebp - 0x284]
jne 0x41218e
lea ecx, [ebp - 0x288]
call fcn.0041502d
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.00409fb0
push 0
push 1
lea ecx, [ebp - 0x278]
call fcn.00409fb0
call fcn.0042d9e8
ret
Function at 0x412258
Capabilities:
Enumerate processes

Disassembly:
push 0x464
mov eax, 0x452f2a
call fcn.0042da3e
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x464], esi
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x45c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x450], esi
push esi
push 2
mov byte [ebp - 4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x412442
push 0x228
lea eax, [ebp - 0x440]
push esi
push eax
call fcn.0042fef0
add esp, 0xc
mov dword [ebp - 0x444], 0x22c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x44c], esi
call fcn.0042fef0
add esp, 0xc
lea eax, [ebp - 0x444]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41243b
mov edi, dword [ebp - 0x458]
cmp dword [ebp - 0x43c], esi
jne 0x412387
push esi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x448], eax
test eax, eax
je 0x4123e2
push 0x463168
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004366d2
add esp, 0xc
mov dword [ebp - 0x468], 0x104
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x41239e
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x444]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x412314
jmp 0x4123eb
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x464]
call fcn.00410093
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x458]
call fcn.0041003c
mov esi, dword [ebp - 0x42c]
push dword [ebp - 0x448]
mov dword [ebp - 0x44c], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x458]
jmp 0x4123eb
or esi, 0xffffffff
mov dword [ebp - 0x44c], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x412435
cmp esi, 0xffffffff
je 0x412435
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x412435
mov ecx, dword [ebp - 0x454]
mov eax, edi
cmp edi, ecx
je 0x412420
cmp dword [eax], esi
je 0x41241c
add eax, 4
cmp eax, ecx
jne 0x412411
cmp eax, ecx
jne 0x412435
lea eax, [ebp - 0x444]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x412314
mov edi, dword [ebp - 0x46c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x464]
mov ecx, edi
push eax
call fcn.004101a1
lea ecx, [ebp - 0x458]
call fcn.00411efa
lea ecx, [ebp - 0x464]
call fcn.0041502d
mov eax, edi
call fcn.0042d9e8
ret
Function at 0x412ad5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
push 0x466ca0
call fcn.0042db50
mov dword [ebp - 0x28], ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x412af8
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x412cb7
test dword [ebp + 0x18], 1
jne 0x412b36
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
cmp dword [ebp + 0x1c], ebx
je 0x412b25
push dword [ebp + 8]
call fcn.00413245
jmp 0x412cb7
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x412cb7
test edi, edi
jne 0x412b47
cmp dword [ebp + 0xc], ebx
jne 0x412b47
push 0x57
pop eax
jmp 0x412cb7
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp + 8]
call fcn.00413086
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x412b64
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
test eax, eax
jne 0x412cb7
test edi, edi
je 0x412cb7
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x20]
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
test ecx, eax
je 0x412bde
cmp edx, ecx
sbb eax, eax
and eax, ecx
cmp eax, 0x400
ja 0x412bba
cmp edx, ecx
sbb eax, eax
and eax, ecx
call fcn.0042dbb0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x34], esi
test esi, esi
je 0x412be0
mov dword [esi], 0xcccc
add esi, 8
mov dword [ebp - 0x34], esi
jmp 0x412be0
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.00435775
pop ecx
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x412be0
mov dword [esi], 0xdddd
add esi, 8
mov dword [ebp - 0x38], esi
jmp 0x412be0
mov esi, ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x412c16
test esi, esi
jne 0x412c21
push 0xe
jmp 0x412b41
push dword [ebp - 0x20]
push ebx
push esi
call fcn.0042fef0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp + 8]
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
call fcn.00413086
mov ecx, eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x412c58
push esi
call fcn.004136c4
mov eax, dword [ebp - 0x28]
jmp 0x412cb6
cmp dword [ebp + 0x1c], 0
je 0x412c82
cmp dword [ebp - 0x24], 1
je 0x412c6a
cmp dword [ebp - 0x24], 7
jne 0x412c82
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
push edi
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.004133d4
mov ebx, eax
jmp 0x412cae
cmp dword [ebp + 0x10], 0
je 0x412ca6
mov eax, dword [edi]
cmp dword [ebp - 0x20], eax
jbe 0x412c96
mov ebx, 0xea
jmp 0x412ca9
push dword [ebp - 0x20]
push esi
push eax
push dword [ebp + 0x10]
call fcn.00428ad8
add esp, 0x10
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [edi], eax
push esi
call fcn.004136c4
mov eax, ebx
pop ecx
lea esp, [ebp - 0x48]
call fcn.0042db99
ret 0x18
Function at 0x412cc2
Capabilities:
Check if file exists

Disassembly:
push 0x664
mov eax, 0x452ff6
call fcn.0042da3e
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x668], eax
test eax, eax
je 0x412f42
xor ecx, ecx
cmp cx, word [eax]
je 0x412f42
lea edi, [esi + 8]
push edi
mov dword [ebp - 0x670], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
inc ebx
mov byte [ebp - 0x66c], bl
and dword [ebp - 4], 0
cmp dword [esi + 4], 0
jne 0x412f06
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0042fef0
push 0x10
lea eax, [ebp - 0x664]
mov dword [ebp - 0x660], ebx
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x664], 0x208
push eax
lea eax, [ebp - 0x660]
push eax
push str.Install_Dir
push str.SOFTWAREMcAfeePlatform
push 0x80000002
call fcn.004128bb
add esp, 0x28
test eax, eax
jne 0x412d8c
cmp dword [ebp - 0x660], ebx
jne 0x412d8c
push str.core_vtploader_x86.dll
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00436370
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x65c], 2
test eax, eax
jne 0x412e9f
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0042fef0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x412e9f
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0042fef0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x640]
call fcn.0040fc7d
push str._vtploader_x86.dll
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], bl
call fcn.0040fc7d
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 2
call fcn.00413595
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x640]
call fcn.0040ff0b
push 0
push ebx
lea ecx, [ebp - 0x658]
call fcn.00409fb0
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004366d2
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x640]
push 0
push ebx
call fcn.00409fb0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412f21
push 0x46cc10
push dword [0x455508]
lea eax, [ebp - 0x218]
push section..data
push 0x46b01c
push dword [0x45550c]
push eax
call fcn.00411559
add esp, 0x18
test eax, eax
je 0x412f00
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x412f00
push str.ValidateModule
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
je 0x412f26
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x668]
xor bl, bl
mov byte [ebp - 0x66c], bl
call dword [esi + 4]
pop ecx
jmp 0x412f29
push 2
pop eax
jmp 0x412f2f
push 5
pop eax
mov dword [ebp - 0x65c], eax
test bl, bl
je 0x412f45
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x65c]
jmp 0x412f45
push 0x57
pop eax
call fcn.0042d9e8
ret 4
Function at 0x413086
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
push 0x466cc0
call fcn.0042db50
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41309f
and dword [ecx], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0x1f4
and dword [ebp - 0x20], 0
and dword [ebp - 4], 0
mov eax, 0x1fc
call fcn.0042dbb0
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4130d4
mov dword [eax], 0xcccc
add eax, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
jmp 0x4130f4
push 0xfffffffffffffffe
pop edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x20], 0
jne 0x413108
push 0xe
pop eax
jmp 0x41323a
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, 0xea
jne 0x4131fa
push dword [ebp - 0x20]
call fcn.004136c4
pop ecx
and dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x28]
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
test ecx, eax
je 0x4131a7
cmp edx, ecx
sbb eax, eax
and eax, ecx
cmp eax, 0x400
ja 0x413185
cmp edx, ecx
sbb eax, eax
and eax, ecx
call fcn.0042dbb0
mov dword [ebp - 0x18], esp
mov eax, esp
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4131a9
mov dword [eax], 0xcccc
add eax, 8
mov dword [ebp - 0x34], eax
jmp 0x4131a9
cmp edx, ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.00435775
pop ecx
mov dword [ebp - 0x38], eax
test eax, eax
je 0x4131a9
mov dword [eax], 0xdddd
add eax, 8
mov dword [ebp - 0x38], eax
jmp 0x4131a9
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], edi
jmp 0x4131d3
cmp dword [ebp - 0x20], 0
je 0x413100
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x41322f
cmp dword [ebp - 0x24], 3
je 0x413209
push 0xd
pop esi
jmp 0x41322f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call fcn.0041343b
add esp, 0x14
mov esi, eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41322f
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
push dword [ebp - 0x20]
call fcn.004136c4
pop ecx
mov eax, esi
lea esp, [ebp - 0x48]
call fcn.0042db99
ret 0x10
Function at 0x413245
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24
push 0x466ce8
call fcn.0042db50
mov dword [ebp - 0x28], ecx
xor esi, esi
inc esi
mov dword [ebp - 0x24], esi
xor edi, edi
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x41326b
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp + 8]
mov eax, ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x41328d
mov ecx, dword [ebp - 0x24]
mov dword [edx], ecx
cmp dword [ebp - 0x24], esi
je 0x41329c
cmp dword [ebp - 0x24], 7
jne 0x4133c9
test ebx, ebx
je 0x4133c9
cmp dword [ebx], edi
je 0x4133c9
test eax, eax
je 0x4132bb
cmp eax, 0xea
jne 0x4133c9
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
mov dword [ebx], ecx
cmp dword [ebp + 0x10], edi
je 0x4132d7
push ecx
push edi
push dword [ebp + 0x10]
call fcn.0042fef0
add esp, 0xc
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0x20]
lea ecx, [edx + 8]
cmp edx, ecx
sbb eax, eax
test ecx, eax
je 0x413342
cmp edx, ecx
sbb eax, eax
and eax, ecx
cmp eax, 0x400
ja 0x41331d
cmp edx, ecx
sbb eax, eax
and eax, ecx
call fcn.0042dbb0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x30], esi
test esi, esi
je 0x413344
mov dword [esi], 0xcccc
add esi, 8
mov dword [ebp - 0x30], esi
jmp 0x413344
cmp dword [ebp - 0x20], ecx
sbb eax, eax
and eax, ecx
push eax
call fcn.00435775
pop ecx
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x413344
mov dword [esi], 0xdddd
add esi, 8
mov dword [ebp - 0x34], esi
jmp 0x413344
mov esi, edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x41337a
test esi, esi
jne 0x413383
push 0xe
pop eax
jmp 0x4133c9
push dword [ebp - 0x20]
push edi
push esi
call fcn.0042fef0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp + 8]
mov eax, dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x4133c0
push ebx
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.004133d4
mov edi, eax
push esi
call fcn.004136c4
pop ecx
mov eax, edi
lea esp, [ebp - 0x44]
call fcn.0042db99
ret 0x10
Function at 0x413d6b
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x45311f
call fcn.0042da3e
mov ebx, ecx
mov dword [ebp - 0x220], ebx
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x18]
xor edi, edi
mov dword [ebp - 0x224], ebx
mov dword [ebx], edi
mov ecx, esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], esi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.00414c64
mov dword [esi], eax
lea esi, [ebx + 0x24]
mov dword [ebx + 0x20], edi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], edi
jb 0x413dd8
mov eax, dword [esi]
jmp 0x413dda
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
test eax, eax
je 0x413df7
push eax
mov ecx, esi
call fcn.004092c0
jmp 0x413e65
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0042fef0
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]
cmp word [ebp - 0x218], 0
je 0x413e56
lea eax, [ebp - 0x218]
push eax
call fcn.00436935
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004091c0
mov eax, ebx
call fcn.0042d9e8
ret 4
Function at 0x414ad7
Capabilities:
Check if file exists
Copy file
Create directory
Move file

Disassembly:
push 0x234
mov eax, 0x453264
call fcn.0042da3e
mov edi, ecx
mov dword [ebp - 0x220], edi
mov eax, dword [ebp + 8]
lea esi, [edi + 0x14]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], esi
test esi, esi
je 0x414b0b
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
add edi, 0x24
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x14], 8
jb 0x414b1d
mov eax, dword [edi]
jmp 0x414b1f
mov eax, edi
push 1
push eax
lea ecx, [ebp - 0x240]
call fcn.00413e6f
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0042fef0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x414b4c
mov eax, dword [edi]
jmp 0x414b4e
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00403e20
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 - 0x21c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x414c14
cmp dword [edi + 0x14], 8
jb 0x414bb0
mov eax, dword [edi]
jmp 0x414bb2
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414bde
cmp dword [edi + 0x14], 8
jb 0x414bc7
mov eax, dword [edi]
jmp 0x414bc9
mov eax, edi
push ebx
push ebx
push 2
push ebx
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
jmp 0x414bf8
cmp dword [edi + 0x14], 8
jb 0x414be8
mov eax, dword [edi]
jmp 0x414bea
mov eax, edi
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x414c34
cmp dword [edi + 0x14], 8
jb 0x414c04
mov edi, dword [edi]
push 4
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x240]
call fcn.00413fee
test esi, esi
je 0x414c2a
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, ebx
call fcn.0042d9e8
ret 4
lea ecx, [ebp - 0x240]
call fcn.00413fee
push str.67136527_5D6B_4AC9_865B_3E392E982420
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [ebp - 0x220]
call fcn.004144d9
mov ecx, dword [ebp - 0x220]
call fcn.00414733
mov ebx, eax
jmp 0x414c1f
Function at 0x414ce7
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x4538e4
call fcn.0042da3e
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x414dee
cmp byte [ebx + 0x3e], 0
je 0x414dee
mov eax, dword [ebx]
mov esi, 0xffff
push esi
call dword [eax + 0xc]
movzx eax, ax
cmp si, ax
sete al
test al, al
je 0x414d28
xor al, al
jmp 0x414df0
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004150b4
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x414d86
sub eax, 1
je 0x414d8a
dec eax
sub eax, 1
je 0x414ddc
xor bl, bl
jmp 0x414dde
mov byte [ebx + 0x3e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x414dc2
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004380bf
add esp, 0x10
cmp esi, eax
jne 0x414d82
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x414ddc
test esi, esi
jne 0x414d4c
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00407a10
jmp 0x414d46
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040b5b0
mov al, bl
jmp 0x414df0
mov al, 1
call fcn.0042d9e8
ret
Function at 0x4162b8
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x4a8
mov eax, 0x45339f
call fcn.0042da3e
mov edi, ecx
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x10], esi
jne 0x4162da
xor eax, eax
jmp 0x41646b
lea ecx, [ebp - 0x2a4]
push 3
mov dword [ebp - 0x2a8], ecx
lea ecx, [ebp - 0x2a8]
push eax
call fcn.00416151
mov ebx, 0x104
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0042fef0
push ebx
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0042fef0
add esp, 0x18
push dword [ebp - 0x2a8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.00416218
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.00416218
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0x455aa4
push ebx
lea eax, [ebp - 0x114]
push eax
call fcn.00403f60
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
push 0x4164bc
push 0x4164a1
push 0x4164c5
push 0x4164b3
push 0x4164aa
push fcn.004164d7
push 0x4164ce
call dword [edi + 4]
mov ebx, eax
add esp, 0x24
test ebx, ebx
je 0x41644f
push 0x108
lea eax, [ebp - 0x4b4]
push esi
push eax
call fcn.0042fef0
lea eax, [ebp - 0x4b4]
push eax
push esi
push 0x4164dc
push esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [edi + 8]
push ebx
call dword [edi + 0xc]
add esp, 0x2c
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41644f
cmp dword [ebp - 0x4b4], 0
je 0x416442
lea eax, [ebp - 0x3a8]
mov dword [ebp - 0x3ac], eax
lea ecx, [ebp - 0x3ac]
push 3
lea eax, [ebp - 0x4b0]
push eax
call fcn.00416097
push dword [ebp - 0x3ac]
mov byte [ebp - 4], 1
call fcn.00410ec8
mov esi, eax
lea eax, [ebp - 0x3a8]
pop ecx
cmp dword [ebp - 0x3ac], eax
je 0x416442
push dword [ebp - 0x3ac]
call fcn.004353e2
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 0x416469
push dword [ebp - 0x2a8]
call fcn.004353e2
pop ecx
mov eax, esi
call fcn.0042d9e8
ret 4
Function at 0x446924
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004465e3

Function at 0x44692f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00446766

Function at 0x44bb85
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044b81f