joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001800
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor edi, edi
mov word [rsp + 0x74], 0x500
lea rax, [rsp + 0x68]
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x48], edi
mov ebx, edi
mov dword [rsp + 0x40], edi
lea r8d, [rdi + 0x20]
mov dword [rsp + 0x38], edi
mov r9d, 0x220
mov dword [rsp + 0x30], edi
mov dl, 2
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x70], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000188a
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140001892
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400018a7
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov qword [rsp + 0x68], rdi
test ebx, ebx
jne 0x1400018d0
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140008690
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
lea rdx, [0x14000b820]
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x1400018f0
Capabilities:
Create process on windows
Create thread

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x30], 0
call fcn.140001800
mov dword [rsp + 0x30], eax
jmp 0x140001920
test eax, eax
jne 0x1400019f1
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1400019f1
mov dword [rsp + 0x40], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
mov qword [rsp + 0xa4], rax
mov dword [rsp + 0xac], eax
lea rax, str.runas
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x1400019f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x1400019f1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [fcn.1400018f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140008690
add rsp, 0x1d8
ret
Function at 0x1400090ac
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140025244
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140025244
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140025244
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140025238
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140025256
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140025226
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140025246

Function at 0x140026ad0
Capabilities:
Parse pe header

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

Function at 0x14002f574
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002f2d8

Function at 0x1400394c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400394e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400394e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x180001550
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x180040420]
xor rax, rbp
mov qword [rbp], rax
mov r15, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd r8, eax
add r8, r8
lea rax, [r8 + 0xf]
cmp rax, r8
ja 0x1800015a4
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.180016de0
sub rsp, rax
mov rdx, rbx
lea r14, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movzx eax, word [r14]
xor r12d, r12d
cmp ax, 0x5c
jne 0x180001632
cmp word [r14 + 2], ax
jne 0x180001632
movzx eax, word [r14 + 4]
lea rdi, [r14 + 4]
mov ecx, r12d
test ax, ax
je 0x18000160a
cmp ecx, 2
jae 0x180001682
cmp ax, 0x5c
je 0x1800015fb
cmp ax, 0x2f
jne 0x1800015fd
inc ecx
movzx eax, word [rdi + 2]
add rdi, 2
test ax, ax
jne 0x1800015e6
mov al, 1
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.180016e40
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
mov rdi, r14
test ax, ax
je 0x18000165f
nop word [rax + rax]
cmp ax, 0x3a
je 0x180001665
cmp ax, 0x5c
je 0x18000165f
cmp ax, 0x2f
je 0x18000165f
movzx eax, word [rdi + 2]
add rdi, 2
test ax, ax
jne 0x180001640
cmp word [rdi], 0x3a
jne 0x18000167f
movzx eax, word [rdi + 2]
add rdi, 2
cmp ax, 0x5c
je 0x180001679
cmp ax, 0x2f
jne 0x180001682
add rdi, 2
jmp 0x180001682
mov rdi, r14
cmp word [rdi], r12w
je 0x18000160a
mov rbx, rdi
nop dword [rax + rax]
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x1800016a9
cmp ax, 0x2f
je 0x1800016a9
add rbx, 2
cmp word [rbx], r12w
jne 0x180001690
movzx esi, word [rbx]
lea rdx, [0x18002f708]
mov rcx, rdi
mov word [rbx], r12w
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x180001714
lea rdx, [0x18002f70a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x180001714
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180001710
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x180001734
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180001714
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180001734
jmp 0x180001714
test al, 0x10
je 0x180001729
test si, si
je 0x18000160a
mov word [rbx], si
lea rdi, [rbx + 2]
jmp 0x180001682
mov ecx, 0x10b
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
jmp 0x18000160c
Function at 0x180001750
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180040420]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
mov rdi, rcx
lea rcx, [rsp + 0x30]
call fcn.18000b960
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, 0x80004005
je 0x180001818
test eax, eax
je 0x1800017c2
cmp eax, 1
je 0x180001818
mov ecx, 0x57
jmp 0x18000181d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.18000bb40
lea rcx, [rsp + 0x30]
call fcn.18000c720
lea rcx, [0x18002fa44]
lea rbx, [0x18002fa40]
cmp eax, 0x5c
cmove rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.18000c3b0
mov r8, rax
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea rdx, [0x18002fa48]
mov rcx, rdi
call fcn.18000be30
mov bl, 1
jmp 0x18000182f
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x30]
call fcn.18000bd70
xor bl, bl
lea rcx, [rsp + 0x30]
call fcn.18000b9b0
movzx eax, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180016e40
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x180001870
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180040420]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
mov rdi, rcx
lea rcx, [rsp + 0x30]
call fcn.18000b960
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, 0x80004005
je 0x180001938
test eax, eax
je 0x1800018e2
cmp eax, 1
je 0x180001938
mov ecx, 0x57
jmp 0x18000193d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.18000bb40
lea rcx, [rsp + 0x30]
call fcn.18000c720
lea rcx, [0x18002fa44]
lea rbx, [0x18002fa40]
cmp eax, 0x5c
cmove rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.18000c3b0
mov r8, rax
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea rdx, [0x18002fa48]
mov rcx, rdi
call fcn.18000be30
mov bl, 1
jmp 0x18000194f
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x30]
call fcn.18000bd70
xor bl, bl
lea rcx, [rsp + 0x30]
call fcn.18000b9b0
movzx eax, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180016e40
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180001a80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, 0x104
mov rdi, rcx
call fcn.18000cb30
mov rcx, rdi
call fcn.18000c4b0
mov rcx, rdi
mov ebx, eax
call fcn.18000c3d0
lea edx, [rbx - 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
test eax, eax
je 0x180001aff
nop dword [rax + rax]
mov rcx, rdi
call fcn.18000c4b0
dec eax
cmp ebx, eax
jb 0x180001b19
mov edx, pe_nt_image_headers64
mov rcx, rdi
call fcn.18000bda0
mov rcx, rdi
call fcn.18000c4b0
mov rcx, rdi
mov ebx, eax
call fcn.18000c3d0
lea edx, [rbx - 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
test eax, eax
jne 0x180001ac0
mov rcx, rdi
call fcn.18000bd70
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18000c3d0
test ebx, ebx
je 0x180001b42
lea edx, [rbx - 1]
mov rcx, rdi
call fcn.18000bbd0
cmp word [rax], 0x5c
je 0x180001b42
mov edx, ebx
mov rcx, rdi
call fcn.18000bbd0
mov ecx, 0x5c
inc ebx
mov word [rax], cx
mov edx, ebx
mov rcx, rdi
call fcn.18000cb30
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18000c3d0

Function at 0x1800025f0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x1800317b0]
call fcn.180004d30
mov qword [rsp + 0x38], 0xffffffffffffffff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x48]
call fcn.18000b960
nop
mov qword [rsp + 0x58], 0
lea rdx, str.CustomActionData
lea rcx, [rsp + 0x38]
call fcn.180004b60
test al, al
je 0x18000269b
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + 0xc]
lea r9, [rcx + 0x19]
add r9, rax
mov eax, dword [rcx + 4]
lea r8, [rcx + 0x19]
add r8, rax
lea rax, [rcx + 0x18]
mov qword [rsp + 0x20], rax
lea rdx, str.LSMFWfp
lea rcx, str.Filter_Driver
call fcn.180005980
test al, al
je 0x18000269b
xor ebx, ebx
jmp 0x1800026a0
mov ebx, 0x643
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800026ba
mov qword [rsp + 0x58], 0
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
lea rcx, [rsp + 0x48]
call fcn.18000b9b0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1800026e0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x1800026fa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0xffffffffffffffff
mov eax, ebx
add rsp, 0x60
pop rbx
ret

Function at 0x180002710
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x180031860]
call fcn.180004d30
lea rcx, str.Filter_Driver
call fcn.180003d90
xor ecx, ecx
mov edx, 0x643
test al, al
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret
Function at 0x180002750
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x180031868]
call fcn.180004d30
call fcn.180003c00
xor ecx, ecx
test al, al
mov edx, 0x643
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x180002790
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0xb0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x1800317a8]
call fcn.180004d30
mov qword [rsp + 0x30], 0xffffffffffffffff
lea rax, [rsp + 0x38]
mov qword [rsp + 0xc8], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x40]
call fcn.18000b960
nop
mov qword [rsp + 0x50], rbx
lea rdx, str.CustomActionData
lea rcx, [rsp + 0x30]
call fcn.180004b60
test al, al
je 0x18000285f
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.18000a4d0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + 0x10]
lea r9, [rcx + 0x19]
add r9, rax
mov dword [rsp + 0x28], ebx
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x20], eax
lea r8, str.SOFTWARELightspeed_SystemsMobile_Filter
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.18000b3a0
test al, al
jne 0x180002854
lea rcx, [rsp + 0x68]
call fcn.18000c3d0
mov rcx, rax
call fcn.180004d30
nop
lea rcx, [rsp + 0x60]
call fcn.18000a530
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180002875
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
lea rcx, [rsp + 0x40]
call fcn.18000b9b0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18000289e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x1800028b8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0xffffffffffffffff
xor eax, eax
add rsp, 0xb0
pop rbx
ret

Function at 0x1800028d0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov ebx, ecx
lea rcx, [rsp + 0x28]
call fcn.18000b960
nop
mov edx, ebx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x180031930]
call fcn.180004d30
nop
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x180002920
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x180031938]
call fcn.180004d30
call fcn.1800040a0
xor eax, eax
add rsp, 0x28
ret
Function at 0x180002cf0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x38
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x1800315b0]
call fcn.180004d30
lea rax, str.CustomActions.dll
lea rcx, [0x180003a30]
mov qword [rsp + 0x20], rax
lea rax, [0x1800315e0]
mov qword [rsp + 0x28], rax
call fcn.180010560
lea rdx, [rsp + 0x20]
mov ecx, 2
call fcn.18000db00
test al, al
je 0x180002d58
lea rcx, str.Configuration_deleted
call fcn.180004d30
xor eax, eax
add rsp, 0x38
ret
lea rcx, str.Unable_to_delete_the_configuration
call fcn.180004d30
mov eax, 0x643
add rsp, 0x38
ret

Function at 0x180002d70
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x180031870]
call fcn.180004d30
mov qword [rsp + 0x28], 0xffffffffffffffff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
call fcn.18000b960
nop
mov qword [rsp + 0x48], 0
lea rdx, str.CaDataPath
lea rcx, [rsp + 0x28]
call fcn.180004b60
test al, al
je 0x180002e23
mov rax, qword [rsp + 0x48]
lea rcx, [0x180031888]
lea rdx, [0x180031898]
cmp byte [rax + 0x18], 0
cmovne rdx, rcx
lea rcx, str.CaFinalize:_reboot___s
call fcn.180004f60
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x18], 0
je 0x180002e2f
lea rdx, reloc.msi.dll_MsiGetFeatureCostA
lea rcx, str.InternalReboot
call fcn.180005560
jmp 0x180002e2f
lea rcx, str.CaFinalize:_no_CA_data
call fcn.180004d30
lea rcx, [rsp + 0x28]
call fcn.180003a80
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180002e54
mov qword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
lea rcx, [rsp + 0x38]
call fcn.18000b9b0
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180002e7a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x180002e94
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], 0xffffffffffffffff
xor eax, eax
add rsp, 0x58
ret
Function at 0x180002ea0
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov edi, ecx
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x1800316b0]
call fcn.180004d30
lea rcx, [rsp + 0x28]
call fcn.18000b960
nop
lea rdx, [rsp + 0x28]
lea rcx, str.SERVERS
call fcn.1800048a0
test al, al
jne 0x180002ef7
mov ebx, 0x643
jmp 0x180002f6b
call fcn.18000ffe0
test al, al
je 0x180002f49
lea rcx, [rsp + 0x28]
call fcn.18000c710
test al, al
je 0x180002f49
call fcn.18000fe40
mov rbx, rax
test rax, rax
je 0x180002f49
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.18000bab0
lea rcx, [rsp + 0x28]
call fcn.18000c3b0
mov rdx, rax
lea rcx, str.Will_use_server_names_from_previous_install:___s_
call fcn.180004f60
mov rcx, rbx
call fcn.1800177ec
lea rcx, [rsp + 0x28]
call fcn.18000c3d0
mov rdx, rax
lea rcx, [0x180031440]
call fcn.180005560
mov ecx, edi
call fcn.1800021b0
xor ebx, ebx
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180002f90
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x180031668]
call fcn.180004d30
lea rcx, [rsp + 0x38]
call fcn.18000b960
nop
lea rdx, [rsp + 0x38]
lea rcx, str.SERVERS
call fcn.1800048a0
test al, al
je 0x1800030fa
lea rcx, [rsp + 0x38]
call fcn.18000c3d0
mov rdi, rax
mov rcx, rax
mov edx, 0x3b
call fcn.180017ad8
test rax, rax
mov rbx, rax
je 0x1800030a6
cmp rax, rdi
je 0x180003046
mov r9, rax
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.18000b810
nop
lea rcx, [rsp + 0x28]
call fcn.18000c3d0
mov edx, reloc.msi.dll_MsiEnumClientsA
mov rcx, rax
call fcn.180017ad8
test rax, rax
jne 0x18000304f
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
lea rdi, [rbx + 2]
mov rcx, rdi
jmp 0x180002ff2
lea rcx, [rsp + 0x28]
call fcn.18000c3b0
mov r9, rax
mov r8d, 0x70
mov rdx, qword [0x180041e70]
lea rcx, [rsp + 0x48]
call fcn.18000b8b0
nop
mov rcx, rax
call fcn.18000c3d0
mov rcx, rax
mov edx, MsiGetFeatureCostA
call fcn.180004e20
nop
lea rcx, [rsp + 0x48]
call fcn.18000b9b0
nop
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
mov ebx, 0x643
jmp 0x1800030fc
mov edx, reloc.msi.dll_MsiEnumClientsA
mov rcx, rdi
call fcn.180017ad8
test rax, rax
je 0x1800030fa
mov r9, rdi
mov r8d, 0x70
mov rdx, qword [0x180041e70]
lea rcx, [rsp + 0x48]
call fcn.18000b8b0
nop
mov rcx, rax
call fcn.18000c3d0
mov rcx, rax
mov edx, MsiGetFeatureCostA
call fcn.180004e20
nop
lea rcx, [rsp + 0x48]
call fcn.18000b9b0
mov ebx, 0x643
jmp 0x1800030fc
xor ebx, ebx
lea rcx, [rsp + 0x38]
call fcn.18000b9b0
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x180003120
Capabilities:
Set thread local storage value
Start service

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x1800317e8]
call fcn.180004d30
xor edi, edi
mov qword [rsp + 0x70], rdi
xor edx, edx
xor ecx, ecx
mov r8d, 0x20001
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1800031b0
lea rcx, [rsp + 0x60]
call fcn.18000b980
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rdx, rax
mov r8d, dword [rsp + 0x60]
lea ecx, [rdi + 0x64]
call fcn.180004ee0
nop
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
jmp 0x180003271
mov qword [rsp + 0x68], rdi
mov r9d, 0x20010
lea r8, [rsp + 0x68]
lea rdx, str.LSMFSvc
mov rcx, rax
call fcn.180005210
mov rbx, qword [rsp + 0x68]
test al, al
je 0x180003263
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x180003246
lea rcx, [rsp + 0x60]
call fcn.18000b980
lea rcx, [rsp + 0x60]
call fcn.18000bca0
cmp eax, 0x420
je 0x180003246
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, dword [rsp + 0x60]
lea rdx, str.LSMFSvc
mov ecx, reloc.msi.dll_MsiRecordSetStringW
call fcn.180004ee0
nop
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
jmp 0x180003263
lea rcx, str.CaStartService:_service_started
call fcn.180004d30
nop
test rbx, rbx
je 0x180003276
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180003276
test rbx, rbx
je 0x180003271
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, 0x643
test rsi, rsi
je 0x180003284
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret