joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005320
Capabilities:
Create process on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
cmp dword [0x1400795f8], 0
je 0x140005341
call fcn.1400054c4
jmp 0x1400054af
and dword [rbp + 0x6f], 0
lea rdx, [rbp + 0x77]
call fcn.140003b38
nop
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x19]
call fcn.140034210
mov dword [rbp - 0x19], 0x68
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rbp - 0x39]
call fcn.140034210
mov rdx, qword [rbp + 0x77]
mov r8d, dword [rdx - 0x10]
test r8d, r8d
js 0x1400054b8
mov ecx, 1
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
sub eax, r8d
or eax, ecx
jge 0x1400053a7
mov edx, r8d
lea rcx, [rbp + 0x77]
call fcn.1400017ac
mov rdx, qword [rbp + 0x77]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140005424
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x6f], eax
mov r9d, eax
mov r8, qword [rbp + 0x77]
lea rdx, str.InstallProduct:_CreateProcess_failed__Cmdline_s_Error_d_._n
lea rcx, [0x1400795c8]
call fcn.1400016a4
lea rcx, [0x140079450]
call fcn.14000ff14
mov eax, dword [rbp + 0x6f]
add eax, dword [0x140079648]
mov dword [rbp + 0x6f], eax
mov dword [0x1400796e0], eax
jmp 0x14000548a
or edx, 0xffffffff
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x6f]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rbp + 0x6f]
mov ecx, 0xbc2
cmp eax, ecx
jne 0x14000545e
cmp dword [0x1400795ec], 0
jne 0x14000546f
mov dword [0x1400795ec], 1
test eax, eax
je 0x14000546f
cmp eax, ecx
je 0x14000546f
add eax, dword [0x140079648]
mov dword [rbp + 0x6f], eax
mov dword [0x1400796e0], eax
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x77]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400054af
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
add rsp, 0xe0
pop rbp
ret
mov ecx, 0x80070057
call fcn.140001474
int3
Function at 0x140007bf8
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x9c0]
sub rsp, 0xac0
mov rax, qword [0x140077698]
xor rax, rsp
mov qword [rbp + 0x9b0], rax
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
lea rdx, [0x1400578cc]
lea rcx, [rsp + 0x50]
call fcn.1400019ac
nop
mov edi, 0x208
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x7a0]
call fcn.140034210
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x170]
call fcn.140034210
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x590]
call fcn.140034210
lea r12d, [rdi + 2]
mov ecx, r12d
call fcn.140011cc8
mov r14, rax
mov ecx, r12d
call fcn.140011cc8
mov rdi, rax
mov ecx, r12d
call fcn.140011cc8
mov rsi, rax
mov r8d, r12d
xor edx, edx
mov rcx, rdi
call fcn.140034210
mov r8d, r12d
xor edx, edx
mov rcx, rsi
call fcn.140034210
mov r8d, r12d
xor edx, edx
mov rcx, r14
call fcn.140034210
mov r12d, 0x104
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
mov r9, r14
mov r8d, r12d
lea rdx, [rbp + 0x7a0]
mov rcx, r15
call fcn.14003ba38
test eax, eax
jne 0x140007e3c
mov r8, rdi
mov edx, r12d
lea rcx, [rbp + 0x170]
call fcn.14003b424
mov r8, rsi
mov edx, r12d
lea rcx, [rbp + 0x170]
call fcn.14003b3a4
lea rcx, [rsp + 0x58]
call fcn.140007eb8
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400013f0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007d6a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
mov rcx, qword [rsp + 0x50]
call fcn.1400383fc
test rax, rax
je 0x140007e3c
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140034210
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x380]
call fcn.140034210
mov r8, qword [rsp + 0x50]
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.14003b424
lea r8, [0x1400583c4]
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.14003b3a4
lea r8, [rbp + 0x170]
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.14003b3a4
mov r8, r15
mov rdx, r12
lea rcx, [rbp + 0x380]
call fcn.14003b424
lea rcx, [rsp + 0x60]
call fcn.1400042b4
test eax, eax
jne 0x140007e3c
lea rcx, [rbp + 0x380]
call fcn.1400042b4
test eax, eax
je 0x140007e3c
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140007e3c
lea r8, [rbp + 0x170]
mov rdx, r12
lea rcx, [rbp + 0x590]
call fcn.14003b424
mov rcx, r14
call fcn.140012904
mov rcx, rdi
call fcn.140012904
mov rcx, rsi
call fcn.140012904
lea rdx, [rbp + 0x590]
mov rcx, rbx
call fcn.1400019ac
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140007e8a
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14001687a.0]
mov rax, rbx
mov rcx, qword [rbp + 0x9b0]
xor rcx, rsp
call fcn.1400330d0
lea r11, [rsp + 0xac0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140007eb8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov eax, 2
mul rsi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140011cc8
mov rdi, rax
test rax, rax
je 0x140007f29
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, rax
call fcn.140034210
mov rdx, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140007f29
mov rdx, rdi
mov rcx, rbx
call fcn.1400019ac
jmp 0x140007f5b
mov rcx, rdi
call fcn.140012904
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x140007f74
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [rbx], rax
mov rcx, rbx
call fcn.140001534
nop
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ecx, 0x80004005
call fcn.140001474
int3

Function at 0x140008be8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
mov rbx, rcx
lea rcx, str.CExtInstDlgThread
mov r9d, 4
xor r8d, r8d
xor edx, edx
call fcn.14001c4a4
mov qword [rbx + 0x40], rax
mov dword [rax + 0x88], 0x3f1
mov rcx, qword [rbx + 0x40]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor edi, edi
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140008c5b
cmp qword [rcx + 0x40], 0
je 0x140008c5b
mov rax, qword [rcx + 0x40]
mov qword [rbx + 0x48], rax
mov rax, qword [rcx + 0x58]
mov qword [rbx + 0x50], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp edi, 2
jge 0x140008c40
inc edi
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008c30

Function at 0x14000a398
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov ebx, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x3ff
and ax, cx
cmp ax, 1
je 0x14000a3c9
cmp ax, 0xd
jne 0x14000a3cd
bts ebx, 0x14
mov r9d, edi
lea rcx, [0x140079450]
mov r8d, ebx
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140024e00
Function at 0x14000b418
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x28
cmp dword [0x1400795f8], 0
je 0x14000b44b
cmp dword [0x140079610], 0
jne 0x14000b44b
xor r9d, r9d
lea rdx, str.SOFTWAREAdobeSetupReader
mov r8d, 0x200
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
add rsp, 0x28
ret

Function at 0x14000b968
Capabilities:
Check if file exists
Copy file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xbd0]
sub rsp, 0xcd0
mov rax, qword [0x140077698]
xor rax, rsp
mov qword [rbp + 0xbc0], rax
mov rdi, rdx
mov rbx, rcx
mov r15d, 0x20a
lea rcx, [rbp + 0x9b0]
mov r8d, r15d
xor edx, edx
mov sil, 1
call fcn.140034210
mov r14d, 0x105
lea rcx, [rbp + 0x9b0]
mov edx, r14d
mov r8, rbx
call fcn.14003b424
mov r8d, r15d
lea rcx, [rbp + 0x380]
xor edx, edx
call fcn.140034210
mov r8d, r15d
lea rcx, [rbp + 0x170]
xor edx, edx
call fcn.140034210
mov r8, rbx
lea rcx, [rbp + 0x380]
mov edx, r14d
call fcn.14003b424
mov r8, rdi
lea rcx, [rbp + 0x170]
mov edx, r14d
call fcn.14003b424
lea rcx, [rbp + 0x380]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000bbca
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000bbca
lea rcx, [rbp + 0x170]
call fcn.1400383fc
cmp word [rbp + rax*2 + 0x16e], 0x5c
je 0x14000ba69
lea r8, [0x1400583c4]
mov edx, r14d
lea rcx, [rbp + 0x170]
call fcn.14003b3a4
lea rcx, [rbp + 0x380]
call fcn.1400383fc
cmp word [rbp + rax*2 + 0x37e], 0x5c
je 0x14000ba96
lea r8, [0x1400583c4]
mov rdx, r14
lea rcx, [rbp + 0x380]
call fcn.14003b3a4
lea r8, [0x14005a97c]
mov rdx, r14
lea rcx, [rbp + 0x9b0]
call fcn.14003b3a4
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x9b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
test rax, rax
je 0x14000bbca
test byte [rsp + 0x20], 0x10
jne 0x14000bba1
mov r8, r15
lea rcx, [rbp + 0x590]
xor edx, edx
call fcn.140034210
mov r8, r15
lea rcx, [rbp + 0x7a0]
xor edx, edx
call fcn.140034210
lea r8, [rbp + 0x170]
mov rdx, r14
lea rcx, [rbp + 0x7a0]
call fcn.14003b424
lea r8, [rsp + 0x4c]
mov rdx, r14
lea rcx, [rbp + 0x7a0]
call fcn.14003b3a4
lea r8, [rbp + 0x380]
mov rdx, r14
lea rcx, [rbp + 0x590]
call fcn.14003b424
lea r8, [rsp + 0x4c]
mov rdx, r14
lea rcx, [rbp + 0x590]
call fcn.14003b3a4
mov rdx, r14
lea rcx, [rbp + 0x590]
call fcn.14003b770
lea rdx, str..cab
lea rcx, [rbp + 0x590]
call fcn.14003533c
test rax, rax
je 0x14000bba1
lea rcx, [rbp + 0x7a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000bba1
lea r8d, [rax + 1]
lea rdx, [rbp + 0x7a0]
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne sil
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000bbbc
test sil, sil
jne 0x14000baca
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, sil
jmp 0x14000bbcc
xor al, al
mov rcx, qword [rbp + 0xbc0]
xor rcx, rsp
call fcn.1400330d0
mov rbx, qword [rsp + 0xd10]
add rsp, 0xcd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000beec
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
lea rdi, [rcx + 0x218]
mov rdx, qword [rdi]
mov ecx, 1
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
mov r14d, 0x104
sub eax, r14d
or eax, ecx
jge 0x14000bf2e
mov edx, r14d
mov rcx, rdi
call fcn.1400017ac
mov rdx, qword [rdi]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebp, ebp
test eax, eax
je 0x14000c10c
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14000bf4d
mov eax, ebp
jmp 0x14000bf5e
movsxd rdx, dword [rcx - 0xc]
call fcn.140038528
test eax, eax
js 0x14000c121
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x14000c121
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], bp
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.14000148c
lea rbx, [rax + 0x18]
mov qword [rsp + 0x90], rbx
mov rsi, qword [rdi]
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, r14d
or eax, ecx
jge 0x14000bfb1
mov edx, r14d
mov rcx, rdi
call fcn.1400017ac
mov rsi, qword [rdi]
cmp dword [rbx - 8], 1
jle 0x14000bfcf
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x90]
call fcn.1400015b4
mov rbx, qword [rsp + 0x90]
mov r9, rsi
xor r8d, r8d
lea rdx, [0x14005c6a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
nop
lea rdx, [rbx - 0x18]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c00a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14000c016
mov eax, ebp
jmp 0x14000c027
movsxd rdx, dword [rcx - 0xc]
call fcn.140038528
test eax, eax
js 0x14000c121
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x14000c121
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], bp
lea rcx, [rsp + 0x40]
call fcn.14001f994
nop
xor r9d, r9d
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140009b54
nop
lea r9, [rsp + 0x20]
mov r8d, 0x1001
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
call fcn.140020010
test eax, eax
jne 0x14000c083
mov rcx, rdi
call fcn.140001534
jmp 0x14000c0cf
lea r8, str.LOCALIZATION_INI
mov edx, 0x87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x40]
call fcn.1400203f0
nop
lea rax, vtable.CFileException.0
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000c102
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
nop
lea rcx, [rsp + 0x40]
call fcn.14001f9ec
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.140001474
int3
Function at 0x14000c150
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rcx, qword [rdx]
sub rcx, 0x18
call fcn.14000148c
lea rsi, [rax + 0x18]
mov qword [rsp + 0x78], rsi
mov rdx, qword [rbx]
mov edi, 1
mov ecx, edi
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14000c1a0
mov edx, 0x104
mov rcx, rbx
call fcn.1400017ac
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop
lea rdx, [rsi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor esi, esi
sub eax, 1
jg 0x14000c1d3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000c1df
mov eax, esi
jmp 0x14000c1f0
movsxd rdx, dword [rcx - 0xc]
call fcn.140038528
test eax, eax
js 0x14000c2a4
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000c2a4
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], si
lea rcx, [rsp + 0x20]
call fcn.14002127c
nop
mov rdx, qword [rbx]
cmp dword [rdx - 0x10], esi
je 0x14000c284
xor r8d, r8d
lea rcx, [rsp + 0x20]
call fcn.140021650
test eax, eax
je 0x14000c284
lea rcx, [rsp + 0x20]
call fcn.140021940
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x20]
call fcn.140021ae0
nop
mov rdx, rax
mov rcx, rbx
call fcn.1400013f0
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c278
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
lea rcx, [rsp + 0x20]
call fcn.1400215d4
jmp 0x14000c286
mov edi, esi
lea rcx, [rsp + 0x20]
call fcn.140021484
mov eax, edi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80070057
call fcn.140001474
int3
Function at 0x14000c864
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.140033510
sub rsp, rax
mov rax, qword [0x140077698]
xor rax, rsp
mov qword [rbp + 0xf60], rax
mov rdi, r8
mov esi, edx
mov rbx, rcx
mov rcx, r8
call fcn.140001534
nop
and dword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
xor edx, edx
mov rcx, qword [rbx]
call sub.msi.dll_MsiOpenProductW
test eax, eax
jne 0x14000ca02
lea rdx, str.SELECT__Message__FROM__Error__WHERE_Error.Error
lea rcx, [rsp + 0x30]
call fcn.1400019ac
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea r9d, [rax + 0xa]
lea r8d, [rax + 0x14]
lea rdx, [rsp + 0x38]
mov ecx, esi
call fcn.1400423f8
lea rcx, [rsp + 0x38]
call fcn.1400383fc
mov r8d, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140003a24
nop
and dword [rsp + 0x20], 0
and dword [rsp + 0x24], 0
lea r8, [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
call sub.msi.dll_MsiEnumClientsA
test eax, eax
jne 0x14000c9bf
xor edx, edx
mov ecx, dword [rsp + 0x24]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x14000c9bf
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x14000c957
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x14000c9bf
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
call fcn.140034210
mov dword [rsp + 0x2c], 0x800
lea r9, [rsp + 0x2c]
lea r8, [rsp + 0x60]
mov edx, 1
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiRecordSetStreamA
test eax, eax
jne 0x14000c9bf
lea rcx, [rsp + 0x60]
call fcn.1400383fc
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140001858
nop
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x14000c9cd
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
mov ecx, dword [rsp + 0x24]
test ecx, ecx
je 0x14000c9db
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000ca02
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
nop
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x14000ca0f
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.1400330d0
mov rbx, qword [rsp + 0x10a8]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ca34
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, r9
mov r15, r8
mov rbx, rdx
xor r12d, r12d
mov dword [rax - 0x38], r12d
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x14000cb3a
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x30], 1
lea edi, [r12 + 0x7d]
mov rbp, qword [rsp + 0x90]
add edi, edi
js 0x14000cb45
mov rax, qword [rbx]
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edi
or edx, ecx
jge 0x14000cabf
mov edx, edi
mov rcx, rbx
call fcn.1400017ac
mov rax, qword [rbp]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, qword [rbx]
lea r8, [0x1400578cc]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000caf1
mov eax, r12d
jmp 0x14000cafe
movsxd rdx, dword [rcx - 0xc]
call fcn.140038528
test eax, eax
js 0x14000cb45
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000cb45
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], r12w
lea eax, [rsi + 1]
cmp edi, eax
jbe 0x14000ca99
mov rax, rbx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140001474
int3
mov ecx, 0x80070057
call fcn.140001474
int3
Function at 0x14000ddd8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
cmp dword [rcx + 0x1a0], 0
jne 0x14000de9d
call fcn.1400122fc
mov rcx, rax
test rax, rax
je 0x14000deda
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov r8d, 0x92
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000cb50
nop
mov r8, qword [rbx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x30]
call fcn.1400016a4
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000de67
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
xor r8d, r8d
lea edx, [r8 + 0x10]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14000a398
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000de9d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
cmp dword [rdi + 0x198], 0
je 0x14000dec8
lea rcx, str.OS_requirement:_Unsupported_Internet_Explorer_detected.
call fcn.1400383fc
mov r8d, eax
lea rdx, str.OS_requirement:_Unsupported_Internet_Explorer_detected.
lea rcx, [rdi + 0x178]
call fcn.140001858
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14000ff14
mov ecx, 0x80004005
call fcn.140001474
int3
Function at 0x14000fc90
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140077698]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14000fcfb
lea rcx, str.OpenSCManager_failed
call fcn.1400383fc
lea rdx, str.OpenSCManager_failed
mov r8d, eax
lea rcx, [0x1400795c8]
call fcn.140001858
lea rcx, [0x140079450]
call fcn.14000ff14
xor eax, eax
jmp 0x14000fdac
mov r8d, 4
lea rdx, str.MSIServer
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x14000fd37
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str.OpenService_failed
call fcn.1400383fc
lea rdx, str.OpenService_failed
jmp 0x14000fcd9
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14000fd8b
lea rcx, str.QueryServiceStatusEx_failed
call fcn.1400383fc
mov r8d, eax
lea rdx, str.QueryServiceStatusEx_failed
lea rcx, [0x1400795c8]
call fcn.140001858
lea rcx, [0x140079450]
call fcn.14000ff14
jmp 0x14000fd98
cmp dword [rsp + 0x40], 4
mov eax, 1
cmove ebx, eax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400330d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret