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

Disassembly:
push 0x64
mov eax, 0x5ff3265e
call fcn.5ff1f8cb
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, ecx
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x40], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x3c]
push ecx
push eax
push ebx
push dword [esi + 4]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x5fef1809
xor eax, eax
jmp 0x5fef1982
cmp dword [ebp - 0x3c], 1
je 0x5fef184b
cmp dword [ebp - 0x3c], 2
je 0x5fef184b
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef1842
test byte [eax + 0x1c], 1
je 0x5fef1842
cmp byte [eax + 0x19], 2
jb 0x5fef1842
push 0x5ff36058
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1540
add esp, 0x10
mov dword [esi + 8], 0xd
jmp 0x5fef1802
test byte [ebp - 0x38], 1
je 0x5fef1872
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef1842
test byte [eax + 0x1c], 1
je 0x5fef1842
cmp byte [eax + 0x19], 2
jb 0x5fef1842
push 0x5ff36058
push 0x1a
jmp 0x5fef1834
lea ecx, [ebp - 0x68]
call fcn.5feec33d
mov eax, dword [ebp - 0x38]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x40]
add eax, 2
mov dword [ebp - 0x38], eax
shr eax, 1
push eax
mov byte [ebp - 4], 1
call fcn.5fee644d
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push ebx
push dword [esi + 4]
call edi
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
mov dword [esi + 8], eax
call fcn.5fee2070
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5fef195b
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef18ed
test byte [eax + 0x1c], 1
je 0x5fef18ed
cmp byte [eax + 0x19], 2
jb 0x5fef18ed
push ecx
push 0x5ff36058
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1570
add esp, 0x14
mov ecx, dword [ebp - 0x40]
call fcn.5fee1d50
jmp 0x5fef195b
lea ecx, [ebp - 0x68]
call fcn.5feec2e5
test al, al
je 0x5fef196e
mov dword [esi + 8], 0xe
xor eax, eax
cmp dword [esi + 8], eax
lea ecx, [ebp - 0x68]
sete al
mov esi, eax
call fcn.5feec2fb
mov eax, esi
call fcn.5ff1f927
ret 8
Function at 0x5fef4057
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x5ff42340]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
mov esi, ecx
push eax
mov dword [ebp - 0x70], esi
call fcn.5ff1f9d0
add esp, 0xc
push 0x5ff431f0
lea ecx, [ebp - 0x6c]
call fcn.5fee19a0
lea eax, [ebp - 0x6c]
push eax
push str._APPDATAEXTENSION_
call fcn.5fef3fce
pop ecx
pop ecx
cmp eax, 1
push 0xffffffffffffffff
lea eax, [ebp - 0x68]
jne 0x5fef40ae
push dword [ebp - 0x6c]
jmp 0x5fef40b3
push str.Symantec
push 0x32
push eax
call fcn.5ff22510
add esp, 0x10
push edi
push 0x105
mov ecx, esi
call fcn.5fee1bd0
push 0
push dword [ebp + 8]
mov edi, eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5fef4102
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x68]
push eax
push edi
call esi
test eax, eax
je 0x5fef4102
call fcn.5fefc361
push eax
push edi
call esi
test eax, eax
je 0x5fef4102
xor esi, esi
inc esi
jmp 0x5fef4104
xor esi, esi
mov ecx, dword [ebp - 0x70]
push 0xffffffffffffffff
call fcn.5fee2070
pop edi
test esi, esi
jne 0x5fef4148
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef4140
test byte [eax + 0x1c], 1
je 0x5fef4140
cmp byte [eax + 0x19], 2
jb 0x5fef4140
push 0x5ff36b58
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1540
add esp, 0x10
mov ecx, dword [ebp - 0x70]
call fcn.5fee1d50
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.5fee1450
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.5ff1e70e
leave
ret
Function at 0x5fef4162
Capabilities:
Get common file path

Disassembly:
push 0x264
mov eax, 0x5ff32ad3
call fcn.5ff1f8cb
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x5fef3eb3
push 8
push 0x3c
push 0x5ff36b68
push eax
mov edi, ecx
call fcn.5ff225dd
add esp, 0x18
lea ecx, [ebp - 0x268]
mov esi, eax
call fcn.5feec33d
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x5fef426d
mov esi, dword [esi + 4]
cmp esi, 0xf0000000
je 0x5fef43f7
cmp esi, 0xf0000001
je 0x5fef43f3
cmp esi, 0xf0000002
je 0x5fef428a
cmp esi, 0xf0000003
je 0x5fef4233
lea eax, [ebp - 0x23c]
push eax
push 1
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x5fef4220
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef426d
test byte [eax + 0x1c], 1
je 0x5fef426d
cmp byte [eax + 0x19], 2
jb 0x5fef426d
push 0x5ff36b58
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1540
add esp, 0x10
jmp 0x5fef426d
lea eax, [ebp - 0x23c]
push eax
mov ecx, edi
call fcn.5fee1b90
jmp 0x5fef42da
push 0x5ff431f0
lea ecx, [ebp - 0x240]
call fcn.5fee19a0
lea eax, [ebp - 0x240]
push eax
push dword [0x5ff42030]
mov byte [ebp - 4], 2
call fcn.5fef3ec7
pop ecx
pop ecx
test eax, eax
jns 0x5fef4274
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.5fee1450
xor esi, esi
jmp 0x5fef4403
lea eax, [ebp - 0x240]
push eax
mov ecx, edi
call fcn.5fee6895
mov ecx, dword [ebp - 0x240]
jmp 0x5fef42d2
push 0x5ff431f0
lea ecx, [ebp - 0x244]
call fcn.5fee19a0
lea eax, [ebp - 0x244]
push eax
push dword [0x5ff4202c]
mov byte [ebp - 4], 3
call fcn.5fef3ec7
pop ecx
pop ecx
test eax, eax
jns 0x5fef42be
mov ecx, dword [ebp - 0x244]
jmp 0x5fef4265
lea eax, [ebp - 0x244]
push eax
mov ecx, edi
call fcn.5fee6895
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.5fee1450
xor esi, esi
inc esi
jmp 0x5fef4403
push 0x1c
jmp 0x5fef43f9
push 0x23
mov ecx, edi
call fcn.5fef4057
mov esi, eax
pop ecx
lea ecx, [ebp - 0x268]
call fcn.5feec2fb
mov eax, esi
call fcn.5ff1f927
ret

Function at 0x5fef581e
Capabilities:
Get common file path

Disassembly:
push 0x58
mov eax, 0x5ff32b63
call fcn.5ff1f8cb
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
call fcn.5feec33d
and dword [ebp - 4], 0
mov esi, 0x104
push esi
mov ecx, edi
mov byte [ebp - 0x35], 1
mov byte [ebp - 4], 1
call fcn.5fee1bd0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call fcn.5fee2070
test ebx, ebx
je 0x5fef5869
cmp ebx, esi
jbe 0x5fef58a6
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef58a2
test byte [eax + 0x1c], 1
je 0x5fef58a2
cmp byte [eax + 0x19], 2
jb 0x5fef58a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x5ff4320c]
push 0x5ff36dc8
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1570
add esp, 0x14
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x5c]
call fcn.5feec2e5
test al, al
je 0x5fef58b6
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x5c]
call fcn.5feec2fb
mov al, byte [ebp - 0x35]
call fcn.5ff1f927
ret
Function at 0x5fef59a3
Capabilities:
Get common file path

Disassembly:
push 0x58
mov eax, 0x5ff32b90
call fcn.5ff1f8cb
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
call fcn.5feec33d
and dword [ebp - 4], 0
mov esi, 0x104
push esi
mov ecx, edi
mov byte [ebp - 0x35], 1
mov byte [ebp - 4], 1
call fcn.5fee1bd0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call fcn.5fee2070
test ebx, ebx
je 0x5fef59ee
cmp ebx, esi
jbe 0x5fef5a2b
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef5a27
test byte [eax + 0x1c], 1
je 0x5fef5a27
cmp byte [eax + 0x19], 2
jb 0x5fef5a27
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x5ff4320c]
push 0x5ff36dc8
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1570
add esp, 0x14
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x5c]
call fcn.5feec2e5
test al, al
je 0x5fef5a3b
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x5c]
call fcn.5feec2fb
mov al, byte [ebp - 0x35]
call fcn.5ff1f927
ret
Function at 0x5fef807a
Capabilities:
Get system information on windows

Disassembly:
cmp byte [0x5ff44dbe], 0
jne 0x5fef811e
push esi
push edi
mov edi, 0x11c
push edi
push 0
mov esi, 0x5ff44c78
push esi
call fcn.5ff1f9d0
add esp, 0xc
mov dword [0x5ff44c78], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
call edi
test eax, eax
jne 0x5fef80fc
push esi
mov dword [0x5ff44c78], 0x114
call edi
test eax, eax
jne 0x5fef80fc
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef80fc
test byte [eax + 0x1c], 1
je 0x5fef80fc
cmp byte [eax + 0x19], 2
jb 0x5fef80fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x5ff4320c]
push 0x5ff36e50
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1570
add esp, 0x14
push 0x24
push 0
mov esi, 0x5ff44d94
push esi
call fcn.5ff1f9d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
pop edi
mov byte [0x5ff44dbe], 1
pop esi
mov al, 1
ret

Function at 0x5fef8e2d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.5fef8a72
mov ecx, dword [0x5ff44e14]
test ecx, ecx
jne 0x5fef8e53
push 0x5ff44e10
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [0x5ff44e14]
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
push ebx
xor ebx, ebx
push 4
cmp ebx, edx
sbb edx, edx
imul eax, ecx
and edx, ecx
add edx, eax
pop eax
push eax
push 0x1000
push edx
push ebx
mov dword [esi + 8], edx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0xc], eax
pop ebx
test eax, eax
jne 0x5fef8ebe
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5fef8eb4
test byte [eax + 0x1c], 1
je 0x5fef8eb4
cmp byte [eax + 0x19], 2
jb 0x5fef8eb4
push 0x5ff36f50
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1540
add esp, 0x10
and dword [esi + 8], 0
and dword [esi + 4], 0
jmp 0x5fef8ec9
push dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0xc]
pop esi
pop ebp
ret 4
Function at 0x5fef9cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [esi + 4]
call fcn.5fef981e
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5fef9cf6
cmp dword [ebp - 4], edi
jne 0x5fef9cf6
xor eax, eax
inc eax
jmp 0x5fef9d31
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov ecx, dword [0x5ff4320c]
cmp ecx, 0x5ff4320c
je 0x5fef9d2f
test byte [ecx + 0x1c], 1
je 0x5fef9d2f
cmp byte [ecx + 0x19], 2
jb 0x5fef9d2f
push eax
push 0x5ff36fb4
push 0xe
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.5fee1570
add esp, 0x14
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x5fef9d37
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [esi + 4]
call fcn.5fef981e
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5fef9d6d
cmp dword [ebp - 4], edi
jne 0x5fef9d6d
xor eax, eax
inc eax
jmp 0x5fef9da8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov ecx, dword [0x5ff4320c]
cmp ecx, 0x5ff4320c
je 0x5fef9da6
test byte [ecx + 0x1c], 1
je 0x5fef9da6
cmp byte [ecx + 0x19], 2
jb 0x5fef9da6
push eax
push 0x5ff36fb4
push 0xf
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.5fee1570
add esp, 0x14
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x5fef9ead
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
and dword [esi], 0
and dword [esi + 4], 0
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
lea ecx, [edi + 4]
call fcn.5fef981e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x5fef9f1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xc], eax
test eax, eax
je 0x5fef9f1c
mov ecx, dword [0x5ff4320c]
cmp ecx, 0x5ff4320c
je 0x5fef9f18
test byte [ecx + 0x1c], 1
je 0x5fef9f18
cmp byte [ecx + 0x19], 2
jb 0x5fef9f18
push eax
push 0x5ff36fb4
push 0x11
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.5fee1570
add esp, 0x14
xor eax, eax
jmp 0x5fef9f2a
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4
Function at 0x5fefa1c4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.5fef9c30
test eax, eax
je 0x5fefa1f3
lea ecx, [esi + 4]
call fcn.5fef981e
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x5fefa1f3
xor eax, eax
inc eax
jmp 0x5fefa22e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
mov ecx, dword [0x5ff4320c]
cmp ecx, 0x5ff4320c
je 0x5fefa22c
test byte [ecx + 0x1c], 1
je 0x5fefa22c
cmp byte [ecx + 0x19], 2
jb 0x5fefa22c
push eax
push 0x5ff36fb4
push 0x12
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.5fee1570
add esp, 0x14
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x5fefbf57
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5ff42340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x5fefc0ed
test esi, esi
je 0x5fefc0ed
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x64
jb 0x5fefc0ed
xor eax, eax
push 0x208
push eax
mov word [esi], ax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.5ff1f9d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x5fefbfd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x5fefc0f0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x5fefc0d8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x5fefc0d8
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x105
push eax
call fcn.5ff22bd0
add esp, 0xc
test eax, eax
jne 0x5fefc0d1
push str.isolate.ini
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x5fefc0d1
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5fefbfd2
lea eax, [ebp - 0x41c]
push eax
push ebx
push esi
push str.SoftwareSymantecIsolation
push str.reghive
push str.isolation
call fcn.5fefbc5e
add esp, 0x18
dec ebx
cmp eax, ebx
jne 0x5fefc074
push 0x7a
jmp 0x5fefc0ef
lea eax, [ebp - 0x420]
push eax
push 0x20019
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5fefc0a0
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5fefc0c3
cmp eax, 5
jne 0x5fefc0b2
push str.CIsolation::GetRegistryHive__:_RegOpenKeyEx___returned_ERROR_ACCESS_DENIED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x5fefc0c3
cmp eax, 2
jne 0x5fefc0be
push str.CIsolation::GetRegistryHive__:_RegOpenKeyEx___returned_ERROR_FILE_NOT_FOUND
jmp 0x5fefc0aa
xor eax, eax
mov word [esi], ax
xor eax, eax
cmp word [esi], ax
setne al
dec eax
and eax, 0xd
jmp 0x5fefc0f0
mov eax, 0x54f
jmp 0x5fefc0f0
push 0x1c
push str.SoftwareSymantecIsolation
push ebx
push esi
call fcn.5ff22510
add esp, 0x10
xor eax, eax
jmp 0x5fefc0f0
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5ff1e70e
leave
ret
Function at 0x5fefc0ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5ff42340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x5fefc23d
test esi, esi
je 0x5fefc23d
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x26
jb 0x5fefc23d
xor eax, eax
push 0x208
push eax
mov word [esi], ax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.5ff1f9d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x5fefc17a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x5fefc240
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x5fefc239
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x5fefc239
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x105
push eax
call fcn.5ff22bd0
add esp, 0xc
test eax, eax
jne 0x5fefc232
push str.isolate.ini
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x5fefc232
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5fefc17a
lea eax, [ebp - 0x41c]
push eax
push ebx
push esi
push 0x5ff355d4
push str.silo
push str.isolation
call fcn.5fefbc5e
add esp, 0x18
dec ebx
cmp eax, ebx
jne 0x5fefc214
push 0x7a
jmp 0x5fefc23f
push esi
call fcn.5fefb18d
pop ecx
test al, al
jne 0x5fefc224
xor eax, eax
mov word [esi], ax
xor eax, eax
cmp word [esi], ax
setne al
dec eax
and eax, 0xd
jmp 0x5fefc240
mov eax, 0x54f
jmp 0x5fefc240
push 2
jmp 0x5fefc23f
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5ff1e70e
leave
ret
Function at 0x5ff1de77
Capabilities:
Get common file path

Disassembly:
push 0x68
mov eax, 0x5ff33c06
call fcn.5ff1f8cb
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x35], 1
call fcn.5feec33d
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], ebx
je 0x5ff1dea9
cmp dword [ebp + 0xc], 1
jne 0x5ff1df05
push 0x104
mov ecx, esi
call fcn.5fee1bd0
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
push 0xffffffffffffffff
mov ecx, esi
setne byte [ebp - 0x35]
call fcn.5fee2070
cmp byte [ebp - 0x35], bl
jne 0x5ff1df8f
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5ff1df05
test byte [eax + 0x1c], 1
je 0x5ff1df05
cmp byte [eax + 0x19], 2
jb 0x5ff1df05
push 0x5ff39618
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1540
add esp, 0x10
lea ecx, [ebp - 0x6c]
call fcn.5fef0969
mov eax, dword [ebp + 0xc]
dec eax
mov ecx, 0x20019
je 0x5ff1df22
dec eax
jne 0x5ff1df27
mov ecx, 0x20119
jmp 0x5ff1df27
mov ecx, 0x20219
push ebx
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
lea ecx, [ebp - 0x6c]
call fcn.5fef176b
test eax, eax
je 0x5ff1df57
push esi
push str.CommonFilesDir
lea ecx, [ebp - 0x6c]
call fcn.5fef17c3
test eax, eax
je 0x5ff1df57
mov byte [ebp - 0x35], 1
jmp 0x5ff1df87
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5ff1df84
test byte [eax + 0x1c], 1
je 0x5ff1df84
cmp byte [eax + 0x19], 2
jb 0x5ff1df84
push 0x5ff39618
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee1540
add esp, 0x10
mov byte [ebp - 0x35], bl
lea ecx, [ebp - 0x6c]
call fcn.5fef0f7c
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x5ff1df99
mov byte [ebp - 0x35], bl
cmp byte [ebp - 0x35], bl
je 0x5ff1e01b
push 0x5c
mov ecx, esi
call fcn.5ff1e2fc
push str.Symantec_Shared
mov ecx, esi
call fcn.5fee22e0
jmp 0x5ff1e01b
lea ecx, [ebp - 0x60]
call fcn.5feec2e5
test al, al
je 0x5ff1e02a
mov byte [ebp - 0x35], bl
cmp byte [ebp - 0x35], bl
je 0x5ff1e05e
mov eax, dword [0x5ff4320c]
cmp eax, 0x5ff4320c
je 0x5ff1e05e
test byte [eax + 0x1c], 1
je 0x5ff1e05e
cmp byte [eax + 0x19], 4
jb 0x5ff1e05e
push dword [esi]
push 0x5ff39618
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.5fee15a0
add esp, 0x14
lea ecx, [ebp - 0x60]
call fcn.5feec2fb
mov al, byte [ebp - 0x35]
call fcn.5ff1f927
ret

Function at 0x5ff1e70e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ff42340]
jne 0x5ff1e718
repz ret
jmp fcn.5ff2324c
Function at 0x5ff228e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5ff2290b
call fcn.5ff23541
mov dword [eax], esi
call fcn.5ff2352e
push 0x16
pop esi
mov dword [eax], esi
call fcn.5ff234dc
mov eax, esi
jmp 0x5ff22960
test dword [ebp + 0xc], 0xfffffff9
jne 0x5ff228f1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5ff22938
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.5ff23554
pop ecx
call fcn.5ff2352e
mov eax, dword [eax]
jmp 0x5ff22960
test al, 0x10
jne 0x5ff2295e
test al, 1
je 0x5ff2295e
test byte [ebp + 0xc], 2
je 0x5ff2295e
call fcn.5ff23541
mov dword [eax], 5
call fcn.5ff2352e
mov dword [eax], 0xd
jmp 0x5ff2292f
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5ff2d4ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ff42340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.5ff26097
and dword [ebp - 0x14], 0
cmp dword [0x5ff45d24], 0
mov dword [ebp - 0x18], eax
jne 0x5ff2d561
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5ff2d609
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5ff2d609
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5ff45d24], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5ff45d28], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5ff45d2c], eax
call edi
push eax
call esi
mov dword [0x5ff45d34], eax
test eax, eax
je 0x5ff2d561
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5ff45d30], eax
mov eax, dword [0x5ff45d30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5ff2d5ba
cmp dword [0x5ff45d34], ecx
je 0x5ff2d5ba
push eax
call esi
push dword [0x5ff45d34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5ff2d5ba
test ebx, ebx
je 0x5ff2d5ba
call edi
test eax, eax
je 0x5ff2d5b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5ff2d5b1
test byte [ebp - 8], 1
jne 0x5ff2d5ba
or dword [ebp + 0x10], 0x200000
jmp 0x5ff2d5ed
mov eax, dword [0x5ff45d28]
cmp eax, dword [ebp - 0x18]
je 0x5ff2d5ed
push eax
call esi
test eax, eax
je 0x5ff2d5ed
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5ff2d5ed
mov eax, dword [0x5ff45d2c]
cmp eax, dword [ebp - 0x18]
je 0x5ff2d5ed
push eax
call esi
test eax, eax
je 0x5ff2d5ed
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ff45d24]
call esi
test eax, eax
je 0x5ff2d609
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5ff2d60b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5ff1e70e
leave
ret