joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100144d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x10036c70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x238]
xor esi, esi
push 0x228
lea ecx, [ebp + 4]
push esi
mov dword [ebp - 4], esi
push ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov dword [ebp], esi
call fcn.100285e0
add esp, 0xc
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, esi
jne 0x10014557
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], eax
call fcn.10028c35
lea eax, [ebp]
push eax
push ebx
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100145bc
mov edx, dword [ebp - 0x18]
lea ecx, [ebp + 8]
push ecx
push edx
call fcn.10018c10
mov edi, eax
lea eax, [ebp]
push eax
mov ecx, 0x8b
lea esi, [ebp]
push ebx
rep movsd dword es:[edi], dword [esi]
call sub.KERNEL32.dll_Process32NextW
jmp 0x10014568
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1c]
mov esi, dword [ebp - 0x14]
push eax
push esi
push str.Enum_procList_Rlt:_08x_Count:_d
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
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 + 0x22c]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x230
mov esp, ebp
pop ebp
ret
Function at 0x10015350
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x230]
sub esp, 0x230
push 0xffffffffffffffff
push 0x10037750
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x23c]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp esi, ebx
je 0x100154c3
xor ecx, ecx
cmp cx, word [esi]
je 0x100154c3
push 0x228
lea edx, [ebp + 4]
push ebx
mov dword [ebp - 4], ebx
push edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp], ebx
call fcn.100285e0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp]
push eax
push edi
mov dword [ebp - 0x18], edi
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
je 0x10015457
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push edx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ebx, dword [ebp + 0x238]
cmp ebx, dword [ebp - 0x20]
jne 0x10015449
lea eax, [ebp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10015449
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], ecx
call fcn.1001af90
mov edx, dword [ebp + 8]
push ebx
push edx
push esi
push str.FindWithUser_Process:_s_Id:_d_With_SessionId:_d
mov ecx, eax
call fcn.1001b3f0
mov edi, dword [ebp - 0x14]
add esp, 0x10
lea ebx, [ebp - 0x24]
call fcn.10022f50
mov edi, dword [ebp - 0x18]
lea eax, [ebp]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
xor ebx, ebx
jmp 0x100153e5
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ecx + 0x10]
mov edx, ecx
sub ebx, dword [edx + 0xc]
sar ebx, 2
call fcn.1001af90
mov ecx, dword [ebp + 0x238]
push ecx
push esi
push ebx
push str.FindWithUser_ProcCount:_d_ProcessName:_s_SessioID:_d
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x1c], eax
jne 0x100154c8
mov eax, 2
jmp 0x100154c8
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x230
mov esp, ebp
pop ebp
ret 8
Function at 0x100154f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x1004f100]
xor eax, esp
mov dword [esp + 0x240], eax
push edi
xor edi, edi
cmp esi, edi
je 0x100155f3
xor eax, eax
cmp ax, word [esi]
je 0x100155f3
push 0x228
lea ecx, [esp + 0x18]
push edi
push ecx
mov dword [esp + 0x1c], edi
call fcn.100285e0
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100155bc
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp ebx, dword [esp + 0xc]
jne 0x1001558a
lea edx, [esp + 0x34]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001559f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10015560
jmp 0x100155bc
mov eax, dword [esp + 0x18]
push ebx
push eax
push esi
push str.FindWithUser_Process:_s_Id:_d_With_SessionId:_d
mov edi, eax
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
push ebx
push esi
push edi
push str.FindWithUser_pid:_d_ProcessName:_s_SessioID:_d
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
mov edx, dword [esp + 0x18]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.100269c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x244]
pop edi
xor ecx, esp
xor eax, eax
call fcn.100269c5
mov esp, ebp
pop ebp
ret
Function at 0x10015610
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x448
mov eax, dword [0x1004f100]
xor eax, esp
mov dword [esp + 0x444], eax
push esi
push edi
xor edi, edi
mov esi, ecx
cmp ebx, edi
je 0x10015791
xor eax, eax
cmp ax, word [ebx]
je 0x10015791
push 0x228
lea ecx, [esp + 0x18]
push edi
push ecx
mov dword [esp + 0x1c], edi
call fcn.100285e0
add esp, 0xc
push edi
push 2
mov dword [esp + 0x10], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x10]
mov edi, eax
push edx
push edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10015759
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10015740
mov eax, dword [esp + 0x18]
push eax
push ebx
push str.FindWithUser_Process:_s_Id:_d
push ecx
mov dword [esp + 0x18], eax
call fcn.1001af90
add esp, 4
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
test esi, esi
je 0x10015759
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x24a]
push edx
mov word [esp + 0x24c], cx
call fcn.100285e0
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x240]
push eax
push ecx
call fcn.10014610
lea edx, [esp + 0x240]
push edx
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
push esi
push str.FindWithUser_Process:_s_Id:_d_UserName:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
test edi, edi
jne 0x10015734
lea ecx, [esp + 0x240]
push esi
push ecx
call fcn.10026f4b
add esp, 8
test eax, eax
je 0x10015755
mov edi, dword [esp + 0xc]
mov dword [esp + 8], 0
lea edx, [esp + 0x10]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10015687
jmp 0x10015759
mov edi, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push ebx
push esi
push str.FindWithUser_pid:_d_ProcessName:_s_UserName:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.100269c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100269c5
mov esp, ebp
pop ebp
ret
Function at 0x100157b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x448
mov eax, dword [0x1004f100]
xor eax, esp
mov dword [esp + 0x444], eax
xor eax, eax
push esi
push edi
cmp eax, str.wwahost.exe
je 0x1001594d
mov eax, str.wwahost.exe
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100157e1
sub eax, edx
sar eax, 1
je 0x1001594d
push 0
push 2
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x10015828
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.100269c5
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10015930
jmp 0x10015840
lea edx, [esp + 0x34]
push str.wwahost.exe
push edx
call fcn.10026f4b
add esp, 8
test eax, eax
jne 0x100158f7
mov eax, dword [esp + 0x18]
push eax
push str.wwahost.exe
push str.TeminateProcessByNameWithUserName_Process:_s_Id:_d
push ecx
call fcn.1001af90
add esp, 4
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
test ebx, ebx
je 0x10015927
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x24a]
push edx
mov word [esp + 0x24c], cx
call fcn.100285e0
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x240]
push eax
push ecx
call fcn.10014610
lea edx, [esp + 0x240]
push edx
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
push str.wwahost.exe
push str.TeminateProcessByNameWithUserName_Process:_s_Id:_d_UserName:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
test esi, esi
jne 0x100158f7
lea ecx, [esp + 0x240]
push ebx
push ecx
call fcn.10026f4b
add esp, 8
test eax, eax
je 0x10015927
lea edx, [esp + 0x10]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10015840
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.100269c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
call fcn.100179e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.100269c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
xor ecx, esp
mov eax, 0x57
call fcn.100269c5
mov esp, ebp
pop ebp
ret
Function at 0x10016030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036b98
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
cmp dword [0x1005163c], edi
jne 0x100161ed
mov dword [ebp - 4], edi
mov eax, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], eax
push 0x28
xor eax, eax
push str.SYSTEMCurrentControlSetServicesFseCtl
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.10001a60
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x100160b3
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x34]
push ecx
push 0x20119
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
je 0x10016101
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x100160da
lea edi, [ebp - 0x2c]
call fcn.1001af90
push edi
push esi
push 0x10040450
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], esi
call fcn.10028c35
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x4c]
push edx
push edi
push str.ProtectionPolicy
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x10016159
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1001612f
lea esi, [ebp - 0x2c]
call fcn.1001af90
push esi
mov esi, dword [ebp - 0x38]
push esi
push str.____RegGetValue_ProtectionPolicy_error__code__08x__Path:_s
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], esi
call fcn.10028c35
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x3c]
and eax, 1
mov dword [ebp - 0x34], edi
mov dword [0x10051638], eax
mov dword [0x1005163c], 1
cmp dword [ebp - 0x18], ebx
jb 0x1001618c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100269ba
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x100161be
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x100161cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], edi
mov edx, dword [ebp - 0x38]
mov eax, dword [0x10051638]
push edx
push eax
push str.IsProtectEnable_bEnable:_d_Info:_08x
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
mov eax, dword [0x10051638]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100269c5
mov esp, ebp
pop ebp
ret
Function at 0x10017960
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1001797f
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
add esp, 0x1c
ret

Function at 0x100179e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036510
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1004f100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
cmp ebx, edi
je 0x10017ad7
cmp ebx, 4
je 0x10017ad7
call fcn.10017960
push ebx
push edi
push 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x10017a69
mov edi, 4
test edi, edi
je 0x10017a90
push 0
push 0x3e8
dec edi
call dword [sym.imp.KERNEL32.dll_SleepEx]
push ebx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10017a43
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x10017ab7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
call fcn.10028c35
test esi, esi
jne 0x10017a69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
push 0x10049464
lea eax, [ebp - 0x1c]
push eax
call fcn.10028c35
mov eax, 0x10017ab4
ret
test esi, esi
je 0x10017ac2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001ae60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x620
mov eax, dword [0x1004f100]
xor eax, esp
mov dword [esp + 0x61c], eax
push ebx
push ebp
push esi
xor ebp, ebp
push 0x208
lea esi, [edi + 8]
push ebp
push esi
mov ebx, ecx
mov dword [edi], 1
mov dword [edi + 4], ebp
call fcn.100285e0
push 0x206
lea ecx, [esp + 0x1e]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x24], ax
call fcn.100285e0
add esp, 0x18
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1001aed8
push 0x10045e18
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.10001f00
add esp, 0xc
push ebx
push str.FseLocalLog
lea ecx, [esp + 0x14]
push ecx
push str._s_s_s.log
push 0x104
push esi
call fcn.10001f00
push 0x410
lea edx, [esp + 0x232]
push ebp
mov ebx, 1
push edx
mov dword [edi + 0x210], ebx
call fcn.100285e0
xor eax, eax
add esp, 0x24
lea esi, [esp + 0x214]
mov word [esp + 0x214], ax
call fcn.1001aaf0
test eax, eax
jne 0x1001af34
mov dword [edi + 0x210], ebp
lea esi, [esp + 0x214]
mov dword [edi + 0x21c], ebx
call fcn.1001ac30
test eax, eax
je 0x1001af50
mov dword [edi + 0x21c], ebp
mov ecx, dword [esp + 0x628]
pop esi
mov dword [edi + 0x214], ebp
mov dword [edi + 0x218], ebp
mov dword [edi + 0x220], ebp
mov dword [edi + 0x224], ebp
mov dword [edi + 0x228], ebp
pop ebp
pop ebx
xor ecx, esp
mov eax, edi
call fcn.100269c5
add esp, 0x620
ret
Function at 0x1001bb50
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x10049b78
push 0x10028c90
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1004f100]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x210], ebx
je 0x1001bc8f
lea esi, [edi + 8]
xor eax, eax
cmp ax, word [esi]
je 0x1001bc8f
mov eax, dword [edi + 4]
cmp eax, ebx
jle 0x1001bbc4
cmp eax, 0x200000
jl 0x1001bc8f
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x40]
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [ebp - 0x20]
cmp eax, 0x200000
ja 0x1001bc07
cmp dword [ebp - 0x24], ebx
ja 0x1001bc07
mov dword [edi + 4], eax
jmp 0x1001bc88
xor edx, edx
mov word [ebp], dx
push 0x206
push ebx
lea eax, [ebp + 2]
push eax
call fcn.100285e0
add esp, 0xc
push esi
push 0x104
lea ecx, [ebp]
push ecx
call fcn.100140c0
mov dword [ebp - 0x1c], 0x104
lea eax, [ebp - 0x1c]
lea edx, [ebp]
call fcn.1001a980
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov dword [ebp - 0x1c], eax
xor edx, edx
mov word [ebp + eax*2], dx
push str..0.log
push 0x104
lea eax, [ebp]
push eax
call fcn.10014160
push 9
lea ecx, [ebp]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [edi + 4], ebx
jmp 0x1001bc88
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x1001ce00
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100364f0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x1004f100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push 0x80
push 3
push edi
mov dword [ebp - 4], edi
push 7
push 0x80
push eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
jne 0x1001ce87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], eax
call fcn.10028c35
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x44]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, edi
jne 0x1001ceb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], eax
call fcn.10028c35
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
mov eax, dword [ebp + 0xc]
push edi
push edi
push 3
push edi
push 7
push 0x100
push eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
jne 0x1001cf45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10049464
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], eax
call fcn.10028c35
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
mov eax, 0x1001cf04
ret
mov eax, dword [ebp - 0x14]
push eax
call ebx
cmp edi, 0xffffffff
je 0x1001cf21
push edi
call ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x44]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call ebx
jmp 0x1001cf13
Function at 0x1001e020
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x10037470
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x206
mov esi, ecx
lea ecx, [ebp + 2]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x14], edi
mov word [ebp], ax
call fcn.100285e0
push esi
push str._sSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
lea edx, [ebp]
mov dword [ebp - 4], edi
push 0x104
push edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], 4
call fcn.10001f00
add esp, 0x1c
lea eax, [ebp - 0x14]
push eax
push 0x2011f
push edi
lea ecx, [ebp]
push ecx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
je 0x1001e121
call fcn.1001af90
lea edx, [ebp]
push edx
push esi
push str.EnableExplorerSepDrive_open_User_key_error:_08x_keypath:_s
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push edi
lea eax, [ebp - 0x14]
push eax
push edi
push 0x2011f
push edi
push edi
push edi
lea ecx, [ebp]
push ecx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
cmp esi, edi
je 0x1001e121
call fcn.1001af90
lea edx, [ebp]
push edx
push esi
push str.EnableExplorerSepDrive_create_User_key_error:_08x_keypath:_s
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
push 0x10049464
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], esi
call fcn.10028c35
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
push edi
push edi
push str.NoDrives
push eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, edi
je 0x1001e19c
mov dword [ebp - 0x18], edi
call fcn.1001af90
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push ecx
push edx
push esi
push str.EnableExplorerSepDrive_RegQueryValueEx_rlt_0x_08x__value_0x_08x___updatevalue:_08x
mov ecx, eax
call fcn.1001b3f0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
push ecx
push 4
push edi
push str.NoDrives
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, edi
je 0x1001e19c
call fcn.1001af90
lea ecx, [ebp]
push ecx
push esi
push str.EnableExplorerSepDrive_set_key_value_error:_08x_keypath:_s__NoDrives
mov ecx, eax
call fcn.1001b4f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x1001e1b4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
lea eax, [ebp]
push eax
push esi
push str.EnableExplorerSepDrive_Rlt:_08x__szKeyPath:_s
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
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 + 0x208]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x20c
mov esp, ebp
pop ebp
ret