joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005c690
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.100e6970
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x1034f9e4], eax
mov ecx, dword [ebp + 8]
mov dword [0x1034fdf4], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x103500d4], edx
mov eax, dword [ebp + 0x14]
mov dword [0x103500d8], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x103500d0], ecx
push 0x200
push 0
lea edx, [ebp - 0x204]
push edx
call fcn.10252510
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call fcn.100551d0
push 0x200
push 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.10252510
add esp, 0xc
lea edx, [ebp - 0x404]
push edx
call fcn.100551d0
call fcn.10055290
mov dword [ebp - 0x1018], eax
lea ecx, [ebp - 0x1024]
call fcn.10087af0
cmp dword [ebp - 0x1018], 1
jne 0x1005c797
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0xe0c]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
push 0x1030082c
lea ecx, [ebp - 0xd08]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
lea ecx, [ebp - 0x1024]
call fcn.10087ba0
lea ecx, [ebp - 0xd08]
call fcn.10060010
lea ecx, [ebp - 0xe0c]
call fcn.10060010
jmp 0x1005c82e
push 0x800
push 0
lea ecx, [ebp - 0xc04]
push ecx
call fcn.10252510
add esp, 0xc
lea edx, [ebp - 0xc04]
push edx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0xc04]
push ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x204]
push edx
lea ecx, [ebp - 0x1014]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
push 0x10300838
lea ecx, [ebp - 0xf10]
call fcn.10060070
mov ecx, eax
call fcn.10048870
push eax
lea ecx, [ebp - 0x1024]
call fcn.10087ba0
lea ecx, [ebp - 0xf10]
call fcn.10060010
lea ecx, [ebp - 0x1014]
call fcn.10060010
lea ecx, [ebp - 0x1024]
call fcn.10087b70
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret
Function at 0x1005dca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6e8
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x1034f9e4], eax
mov ecx, dword [ebp + 8]
mov dword [0x1034fdf4], ecx
mov edx, dword [ebp + 0xc]
mov dword [0x103500d4], edx
mov eax, dword [ebp + 0x14]
mov dword [0x103500d8], eax
mov ecx, dword [ebp + 0x10]
mov dword [0x103500d0], ecx
push 0x104
push 0
lea edx, [ebp - 0x310]
push edx
call fcn.10252510
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
call fcn.100551d0
push 0x104
push 0
lea ecx, [ebp - 0x414]
push ecx
call fcn.10252510
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
call fcn.100551d0
push 0x208
push 0
lea eax, [ebp - 0x61c]
push eax
call fcn.10252510
add esp, 0xc
lea ecx, [ebp - 0x61c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x6e0], 3
mov edx, dword [ebp - 0x6e0]
mov dword [ebp - 0x6e4], edx
mov eax, dword [ebp - 0x6e0]
sub eax, 1
mov dword [ebp - 0x6e0], eax
cmp dword [ebp - 0x6e4], 0
jle 0x1005df5e
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10252510
add esp, 0xc
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.10071050
add esp, 8
push 0x102fc530
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1005ddee
lea eax, [ebp - 0x61c]
push eax
push 0x102fc540
push str.package
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHELL32.dll_PathMakeUniqueName]
lea edx, [ebp - 0x20c]
push edx
call fcn.1005d450
add esp, 4
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x634]
call fcn.1004fd40
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x634]
push edx
lea eax, [ebp - 0x694]
push eax
call fcn.10057190
add esp, 8
mov ecx, eax
call fcn.10052e30
push eax
call fcn.100dd620
add esp, 8
mov dword [ebp - 0x6e8], eax
lea ecx, [ebp - 0x694]
call fcn.10052eb0
lea ecx, [ebp - 0x634]
call fcn.1004fbe0
cmp dword [ebp - 0x6e8], 0
je 0x1005deb4
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x64c]
call fcn.1005e860
lea edx, [ebp - 0x64c]
push edx
lea eax, [ebp - 0x6ac]
push eax
call fcn.100570b0
add esp, 8
mov ecx, eax
call fcn.1004f910
push eax
call fcn.1005d500
add esp, 4
lea ecx, [ebp - 0x6ac]
call fcn.1004fbe0
lea ecx, [ebp - 0x64c]
call fcn.10052eb0
jmp 0x1005dd54
lea ecx, [ebp - 0x414]
push ecx
lea ecx, [ebp - 0x664]
call fcn.1004fd40
lea edx, [ebp - 0x664]
push edx
lea eax, [ebp - 0x6c4]
push eax
call fcn.10057190
add esp, 8
mov ecx, eax
call fcn.10052e30
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1005d960
add esp, 8
lea ecx, [ebp - 0x6c4]
call fcn.10052eb0
lea ecx, [ebp - 0x664]
call fcn.1004fbe0
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x67c]
call fcn.1005e860
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x6dc]
push ecx
call fcn.100570b0
add esp, 8
mov ecx, eax
call fcn.1004f910
push eax
call fcn.1005d500
add esp, 4
lea ecx, [ebp - 0x6dc]
call fcn.1004fbe0
lea ecx, [ebp - 0x67c]
call fcn.10052eb0
jmp 0x1005df5e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret
Function at 0x10087640
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1008769f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1008766c
mov eax, 1
jmp 0x100876bd
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1008769d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x100876bd
jmp 0x100876b8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100876b8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x100876bd
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x10087840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x10087849
cmp dword [ebp + 0xc], 0
je 0x1008785c
mov dword [ebp - 0xc], 1
jmp 0x10087863
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x10087876
mov eax, 0xd
jmp 0x100878cb
xor edx, edx
jne 0x1008784d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x10087889
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100878e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0
lea ecx, [ebp - 0x21c]
call fcn.10054210
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.100542b0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x1008795f
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x21c]
call fcn.10054240
mov eax, dword [ebp - 0x220]
jmp 0x10087a14
mov dword [ebp - 0x210], 0x100
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100879e3
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.100878e0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x100879d7
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x21c]
call fcn.10054240
mov eax, dword [ebp - 0x224]
jmp 0x10087a14
mov dword [ebp - 0x210], 0x100
jmp 0x10087969
lea ecx, [ebp - 0x21c]
call fcn.10054260
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20c]
call fcn.100876d0
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x21c]
call fcn.10054240
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret 4
Function at 0x10087ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027e640
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x103440b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.1008af60
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.1008af60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.1005fff0
mov byte [ebp - 4], 2
push 0x10302420
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.1005fcb0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10088da0
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.1005fd60
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x18]
call fcn.1005ff10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.1005ff30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.1005ff30
lea ecx, [ebp - 0x14]
call fcn.1005fff0
mov byte [ebp - 4], 6
cmp dword [ebp + 0x20], 0
je 0x10087c8e
mov edx, dword [ebp + 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.1005fef0
jmp 0x10087c9a
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.1005ff10
mov ecx, dword [ebp - 0x10]
call fcn.100891d0
test eax, eax
je 0x10087cd2
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x18]
call fcn.10048870
push eax
lea ecx, [ebp - 0x20]
call fcn.10048870
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10089460
jmp 0x10087d4f
mov ecx, dword [ebp - 0x10]
call fcn.10089260
test eax, eax
je 0x10087cfa
lea ecx, [ebp - 0x1c]
call fcn.10048870
push eax
lea ecx, [ebp - 0x14]
call fcn.10048870
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10089910
jmp 0x10087d4f
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.1005fd60
add esp, 0xc
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x18]
call fcn.1005ff10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.1005ff30
push 1
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.10048870
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.1005ff30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.1005ff30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.1005ff30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1005ff30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1005ff30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10087da0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027e680
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x103440b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1008af60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1008afe0
movzx ecx, al
test ecx, ecx
je 0x10087dfe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1005ff30
jmp 0x10087f0b
lea ecx, [ebp - 0x14]
call fcn.1005fff0
mov byte [ebp - 4], 1
push 0x10302444
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.1005fcb0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10088da0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.1005ff10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1005ff30
mov ecx, dword [ebp - 0x10]
call fcn.100891d0
test eax, eax
je 0x10087e81
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.1005fd60
add esp, 0xc
mov ecx, dword [ebp - 0x10]
call fcn.100895d0
jmp 0x10087ee4
mov ecx, dword [ebp - 0x10]
call fcn.10089260
test eax, eax
je 0x10087ea9
lea ecx, [ebp - 0x18]
call fcn.10048870
push eax
lea ecx, [ebp - 0x14]
call fcn.10048870
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10089910
jmp 0x10087ee4
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.1005fd60
add esp, 0xc
mov dword [ebp - 0x2c], eax
push 1
push 0
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.10048870
push eax
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.1005ff30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.1005ff30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1005ff30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1005ff30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10088770
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 5
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100887e8
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret
Function at 0x10088800
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027e820
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x103440b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10088844
xor eax, eax
jmp 0x10088961
cmp dword [ebp - 0x10], 0
jne 0x100888f9
push 0x103024c8
lea ecx, [ebp - 0x14]
call fcn.1008af60
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1005fe50
push 0x103024cc
lea ecx, [ebp - 0x14]
call fcn.1005fe50
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.10048870
push eax
push str.Cacls.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x100888de
lea ecx, [ebp - 0x18]
call fcn.1005fff0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ShellExecute_failed:_d
lea edx, [ebp - 0x18]
push edx
call fcn.1008b390
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.10048870
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1005ff30
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1005ff30
mov eax, dword [ebp - 0x20]
jmp 0x10088961
cmp dword [ebp - 0x10], 0
jne 0x1008893e
push str.Cacls_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1008aaf0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1008893e
mov dword [ebp - 0x24], 4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x10], 0
jne 0x1008895e
push str.SetFileSecurity_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.10089de0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10088980
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x100889f0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x100889e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x10088b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027e87b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x828], ecx
mov dword [ebp - 0x820], 0
push 0x10302594
lea ecx, [ebp - 0x818]
call fcn.1008af60
mov dword [ebp - 4], 0
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.10252510
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x814], 1
lea ecx, [ebp - 0x81c]
push ecx
mov edx, dword [ebp - 0x824]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x10088bc5
lea eax, [ebp - 0x810]
push eax
push 0
mov ecx, dword [ebp - 0x81c]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x814], eax
mov edx, dword [ebp - 0x81c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10088be0
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jl 0x10088bfb
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x818]
call fcn.1005fef0
lea edx, [ebp - 0x818]
push edx
mov ecx, dword [ebp + 8]
call fcn.1005ffd0
mov eax, dword [ebp - 0x820]
or eax, 1
mov dword [ebp - 0x820], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.1005ff30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret 4
Function at 0x10088c50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027e87b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x828], ecx
mov dword [ebp - 0x820], 0
push 0x10302598
lea ecx, [ebp - 0x818]
call fcn.1008af60
mov dword [ebp - 4], 0
push 0x800
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.10252510
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x814], 1
lea ecx, [ebp - 0x81c]
push ecx
mov edx, dword [ebp - 0x824]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x10088d15
lea eax, [ebp - 0x810]
push eax
push 0
mov ecx, dword [ebp - 0x81c]
push ecx
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x814], eax
mov edx, dword [ebp - 0x81c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10088d30
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jl 0x10088d4b
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x818]
call fcn.1005fef0
lea edx, [ebp - 0x818]
push edx
mov ecx, dword [ebp + 8]
call fcn.1005ffd0
mov eax, dword [ebp - 0x820]
or eax, 1
mov dword [ebp - 0x820], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.1005ff30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret 4
Function at 0x10088da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1027e8bb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x103440b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x21c]
call fcn.1005fff0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x220]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x10088e8e
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.10252510
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.1005fef0
push 0x103025a0
lea ecx, [ebp - 0x21c]
call fcn.1005fe50
push 0x5c
lea ecx, [ebp - 0x21c]
call fcn.10048870
push eax
mov ecx, dword [ebp - 0x228]
call fcn.10088ee0
push 0x1030259c
lea ecx, [ebp - 0x21c]
call fcn.10066910
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1005ffd0
mov ecx, dword [ebp - 0x224]
or ecx, 1
mov dword [ebp - 0x224], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.1005ff30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e5dee
mov esp, ebp
pop ebp
ret 4