joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486f90
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov eax, dword [ebx + 0x34]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
test eax, eax
je 0x486fb9
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x54]
mov ecx, ebx
mov edi, 0x57
call eax
test al, al
je 0x48707a
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48707a
xor ecx, ecx
cmp cx, word [eax]
je 0x48707a
mov ecx, ebx
call fcn.00487630
mov edi, eax
test edi, edi
je 0x486ffc
cmp edi, 0xb7
jne 0x48707a
lea eax, [ebp - 4]
mov ecx, ebx
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004879b0
mov esi, dword [ebp - 4]
mov edi, eax
test edi, edi
jne 0x48707a
test esi, esi
jne 0x48702c
lea edi, [eax + 0xe]
jmp 0x48707a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487031
sub ecx, edx
lea eax, [ebp - 0xc]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push esi
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test byte [ebx + 0x44], 1
mov dword [ebp + 0x18], eax
je 0x48706e
xor ecx, ecx
cmp cx, word [esi]
je 0x48706e
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x48707a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x28], 0
test eax, eax
je 0x487094
cmp eax, 0xffffffff
je 0x487094
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4870a1
push esi
call fcn.004a2e5c
add esp, 4
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x4870af
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x487560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x48761d
xor ecx, ecx
cmp cx, word [eax]
je 0x48761d
cmp dword [esi + 0x28], ecx
je 0x48758b
mov eax, 0xb7
pop esi
pop ebp
ret 8
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push 0xa0
push edi
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], eax
test ecx, ecx
je 0x4875be
cmp ecx, 0xffffffff
je 0x4875be
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x28]
cmp eax, 0xffffffff
jne 0x4875dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ebx, eax
mov dword [esi + 0x28], 0
pop ebx
pop esi
pop ebp
ret 8
cmp edi, 3
jne 0x4875f7
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 8
cmp edi, 2
jne 0x487614
push 0
lea ecx, [ebp + 0xc]
mov word [ebp + 8], 0xfeff
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 8
mov eax, 0x57
pop esi
pop ebp
ret 8
Function at 0x488150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x488163
lea eax, [edi + 0x57]
pop edi
pop ebp
ret 8
push esi
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0
push 0x8000
push 0x50da74
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, dword [ebp + 8]
test eax, eax
jns 0x48818f
mov edi, 0x57
jmp 0x4881a0
push 0xffffffffffffffff
push esi
push dword [ebp + 0xc]
push edi
call fcn.004a9535
add esp, 0x10
mov edi, eax
test esi, esi
je 0x4881ab
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
mov eax, edi
pop edi
pop ebp
ret 8
Function at 0x4881c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4156
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, eax
je 0x488208
xor ecx, ecx
cmp cx, word [eax]
je 0x488208
push eax
call edi
cmp eax, 0xffffffff
jne 0x48822a
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4883d6
xor ecx, ecx
cmp cx, word [eax]
je 0x4883d6
push eax
call edi
cmp eax, 0xffffffff
je 0x4883d6
cmp dword [esi + 0x48], 0
jne 0x488246
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x4c], 0
je 0x488230
push ecx
lea ecx, [ebp - 0x100]
call fcn.004869b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push dword [esi + 0x4c]
call fcn.004867b0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x100]
call fcn.004d2600
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48829e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004869b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push dword [esi + 0x48]
call fcn.004867b0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.004d2600
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4882e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x10]
push eax
push 1
push str.Enable
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004888e0
test al, al
je 0x488315
xor eax, eax
cmp dword [ebp - 0x10], eax
setne al
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x10]
push eax
push 0x40000
push str.MaxSize
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004888e0
test al, al
je 0x488344
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
call dword [eax + 0x34]
lea eax, [ebp - 0x10]
push eax
push 3
push str.MaxEntries
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004888e0
test al, al
je 0x488370
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
call dword [eax + 0x2c]
lea eax, [ebp - 0x10]
push eax
push 3
push str.Severity
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004888e0
test al, al
je 0x488398
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x10]
push eax
push 0x10
push str.Options
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004888e0
test al, al
je 0x4883c0
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x44], eax
lea ecx, [ebp - 0x88]
call fcn.00486a70
lea ecx, [ebp - 0x100]
call fcn.00486a70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4883f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e41a3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x488565
xor ecx, ecx
cmp cx, word [eax]
je 0x488565
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x488565
push ecx
lea ecx, [ebp - 0x90]
call fcn.004869b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push dword [esi + 0x4c]
call fcn.004867b0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x90]
call fcn.004d2600
test al, al
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x10]
sete bl
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x488499
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x488545
push str.LastLogIdx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
call fcn.004867b0
push str.Config
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004867b0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x90]
call fcn.004d3c80
test al, al
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov eax, esi
sete bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x488504
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x488520
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x488545
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.00486a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x90]
xor esi, esi
call fcn.00486a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48a2e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4398
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0x8000
push 0x50da74
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x48a33e
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x48a353
xor ecx, ecx
jmp 0x48a36f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a360
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.00450440
test esi, esi
je 0x48a384
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x48b4dc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x48b541
xor eax, eax
cmp ax, word [esi]
je 0x48b541
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48b4fd
push 2
jmp 0x48b543
push 0
call fcn.0048b2ac
pop ecx
push esi
mov ecx, eax
call fcn.0048d8de
test eax, eax
je 0x48b544
push 0x52be20
push dword [0x4e9a70]
push 0x52701c
push 0x527038
push dword [0x4e9a74]
push esi
call fcn.0048ca88
add esp, 0x18
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
jmp 0x48b544
push 0x57
pop eax
pop esi
pop ebp
ret

Function at 0x48cf91
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 0x48d3ee
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x48cfd3
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]
xor eax, eax
test esi, esi
pop esi
sete al
jmp 0x48cfd5
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48d43e
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x27c
mov eax, 0x4e485d
call fcn.00491416
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.00496490
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 0x48d4cc
lea eax, [ebp - 0x218]
push eax
call fcn.0048cced
pop ecx
test eax, eax
je 0x48d4cc
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.0048b92e
push esi
lea ecx, [ebp - 0x278]
call fcn.0048b547
and dword [ebp - 4], 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x278]
call fcn.0048d7a6
push 0x4e9a58
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.0048b794
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x48d50c
mov esi, dword [esi]
push esi
mov dword [ebp - 0x27c], esi
call edi
test eax, eax
je 0x48d532
push esi
call fcn.0048cced
pop ecx
test eax, eax
je 0x48d532
lea eax, [ebp - 0x27c]
mov ecx, ebx
push eax
call fcn.0048b903
lea eax, [ebp - 0x288]
push eax
call fcn.0048d618
pop ecx
mov esi, dword [ebp - 0x288]
mov byte [ebp - 4], 2
jmp 0x48d5dd
push esi
lea ecx, [ebp - 0x248]
call fcn.00408e30
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x248]
call fcn.0048d7a6
push 0x4e9a58
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.0048b794
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x48d58e
mov edi, dword [edi]
push edi
mov dword [ebp - 0x27c], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d5b8
push edi
call fcn.0048cced
pop ecx
test eax, eax
je 0x48d5b8
lea eax, [ebp - 0x27c]
mov ecx, ebx
push eax
call fcn.0048b903
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00408e70
push 0
push 1
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.00408e70
add esi, 0x18
cmp esi, dword [ebp - 0x284]
jne 0x48d54e
lea ecx, [ebp - 0x288]
call fcn.0048d361
push 0
push 1
lea ecx, [ebp - 0x260]
call fcn.00408e70
push 0
push 1
lea ecx, [ebp - 0x278]
call fcn.00408e70
call fcn.004913d1
ret
Function at 0x48d618
Capabilities:
Enumerate processes

Disassembly:
push 0x450
mov eax, 0x4e4890
call fcn.00491416
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x48d785
push 0x228
lea eax, [ebp - 0x440]
push ebx
push eax
call fcn.00496490
add esp, 0xc
mov dword [ebp - 0x444], 0x22c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x208
mov ebx, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00496490
add esp, 0xc
jmp 0x48d769
cmp dword [ebp - 0x43c], ebx
jne 0x48d70f
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x448], eax
test eax, eax
je 0x48d74c
push 0x4f7ee0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004a2993
add esp, 0xc
mov dword [ebp - 0x458], 0x104
lea eax, [ebp - 0x458]
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 0x48d726
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x444]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48d69c
jmp 0x48d74f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x454]
call fcn.0048b92e
push dword [ebp - 0x448]
mov ebx, dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48d74f
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x48d77e
cmp ebx, 0xffffffff
je 0x48d77e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
je 0x48d77e
lea eax, [ebp - 0x444]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x48d69c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x454]
mov ecx, esi
push eax
call fcn.0048b9ec
lea ecx, [ebp - 0x454]
call fcn.0048d361
mov eax, esi
call fcn.004913d1
ret
Function at 0x48d8de
Capabilities:
Check if file exists

Disassembly:
push 0x664
mov eax, 0x4e492f
call fcn.00491416
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x668], eax
test eax, eax
je 0x48db5e
xor ecx, ecx
cmp cx, word [eax]
je 0x48db5e
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 0x48db22
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00496490
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 reloc.OLEAUT32.dll_SysReAllocString
call fcn.00405b70
add esp, 0x28
test eax, eax
jne 0x48d9a8
cmp dword [ebp - 0x660], ebx
jne 0x48d9a8
push str.core_vtploader_x86.dll
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004a29f7
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 0x48dabb
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00496490
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x48dabb
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00496490
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.0048b547
push str._vtploader_x86.dll
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], bl
call fcn.0048b547
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 2
call fcn.0048db9b
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x640]
call fcn.0048b7d2
push 0
push ebx
lea ecx, [ebp - 0x658]
call fcn.00408e70
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.004a2993
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x640]
push 0
push ebx
call fcn.00408e70
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48db3d
push 0x52be20
push dword [0x4e9a70]
lea eax, [ebp - 0x218]
push 0x52701c
push 0x527038
push dword [0x4e9a74]
push eax
call fcn.0048ca88
add esp, 0x18
test eax, eax
je 0x48db1c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x48db1c
push str.ValidateModule
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
cmp dword [esi + 4], 0
je 0x48db42
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 0x48db45
push 2
pop eax
jmp 0x48db4b
push 5
pop eax
mov dword [ebp - 0x65c], eax
test bl, bl
je 0x48db61
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x65c]
jmp 0x48db61
push 0x57
pop eax
call fcn.004913d1
ret 4
Function at 0x48e048
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x4e4a27
call fcn.00491416
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.0048eec0
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 0x48e0b5
mov eax, dword [esi]
jmp 0x48e0b7
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
test eax, eax
je 0x48e0d4
push eax
mov ecx, esi
call fcn.00408ee0
jmp 0x48e142
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00496490
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 0x48e133
lea eax, [ebp - 0x218]
push eax
call fcn.004a6482
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00408f30
mov eax, ebx
call fcn.004913d1
ret 4
Function at 0x48ed33
Capabilities:
Check if file exists
Copy file
Create directory
Move file

Disassembly:
push 0x234
mov eax, 0x4e4b6e
call fcn.00491416
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 0x48ed67
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 0x48ed79
mov eax, dword [edi]
jmp 0x48ed7b
mov eax, edi
push 1
push eax
lea ecx, [ebp - 0x240]
call fcn.0048e14c
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00496490
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x48eda8
mov eax, dword [edi]
jmp 0x48edaa
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.0046e0a0
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 0x48ee70
cmp dword [edi + 0x14], 8
jb 0x48ee0c
mov eax, dword [edi]
jmp 0x48ee0e
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48ee3a
cmp dword [edi + 0x14], 8
jb 0x48ee23
mov eax, dword [edi]
jmp 0x48ee25
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 0x48ee54
cmp dword [edi + 0x14], 8
jb 0x48ee44
mov eax, dword [edi]
jmp 0x48ee46
mov eax, edi
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x48ee90
cmp dword [edi + 0x14], 8
jb 0x48ee60
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.0048e26c
test esi, esi
je 0x48ee86
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, ebx
call fcn.004913d1
ret 4
lea ecx, [ebp - 0x240]
call fcn.0048e26c
push str.67136527_5D6B_4AC9_865B_3E392E982420
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov ecx, dword [ebp - 0x220]
call fcn.0048e735
mov ecx, dword [ebp - 0x220]
call fcn.0048e98f
mov ebx, eax
jmp 0x48ee7b