joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180068820
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov rsi, rcx
call fcn.18002c2b0
test eax, eax
je 0x18006885c
mov dword [0x180122748], 0x32
xor eax, eax
jmp 0x1800688ff
xor eax, eax
mov qword [rsp + 0x90], rbx
xor ebx, ebx
lea rcx, [rsp + 0x20]
lea r9d, [rbx + 4]
lea r8d, [rbx + 1]
mov rdx, rsi
mov dword [0x180122748], ebx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], eax
call fcn.180068190
lea rcx, [rsp + 0x20]
call fcn.180068230
test rax, rax
je 0x1800688d7
lea rcx, [rsp + 0x20]
call fcn.180068230
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, eax
test eax, eax
jne 0x1800688cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
jmp 0x1800688db
mov eax, dword [rsp + 0x54]
mov dword [rdi], eax
jmp 0x1800688eb
mov eax, dword [rsp + 0x20]
test eax, eax
jne 0x1800688e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x180122748], eax
lea rcx, [rsp + 0x20]
call fcn.180068290
mov eax, ebx
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180036980
mov rsi, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x180068b10
Capabilities:
Query service configuration

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rcx
call fcn.18002c2b0
test eax, eax
je 0x180068b41
mov dword [0x180122748], 0x32
xor eax, eax
jmp 0x180068c0e
xor ebx, ebx
mov dword [0x180122748], ebx
lea r9d, [rbx + 1]
mov r8d, 0x80000000
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180068190
nop
lea rcx, [rsp + 0x28]
call fcn.180068230
test rax, rax
je 0x180068bde
mov dword [rsp + 0x78], ebx
lea rcx, [rsp + 0x28]
call fcn.180068230
mov rcx, rax
lea r9, [rsp + 0x78]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov r11d, dword [rsp + 0x78]
test r11d, r11d
je 0x180068bde
mov ecx, r11d
call fcn.18003783c
mov rbx, rax
test rax, rax
je 0x180068bde
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov rcx, rax
call fcn.1800369b0
lea rcx, [rsp + 0x28]
call fcn.180068230
mov rcx, rax
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x78]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x180068c01
mov eax, dword [rsp + 0x28]
test eax, eax
jne 0x180068bec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x180122748], eax
test rbx, rbx
je 0x180068c01
mov rcx, rbx
call fcn.180038270
xor ebx, ebx
lea rcx, [rsp + 0x28]
call fcn.180068290
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x180068e10
Capabilities:
Modify service

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov r15d, r9d
mov r14d, r8d
mov r13d, edx
mov rsi, rcx
mov rax, qword [rsp + 0x530]
mov qword [rsp + 0xa0], rax
mov rdi, qword [rsp + 0x538]
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x80], rax
mov r12, qword [rsp + 0x550]
mov rbx, qword [rsp + 0x558]
mov rax, qword [rsp + 0x560]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x568]
mov qword [rsp + 0x98], rax
xor ebp, ebp
lea rcx, [rsp + 0x68]
call fcn.18001cc20
nop
test r12, r12
je 0x180068ed5
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.180022550
test rbx, rbx
je 0x180068ee7
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180022550
mov byte [rsp + 0xb0], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0xb1]
call fcn.1800369b0
mov dword [rsp + 0x60], 0x400
cmp dword [rsp + 0x70], 0
jle 0x180068f49
lea r9, [rsp + 0x60]
lea r8, [rsp + 0xb0]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1800255d0
test eax, eax
jne 0x180068f41
lea rcx, [rsp + 0x68]
call fcn.1800223b0
xor eax, eax
jmp 0x180068fcd
lea rbp, [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, r15d
mov r8d, r14d
mov edx, r13d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
mov ebx, eax
test eax, eax
je 0x180068fc1
test rdi, rdi
je 0x180068fc1
mov rdx, rdi
mov rcx, rsi
call fcn.1800683e0
nop
lea rcx, [rsp + 0x68]
call fcn.1800223b0
mov eax, ebx
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.180036980
add rsp, 0x4c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180069260
Capabilities:
Enumerate services

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov r12d, ecx
call fcn.18002c2b0
test eax, eax
je 0x1800692aa
mov dword [0x180122748], 0x32
xor eax, eax
jmp 0x1800693c2
xor ebx, ebx
mov qword [rdi], rbx
mov dword [rsi], ebx
mov dword [0x180122748], ebx
xor r9d, r9d
xor edx, edx
mov r8d, 0x80000000
lea rcx, [rsp + 0x50]
call fcn.180068190
nop
lea rcx, [rsp + 0x50]
call fcn.1800681b0
test rax, rax
je 0x180069398
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], ebx
lea rcx, [rsp + 0x50]
call fcn.1800681b0
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, ebp
mov edx, r12d
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
mov r11d, dword [rsp + 0x40]
test r11d, r11d
je 0x180069398
mov ecx, r11d
call fcn.18003783c
mov qword [rdi], rax
test rax, rax
je 0x180069398
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov rcx, rax
call fcn.1800369b0
lea rcx, [rsp + 0x50]
call fcn.1800681b0
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, qword [rdi]
mov r8d, ebp
mov edx, r12d
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x180069398
mov eax, dword [rsp + 0x44]
mov dword [rsi], eax
mov ebx, 1
jmp 0x1800693b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x180122748], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800693b6
call fcn.180038270
mov qword [rdi], rbx
mov dword [rsi], ebx
lea rcx, [rsp + 0x50]
call fcn.180068290
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x1800698c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov esi, r9d
mov edi, r8d
mov rbx, rcx
cmp r8d, 0xffffffff
je 0x180069900
cmp r8d, 4
jbe 0x180069900
mov dword [0x18012274c], 0x57
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbp
mov rbp, qword [rcx]
cmp edx, 0xffffffff
je 0x18006991c
mov r8d, edx
mov rdx, qword [0x180101f18]
call fcn.180027860
cmp edi, 0xffffffff
je 0x180069933
mov rdx, qword [0x180101f20]
mov r8d, edi
mov rcx, rbx
call fcn.180027860
cmp esi, 0xffffffff
je 0x18006994a
mov rdx, qword [str.ErrorControl]
mov r8d, esi
mov rcx, rbx
call fcn.180027860
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x180069963
mov rdx, qword [str.DisplayName]
mov rcx, rbx
call fcn.1800278e0
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x18006997c
mov rdx, qword [str.Description]
mov rcx, rbx
call fcn.1800278e0
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1800699b6
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
lea r9d, [rax + 2]
xor r8d, r8d
not rcx
and ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
mov rdx, qword [str.ImagePath]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov r8, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x40]
test r8, r8
je 0x1800699d4
mov rdx, qword [str.Group]
mov rcx, rbx
call fcn.1800278e0
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x1800699f0
mov rdx, qword [str.DependOnGroup]
mov rcx, rbx
call fcn.180028ed0
mov r8, qword [rsp + 0x88]
test r8, r8
je 0x180069a0c
mov rdx, qword [str.DependOnService]
mov rcx, rbx
call fcn.180028ed0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x180069a30
Capabilities:
Persist via run registry key

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
test rcx, rcx
jne 0x180069a53
xor eax, eax
jmp 0x180069b00
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x180069b00
xor edi, edi
lea rcx, [rsp + 0x28]
call fcn.180029050
nop
mov r9d, 0x2001f
mov r8, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.180028a50
test rax, rax
je 0x180069ab7
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180027900
mov edi, eax
lea rcx, [rsp + 0x28]
call fcn.1800276e0
test edi, edi
jne 0x180069af4
mov r9d, 0x2001f
mov r8, qword [str.SystemCurrentControlSetServicesVxD]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.180028a50
test rax, rax
je 0x180069af4
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180027900
mov edi, eax
lea rcx, [rsp + 0x28]
call fcn.1800276e0
nop
lea rcx, [rsp + 0x28]
call fcn.1800289d0
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18006a110
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 rsi, r8
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x18006a18b
cmp byte [rcx], 0
je 0x18006a18b
lea rcx, [rsp + 0x28]
call fcn.180029050
nop
mov r9d, 0x20019
mov r8, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.180028a50
test rax, rax
je 0x18006a1d4
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180029040
test eax, eax
jne 0x18006a192
lea rcx, [rsp + 0x28]
call fcn.1800289d0
xor eax, eax
jmp 0x18006a28c
test rsi, rsi
je 0x18006a1c0
mov r8, rdi
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.180028b10
nop
mov rdx, rax
mov rcx, rsi
call fcn.18001d450
nop
lea rcx, [rsp + 0x68]
call fcn.18001d340
test rbx, rbx
je 0x18006a27d
mov dword [rbx], 0x10
jmp 0x18006a27d
mov rax, qword [0x1800cb850]
mov qword [rsp + 0x50], rax
mov r9, rdi
mov r8, qword [str.SystemCurrentControlSetServicesVxD]
lea rdx, [0x1800c1ec8]
lea rcx, [rsp + 0x50]
call fcn.18001e3b0
mov r9d, 0x20019
mov r8, qword [rsp + 0x50]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.180028a50
test rax, rax
jne 0x18006a235
lea rcx, [rsp + 0x50]
call fcn.18001d340
nop
lea rcx, [rsp + 0x28]
call fcn.1800289d0
xor eax, eax
jmp 0x18006a28c
test rsi, rsi
je 0x18006a267
mov r8, qword [str.StaticVxD]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.180028b10
nop
mov rdx, rax
mov rcx, rsi
call fcn.18001d450
nop
lea rcx, [rsp + 0x68]
call fcn.18001d340
test rbx, rbx
je 0x18006a272
mov dword [rbx], 1
lea rcx, [rsp + 0x50]
call fcn.18001d340
nop
lea rcx, [rsp + 0x28]
call fcn.1800289d0
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18006a2a0
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 0x18006a450
test rbx, rbx
je 0x18006a450
cmp byte [rcx], 0
je 0x18006a450
cmp byte [r8], 0
je 0x18006a450
lea rcx, [rsp + 0x28]
call fcn.180029050
nop
cmp esi, 2
je 0x18006a35d
cmp esi, 1
je 0x18006a35d
mov r9d, 0x2001f
mov r8, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.180028a50
test rax, rax
jne 0x18006a346
mov r9d, 0x2001f
mov r8, qword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.180027700
test rax, rax
jne 0x18006a346
jmp 0x18006a446
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1800278e0
mov ebx, eax
jmp 0x18006a42d
mov rax, qword [0x1800cb850]
mov qword [rsp + 0x50], rax
mov r9, rdi
mov r8, qword [str.SystemCurrentControlSetServicesVxD]
lea rdx, [0x1800c1ec8]
lea rcx, [rsp + 0x50]
call fcn.18001e3b0
mov r9d, 0x2001f
mov r8, qword [rsp + 0x50]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x28]
call fcn.180028a50
test rax, rax
jne 0x18006a3b5
lea rcx, [rsp + 0x50]
call fcn.18001d340
nop
jmp 0x18006a446
mov rax, qword [0x1800cb850]
mov qword [rsp + 0x68], rax
mov edx, 0x5c
mov rcx, rbx
call fcn.180036d58
test rax, rax
je 0x18006a3e1
lea rdx, [rax + 1]
lea rcx, [rsp + 0x68]
call fcn.18001d4c0
mov r8, qword [rsp + 0x68]
cmp dword [r8 - 8], 0
jne 0x18006a405
lea rcx, [rsp + 0x68]
call fcn.18001d340
nop
lea rcx, [rsp + 0x50]
call fcn.18001d340
nop
jmp 0x18006a446
mov rdx, qword [str.StaticVxD]
lea rcx, [rsp + 0x28]
call fcn.1800278e0
mov ebx, eax
lea rcx, [rsp + 0x68]
call fcn.18001d340
nop
lea rcx, [rsp + 0x50]
call fcn.18001d340
lea rcx, [rsp + 0x28]
call fcn.1800276e0
nop
lea rcx, [rsp + 0x28]
call fcn.1800289d0
mov eax, ebx
jmp 0x18006a452
lea rcx, [rsp + 0x28]
call fcn.1800289d0
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x18006a470
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.180029050
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.180028a50
test rax, rax
je 0x18006a593
lea rcx, [rbp - 0x18]
call fcn.18001cc20
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.180029030
test eax, eax
je 0x18006a580
xor ebx, ebx
cmp dword [rbp - 0x10], ebx
jle 0x18006a580
nop dword [rax + rax]
mov r8d, ebx
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x18]
call fcn.18000bc00
nop
mov r8, qword [rbp + 0x48]
cmp dword [r8 - 8], 0
je 0x18006a570
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.180028b10
nop
mov rax, qword [rbp + 0x40]
cmp dword [rax - 8], 0
je 0x18006a566
lea r8, [rbp + 0x48]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.180022630
lea r8, [rbp + 0x40]
mov edx, dword [r12 + 8]
mov rcx, r12
call fcn.180022630
nop
lea rcx, [rbp + 0x40]
call fcn.18001d340
nop
lea rcx, [rbp + 0x48]
call fcn.18001d340
inc ebx
cmp ebx, dword [rbp - 0x10]
jl 0x18006a510
lea rcx, [rbp - 0x38]
call fcn.1800276e0
nop
lea rcx, [rbp - 0x18]
call fcn.1800223b0
add rdi, 8
dec rsi
jne 0x18006a4c0
lea rcx, [rbp - 0x38]
call fcn.1800289d0
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 0x18006ac30
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 0x18006ac90
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x18006ac90
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.18003783c
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.18003783c
mov r8, qword [rsi]
mov rdi, rax
test r8, r8
je 0x18006acfb
test rax, rax
je 0x18006ad0c
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 0x18006ad08
mov rcx, rdi
call fcn.180038270
test ebx, ebx
jne 0x18006ad19
mov rcx, qword [rsi]
test rcx, rcx
je 0x18006ad19
call fcn.180038270
mov eax, ebx
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
Function at 0x180071530
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.180070470
mov r11, qword [0x180122de0]
mov rdx, rbx
mov rcx, rdi
test r11, r11
je 0x18007157a
mov eax, dword [rsp + 0x60]
mov r9, rsi
mov r8, rbp
mov dword [rsp + 0x20], eax
call r11
jmp 0x180071580
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 0x180073c00
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 [0x1801003f0]
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.1800369b0
test r12, r12
je 0x180073c85
lea r8, [rsp + 0xe0]
mov r9d, 0x1f3
or edx, 0xffffffff
mov rcx, r12
mov dword [rsp + 0x20], r14d
call fcn.180023aa0
lea rbx, [rsp + 0xe0]
xor edx, edx
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x70], 0x68
lea r8d, [rdx + 0x60]
call fcn.1800369b0
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 0x180073d26
test rsi, rsi
je 0x180073cf9
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x180073d13
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180073d2f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180073d2f
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.180036980
add rsp, 0x2f0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180074d30
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 [0x1801003f0]
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.1800369b0
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.1800369b0
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x180074df5
lea r8, [rbp + 0x1f0]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, rax
mov dword [rsp + 0x20], r13d
call fcn.1800237f0
lea r14, [rbp + 0x1f0]
xor eax, eax
lea rcx, [rbp + 0x402]
xor edx, edx
mov r8d, 0x3e6
mov word [rbp + 0x400], ax
call fcn.1800369b0
test rbx, rbx
je 0x180074e3c
xor eax, eax
lea r8, [rbp + 0x400]
mov r9d, 0x1f4
or edx, 0xffffffff
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.180023a80
lea r13, [rbp + 0x400]
lea rcx, [rbp - 0x1e]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rbp - 0x20], bx
call fcn.1800369b0
test r12, r12
je 0x180074e79
lea r8, [rbp - 0x20]
mov r9d, 0x104
or edx, 0xffffffff
mov rcx, r12
mov dword [rsp + 0x20], ebx
call fcn.180023a80
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 0x180074eef
test rsi, rsi
je 0x180074ec2
mov ecx, dword [rsp + 0x60]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x50]
test rdi, rdi
je 0x180074edc
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180074ef9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180074ef9
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.180036980
add rsp, 0x908
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x180076040
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1f90
call fcn.180039720
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1801003f0]
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.180025a80
or r8d, 0xffffffff
xor edx, edx
mov rcx, r14
call fcn.1800223e0
call fcn.1800b9640
mov rbx, qword [0x180123b88]
test rbx, rbx
je 0x1800761af
cmp esi, 0xffffffff
jne 0x1800760cf
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 [0x180123b88]
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.1800369b0
lea r8, [rsp + 0x20]
mov edx, 0x1f40
lea rcx, [rsp + 0x40]
call rbx
test eax, eax
je 0x1800761a6
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x18007619f
lea rbx, [rsp + 0x40]
mov r12d, eax
nop dword [rax + rax]
cmp esi, 0xfffffffe
je 0x180076134
mov rax, qword [rdi]
mov edx, dword [rbx]
mov rcx, rdi
call qword [rax + 0x70]
cmp esi, eax
jne 0x180076196
test ebp, ebp
jne 0x180076155
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea r8d, [rbp + 1]
lea rdx, str.SeDebugPrivilege
call fcn.18008a080
mov ebp, 1
mov r8d, dword [rbx]
mov edx, dword [r13 + 8]
mov rcx, r13
call fcn.180025ce0
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.180022630
nop
lea rcx, [rsp + 0x28]
call fcn.18001d340
add rbx, 4
dec r12
jne 0x180076120
mov eax, 1
jmp 0x1800761b1
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.180036980
add rsp, 0x1f90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret