joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140074530
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140074557
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140074591
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400745b0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140111870
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.140074670
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140074667
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x25d
mov r9d, 2
call fcn.14015f200
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400dd7e0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400edb80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140074641
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400dd7e0
cmp byte [rsp + 0x4f], 0
jns 0x14007465d
mov rcx, qword [rsp + 0x38]
call fcn.1401109f8
lea rcx, [rsp + 0x50]
call fcn.14015f280
xor esi, esi
jmp 0x140074594
Function at 0x140074670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x140074697
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400746c9
mov dil, 1
test al, 0x10
je 0x140074785
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x1a8
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140074848
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x248
mov r9d, 2
call fcn.14015f200
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400dd7e0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1400edb80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14007475a
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.1400dd7e0
cmp byte [rsp + 0x5f], 0
jns 0x140074776
mov rcx, qword [rsp + 0x48]
call fcn.1401109f8
lea rcx, [rsp + 0x60]
call fcn.14015f280
jmp 0x140074848
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140074848
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x24c
mov r9d, 2
call fcn.14004a130
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400dd7e0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1400edb80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14007480d
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.1400dd7e0
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1400dd7e0
cmp byte [rsp + 0x5f], 0
jns 0x14007483e
mov rcx, qword [rsp + 0x48]
call fcn.1401109f8
lea rcx, [rsp + 0x60]
call fcn.14004a5c0
xor edi, edi
jmp 0x1400746ad
Function at 0x140075db0
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r12, rdx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400749a0
mov rax, qword [rsi]
test rax, rax
je 0x140075e2b
mov rbx, qword [rax + 0x38]
mov rdi, qword [rax + 0x40]
xor esi, esi
cmp rbx, rdi
jne 0x140075e32
lea rcx, [rsp + 0x20]
call fcn.1400754c0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 3
jmp 0x140075e02
lea r14, [r12 + 0x18]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x140075e4f
add rbx, 0x70
cmp rdi, rbx
je 0x140075e02
jmp 0x140075e3e
cmp byte [rbx + 0x27], 0
jns 0x140075e5b
mov rcx, qword [rbx + 0x10]
jmp 0x140075e5f
lea rcx, [rbx + 0x10]
call r13
test al, 0x10
jne 0x140075e44
mov r15, qword [r12 + 8]
cmp r15, qword [r12 + 0x10]
je 0x140075e8b
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.140076680
add r15, 0x68
mov qword [r12 + 8], r15
jmp 0x140075e44
mov rcx, r12
mov rdx, rbx
call fcn.140170c60
jmp 0x140075e44
Function at 0x140076d90
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov eax, dword [0x140223f98]
mov ecx, dword [0x14021ef3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076df2
lea rsi, [0x140223f90]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140223f98]
call fcn.140110b10
cmp dword [0x140223f98], 0xffffffff
jne 0x140076dcd
lea rsi, [rsp + 0x6c]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140114200
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1401109bc
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140223fd0]
mov ecx, dword [0x14021ef3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076eb2
lea r8, [0x140223fa0]
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov r9d, edi
call fcn.140077030
mov qword [0x140223f90], rsi
lea rcx, [0x140223f98]
call fcn.140110ba8
jmp 0x140076dcd
lea rcx, [0x140223fd0]
call fcn.140110b10
cmp dword [0x140223fd0], 0xffffffff
jne 0x140076e83
xorps xmm0, xmm0
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movups xmmword [0x140223fc0], xmm2
movups xmmword [0x140223fb0], xmm1
movups xmmword [0x140223fa0], xmm0
lea rcx, [0x140223fd0]
call fcn.140110ba8
jmp 0x140076e83

Function at 0x140076f40
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140223fd0]
mov ecx, dword [0x14021ef3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140076f9c
movzx eax, word [0x140223fa0]
cmp ax, 9
jne 0x140076ffe
mov esi, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140223fd0]
call fcn.140110b10
cmp dword [0x140223fd0], 0xffffffff
jne 0x140076f75
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsi]
movaps xmm1, xmmword [rsi + 0x10]
movaps xmm2, xmmword [rsi + 0x20]
movups xmmword [0x140223fc0], xmm2
movups xmmword [0x140223fb0], xmm1
movups xmmword [0x140223fa0], xmm0
lea rcx, [0x140223fd0]
call fcn.140110ba8
jmp 0x140076f75
xor esi, esi
test ax, ax
je 0x140076f87
cmp ax, 6
jne 0x140077015
mov esi, 2
jmp 0x140076f87
cmp ax, 0xc
jne 0x140077025
mov esi, 3
jmp 0x140076f87
mov esi, 4
jmp 0x140076f87
Function at 0x140077740
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r15, rdx
mov r14d, ecx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rsi], xmm0
lea rdx, str.CreateLocalWmiConnection
lea r8, str..._.._base_win_wmi.cc
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r9d, 0x1d
call fcn.1400e8370
lea r8, [0x140223fd4]
mov rcx, rsi
mov rdx, rbx
call fcn.140081890
mov qword [rbx], 0
mov qword [rsp + 0x20], rbx
lea rcx, [0x1401d6198]
lea r9, [0x1401f66c8]
xor esi, esi
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400778b9
xor esi, esi
lea rdi, [rsp + 0x68]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x70]
lea rax, [0x1401f66d8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 0xa
lea rbp, [rsp + 0x60]
mov rcx, rbp
call fcn.140098fc0
mov rdx, qword [rbp]
mov rax, qword [rbx]
mov qword [rsp + 0x40], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0
mov rcx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
mov ebx, eax
mov rcx, rbp
call fcn.140099010
test ebx, ebx
js 0x14007790a
test r14b, r14b
je 0x14007789d
mov rcx, qword [rsp + 0x68]
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
xor esi, esi
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14007790a
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
mov rcx, qword [r15]
mov qword [r15], rax
mov sil, 1
test rcx, rcx
jne 0x140077901
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400778d2
mov qword [rsp + 0x70], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.140081990
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rcx]
call qword [rax + 0x10]
mov sil, 1
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400778b9
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400778b9
Function at 0x14007c600
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x14007c6ec
cmp qword [rsi], 0
jne 0x14007c6ec
cmp dword [rsi + 0x14], 0
jne 0x14007c6ec
cmp qword [rsi + 8], 0
jne 0x14007c6ec
xor eax, eax
mov rbx, qword [rdi]
cmp rax, rbx
je 0x14007c66f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14007c6be
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14007c667
mov qword [rsi], rbx
call fcn.1400e8390
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rdi + 8]
cmp qword [rsi + 8], rbp
je 0x14007c6a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14007c6d4
lea rax, [rbp + 1]
cmp rax, 2
jb 0x14007c6a1
mov qword [rsi + 8], rbp
call fcn.1400e8390
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.1400e8390
mov rcx, qword [rsi]
call fcn.1400f0600
mov qword [rsi], 0
jmp 0x14007c655
call fcn.1400e8390
mov rcx, qword [rsi + 8]
call fcn.1400f0600
mov qword [rsi + 8], 0
jmp 0x14007c68e
mov rcx, rsi
call fcn.140176e60
mov rax, qword [rsi]
jmp 0x14007c639
Function at 0x140081ef0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rsi, rcx
lea rax, [0x1401e7e08]
mov qword [rcx], rax
add rcx, 8
call fcn.1400f3b60
lea rcx, [rsi + 0x10]
call fcn.1400f3b60
xor edi, edi
mov byte [rsi + 0x18], dil
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], edi
call fcn.1400f3b60
mov byte [rsi + 0x48], dil
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rdi
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebx, 0x3f800000
mov dword [rsi + 0xd0], ebx
mov dword [rsi + 0xd8], edi
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebx
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebx
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebx
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebx
mov qword [rsi + 0x198], rdi
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], edi
mov eax, dword [0x140201658]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.14009e600
lea rcx, [rsi + 0x2f0]
movups xmmword [rsi + 0x2d8], xmm6
mov qword [rsi + 0x2e8], rdi
xor edx, edx
call fcn.14009cb70
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.14009cb70
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.14009cb70
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
mov dword [rsi + 0x328], ebx
movups xmmword [rsi + 0x330], xmm6
movups xmmword [rsi + 0x340], xmm6
movups xmmword [rsi + 0x350], xmm6
movups xmmword [rsi + 0x359], xmm6
movups xmmword [rsi + 0x370], xmm6
movups xmmword [rsi + 0x380], xmm6
call fcn.140019a90
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov rcx, rsi
call fcn.140082100
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x1400820f0
call fcn.14009dd60
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14009de10
mov qword [0x140224508], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x1400820bf
Function at 0x140088310
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x140088344
mov rax, qword [r12 + 8]
test rax, rax
je 0x14008843c
mov eax, ebx
not eax
test eax, 0x300
je 0x14008843c
cmp edi, 2
lea rax, [0x140225eb0]
lea rcx, [0x1402260b0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x14008843c
xorps xmm0, xmm0
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsi], 0
je 0x14008843c
cmp byte [0x140225ea0], 0
setne al
bt ebx, 8
jb 0x14008843c
shr ebx, 9
and ebx, 1
or bl, al
je 0x14008843c
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea rsi, str.SOFTWARE
cmove rsi, rax
movzx r13d, byte [r12 + 0x17]
test r13b, r13b
jns 0x140088497
mov rbx, qword [r12]
mov r13, qword [r12 + 8]
mov r14d, 1
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov rdi, qword [rsi + 8]
mov rbp, r13
sub rbp, rdi
jb 0x140088429
mov rdx, qword [rsi]
mov rcx, rbx
mov r8, rdi
call fcn.1401275a0
test eax, eax
je 0x14008845b
add rsi, 0x28
inc r15
cmp r15, r14
jb 0x14008840b
cmp dword [rsp + 0x2c], 0
jne 0x14008849f
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140111870
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, word [rbx + rdi*2]
cmp cx, 0x5c
je 0x14008846a
test cx, cx
jne 0x140088429
lea rax, [rbx + rdi*2]
mov edx, dword [rsi + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400884c7
cmp dword [rsp + 0x2c], 2
jne 0x1400884d8
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400884d8
mov rbx, r12
jmp 0x1400883ec
cmp byte [r12 + 0x17], 0
js 0x140088507
mov rax, r12
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, r12
mov r8, qword [rsp + 0x38]
call fcn.1400325f0
jmp 0x14008843c
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbx
cmp cx, 0x5c
jne 0x1400884f1
lea rbx, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, rbx
je 0x1400884de
jmp 0x1400884f4
mov rbx, rax
mov r14, qword [rsi + 0x20]
mov rsi, qword [rsi + 0x18]
xor r15d, r15d
mov r13, rbp
jmp 0x140088430
mov rax, qword [r12]
jmp 0x1400884aa
Function at 0x140088d60
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 0x17]
test al, al
mov rcx, qword [r8]
cmovns rcx, r8
lea rdx, [rsp + 0x60]
mov qword [rdx], rcx
cmovs rax, qword [r8 + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.1400ed8f0
cmp byte [rsi + 0x17], 0
jns 0x140088dbb
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.1400ed8f0
cmp byte [rdi + 0x17], 0
jns 0x140088de0
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
jns 0x140088dff
mov rcx, qword [rsp + 0x48]
call fcn.1401109f8
cmp byte [rsp + 0x87], 0
jns 0x140088e13
mov rcx, qword [rsp + 0x70]
call fcn.1401109f8
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140088ec0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.1400ed8f0
cmp byte [rdi + 0x17], 0
jns 0x140088f01
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x140088f22
mov rcx, qword [rsp + 0x58]
call fcn.1401109f8
test edi, edi
je 0x140088fc9
test r14, r14
je 0x140088fc9
mov ecx, edi
add rcx, rcx
call fcn.140110a2c
mov rbx, rax
movups xmm0, xmmword [rsi]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rsi, [rsp + 0x58]
mov rcx, rsi
call fcn.1400ed8f0
cmp byte [rsi + 0x17], 0
jns 0x140088f63
mov rsi, qword [rsp + 0x58]
mov rcx, rsi
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x140088f83
mov rcx, qword [rsp + 0x58]
call fcn.1401109f8
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x140088fe7
mov rcx, rbx
call fcn.14012c3a4
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.1400edb80
cmp byte [r14 + 0x17], 0
js 0x140088ff3
mov rax, qword [rsp + 0x68]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [r14], xmm0
mov rcx, rbx
call fcn.140110a34
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x28], 0
int3
mov rcx, qword [r14]
call fcn.1401109f8
jmp 0x140088faf
Function at 0x140090ae0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r8
mov r12, rdx
mov rdi, rcx
lea r15, [rcx + 0x38]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x140090bdb
lea rbx, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
jne 0x140090bed
mov qword [rsp + 0x20], rbx
lea rcx, [0x1401d6208]
lea r9, [0x1401fd590]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rsi, qword [rbx]
test eax, eax
js 0x140090bff
mov rcx, qword [r15]
test rcx, rcx
jne 0x140090c13
mov rax, qword [rsi]
mov rcx, rsi
mov rdx, r15
call qword [rax + 0x90]
test eax, eax
js 0x140090c25
cmp rdi, r12
je 0x140090b8e
cmp byte [rdi + 0x17], 0
movzx r8d, byte [r12 + 0x17]
js 0x140090bc0
test r8b, r8b
jns 0x140090bad
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
mov rcx, rdi
call fcn.1400326a0
add rdi, 0x18
mov rcx, rdi
mov rdx, r14
call fcn.140047eb0
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [r12 + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [r12]
movups xmmword [rdi], xmm0
jmp 0x140090b8e
test r8b, r8b
jns 0x140090bce
mov r8, qword [r12 + 8]
mov r12, qword [r12]
mov rcx, rdi
mov rdx, r12
call fcn.140032620
jmp 0x140090b8e
mov qword [r15], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140090b07
mov qword [rbx], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140090b18
test rsi, rsi
je 0x140090c3a
mov qword [rbx], 0
mov rax, qword [rsi]
mov rcx, rsi
jmp 0x140090c37
mov qword [r15], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140090b50
mov rcx, qword [r15]
test rcx, rcx
je 0x140090c3a
mov qword [r15], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x140090b9f
Function at 0x1400935e0
Capabilities:
Delete service

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x190
mov rbx, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x1400936e6
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dil, 1
test eax, eax
jne 0x1400936c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1400936be
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_install_service_work_item_impl.cc
lea rcx, [rsp + 0x48]
mov r8d, 0x268
mov r9d, 1
call fcn.14015f200
lea rcx, [rsp + 0x58]
lea rdx, str.DeleteService_failed
mov r8d, 0x15
call fcn.1400dd7e0
mov rdi, rax
lea rbp, [rsp + 0x30]
mov rcx, rbx
mov rdx, rbp
call fcn.140093080
cmp byte [rbp + 0x17], 0
jns 0x140093698
mov rbp, qword [rsp + 0x30]
mov rcx, rdi
mov rdx, rbp
call fcn.14015f330
cmp byte [rsp + 0x47], 0
jns 0x1400936b4
mov rcx, qword [rsp + 0x30]
call fcn.1401109f8
lea rcx, [rsp + 0x48]
call fcn.14015f280
cmp r14d, 0x430
sete dil
cmp qword [rsi], 0
je 0x1400936e8
call fcn.1400e8390
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov qword [rsi], 0
jmp 0x1400936e8
xor edi, edi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x190
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret