joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003290
Capabilities:
Set thread local storage value

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, [0x1800317b8]
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 0x18000331d
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 0x180003379
mov qword [rsp + 0x68], rdi
mov r9d, 0x20024
lea r8, [rsp + 0x68]
lea rdx, str.LSMFSvc
mov rcx, rax
call fcn.180005210
mov rbx, qword [rsp + 0x68]
test al, al
je 0x18000336b
xor r8d, r8d
lea rdx, str.LSMFSvc
mov rcx, rbx
call fcn.180005610
test al, al
je 0x18000336b
test rbx, rbx
je 0x18000337e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x18000337e
test rbx, rbx
je 0x180003379
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, 0x643
test rsi, rsi
je 0x18000338c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800033a0
Capabilities:
Set thread local storage value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x110
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x180031738]
call fcn.180004d30
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.18000a4d0
nop
xor r9d, r9d
lea r8, str.SOFTWARELightspeed_SystemsMobile_Filter
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x50]
call fcn.18000ae20
test al, al
jne 0x180003420
lea rcx, [rbp - 0x48]
call fcn.18000c3d0
mov rcx, rax
call fcn.180004d30
mov ebx, 0x643
jmp 0x1800035e6
mov qword [rbp - 0x80], 0xffffffffffffffff
lea rax, [rbp - 0x78]
mov qword [rbp + 0x28], rax
xor edi, edi
mov qword [rbp - 0x78], rdi
lea rcx, [rbp - 0x70]
call fcn.18000b960
nop
mov qword [rbp - 0x60], rdi
mov qword [rsp + 0x88], rdi
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x80], eax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], MsiDatabaseExportA
mov dword [rsp + 0x68], 2
lea rbx, str.WfpFileName
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], MsiDatabaseExportA
mov dword [rsp + 0x50], 1
lea rsi, str.INSTALLDIR
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], 8
mov dword [rsp + 0x38], 1
lea r14, str.WfpDir
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
lea r9, str.DriverDir
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, [rbp - 0x80]
call fcn.1800036a0
test al, al
je 0x180003593
mov ecx, dword [rbp - 0x20]
mov rax, qword [rbp - 0x60]
mov dword [rax + 0x14], ecx
mov qword [rsp + 0x88], rdi
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x80], eax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], MsiDatabaseExportA
mov dword [rsp + 0x68], 2
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], MsiDatabaseExportA
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], 8
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
lea r9, str.DriverDir
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, [rbp - 0x80]
call fcn.180005810
xor r9d, r9d
lea r8, [0x1800317a8]
lea rdx, [0x1800317b0]
lea rcx, [rbp - 0x80]
call fcn.180005470
test al, al
mov ebx, edi
jne 0x180003598
mov ebx, 0x643
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1800035ac
mov qword [rbp - 0x60], rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
lea rcx, [rbp - 0x70]
call fcn.18000b9b0
nop
lea rax, [rbp - 0x78]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1800035ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x80]
cmp rcx, 0xffffffffffffffff
je 0x1800035e6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x80], 0xffffffffffffffff
lea rcx, [rbp - 0x50]
call fcn.18000a530
mov eax, ebx
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180003610
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x138
mov rax, qword [0x180040420]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov edx, ecx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [0x180031698]
call fcn.180004d30
call fcn.18000ffe0
test al, al
je 0x180003683
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0xff
mov byte [rsp + 0x20], 0
call fcn.1800181d0
lea rcx, [rsp + 0x20]
mov edx, pe_nt_image_headers64
call fcn.180010360
cmp byte [rsp + 0x20], 0
je 0x180003683
lea rcx, [rsp + 0x20]
call fcn.18000e690
xor eax, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180016e40
add rsp, 0x138
ret
Function at 0x180003b70
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180003bf1
lea rcx, [rsp + 0x58]
call fcn.18000b980
lea rcx, [rsp + 0x58]
call fcn.18000bca0
cmp eax, 2
je 0x180003bf1
lea rcx, [rsp + 0x58]
call fcn.18000bca0
cmp eax, 3
je 0x180003bf1
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, dword [rsp + 0x58]
mov rdx, rbx
lea rcx, str.DeleteFile___s__failed.__s._Error_code___lu.
call fcn.180004f60
nop
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
xor al, al
jmp 0x180003bf3
mov al, 1
add rsp, 0x40
pop rbx
ret

Function at 0x180003f20
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, rcx
lea rcx, [rsp + 0x48]
call fcn.18000b960
nop
lea rcx, [rsp + 0x58]
call fcn.18000b960
nop
mov qword [0x180041e70], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x180041e78], eax
lea rcx, [0x180041ec8]
call fcn.180001a70
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180001990
lea rcx, str.SETUPCA:
call fcn.180009e20
lea rcx, [0x1800051c0]
call fcn.180010940
lea rcx, [0x180031958]
call fcn.180010960
lea rcx, str.LSMFSetup
call fcn.180008c20
mov ecx, eax
call fcn.180009da0
lea rdx, str.Lightspeed_SystemsMobile_Filter_
lea rcx, [rsp + 0x48]
call fcn.180001750
test al, al
je 0x180003fe3
lea rcx, [rsp + 0x48]
call fcn.18000c3d0
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CustomActions
call fcn.180009a70
test al, al
jne 0x18000402f
lea rdx, str.Lightspeed_SystemsMobile_Filter_
lea rcx, [rsp + 0x48]
call fcn.180001870
test al, al
je 0x18000401b
lea rcx, [rsp + 0x48]
call fcn.18000c3d0
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CustomActions
call fcn.180009a70
test al, al
jne 0x18000402f
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CustomActions
xor ecx, ecx
call fcn.180009a70
lea rcx, [rsp + 0x58]
call fcn.18000c3b0
mov rbx, rax
lea rcx, [0x180041ec8]
call fcn.18000c3b0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea rax, str.Release_x64
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea edx, [r9 + 6]
lea r8d, [r9 + 1]
lea rcx, str.CustomActions_v_u._u._u___s_n____Process____s__n____DLL____s_
call fcn.180008ad0
nop
lea rcx, [rsp + 0x58]
call fcn.18000b9b0
nop
lea rcx, [rsp + 0x48]
call fcn.18000b9b0
add rsp, 0x70
pop rbx
ret
Function at 0x180004670
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], r14
mov rax, qword [0x180040420]
xor rax, rbp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov rdi, rdx
mov r14, rcx
mov dword [rbp + 4], 0
lea rdx, [rbp + 4]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r8d, eax
test eax, eax
je 0x180004790
lea rax, [r8 + 0xf]
cmp rax, r8
ja 0x1800046d8
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.180016de0
sub rsp, rax
lea rsi, [rsp + 0x20]
test rsi, rsi
je 0x180004754
mov r9, rsi
xor edx, edx
mov rcx, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x18000474f
lea r9, [rbp]
lea r8, [rbp + 8]
lea rdx, [0x18002fa40]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x18000474f
mov rdx, qword [rbp + 8]
test rdi, rdi
je 0x180004733
mov ecx, dword [rdx + 8]
shl rcx, 0x20
mov eax, dword [rdx + 0xc]
add rcx, rax
mov qword [rdi], rcx
test rbx, rbx
je 0x180004748
mov ecx, dword [rdx + 0x10]
shl rcx, 0x20
mov eax, dword [rdx + 0x14]
add rcx, rax
mov qword [rbx], rcx
mov al, 1
jmp 0x1800047e8
mov esi, dword [rbp + 4]
jmp 0x180004759
mov esi, 8
mov edx, esi
lea rcx, [rbp]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rbp + 8]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, esi
mov rdx, r14
lea rcx, str.GetFileVersionInfo_for___s_.__s._Error_code___lu.
call fcn.180004f60
nop
jmp 0x1800047c5
lea rcx, [rbp]
call fcn.18000b980
mov edx, dword [rbp]
lea rcx, [rbp + 8]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, dword [rbp]
mov rdx, r14
lea rcx, str.GetFileVersionInfoSize_for___s_.__s._Error_code___lu.
call fcn.180004f60
nop
lea rcx, [rbp + 8]
call fcn.18000b9b0
test rdi, rdi
je 0x1800047da
mov qword [rdi], 0
test rbx, rbx
je 0x1800047e6
mov qword [rbx], 0
xor al, al
mov rcx, qword [rbp + 0x20]
xor rcx, rbp
call fcn.180016e40
mov rbx, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x50]
mov r14, qword [rbp + 0x58]
lea rsp, [rbp + 0x30]
pop rbp
ret
Function at 0x1800048a0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, rdx
mov rdi, rcx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
mov dword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
lea r8, [0x18002fa44]
mov rdx, rdi
mov ecx, eax
call sub.msi.dll_MsiGetSummaryInformationW
mov esi, eax
test eax, eax
jne 0x1800048fc
mov rcx, rbx
call fcn.18000bd70
jmp 0x1800049dd
cmp eax, 0xea
je 0x180004953
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rsp + 0x28]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, esi
mov rdx, rdi
lea rcx, str.MsiGetProperty_failed._Name____s_._n_____s._Error_code___u
call fcn.180004f60
nop
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
mov rcx, rbx
call fcn.18000bd70
xor al, al
jmp 0x1800049df
mov eax, dword [rsp + 0x70]
mov edx, eax
inc eax
mov dword [rsp + 0x70], eax
mov rcx, rbx
call fcn.18000cb30
mov rcx, rbx
call fcn.18000c3d0
mov r8, rax
lea r9, [rsp + 0x70]
mov rdx, rdi
mov ecx, ebp
call sub.msi.dll_MsiGetSummaryInformationW
mov esi, eax
test eax, eax
je 0x1800049c3
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rsp + 0x28]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, esi
mov rdx, rdi
lea rcx, str.MsiGetProperty_failed._Name____s_._n_____s._Error_code___u
call fcn.180004f60
nop
jmp 0x18000493a
mov rcx, rbx
call fcn.18000c3b0
mov r8, rax
mov rdx, rdi
lea rcx, str.GetProperty:_Name____s___Value____s_
call fcn.180004f60
mov al, 1
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800049f0
Capabilities:
Create directory
Get common file path

Disassembly:
push rdi
sub rsp, 0x280
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x298], rbx
mov rax, qword [0x180040420]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
lea rax, [rsp + 0x60]
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]
mov ebx, eax
test eax, eax
jns 0x180004a86
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rsp + 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rdx, rax
mov r8d, ebx
lea rcx, str.SHGetFolderPath_failed.__s._Error_code___lx.
call fcn.180008ad0
nop
lea rcx, [rsp + 0x48]
call fcn.18000b9b0
xor al, al
jmp 0x180004b37
lea r8, [rsp + 0x60]
lea rdx, str._sTemp
lea rcx, [rsp + 0x38]
call fcn.18000b8f0
nop
lea rcx, [rsp + 0x38]
call fcn.18000c3d0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180004b1b
lea rcx, [rsp + 0x30]
call fcn.18000b980
lea rcx, [rsp + 0x30]
call fcn.18000bca0
cmp eax, 0xb7
je 0x180004b1b
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rbx, rax
lea rcx, [rsp + 0x38]
call fcn.18000c3b0
mov rdx, rax
mov r9d, dword [rsp + 0x30]
mov r8, rbx
lea rcx, str.CreateDirectory___s__failed.__s._Error_code___lu.
call fcn.180008ad0
nop
lea rcx, [rsp + 0x48]
call fcn.18000b9b0
xor bl, bl
jmp 0x180004b2a
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.18000ba60
mov bl, 1
lea rcx, [rsp + 0x38]
call fcn.18000b9b0
movzx eax, bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180016e40
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret

Function at 0x180004d30
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, rcx
mov ecx, 2
call sub.msi.dll_MsiDatabaseExportA
mov edi, eax
mov dword [rsp + 0x68], eax
mov r8, rbx
lea rdx, str.CustomAction:__s
lea rcx, [rsp + 0x28]
call fcn.18000b8f0
nop
lea rcx, [rsp + 0x28]
call fcn.18000c3d0
mov r8, rax
xor edx, edx
mov ecx, edi
call sub.msi.dll_MsiReinstallFeatureW
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.18000c3d0
mov rcx, rax
call fcn.1800089a0
test ebx, ebx
jne 0x180004db8
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov r8d, edi
mov edx, 0x4000000
call sub.msi.dll_MsiProvideComponentW
jmp 0x180004df7
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rdx, rax
mov r8d, ebx
lea rcx, str.MsiRecordSetString_failed.__s._Error_code___u
call fcn.180008ad0
nop
lea rcx, [rsp + 0x38]
call fcn.18000b9b0
nop
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
nop
test edi, edi
je 0x180004e0d
mov ecx, edi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180004e20
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov esi, edx
mov rbx, rcx
mov ecx, 2
call sub.msi.dll_MsiDatabaseExportA
mov edi, eax
mov dword [rsp + 0x60], eax
mov r8, rbx
xor edx, edx
mov ecx, eax
call sub.msi.dll_MsiReinstallFeatureW
mov ebx, eax
test eax, eax
jne 0x180004e82
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or esi, 0x3000000
mov r8d, edi
mov edx, esi
mov ecx, eax
call sub.msi.dll_MsiProvideComponentW
mov ebx, eax
jmp 0x180004ec3
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rsp + 0x28]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov rdx, rax
mov r8d, ebx
lea rcx, str.MsiRecordSetString_failed.__s._Error_code___u
call fcn.180004f60
nop
lea rcx, [rsp + 0x28]
call fcn.18000b9b0
or ebx, 0xffffffff
test edi, edi
je 0x180004ece
mov ecx, edi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180005210
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov rbx, r8
mov rdi, rdx
mov r8d, r9d
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbx], rax
test rax, rax
jne 0x18000528c
lea rcx, [rbp + 0x20]
call fcn.18000b980
mov edx, dword [rbp + 0x20]
lea rcx, [rbp - 0x28]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, dword [rbp + 0x20]
mov rdx, rdi
mov ecx, MsiProvideComponentW
call fcn.180004ee0
nop
lea rcx, [rbp - 0x28]
call fcn.18000b9b0
xor al, al
jmp 0x18000544b
mov qword [rbp - 0x48], 0
mov r9, rdi
lea r8, str.SYSTEMCurrentControlSet_services
lea rdx, [0x180030988]
lea rcx, [rbp - 0x38]
call fcn.18000b8f0
nop
lea rcx, [rbp - 0x38]
call fcn.18000c3d0
mov rdx, rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x180005364
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rbp - 0x18]
call fcn.18000b930
mov rbx, rax
lea rcx, [rbp - 0x38]
call fcn.18000c3d0
mov r9, rax
lea r8, [0x1800301f0]
lea rdx, [0x180030988]
lea rcx, [rbp - 0x28]
call fcn.18000b8f0
mov rdi, rax
mov rcx, rbx
call fcn.18000c3b0
mov rbx, rax
mov rcx, rdi
call fcn.18000c3b0
mov rdx, rax
mov r9d, esi
mov r8, rbx
mov ecx, 0x6c
call fcn.180004ee0
nop
lea rcx, [rbp - 0x28]
call fcn.18000b9b0
nop
lea rcx, [rbp - 0x18]
call fcn.18000b9b0
xor bl, bl
jmp 0x18000542f
lea r8, [rbp - 0x50]
lea rdx, str.DeleteFlag
mov rcx, qword [rbp - 0x48]
call fcn.18000b570
test al, al
jne 0x180005416
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 2
je 0x18000542d
mov edx, eax
lea rcx, [rbp + 0x20]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rbp - 0x28]
call fcn.18000b930
mov rbx, rax
lea rcx, [rbp - 0x38]
call fcn.18000c3d0
mov r9, rax
lea r8, [0x1800301f0]
lea rdx, [0x180030988]
lea rcx, [rbp - 0x18]
call fcn.18000b8f0
mov rdi, rax
mov rcx, rbx
call fcn.18000c3b0
mov rbx, rax
mov rcx, rdi
call fcn.18000c3b0
mov r8, rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea rdx, str.DeleteFlag
mov ecx, 0x6e
call fcn.180004ee0
nop
lea rcx, [rbp - 0x18]
call fcn.18000b9b0
nop
lea rcx, [rbp - 0x28]
call fcn.18000b9b0
xor bl, bl
jmp 0x18000542f
cmp dword [rbp - 0x50], 0
je 0x18000542d
mov rdx, rdi
mov ecx, 0x6f
call fcn.180004ee0
xor bl, bl
jmp 0x18000542f
mov bl, 1
lea rcx, [rbp - 0x38]
call fcn.18000b9b0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x180005448
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180005470
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x40], 0xfffffffffffffffe
lea rbx, [rax + 0x18]
test rdx, rdx
je 0x180005549
lea r14, [rcx + 0x10]
add rbx, 0xfffffffffffffff8
mov rcx, r14
call fcn.18000c3d0
mov rdi, rax
mov rsi, qword [rsp + 0x88]
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8, rdi
mov rdx, rsi
mov ecx, eax
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
mov ebp, eax
test eax, eax
jne 0x180005500
mov r8, rdi
mov rdx, rsi
lea rcx, str.SetProperty:_Name____s___Value____s_
call fcn.180004f60
add rbx, 8
mov rax, qword [rbx]
mov qword [rsp + 0x88], rax
test rax, rax
je 0x180005549
jmp 0x1800054a6
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rsp + 0x40]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r9, rax
mov dword [rsp + 0x20], ebp
mov r8, rdi
mov rdx, rsi
lea rcx, str.MsiSetProperty_failed._Name____s___Value____s__n_____s._Error_code___u
call fcn.180004f60
nop
lea rcx, [rsp + 0x40]
call fcn.18000b9b0
xor al, al
jmp 0x18000554b
mov al, 1
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x180005560
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rbx, rdx
mov rdi, rcx
mov ecx, dword [0x180041e78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8, rbx
mov rdx, rdi
mov ecx, eax
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
mov esi, eax
test eax, eax
jne 0x1800055b4
mov r8, rbx
mov rdx, rdi
lea rcx, str.SetProperty:_Name____s___Value____s_
call fcn.180004f60
mov al, 1
jmp 0x1800055fb
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.18000b970
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r9, rax
mov dword [rsp + 0x20], esi
mov r8, rbx
mov rdx, rdi
lea rcx, str.MsiSetProperty_failed._Name____s___Value____s__n_____s._Error_code___u
call fcn.180004f60
nop
lea rcx, [rsp + 0x38]
call fcn.18000b9b0
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180005610
Capabilities:
Query service status
Stop service

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x180040420]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r8
mov r13, rdx
mov r12, rcx
test r8, r8
je 0x180005653
mov byte [r8], 0
lea rdx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x180005699
lea rcx, [rbp - 0x50]
call fcn.18000b980
mov edx, dword [rbp - 0x50]
lea rcx, [rbp - 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, dword [rbp - 0x50]
mov rdx, r13
mov ecx, reloc.msi.dll_MsiProvideComponentW
call fcn.180004ee0
nop
jmp 0x1800057d5
cmp dword [rbp - 0x2c], 1
je 0x18000579e
lea r8, [rbp - 0x30]
mov edx, 1
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180005705
lea rcx, [rbp - 0x50]
call fcn.18000b980
lea rcx, [rbp - 0x50]
call fcn.18000bca0
cmp eax, 0x426
je 0x18000579e
mov edx, dword [rbp - 0x50]
lea rcx, [rbp - 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, dword [rbp - 0x50]
mov rdx, r13
mov ecx, 0x68
call fcn.180004ee0
nop
jmp 0x1800057d5
mov r14b, 1
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1800057a2
mov edi, dword [rbp - 0x50]
mov esi, dword [rbp - 0x50]
mov ebx, dword [rbp - 0x50]
mov eax, dword [rbp - 0x2c]
cmp eax, 1
je 0x180005795
mov ecx, dword [rbp - 0x1c]
test r14b, r14b
jne 0x180005759
cmp eax, edi
jne 0x180005759
cmp ecx, esi
jne 0x180005759
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jbe 0x18000574c
sub eax, ebx
jmp 0x180005750
sub eax, ebx
dec eax
cmp eax, 0xea60
ja 0x180005786
jmp 0x180005768
xor r14b, r14b
mov edi, eax
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, MsiProvideComponentW
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1800057a2
jmp 0x180005726
mov rdx, r13
mov ecx, MsiRecordSetStringW
call fcn.180004ee0
jmp 0x1800057de
test r15, r15
je 0x18000579e
mov byte [r15], 1
mov al, 1
jmp 0x1800057e0
lea rcx, [rbp - 0x50]
call fcn.18000b980
mov edx, dword [rbp - 0x50]
lea rcx, [rbp - 0x48]
call fcn.18000b930
nop
mov rcx, rax
call fcn.18000c3b0
mov r8, rax
mov r9d, dword [rbp - 0x50]
mov rdx, r13
mov ecx, reloc.msi.dll_MsiProvideComponentW
call fcn.180004ee0
nop
lea rcx, [rbp - 0x48]
call fcn.18000b9b0
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180016e40
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret