joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10067910
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1006796c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
je 0x1006798c
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x10067992
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x100679b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push 0
push 0x80
push 3
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10067a0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x10067a32
lea eax, [esi + edi]
push eax
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new___unsigned_int_]
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x10067a4c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
xor esi, esi
test edi, edi
je 0x10067a76
push 0
lea eax, [ebp - 8]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ecx]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10067a76
add esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp esi, edi
jb 0x10067a52
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
cmp esi, edi
jae 0x10067aa1
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], edi
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10067ad0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10067b2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
je 0x10067b4c
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x10067b52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x10067b70
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push 0
push 0x80
push 3
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10067bcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x10067bf2
lea eax, [esi + edi]
push eax
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new___unsigned_int_]
mov ecx, eax
add esp, 4
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x10067c0c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
xor esi, esi
test edi, edi
je 0x10067c36
push 0
lea eax, [ebp - 8]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ecx]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10067c36
add esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp esi, edi
jb 0x10067c12
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
cmp esi, edi
jae 0x10067c61
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], edi
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10067c90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
lea eax, [ebp - 0x414]
push 0x208
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
lea ecx, [ebp - 0x414]
add esp, 0xc
xor edx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10067cd0
sub ecx, esi
sar ecx, 1
mov eax, 0x5c
je 0x10067d28
jmp 0x10067cf0
cmp word [ebp + edx*2 - 0x414], 0x2f
jne 0x10067d03
mov word [ebp + edx*2 - 0x414], ax
lea eax, [ebp - 0x414]
inc edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10067d10
sub eax, esi
sar eax, 1
cmp edx, eax
mov eax, 0x5c
jb 0x10067cf0
mov edi, dword [sym.imp.MSVCR110.dll_wcsstr]
lea eax, [ebp - 0x40e]
push 0x100a21f4
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x10067d7c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea esp, [esp]
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x414]
push eax
call ebx
mov eax, 0x5c
mov word [esi], ax
lea eax, [esi + 2]
push 0x100a21f4
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x10067d50
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x10067da0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
test eax, eax
je 0x10067e30
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10067e30
push 0
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
mov dword [ebp + 8], 0
call sym.iImportLib.dll_int___cdecl_elex::filepath::ReadDataFileW_void____unsigned_long_int___wchar_t_const__const__unsigned_long_int_
add esp, 0x10
test eax, eax
je 0x10067e30
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x80
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call sym.iImportLib.dll_int___cdecl_elex::filepath::CreateDirectoryW_wchar_t_const__
mov edi, dword [ebp - 4]
push esi
push dword [ebp + 8]
push edi
call sym.iImportLib.dll_int___cdecl_elex::filepath::WriteDataFileW_void___unsigned_long_int__wchar_t_const__const_
add esp, 0x10
cmp ebx, 0xffffffff
je 0x10067e16
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x10067e24
push edi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10067e40
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x10067e88
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10067e80
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push esi
call sym.iImportLib.dll_int___cdecl_elex::filepath::DeleteFileW_wchar_t_const___bool_
add esp, 8
test eax, eax
jne 0x10067e80
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
ret

Function at 0x10067ea0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x10067ee8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10067ee0
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push esi
call sym.iImportLib.dll_int___cdecl_elex::filepath::DeleteFileA_char_const___bool_
add esp, 8
test eax, eax
jne 0x10067ee0
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebp
ret
Function at 0x10069440
Capabilities:
Delete file
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e1a6
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x45c], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0x3fe
push eax
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x54], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x58], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100695e6
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
push 0
push str.Common_Desktop
push dword [esp + 0x54]
mov dword [esp + 0x5c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100695e6
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
call fcn.10008550
push 0x100a21f4
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x47c], 0
call fcn.10011cb0
push esi
mov edx, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x480], 1
call fcn.100169d0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
lea eax, [esp + 0x50]
add esp, 8
cmp eax, edi
je 0x1006958a
cmp dword [esp + 0x5c], 8
jb 0x10069569
push dword [esp + 0x48]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.1000d5d0
cmp dword [esp + 0x24], 8
jb 0x1006959a
push dword [esp + 0x10]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
jb 0x100695c1
push dword [esp + 0x28]
call esi
add esp, 4
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x5c], 8
jb 0x100695e6
push dword [esp + 0x48]
call esi
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100695f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10069e40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e240
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x40]
push 1
push eax
call sym.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::getFolder_enum_elex::filepath::LinkType_
push 0x100a21f4
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0
call fcn.10011cb0
add esp, 0xc
push esi
mov edx, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 1
call fcn.100169d0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, eax
lea eax, [esp + 0x44]
add esp, 4
cmp eax, edi
je 0x10069ef7
cmp dword [esp + 0x54], 8
jb 0x10069ed6
push dword [esp + 0x40]
call esi
add esp, 4
xor eax, eax
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
call fcn.1000d5d0
cmp dword [esp + 0x24], 8
jb 0x10069f07
push dword [esp + 0x10]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
jb 0x10069f2e
push dword [esp + 0x28]
call esi
add esp, 4
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x54], 8
jb 0x10069f53
push dword [esp + 0x40]
call esi
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x10069f70
Capabilities:
Access peb ldr_data
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e168
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x100a21f4
lea ecx, [esp + 0xc]
call fcn.10011cb0
push esi
mov edx, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0
call fcn.100169d0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 8
cmp dword [esp + 0x1c], 8
jb 0x10069fe6
push dword [esp + 8]
call esi
add esp, 4
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jb 0x10069ff9
mov ecx, eax
test eax, eax
je 0x1006a035
jmp 0x10069ffd
lea ecx, [esp + 0x20]
cmp word [ecx], 0
je 0x1006a035
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1006a031
cmp dword [esp + 0x34], 8
push 0
push 0
push 0
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
push str.TaskbarPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], 8
jb 0x1006a042
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret

Function at 0x1006a060
Capabilities:
Access peb ldr_data
Create process on windows
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009e340
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x100a21f4
lea ecx, [esp + 0xc]
call fcn.10011cb0
push esi
mov edx, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0
call fcn.100169d0
add esp, 8
cmp dword [esp + 0x1c], 8
jb 0x1006a0d4
push dword [esp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x34], 8
push 0
push 0
push 0
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
push str.TaskbarunPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x34], 8
lea esi, [esp + 0x20]
cmovae esi, dword [esp + 0x20]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x34], 8
jb 0x1006a12b
push dword [esp + 0x20]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1006a5f0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e278
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
cmp eax, 5
ja case.0x1006a65a.2
jmp dword [eax*4 + 0x1006a6e4]
mov ecx, esi
call fcn.10069440
jmp case.0x1006a65a.2
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x14]
push eax
call fcn.10008c80
call sym.iImportLib.dll_void___cdecl_elex::filepath::deleteStartMenuProgramFolder_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
add esp, 0x18
jmp case.0x1006a65a.2
mov edx, esi
call fcn.10069960
jmp case.0x1006a65a.2
push esi
push edi
call sym.iImportLib.dll_void___cdecl_elex::filepath::deleteTaskbarShortcut_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
jmp case.0x1006a65a.2
push esi
call sym.iImportLib.dll_void___cdecl_elex::filepath::deleteQuicklaunchShortcut_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
cmp dword [ebp + 0x28], 8
jb 0x1006a6c8
push dword [ebp + 0x14]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret
Function at 0x1006a7c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e39d
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x100e6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x334], 0
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push 0x100b2814
mov ecx, esi
mov dword [ebp - 0x350], esi
mov word [esi], ax
call fcn.100089b0
xor eax, eax
mov dword [ebp - 4], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x334], 1
call sub.MSVCR110.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
sub eax, 0
je 0x1006a999
dec eax
je 0x1006a8b0
sub eax, 3
jne 0x1006a9e1
push eax
push 2
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
je 0x1006a9b6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x1006a8a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006a8a0
jmp 0x1006a9ce
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x110
lea eax, [ebp - 0x32c]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x330]
push eax
mov dword [ebp - 0x330], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x368]
call fcn.10008550
push str.MicrosoftInternet_ExplorerQuick_Launch
mov edx, eax
lea ecx, [ebp - 0x34c]
mov dword [ebp - 4], 1
call fcn.10011da0
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov ebx, eax
add esp, 4
cmp esi, ebx
je 0x1006a952
cmp dword [esi + 0x14], 8
jb 0x1006a937
push dword [esi]
call edi
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.1000d5d0
cmp dword [ebp - 0x338], 8
jb 0x1006a966
push dword [ebp - 0x34c]
call edi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x354], 8
mov dword [ebp - 0x338], 7
mov dword [ebp - 0x33c], 0
mov word [ebp - 0x34c], ax
jb 0x1006a9e1
push dword [ebp - 0x368]
call edi
add esp, 4
jmp 0x1006a9e1
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
jne 0x1006a9ba
xor ecx, ecx
jmp 0x1006a9d2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006a9c3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.100089b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100947be
mov esp, ebp
pop ebp
ret