joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180077710
Capabilities:
Persist via run registry key

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rbx, r8
mov esi, edx
mov rdi, rcx
test rcx, rcx
je 0x1800778c0
test rbx, rbx
je 0x1800778c0
cmp byte [rcx], 0
je 0x1800778c0
cmp byte [r8], 0
je 0x1800778c0
lea rcx, [rsp + 0x28]
call fcn.1800338e0
nop
cmp esi, 2
je 0x1800777cd
cmp esi, 1
je 0x1800777cd
mov r9d, 0x2001f
mov r8, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.1800332e0
test rax, rax
jne 0x1800777b6
mov r9d, 0x2001f
mov r8, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.180031f90
test rax, rax
jne 0x1800777b6
jmp 0x1800778b6
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180032170
mov ebx, eax
jmp 0x18007789d
mov rax, qword [0x1800e0ed0]
mov qword [rsp + 0x50], rax
mov r9, rdi
mov r8, qword [str.SystemCurrentControlSetServicesVxD]
lea rdx, [0x1800d1c4c]
lea rcx, [rsp + 0x50]
call fcn.180028c40
mov r9d, 0x2001f
mov r8, qword [rsp + 0x50]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.1800332e0
test rax, rax
jne 0x180077825
lea rcx, [rsp + 0x50]
call fcn.180027bd0
nop
jmp 0x1800778b6
mov rax, qword [0x1800e0ed0]
mov qword [rsp + 0x68], rax
mov edx, 0x5c
mov rcx, rbx
call fcn.180044298
test rax, rax
je 0x180077851
lea rdx, [rax + 1]
lea rcx, [rsp + 0x68]
call fcn.180027d50
mov r8, qword [rsp + 0x68]
cmp dword [r8 - 8], 0
jne 0x180077875
lea rcx, [rsp + 0x68]
call fcn.180027bd0
nop
lea rcx, [rsp + 0x50]
call fcn.180027bd0
nop
jmp 0x1800778b6
mov rdx, qword [str.StaticVxD]
lea rcx, [rsp + 0x28]
call fcn.180032170
mov ebx, eax
lea rcx, [rsp + 0x68]
call fcn.180027bd0
nop
lea rcx, [rsp + 0x50]
call fcn.180027bd0
lea rcx, [rsp + 0x28]
call fcn.180031f70
nop
lea rcx, [rsp + 0x28]
call fcn.180033260
mov eax, ebx
jmp 0x1800778c2
lea rcx, [rsp + 0x28]
call fcn.180033260
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800778e0
Capabilities:
Persist via run registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
mov qword [rbp - 0x28], rax
mov rax, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServicesOnce]
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x38]
call fcn.1800338e0
nop
lea r12, [rbp - 0x28]
mov r13d, 2
xor r15d, r15d
nop dword [rax]
mov r9d, 0x20019
mov r8, qword [r12]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x38]
call fcn.1800332e0
test rax, rax
je 0x180077a10
lea rcx, [rbp - 0x18]
call fcn.1800274b0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.1800338c0
test eax, eax
je 0x1800779fd
mov ebx, r15d
cmp dword [rbp - 0x10], ebx
jle 0x1800779fd
nop word [rax + rax]
mov r8d, ebx
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x18]
call fcn.18000a790
nop
mov r8, qword [rbp + 0x58]
cmp dword [r8 - 8], 0
je 0x1800779ed
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.1800333a0
nop
mov rax, qword [rbp + 0x40]
cmp dword [rax - 8], 0
je 0x1800779e3
lea r8, [rbp + 0x58]
mov edx, dword [rdi + 8]
mov rcx, rdi
call fcn.18002ce90
lea r8, [rbp + 0x40]
mov edx, dword [rsi + 8]
mov rcx, rsi
call fcn.18002ce90
nop
lea rcx, [rbp + 0x40]
call fcn.180027bd0
nop
lea rcx, [rbp + 0x58]
call fcn.180027bd0
inc ebx
cmp ebx, dword [rbp - 0x10]
jl 0x180077990
lea rcx, [rbp - 0x38]
call fcn.180031f70
nop
lea rcx, [rbp - 0x18]
call fcn.18002cc10
add r12, 8
dec r13
jne 0x180077940
or r8d, 0xffffffff
xor edx, edx
mov rcx, r14
call fcn.180030300
mov esi, r15d
cmp dword [rdi + 8], r15d
jle 0x180077a8e
mov rbx, r15
nop word [rax + rax]
mov dword [rbp + 0x40], r15d
lea rdx, [0x1800d51b0]
lea rcx, [rbp + 0x58]
call fcn.18002b2f0
nop
mov rax, qword [rdi]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbx + rax]
call fcn.180077580
mov r8d, dword [rbp + 0x40]
mov edx, dword [r14 + 8]
mov rcx, r14
call fcn.180030560
nop
lea rcx, [rbp + 0x58]
call fcn.180027bd0
inc esi
add rbx, 8
cmp esi, dword [rdi + 8]
jl 0x180077a40
lea rcx, [rbp - 0x38]
call fcn.180033260
mov eax, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180077ac0
Capabilities:
Persist via run registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov r12, rdx
mov r13, rcx
mov rax, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
mov qword [rbp - 0x28], rax
mov rax, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServicesOnce]
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x38]
call fcn.1800338e0
nop
lea rdi, [rbp - 0x28]
mov esi, 2
nop
mov r9d, 0x20019
mov r8, qword [rdi]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x38]
call fcn.1800332e0
test rax, rax
je 0x180077be3
lea rcx, [rbp - 0x18]
call fcn.1800274b0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.1800338c0
test eax, eax
je 0x180077bd0
xor ebx, ebx
cmp dword [rbp - 0x10], ebx
jle 0x180077bd0
nop dword [rax + rax]
mov r8d, ebx
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x18]
call fcn.18000a790
nop
mov r8, qword [rbp + 0x48]
cmp dword [r8 - 8], 0
je 0x180077bc0
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.1800333a0
nop
mov rax, qword [rbp + 0x40]
cmp dword [rax - 8], 0
je 0x180077bb6
lea r8, [rbp + 0x48]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.18002ce90
lea r8, [rbp + 0x40]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.18002ce90
nop
lea rcx, [rbp + 0x40]
call fcn.180027bd0
nop
lea rcx, [rbp + 0x48]
call fcn.180027bd0
inc ebx
cmp ebx, dword [rbp - 0x10]
jl 0x180077b60
lea rcx, [rbp - 0x38]
call fcn.180031f70
nop
lea rcx, [rbp - 0x18]
call fcn.18002cc10
add rdi, 8
dec rsi
jne 0x180077b10
lea rcx, [rbp - 0x38]
call fcn.180033260
lea eax, [rsi + 1]
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180078480
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 0x1800784e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1800784e0
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.180045488
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.180045488
mov r8, qword [rsi]
mov rdi, rax
test r8, r8
je 0x18007854b
test rax, rax
je 0x18007855c
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 0x180078558
mov rcx, rdi
call fcn.180045904
test ebx, ebx
jne 0x180078569
mov rcx, qword [rsi]
test rcx, rcx
je 0x180078569
call fcn.180045904
mov eax, ebx
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
Function at 0x18007a4a0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x390
mov rax, qword [0x18011a300]
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 0x18007a60c
lea rcx, [rsp + 0x271]
xor edx, edx
mov r8d, 0x103
mov qword [rsp + 0x3c0], rsi
mov byte [rsp + 0x270], 0
call fcn.180043ef0
lea rdx, [0x1800d4ec8]
lea rcx, [rsp + 0x270]
mov r8, rbp
call fcn.180043b88
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x13c
mov dword [rsp + 0x20], 0
call fcn.180043ef0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18007a602
lea rdx, [0x1800d4b0c]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x18007a5df
lea rdx, [0x1800d4b08]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x18007a5df
lea rcx, [rsp + 0x161]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x160], 0
call fcn.180043ef0
lea r9, [rsp + 0x4c]
lea rdx, [0x1800d1c4c]
lea rcx, [rsp + 0x160]
mov r8, rbp
call fcn.180043b88
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x160]
je 0x18007a5cf
mov rdx, rdi
call fcn.18007a4a0
jmp 0x18007a5dd
mov r8, rdi
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
mov ebx, eax
test ebx, ebx
je 0x18007a5f9
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18007a551
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.180043ec0
add rsp, 0x390
pop rdi
pop rbp
pop rbx
ret
Function at 0x18007ba30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, r8d
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x18007ba49
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rdi
not r9d
lea rdi, [0x1800e74a0]
cmp r11d, 8
jb 0x18007bb41
mov qword [rsp + 0x10], rbx
mov rbx, r11
shr rbx, 3
nop dword [rax]
movzx ecx, byte [r10]
mov eax, r9d
shr r9d, 8
xor rcx, rax
add r10, 8
add r11d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r10 - 7]
mov edx, dword [rdi + rax*4]
xor edx, r9d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 6]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 5]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 4]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 3]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 2]
mov r8d, dword [rdi + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r10 - 1]
mov edx, dword [rdi + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov r9d, dword [rdi + rax*4]
xor r9d, edx
dec rbx
jne 0x18007ba70
mov rbx, qword [rsp + 0x10]
test r11d, r11d
je 0x18007bb6f
nop word [rax + rax]
movzx ecx, byte [r10]
mov eax, r9d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r9d, dword [rdi + rdx*4]
xor r9d, eax
dec r11d
jne 0x18007bb50
mov rdi, qword [rsp]
not r9d
mov eax, r9d
add rsp, 8
ret
Function at 0x18007f5c0
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.18007e480
mov r11, qword [0x180140db8]
mov rdx, rbx
mov rcx, rdi
test r11, r11
je 0x18007f60a
mov eax, dword [rsp + 0x60]
mov r9, rsi
mov r8, rbp
mov dword [rsp + 0x20], eax
call r11
jmp 0x18007f610
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 0x18007f7f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x18014104c]
test ecx, ecx
jne 0x18007f90f
mov eax, dword [0x180141048]
cmp eax, 3
ja 0x18007f90f
inc eax
mov qword [rsp + 0x20], rbx
mov dword [0x180141048], eax
call fcn.180036d30
test eax, eax
je 0x18007f836
lea rcx, str.Userenv.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x18007f843
lea rcx, [0x1800e8a18]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x18007f855
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 [0x180141010], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ExpandEnvironmentStringsForUserA
mov rcx, rbx
mov qword [0x180141018], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ExpandEnvironmentStringsForUserW
mov rcx, rbx
mov qword [0x180141020], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LoadUserProfileA
mov rcx, rbx
mov qword [0x180141028], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LoadUserProfileW
mov rcx, rbx
mov qword [0x180141030], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.UnloadUserProfile
mov rcx, rbx
mov qword [0x180141038], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x20]
mov dword [0x18014104c], 1
mov qword [0x180141040], rax
mov eax, 1
add rsp, 0x28
ret
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1800825e0
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 [0x18011a300]
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.180043ef0
test r12, r12
je 0x180082665
lea r8, [rsp + 0xe0]
mov r9d, 0x1f3
or edx, 0xffffffff
mov rcx, r12
mov dword [rsp + 0x20], r14d
call fcn.18002e300
lea rbx, [rsp + 0xe0]
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], 0x68
lea r8d, [rdx + 0x60]
call fcn.180043ef0
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 0x180082706
test rsi, rsi
je 0x1800826d9
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x1800826f3
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18008270f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18008270f
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.180043ec0
add rsp, 0x2f0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180083710
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 [0x18011a300]
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], 0x68
call fcn.180043ef0
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.180043ef0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1800837d5
lea r8, [rbp + 0x1f0]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, rax
mov dword [rsp + 0x20], r13d
call fcn.18002e050
lea r14, [rbp + 0x1f0]
xor eax, eax
lea rcx, [rbp + 0x402]
xor edx, edx
mov r8d, 0x3e6
mov word [rbp + 0x400], ax
call fcn.180043ef0
test rbx, rbx
je 0x18008381c
xor eax, eax
lea r8, [rbp + 0x400]
mov r9d, 0x1f4
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.18002e2e0
lea r13, [rbp + 0x400]
lea rcx, [rbp - 0x1e]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rbp - 0x20], bx
call fcn.180043ef0
test r12, r12
je 0x180083859
lea r8, [rbp - 0x20]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.18002e2e0
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 0x1800838cf
test rsi, rsi
je 0x1800838a2
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x1800838bc
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800838d9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800838d9
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.180043ec0
add rsp, 0x908
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180084a20
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1f90
call fcn.1800470d0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x18011a300]
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.180030300
or r8d, 0xffffffff
xor edx, edx
mov rcx, r14
call fcn.18002cc40
call fcn.1800cac90
mov rbx, qword [0x180141da8]
test rbx, rbx
je 0x180084b8f
cmp esi, 0xffffffff
jne 0x180084aaf
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 [0x180141da8]
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.180043ef0
lea r8, [rsp + 0x20]
mov edx, 0x1f40
lea rcx, [rsp + 0x40]
call rbx
test eax, eax
je 0x180084b86
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x180084b7f
lea rbx, [rsp + 0x40]
mov r12d, eax
nop dword [rax + rax]
cmp esi, 0xfffffffe
je 0x180084b14
mov rax, qword [rdi]
mov edx, dword [rbx]
mov rcx, rdi
call qword [rax + 0x70]
cmp esi, eax
jne 0x180084b76
test ebp, ebp
jne 0x180084b35
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rbp + 1]
lea rdx, str.SeDebugPrivilege
call fcn.18007b470
mov ebp, 1
mov r8d, dword [rbx]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.180030560
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.18002ce90
nop
lea rcx, [rsp + 0x28]
call fcn.180027bd0
add rbx, 4
dec r12
jne 0x180084b00
mov eax, 1
jmp 0x180084b91
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.180043ec0
add rsp, 0x1f90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180085980
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 [0x18011a300]
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.180083410
lea rcx, [rsp + 0x28]
call fcn.180084060
nop
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1800853f0
test eax, eax
je 0x180085b13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov r8d, 1
lea rdx, str.SeDebugPrivilege
call fcn.18007b470
xor r13d, r13d
mov ebx, r13d
lea rcx, [rsp + 0x28]
call fcn.180084070
mov ebp, eax
test eax, eax
jle 0x180085af6
mov dword [rsp + 0x50], r13d
xor edx, edx
mov r8d, 0x1a4
lea rcx, [rsp + 0x54]
call fcn.180043ef0
mov edx, ebx
lea rcx, [rsp + 0x28]
call fcn.180085130
mov rdx, rax
lea rcx, [rsp + 0x50]
mov r8d, 0xa0
call fcn.180045540
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 0x180085aa5
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x180085a8a
lea rdx, str.System_Idle_Process
jmp 0x180085a9b
cmp eax, 4
je 0x180085a94
cmp eax, 8
jne 0x180085aa5
lea rdx, [0x1800e1af0]
lea rcx, [rsp + 0x20]
call fcn.180027d50
mov r8d, 0x103
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xf4]
call fcn.1800441b0
mov r8, r12
lea rdx, [rsp + 0xf4]
mov rcx, rdi
call fcn.1800867c0
test eax, eax
je 0x180085ae2
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.180083420
nop
lea rcx, [rsp + 0x20]
call fcn.180027bd0
inc ebx
cmp ebx, ebp
jl 0x180085a20
mov rdx, rsi
mov rcx, rdi
call fcn.180085660
nop
lea rcx, [rsp + 0x28]
call fcn.180085140
mov eax, 1
jmp 0x180085b1f
lea rcx, [rsp + 0x28]
call fcn.180085140
xor eax, eax
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.180043ec0
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180085fc0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x180085fde
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 0x180085ffe
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 0x180086010
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.18007e480
mov r11, qword [0x180140ef8]
test r11, r11
jne 0x18008603d
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 0x180086070
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 0x180086089
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 0x1800860b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, edx
mov rbx, rcx
call fcn.18007e480
mov r11, qword [0x180140ef8]
test r11, r11
jne 0x1800860dd
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 0x180086110
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 0x180086129
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