joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037964
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
or qword [rcx + 0x58], 0xffffffffffffffff
mov rdi, rcx
add rcx, 0x20
xor r8d, r8d
call fcn.1400037ac
mov ebx, eax
test eax, eax
jns 0x140037999
lea rax, str.Failed_to_copy_file_name.
mov edx, 0x88
jmp 0x140037ad0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea ebx, [r9 + 1]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x1400379f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edi, 0x8c
or ebx, 0x80070000
lea rcx, str.d:_awixwix_src_burnenginecabextract.cpp
test eax, eax
mov edx, edi
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_create_begin_operation_event.
mov edx, edi
jmp 0x140037ad0
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x38], rax
test rax, rax
jne 0x140037a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edi, 0x8f
or ebx, 0x80070000
lea rcx, str.d:_awixwix_src_burnenginecabextract.cpp
test eax, eax
mov edx, edi
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_create_operation_complete_event.
jmp 0x1400379f1
and qword [rsp + 0x28], 0
lea r8, [0x1400372c0]
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x140037ab6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edi, 0x93
or ebx, 0x80070000
lea rcx, str.d:_awixwix_src_burnenginecabextract.cpp
test eax, eax
mov edx, edi
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_create_extraction_thread.
jmp 0x1400379f1
mov rcx, rdi
call fcn.14003769c
mov ebx, eax
test eax, eax
jns 0x140037af1
lea rax, str.Failed_to_wait_for_operation_complete.
mov edx, 0x97
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnenginecabextract.cpp
mov r9d, 0x100
mov dword [rsp + 0x20], ebx
mov r8d, 5
call fcn.1400012b4
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140043a14
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test edx, edx
js 0x140043b08
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov esi, 1
mov r12d, r8d
cmp dword [rcx + 0x3c], esi
mov rdi, rcx
lea eax, [rsi + 2]
cmovne esi, eax
xor ebp, ebp
cmp dword [rcx + 0x50], ebp
jbe 0x140043aea
mov rax, qword [rdi + 0x48]
mov ecx, ebp
add rcx, rcx
mov r14, qword [rax + rcx*8]
cmp dword [r14 + 0x3c], 0
je 0x140043adf
xor r15d, r15d
cmp dword [r14 + 0x198], r15d
jbe 0x140043adf
xor eax, eax
lea rbx, [r15 + r15*8]
shl rbx, 4
add rbx, qword [r14 + 0x190]
cmp dword [rbx], 4
sete al
cmp dword [rdi + 0x24], eax
jne 0x140043ab9
or dword [rsp + 0x28], 0xffffffff
lea rax, [rbx + 8]
mov r8, qword [rdi + 0x10]
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x140043ac7
xor ebx, ebx
inc r15d
cmp r15d, dword [r14 + 0x198]
jb 0x140043a78
test rbx, rbx
je 0x140043adf
test r12d, r12d
je 0x140043ad9
mov dword [rbx + 0x8c], esi
jmp 0x140043adf
mov dword [rbx + 0x88], esi
inc ebp
cmp ebp, dword [rdi + 0x50]
jb 0x140043a58
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x140043b0c
Capabilities:
Query service status

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1400b6018]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
mov r15, r8
and qword [r11 - 0x58], rax
mov r14, rdx
mov ebp, ecx
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
xor edx, edx
mov qword [r11 - 0x40], rax
xor ecx, ecx
mov r8d, 0xf003f
mov dword [rsp + 0x50], eax
xor ebx, ebx
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x140043bca
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov ebp, 0x168
or ebx, 0x80070000
lea rcx, str.d:_awixwix_src_burnenginemsuengine.cpp
test eax, eax
mov edx, ebp
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_open_service_control_manager.
mov edx, ebp
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnenginemsuengine.cpp
mov r8d, 5
mov dword [rsp + 0x20], ebx
mov r9d, 0x100
call fcn.1400012b4
jmp 0x140043cf9
mov r8d, 0x27
lea rdx, str.wuauserv
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x140043c28
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov ebp, 0x16b
or ebx, 0x80070000
lea rcx, str.d:_awixwix_src_burnenginemsuengine.cpp
test eax, eax
mov edx, ebp
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_open_WU_service.
jmp 0x140043ba2
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140043c7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov ebp, 0x16f
or ebx, 0x80070000
lea rcx, str.d:_awixwix_src_burnenginemsuengine.cpp
test eax, eax
mov edx, ebp
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_query_status_of_WU_service.
jmp 0x140043ba2
mov eax, dword [rsp + 0x3c]
cmp eax, 1
je 0x140043c95
test ebp, ebp
je 0x140043c95
mov rcx, rdi
call fcn.140043dec
mov ebx, eax
mov eax, dword [rsp + 0x3c]
cmp eax, 4
je 0x140043cf4
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140077b84
mov ebx, eax
test eax, eax
jns 0x140043cbe
lea rax, str.Failed_to_read_configuration_for_WU_service.
mov edx, 0x17c
jmp 0x140043ba4
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 4
jne 0x140043cf4
mov edx, 3
mov rcx, rdi
call fcn.140043d48
mov ebx, eax
test eax, eax
jns 0x140043ced
lea rax, str.Failed_to_mark_WU_service_to_start_on_demand.
mov edx, 0x182
jmp 0x140043ba4
mov dword [r15], 1
mov qword [r14], rdi
xor edi, edi
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140043d08
call fcn.140006a48
test rdi, rdi
je 0x140043d16
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rsi, rsi
je 0x140043d24
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140053b50
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140043d48
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x60
xor ebx, ebx
mov r8d, edx
mov qword [rax - 0x18], rbx
mov qword [rax - 0x20], rbx
mov qword [rax - 0x28], rbx
mov qword [rax - 0x30], rbx
mov qword [rax - 0x38], rbx
mov qword [rax - 0x40], rbx
mov qword [rax - 0x48], rbx
or eax, 0xffffffff
mov r9d, eax
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x140043de4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
mov edx, 0x19c
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
mov ebx, ecx
mov r8d, ecx
lea rcx, str.d:_awixwix_src_burnenginemsuengine.cpp
call fcn.1400012b0
lea rax, str.Failed_to_set_service_start_type.
mov edx, 0x19c
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnenginemsuengine.cpp
mov r9d, 0x100
mov dword [rsp + 0x20], ebx
mov r8d, 5
call fcn.1400012b4
mov eax, ebx
add rsp, 0x60
pop rbx
ret

Function at 0x140043dec
Capabilities:
Stop service

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
mov rax, qword [0x1400b6018]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea r8, [r11 - 0x38]
mov qword [r11 - 0x38], rax
xor ebx, ebx
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x48], eax
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140043e89
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
mov edx, 0x1ac
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
mov ebx, ecx
mov r8d, ecx
lea rcx, str.d:_awixwix_src_burnenginemsuengine.cpp
call fcn.1400012b0
lea rax, str.Failed_to_stop_wusa_service.
mov edx, 0x1ac
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnenginemsuengine.cpp
mov r9d, 0x100
mov dword [rsp + 0x20], ebx
mov r8d, 5
call fcn.1400012b4
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140053b50
add rsp, 0x60
pop rbx
ret
Function at 0x14004f2bc
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
xor esi, esi
lea rdx, [rax + 0x10]
mov ebx, esi
mov dword [rax + 0x10], esi
mov rdi, rcx
call fcn.1400727a8
test eax, eax
je 0x14004f37c
mov edx, dword [rsp + 0x58]
test dl, 1
je 0x14004f37c
and edx, 0xfffffffe
mov rcx, rdi
mov dword [rsp + 0x58], edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x14004f37c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14004f327
mov ebx, 0x80004005
jmp 0x14004f337
lea eax, [rbx + 0x7ff8fffe]
cmp eax, 1
cmovbe ebx, esi
test ebx, ebx
jns 0x14004f37c
mov esi, 0x7b1
lea rcx, str.d:_awixwix_src_burnengine_apply.cpp
mov edx, esi
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnengine_apply.cpp
mov r9d, 0x100
mov dword [rsp + 0x20], ebx
mov r8d, 5
mov edx, esi
call fcn.1400012b4
mov rsi, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14005447c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400544c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400544c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400544c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400544c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400544c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400544c8
xor al, al
add rsp, 0x28
ret

Function at 0x14005b878
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14005b674
Function at 0x14005fb78
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14005fbff
mov rsi, rbx
cmp word [rax], bp
je 0x14005fbbe
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14005fba8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14005fba4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14005c968
mov rdi, rax
test rax, rax
je 0x14005fbec
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140054b90
mov rbp, rdi
xor ecx, ecx
call fcn.14005c92c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400667c0
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x40
and qword [rax - 0x18], 0
mov rsi, r8
and dword [rax + 0x20], 0
mov r14, rdx
mov rdi, rcx
lea rdx, str.ignored
xor r8d, r8d
lea rcx, [rax - 0x18]
call fcn.14000309c
mov ebx, eax
test eax, eax
jns 0x140066830
lea rax, str.Failed_to_initialize_command_line.
mov edx, 0x2c
mov r8d, 5
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutil_app2util.cpp
mov dword [rsp + 0x20], ebx
lea r9d, [r8 - 3]
call fcn.1400012b4
jmp 0x1400668bb
xor r8d, r8d
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.14000309c
mov ebx, eax
test eax, eax
jns 0x140066854
lea rax, str.Failed_to_copy_command_line.
mov edx, 0x2f
jmp 0x14006680c
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
jne 0x1400668ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edi, 0x32
or ebx, 0x80070000
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutil_app2util.cpp
test eax, eax
mov edx, edi
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_parse_command_line.
mov edx, edi
jmp 0x14006680c
add rax, 8
mov qword [rsi], rax
mov eax, dword [rsp + 0x68]
dec eax
mov dword [r14], eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400668ca
call fcn.140004278
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x1400676f8
Capabilities:
Encrypt data using dpapi

Disassembly:
push rbx
sub rsp, 0x30
lea rdx, [0x1400b7ed0]
lea rcx, str.AdvApi32.dll
call fcn.140001a28
mov ebx, eax
test eax, eax
js 0x14006774f
mov rcx, qword [0x1400b7ed0]
lea rdx, str.SystemFunction040
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400b7ed0]
lea rdx, str.SystemFunction041
mov qword [0x1400b7eb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400b7eb8], rax
jmp 0x140067756
mov rax, qword [0x1400b7eb8]
cmp qword [0x1400b7eb0], 0
je 0x140067769
test rax, rax
jne 0x14006788c
lea rdx, [0x1400b7ed8]
lea rcx, str.Crypt32.dll
call fcn.140001a28
mov ebx, eax
test eax, eax
jns 0x1400677b2
lea rax, str.Failed_to_load_Crypt32.dll
mov edx, 0x32
mov r9d, 0xb
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
mov dword [rsp + 0x20], ebx
lea r8d, [r9 - 6]
call fcn.1400012b4
jmp 0x140067896
mov rcx, qword [0x1400b7ed8]
lea rdx, str.CryptProtectMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400b7eb0], 0
mov qword [0x1400b7ec0], rax
jne 0x14006781f
test rax, rax
jne 0x14006781f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edx, 0x37
or ebx, 0x80070000
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_load_an_encryption_method
mov edx, 0x37
jmp 0x14006778e
mov rcx, qword [0x1400b7ed8]
lea rdx, str.CryptUnprotectMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400b7eb8], 0
mov qword [0x1400b7ec8], rax
jne 0x14006788c
test rax, rax
jne 0x14006788c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edx, 0x3c
or ebx, 0x80070000
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutilcryputil.cpp
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_load_a_decryption_method
mov edx, 0x3c
jmp 0x14006778e
mov dword [0x1400b7ee0], 1
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14006827c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400b6018]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edx, edx
lea rcx, [rbp + 0x27]
lea r8d, [rdx + 0x20]
call fcn.1400547d0
and qword [rbp + 0x1f], 0
lea rcx, [rbp + 0x1f]
and dword [rbp + 0xb], 0
xor edx, edx
and dword [rbp + 7], 0
mov rbx, qword [str.unknown]
and qword [rbp + 0x17], 0
mov dword [rbp + 0xf], 0x10
call fcn.14000543c
test eax, eax
jns 0x1400682ec
lea rsi, [0x14007fdd0]
jmp 0x140068300
mov rsi, qword [rbp + 0x1f]
lea r8, [rbp + 7]
mov rcx, rsi
lea rdx, [rbp + 0xb]
call fcn.140073138
test eax, eax
jns 0x14006830c
and dword [rbp + 0xb], 0
and dword [rbp + 7], 0
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140068327
lea rdi, [rbp + 0x27]
lea ecx, [rax + 0x20]
rep stosb byte [rdi], al
xor edx, edx
lea rcx, [rbp + 0x17]
call fcn.14007cbc8
mov r8, qword [rbp + 0x17]
lea rdx, str._Logging_started:__ls_
mov edi, 2
mov ecx, edi
call fcn.14000c0c0
mov edx, dword [rbp + 7]
mov r8, rsi
mov r9d, dword [rbp + 0xb]
movzx ecx, dx
mov dword [rsp + 0x30], ecx
mov ecx, edi
shr edx, 0x10
mov dword [rsp + 0x28], edx
lea rdx, str.Executable:__ls_v_d._d._d._d
movzx eax, r9w
shr r9d, 0x10
mov dword [rsp + 0x20], eax
call fcn.14000c0c0
lea r8, [rbp + 0x27]
mov ecx, edi
lea rdx, str.Computer__:__ls
call fcn.14000c0c0
mov ecx, dword [reloc.OLEAUT32.dll_SysReAllocString]
test ecx, ecx
je 0x1400683cf
sub ecx, 1
je 0x1400683c6
sub ecx, 1
je 0x1400683bd
sub ecx, 1
je 0x1400683b4
cmp ecx, 1
jne 0x1400683d6
mov rbx, qword [str.debug]
jmp 0x1400683d6
mov rbx, qword [str.verbose]
jmp 0x1400683d6
mov rbx, qword [str._bl_n_]
jmp 0x1400683d6
mov rbx, qword [str.warning]
jmp 0x1400683d6
mov rbx, qword [str._l_n_]
mov r8, rbx
lea rdx, str.____logging_level:__hs____
mov ecx, edi
call fcn.14000c0c0
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x1400683f5
call fcn.140004278
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140068403
call fcn.140004278
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140053b50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14006888c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbp, rcx
lea rcx, [0x1400b7f08]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov edi, r14d
mov esi, r14d
test rbp, rbp
je 0x1400688f8
mov edi, 0x7fffffff
mov rax, rbp
mov edx, edi
cmp byte [rax], r14b
je 0x1400688d9
inc rax
sub rdx, 1
jne 0x1400688cb
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x80070057
test rdx, rdx
je 0x1400688f3
sub rdi, rdx
jmp 0x1400688fd
mov rdi, r14
jmp 0x1400688fd
mov ebx, 0x80070057
test ebx, ebx
cmovs rdi, r14
jns 0x140068948
mov edi, 0x2b3
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
mov edx, edi
mov r8d, ebx
call fcn.1400012b0
lea rax, str.Failed_to_get_length_of_raw_string
mov edx, edi
mov r8d, 5
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
mov dword [rsp + 0x20], ebx
lea r9d, [r8 + 0x16]
call fcn.1400012b4
jmp 0x140068a22
mov rcx, qword [0x1400b6a18]
cmp rcx, 0xffffffffffffffff
jne 0x140068983
xor r8d, r8d
lea rcx, [0x1400b7f00]
mov rdx, rbp
call fcn.140003aec
mov ebx, eax
test eax, eax
jns 0x14006897b
lea rax, str.Failed_to_concatenate_string_to_pre_init_buffer
mov edx, 0x2bb
jmp 0x140068924
mov ebx, r14d
jmp 0x140068a22
test edi, edi
je 0x140068a22
mov r8d, edi
mov edx, esi
sub r8d, esi
mov qword [rsp + 0x20], r14
add rdx, rbp
lea r9, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400689c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400689d3
add esi, dword [rsp + 0x60]
cmp esi, edi
jae 0x140068a22
mov rcx, qword [0x1400b6a18]
jmp 0x14006898b
mov edi, 0x2c5
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
mov edx, edi
mov r8d, ebx
call fcn.1400012b0
mov rax, qword [0x1400b7ef8]
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutillogutil.cpp
mov qword [rsp + 0x38], rbp
mov r9d, 0x1b
mov qword [rsp + 0x30], rax
mov edx, edi
lea rax, str.Failed_to_write_output_to_log:__ls____hs
mov qword [rsp + 0x28], rax
lea r8d, [r9 - 0x16]
mov dword [rsp + 0x20], ebx
call fcn.1400012b4
lea rcx, [0x1400b7f08]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140068acc
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400b6018]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
mov word [rbp - 0xc], 0x500
mov rbx, rcx
mov dword [rbp - 0x20], edi
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x10], edi
mov qword [rbp - 0x18], rdi
call fcn.140068ba0
cmp dword [rbp - 0x20], edi
je 0x140068b1a
mov dword [rbx], 1
jmp 0x140068b6e
lea rax, [rbp - 0x18]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], edi
mov r8d, 0x20
mov dword [rsp + 0x40], edi
mov dl, 2
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbx], eax
test eax, eax
je 0x140068b6e
mov rdx, qword [rbp - 0x18]
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140068b6e
mov dword [rbx], edi
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140068b7c
call fcn.140036680
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140053b50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14006911c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
and qword [rbp + 0x6f], 0
mov rbx, rdx
xor edx, edx
mov r14d, r8d
mov rsi, rcx
mov rdi, r9
lea rcx, [rbp - 0x29]
lea r8d, [rdx + 0x68]
call fcn.1400547d0
xor eax, eax
lea r9, [0x14007fdd0]
test rbx, rbx
mov qword [rbp - 0x49], rax
mov r8, rsi
mov qword [rbp - 0x41], rax
cmovne r9, rbx
mov qword [rbp - 0x39], rax
lea rdx, str.__ls___ls
lea rcx, [rbp + 0x6f]
call fcn.1400031dc
mov ebx, eax
test eax, eax
jns 0x1400691bb
mov r9d, 0x23
lea rax, str.Failed_to_allocate_full_command_line.
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutilprocutil.cpp
mov edx, 0x160
mov dword [rsp + 0x20], ebx
lea r8d, [r9 - 0x1e]
call fcn.1400012b4
jmp 0x140069280
mov rdx, qword [rbp + 0x6f]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x29]
mov dword [rbp - 0x29], 0x68
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
mov rcx, rsi
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov dword [rbp + 0x13], 1
mov word [rbp + 0x17], r14w
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140069274
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov edi, 0x167
or ebx, 0x80070000
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutilprocutil.cpp
test eax, eax
mov edx, edi
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov r8d, ebx
call fcn.1400012b0
mov rax, qword [rbp + 0x6f]
lea rcx, str.d:_awixwix_srclibsdutilwixtoolset.dutilprocutil.cpp
mov qword [rsp + 0x30], rax
mov r9d, 0x23
lea rax, str.Failed_to_create_process:__ls
mov edx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r8d, [r9 - 0x1e]
call fcn.1400012b4
jmp 0x140069280
mov rax, qword [rbp - 0x49]
and qword [rbp - 0x49], 0
mov qword [rdi], rax
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140069294
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x41], 0
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400692a8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbp - 0x49], 0
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x1400692b6
call fcn.140004278
lea r11, [rsp + 0xe0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret