joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005dc74
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.18003fdf4
xor ebx, ebx
cmp qword [0x180101d10], rbx
mov rdi, rax
jne 0x18005dd87
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x18005de5e
lea rdx, [0x1800bda00]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005de5e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x180101d10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x180101d18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1800bd9b8]
mov rcx, rsi
mov qword [0x180101d20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x180101d30], rax
test rax, rax
je 0x18005dd7e
lea rdx, [0x1800bd9a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x180101d28], rax
jmp 0x18005dd8e
mov rax, qword [0x180101d28]
jmp 0x18005dd95
mov rax, qword [0x180101d28]
mov r11, qword [0x180101d30]
cmp rax, rdi
je 0x18005ddfc
cmp r11, rdi
je 0x18005ddfc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x180101d30]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x18005ddfc
test rax, rax
je 0x18005ddfc
call rsi
test rax, rax
je 0x18005ddf6
lea rcx, [rsp + 0x30]
mov r9d, ntohs
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18005ddf6
test byte [rsp + 0x40], 1
jne 0x18005ddfc
bts ebp, 0x15
jmp 0x18005de3c
mov rcx, qword [0x180101d18]
cmp rcx, rdi
je 0x18005de3c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18005de3c
call rax
mov rbx, rax
test rax, rax
je 0x18005de3c
mov rcx, qword [0x180101d20]
cmp rcx, rdi
je 0x18005de3c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18005de3c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x180101d10]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x18005de5e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x18005de60
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180038100
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180062fe0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x180101d74]
test ecx, ecx
jne 0x1800630ff
mov eax, dword [0x180101d70]
cmp eax, 3
ja 0x1800630ff
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x180101d70], eax
call fcn.18002cb70
test eax, eax
je 0x180063026
lea rcx, str.Userenv.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x180063033
lea rcx, [0x1800bdb20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x180063045
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.CreateEnvironmentBlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DestroyEnvironmentBlock
mov rcx, rbx
mov qword [0x180101d38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ExpandEnvironmentStringsForUserA
mov rcx, rbx
mov qword [0x180101d40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ExpandEnvironmentStringsForUserW
mov rcx, rbx
mov qword [0x180101d48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LoadUserProfileA
mov rcx, rbx
mov qword [0x180101d50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LoadUserProfileW
mov rcx, rbx
mov qword [0x180101d58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UnloadUserProfile
mov rcx, rbx
mov qword [0x180101d60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov dword [0x180101d74], 1
mov qword [0x180101d68], rax
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x180066b50
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
call fcn.180065a10
mov r11, qword [0x1801023a0]
mov rdx, rbx
mov rcx, rdi
test r11, r11
je 0x180066b9a
mov eax, dword [rsp + 0x60]
mov r9, rsi
mov r8, rbp
mov dword [rsp + 0x20], eax
call r11
jmp 0x180066ba0
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180068170
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x390
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rdi, rdx
mov r8, rdx
mov edx, 4
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
mov ebx, eax
test eax, eax
je 0x1800682dc
lea rcx, [rsp + 0x271]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x3c0], rsi
mov byte [rsp + 0x270], 0
call fcn.180038130
lea rdx, [0x1800b33e0]
lea rcx, [rsp + 0x270]
mov r8, rbp
call fcn.180037dc8
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x13c
mov dword [rsp + 0x20], 0
call fcn.180038130
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800682d2
lea rdx, [0x1800b2ed8]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1800682af
lea rdx, [0x1800b2ed4]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1800682af
lea rcx, [rsp + 0x161]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x160], 0
call fcn.180038130
lea r9, [rsp + 0x4c]
lea rdx, [0x1800b1b9c]
lea rcx, [rsp + 0x160]
mov r8, rbp
call fcn.180037dc8
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x160]
je 0x18006829f
mov rdx, rdi
call fcn.180068170
jmp 0x1800682ad
mov r8, rdi
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
mov ebx, eax
test ebx, ebx
je 0x1800682c9
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180068221
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x3c0]
mov eax, ebx
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.180038100
add rsp, 0x390
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800691b0
Capabilities:
Get user security identifier

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x40
xor ebx, ebx
lea rax, [rsp + 0x78]
mov rsi, rdx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rdx], rbx
mov rbp, rcx
mov rdx, rcx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x180069210
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x180069210
xor eax, eax
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
mov ecx, dword [rsp + 0x70]
mov qword [rsp + 0x60], rdi
call fcn.180039e84
mov ecx, dword [rsp + 0x68]
mov qword [rsi], rax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180039e84
mov r8, qword [rsi]
mov rdi, rax
test r8, r8
je 0x18006927b
test rax, rax
je 0x18006928c
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test rdi, rdi
je 0x180069288
mov rcx, rdi
call fcn.1800390b8
test ebx, ebx
jne 0x180069299
mov rcx, qword [rsi]
test rcx, rcx
je 0x180069299
call fcn.1800390b8
mov eax, ebx
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
Function at 0x18006be40
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x2f0
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov rdi, qword [rsp + 0x350]
mov rbp, rcx
mov r12, r8
mov r13, rdx
xor r14d, r14d
lea rcx, [rsp + 0xe1]
mov ebx, r14d
mov r8d, 0x1f3
xor edx, edx
mov byte [rsp + 0xe0], bl
mov rsi, r9
call fcn.180038130
test r12, r12
je 0x18006bec5
lea r8, [rsp + 0xe0]
mov r9d, 0x1f3
or edx, 0xffffffff
mov rcx, r12
mov dword [rsp + 0x20], r14d
call fcn.18001cec0
lea rbx, [rsp + 0xe0]
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], WSAGetLastError
lea r8d, [rdx + 0x60]
call fcn.180038130
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov rdx, rbx
mov rcx, r13
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
test eax, eax
je 0x18006bf66
test rsi, rsi
je 0x18006bf39
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x18006bf53
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006bf6f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006bf6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 8], eax
mov eax, ebx
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.180038100
add rsp, 0x2f0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18006cf60
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x808]
sub rsp, 0x908
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rsi, qword [rbp + 0x870]
mov rdi, qword [rbp + 0x878]
xor eax, eax
mov rbx, r8
mov r15, rcx
mov qword [rsp + 0x68], rdx
lea r8d, [rax + 0x60]
lea rcx, [rsp + 0x78]
xor edx, edx
mov r12, r9
mov r14d, eax
mov r13d, eax
mov dword [rsp + 0x70], WSAGetLastError
call fcn.180038130
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x50], rcx
mov word [rbp + 0x1f0], cx
lea rcx, [rbp + 0x1f2]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.180038130
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x18006d025
lea r8, [rbp + 0x1f0]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, rax
mov dword [rsp + 0x20], r13d
call fcn.18001cc10
lea r14, [rbp + 0x1f0]
xor eax, eax
lea rcx, [rbp + 0x402]
xor edx, edx
mov r8d, 0x3e6
mov word [rbp + 0x400], ax
call fcn.180038130
test rbx, rbx
je 0x18006d06c
xor eax, eax
lea r8, [rbp + 0x400]
mov r9d, 0x1f4
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.18001cea0
lea r13, [rbp + 0x400]
lea rcx, [rbp - 0x1e]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rbp - 0x20], bx
call fcn.180038130
test r12, r12
je 0x18006d0a9
lea r8, [rbp - 0x20]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.18001cea0
lea r11, [rbp - 0x20]
mov qword [rbp - 0x80], r11
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, r13
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov rcx, r14
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x18006d11f
test rsi, rsi
je 0x18006d0f2
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x18006d10c
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006d129
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006d129
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15 + 8], eax
mov eax, ebx
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.180038100
add rsp, 0x908
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x18006e240
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1f90
call fcn.18003ac00
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rsp + 0x1f80], rax
mov esi, r9d
mov r14, r8
mov r13, rdx
mov rdi, rcx
or r8d, 0xffffffff
xor edx, edx
mov rcx, r13
call fcn.18001ef10
or r8d, 0xffffffff
xor edx, edx
mov rcx, r14
call fcn.18001b800
call fcn.1800ab9f0
mov rbx, qword [0x180103d20]
test rbx, rbx
je 0x18006e3af
cmp esi, 0xffffffff
jne 0x18006e2cf
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov rcx, rdi
call qword [rbx + 0x70]
mov esi, eax
mov rbx, qword [0x180103d20]
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x40], ebp
xor edx, edx
mov r8d, 0x1f3c
lea rcx, [rsp + 0x44]
call fcn.180038130
lea r8, [rsp + 0x20]
mov edx, 0x1f40
lea rcx, [rsp + 0x40]
call rbx
test eax, eax
je 0x18006e3a6
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x18006e39f
lea rbx, [rsp + 0x40]
mov r12d, eax
nop dword [rax + rax]
cmp esi, 0xfffffffe
je 0x18006e334
mov rax, qword [rdi]
mov edx, dword [rbx]
mov rcx, rdi
call qword [rax + 0x70]
cmp esi, eax
jne 0x18006e396
test ebp, ebp
jne 0x18006e355
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rbp + 1]
lea rdx, str.SeDebugPrivilege
call fcn.180069140
mov ebp, 1
mov r8d, dword [rbx]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.18001f170
mov r11, qword [rdi]
mov r8d, dword [rbx]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [r11 + 0x80]
nop
lea r8, [rsp + 0x28]
mov edx, dword [r14 + 8]
mov rcx, r14
call fcn.18001ba50
nop
lea rcx, [rsp + 0x28]
call fcn.180016760
add rbx, 4
dec r12
jne 0x18006e320
mov eax, 1
jmp 0x18006e3b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 8], eax
xor eax, eax
mov rcx, qword [rsp + 0x1f80]
xor rcx, rsp
call fcn.180038100
add rsp, 0x1f90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18006f1a0
Capabilities:
Acquire debug privileges

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x210
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x250], rbx
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov r12, r9
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.18006cc60
lea rcx, [rsp + 0x28]
call fcn.18006d8b0
nop
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18006ec10
test eax, eax
je 0x18006f333
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov r8d, 1
lea rdx, str.SeDebugPrivilege
call fcn.180069140
xor r13d, r13d
mov ebx, r13d
lea rcx, [rsp + 0x28]
call fcn.18006d8c0
mov ebp, eax
test eax, eax
jle 0x18006f316
mov dword [rsp + 0x50], r13d
xor edx, edx
mov r8d, 0x1a4
lea rcx, [rsp + 0x54]
call fcn.180038130
mov edx, ebx
lea rcx, [rsp + 0x28]
call fcn.18006e950
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r8d, 0xa0
call fcn.18003a360
mov r11, qword [rdi]
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [r11 + 0x80]
nop
mov rax, qword [rsp + 0x20]
cmp dword [rax - 8], 0
jne 0x18006f2c5
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x18006f2aa
lea rdx, str.System_Idle_Process
jmp 0x18006f2bb
cmp eax, 4
je 0x18006f2b4
cmp eax, 8
jne 0x18006f2c5
lea rdx, [0x1800b9100]
lea rcx, [rsp + 0x20]
call fcn.1800168e0
mov r8d, 0x103
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xf4]
call fcn.1800383f0
mov r8, r12
lea rdx, [rsp + 0xf4]
mov rcx, rdi
call fcn.18006fef0
test eax, eax
je 0x18006f302
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.18006cc70
nop
lea rcx, [rsp + 0x20]
call fcn.180016760
inc ebx
cmp ebx, ebp
jl 0x18006f240
mov rdx, rsi
mov rcx, rdi
call fcn.18006ee80
nop
lea rcx, [rsp + 0x28]
call fcn.18006e960
mov eax, 1
jmp 0x18006f33f
lea rcx, [rsp + 0x28]
call fcn.18006e960
xor eax, eax
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.180038100
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18006f7e0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x18006f7fe
mov dword [rcx + 8], 0x57
add rsp, 0x20
pop rbx
ret
mov edx, r8d
mov rcx, rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
test eax, eax
jne 0x18006f81e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x18006f830
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.180065a10
mov r11, qword [0x1801024e0]
test r11, r11
jne 0x18006f85d
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov r8d, edi
mov qword [rsp + 0x30], rsi
lea ecx, [rdx + 2]
call r11
mov rsi, rax
test rax, rax
jne 0x18006f890
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsp + 0x30]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov edi, eax
cmp eax, 0xffffffff
jne 0x18006f8a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor eax, eax
cmp edi, 0xffffffff
setne al
add rsp, 0x20
pop rdi
ret

Function at 0x18006f8d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.180065a10
mov r11, qword [0x1801024e0]
test r11, r11
jne 0x18006f8fd
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov r8d, edi
mov qword [rsp + 0x30], rsi
lea ecx, [rdx + 2]
call r11
mov rsi, rax
test rax, rax
jne 0x18006f930
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsp + 0x30]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
cmp eax, 0xffffffff
jne 0x18006f949
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
xor eax, eax
cmp edi, 0xffffffff
setne al
add rsp, 0x20
pop rdi
ret
Function at 0x18006f970
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov esi, edx
mov rbx, rcx
call fcn.180065a10
mov r11, qword [0x1801024e0]
test r11, r11
je 0x18006f9b4
xor edx, edx
mov r8d, esi
lea ecx, [rdx + 1]
call r11
mov rsi, rax
test rax, rax
jne 0x18006f9c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, eax
test eax, eax
jne 0x18006f9e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x18006fc40
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1800e7b20]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.180038130
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180019eb0
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180038100
add rsp, 0x150
pop rbx
ret

Function at 0x18006ff70
Capabilities:
Suspend thread

Disassembly:
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov ebx, edx
mov r12, rcx
call fcn.180065a10
cmp qword [0x1801024e0], 0
je 0x18006ffd6
lea rcx, [rsp + 0x28]
call fcn.18001eef0
nop
mov rax, qword [r12]
lea r8, [rsp + 0x28]
mov edx, ebx
mov rcx, r12
call qword [rax + 0xd0]
mov ebp, eax
test eax, eax
jne 0x18006ffda
lea rcx, [rsp + 0x28]
call fcn.18001ef00
xor eax, eax
jmp 0x180070049
xor edi, edi
xor esi, esi
cmp dword [rsp + 0x30], esi
jle 0x18007003d
nop word [rax + rax]
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + rsi*4]
xor edx, edx
lea ecx, [rdx + 2]
call qword [0x1801024e0]
mov rbx, rax
test rsi, rsi
jne 0x180070011
test rax, rax
je 0x180070030
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
inc rsi
cmp edi, dword [rsp + 0x30]
jge 0x18007003d
jmp 0x18006fff0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.18001ef00
mov eax, ebp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
Function at 0x180070070
Capabilities:
Resume thread

Disassembly:
push r12
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov ebx, edx
mov r12, rcx
call fcn.180065a10
cmp qword [0x1801024e0], 0
je 0x1800700d6
lea rcx, [rsp + 0x28]
call fcn.18001eef0
nop
mov rax, qword [r12]
lea r8, [rsp + 0x28]
mov edx, ebx
mov rcx, r12
call qword [rax + 0xd0]
mov ebp, eax
test eax, eax
jne 0x1800700da
lea rcx, [rsp + 0x28]
call fcn.18001ef00
xor eax, eax
jmp 0x180070149
xor edi, edi
xor esi, esi
cmp dword [rsp + 0x30], esi
jle 0x18007013d
nop word [rax + rax]
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + rsi*4]
xor edx, edx
lea ecx, [rdx + 2]
call qword [0x1801024e0]
mov rbx, rax
test rsi, rsi
jne 0x180070111
test rax, rax
je 0x180070130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
inc rsi
cmp edi, dword [rsp + 0x30]
jge 0x18007013d
jmp 0x1800700f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12 + 8], eax
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.18001ef00
mov eax, ebp
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret

Function at 0x180070170
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov ebx, r9d
mov r13, r8
mov rbp, rdx
mov r12, rcx
lea rcx, [rsp + 0x28]
call fcn.18001eef0
nop
mov rax, qword [r12]
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, r12
call qword [rax + 0xb0]
test eax, eax
jne 0x1800701d3
lea rcx, [rsp + 0x28]
call fcn.18001ef00
xor eax, eax
jmp 0x18007026f
xor esi, esi
mov ebx, esi
cmp dword [rsp + 0x30], ebx
jle 0x180070260
mov edi, esi
test esi, esi
jne 0x180070204
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rsi + 1]
lea rdx, str.SeDebugPrivilege
call fcn.180069140
mov esi, 1
mov rax, qword [rsp + 0x28]
mov r9, qword [r12]
mov r8d, dword [rdi + rax]
lea rdx, [rsp + 0x60]
mov rcx, r12
call qword [r9 + 0x80]
nop
mov r8, r13
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.18006fef0
test eax, eax
je 0x18007024a
mov rax, qword [rsp + 0x28]
mov r8d, dword [rdi + rax]
mov edx, dword [rbp + 8]
mov rcx, rbp
call fcn.18001f170
nop
lea rcx, [rsp + 0x60]
call fcn.180016760
inc ebx
add rdi, 4
cmp ebx, dword [rsp + 0x30]
jl 0x1800701e3
lea rcx, [rsp + 0x28]
call fcn.18001ef00
mov eax, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret