joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ff70
Capabilities:
Get hostname

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0xc88
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0xc70], rax
mov r12, qword [rsp + 0xce0]
mov rbp, r8
mov r13, rdx
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x400
mov rsi, r9
mov byte [rsp + 0x50], 0
call fcn.140013bd0
xor r14d, r14d
lea rax, [rsp + 0x50]
or r9d, 0xffffffff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov r8, r13
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x401
mov qword [rsp + 0x20], rax
call qword [0x140024188]
mov rax, qword [0x140030050]
test rax, rax
jne 0x140010005
xor ecx, ecx
call fcn.14000fcf0
mov qword [0x140030050], rax
lea rcx, [rsp + 0x50]
mov r9, r12
mov r8, rsi
mov rdx, rbp
call rax
mov ecx, eax
mov ebx, eax
call qword [0x140024768]
test ebx, ebx
jne 0x14001002b
lea eax, [rbx + 1]
jmp 0x14001018e
mov qword [rsp + 0xc80], rdi
call qword [0x140024128]
mov edi, eax
cmp eax, 0x2afc
je 0x140010054
cmp eax, 0x2af9
je 0x140010054
cmp eax, 0x2afb
jne 0x14001017c
lea rdx, str.localhost
mov rcx, r13
call qword [0x1400241f0]
test eax, eax
jne 0x14001017c
cmp dword [rsi + 4], 0x17
je 0x14001008e
mov rax, qword [str.127.0.0.1]
lea rcx, [rsp + 0x50]
mov qword [rcx], rax
movzx eax, word [0x140025510]
mov word [rcx + 8], ax
jmp 0x140010096
mov dword [rsp + 0x50], 0x313a3a
mov rax, qword [0x140030050]
test rax, rax
jne 0x1400100b0
xor ecx, ecx
call fcn.14000fcf0
mov qword [0x140030050], rax
lea rcx, [rsp + 0x50]
mov r9, r12
mov r8, rsi
mov rdx, rbp
call rax
mov ecx, eax
mov ebx, eax
call qword [0x140024768]
test ebx, ebx
je 0x140010175
lea rcx, [rsp + 0x462]
xor edx, edx
mov r8d, 0x800
mov word [rsp + 0x460], r14w
call fcn.140013bd0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x460]
mov dword [rsp + 0x40], 0x401
call qword [0x140024218]
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x460]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x401
mov qword [rsp + 0x20], rax
call qword [0x140024188]
mov rax, qword [0x140030050]
test rax, rax
jne 0x140010157
xor ecx, ecx
call fcn.14000fcf0
mov qword [0x140030050], rax
lea rcx, [rsp + 0x50]
mov r9, r12
mov r8, rsi
mov rdx, rbp
call rax
mov ecx, eax
mov ebx, eax
call qword [0x140024768]
test ebx, ebx
jne 0x14001017c
mov eax, 1
jmp 0x140010186
mov ecx, edi
call qword [0x1400241e0]
xor eax, eax
mov rdi, qword [rsp + 0xc80]
mov rcx, qword [rsp + 0xc70]
xor rcx, rsp
call fcn.140013ba0
add rsp, 0xc88
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret

Function at 0x140010610
Capabilities:
Find taskbar

Disassembly:
sub rsp, 0x28
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [0x140024508]
test rax, rax
jne 0x14001062d
add rsp, 0x28
ret
cmp qword [0x14002fc28], 0
je 0x140010641
mov eax, 1
add rsp, 0x28
ret
lea rcx, str.Shell32.dll
call qword [0x1400241a0]
test rax, rax
je 0x14001067a
lea rdx, str.SHAppBarMessage
mov rcx, rax
call qword [0x140024198]
mov r11, rax
mov qword [0x14002fc28], rax
xor eax, eax
test r11, r11
setne al
add rsp, 0x28
ret
mov r11, qword [0x14002fc28]
xor eax, eax
test r11, r11
setne al
add rsp, 0x28
ret
Function at 0x140011ae0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x4b0
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x40], ebx
mov word [rsp + 0x80], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x82]
call fcn.140013bd0
mov word [rsp + 0x290], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x292]
call fcn.140013bd0
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x48], 0x208
mov dword [rsp + 0x44], 0x208
lea rdx, [0x140024e5c]
mov rcx, rsi
call qword [0x140024100]
nop
call qword [0x140024250]
mov r8d, eax
xor edx, edx
mov ecx, 0x400
call qword [0x140024248]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140011bb8
call qword [0x140024250]
mov r8d, eax
xor edx, edx
mov ecx, 0x1000
call qword [0x140024248]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rdi, rdi
je 0x140011cf6
lea r8, [rsp + 0x50]
mov edx, 8
mov rcx, rdi
call qword [0x140024040]
test eax, eax
je 0x140011cf6
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x50]
call qword [0x140024048]
test eax, eax
jne 0x140011cf6
call qword [0x140024128]
cmp eax, 0x7a
jne 0x140011cf6
mov ebx, dword [rsp + 0x40]
call qword [0x140024240]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [0x140024238]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140011cf6
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [0x140024048]
test eax, eax
je 0x140011cf6
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x80]
mov rdx, qword [rbx]
xor ecx, ecx
call qword [0x140024050]
test eax, eax
je 0x140011cf6
cmp dword [rsp + 0x44], 0
je 0x140011cf6
cmp dword [rsp + 0x48], 0
je 0x140011ce4
lea rdx, [rsp + 0x290]
mov rcx, rsi
call qword [0x140024100]
lea rdx, [0x140024e58]
mov rcx, rsi
call qword [0x140024108]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [0x140024108]
jmp 0x140011cf6
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [0x140024100]
nop
mov rcx, qword [rsp + 0x50]

Function at 0x140011d80
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rdi, rdx
xor edx, edx
mov rsi, r8
mov rbx, rcx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x20]
mov rbp, r9
call fcn.140013bd0
mov rax, qword [rsp + 0xc0]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x4000
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x50], 1
call qword [0x140024480]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140011e10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x3f0
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
xor esi, esi
mov ebx, ecx
lea rax, [0x140024e5c]
mov edi, edx
lea rcx, [rsp + 0x88]
lea r8d, [rsi + 0x50]
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rax
call fcn.140013bd0
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 0xee
mov word [rsp + 0xe0], si
call fcn.140013bd0
lea rcx, [rsp + 0x1d2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x1d0], si
call fcn.140013bd0
lea rcx, [rsp + 0x1d0]
mov edx, 0x104
call fcn.140004000
lea rdx, [0x140025680]
lea rcx, [rsp + 0x1d0]
call qword [0x140024108]
lea rdx, str.__Permission__d__d
lea rcx, [rsp + 0xe0]
mov r9d, edi
mov r8d, ebx
call qword [0x1400246f8]
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x1d0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x30
mov dword [rsp + 0x20], esi
call qword [0x140024258]
test eax, eax
jne 0x140011f41
call qword [0x140024128]
mov ecx, eax
call qword [0x1400241e0]
mov eax, esi
jmp 0x140011f72
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140011f57
cmp rcx, 0xffffffffffffffff
je 0x140011f57
call qword [0x140024130]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140011f6d
cmp rcx, 0xffffffffffffffff
je 0x140011f6d
call qword [0x140024130]
mov eax, 1
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.140013ba0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140011fa0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x70
mov rsi, r9
mov rdi, r8
mov ebp, edx
movzx r12d, cx
call fcn.1400132c0
test eax, eax
jne 0x1400120a4
mov qword [rsp + 0x80], rbx
lea rbx, [0x140024e5c]
test rdi, rdi
cmovne rbx, rdi
mov rcx, rbx
call qword [0x1400243c0]
lea eax, [rax + rax + 0x40]
movsxd rcx, eax
call fcn.140013cfc
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call qword [0x140024100]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rsi
xor esi, esi
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rdi
mov rcx, rsi
mov ebx, esi
cmp qword [rsp + rcx*8 + 0x50], rsi
je 0x14001202f
inc ebx
inc rcx
cmp rcx, 3
jl 0x140012026
mov rax, qword [0x1400300a0]
test rax, rax
jne 0x14001205f
lea rdx, str.dwmrcs
xor ecx, ecx
call qword [0x140024030]
mov qword [0x1400300a0], rax
test rax, rax
je 0x14001208f
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], esi
mov r9d, ebp
mov rcx, rax
movzx edx, r12w
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rsi
call qword [0x140024038]
mov rbx, qword [rsp + 0x80]
test rdi, rdi
je 0x1400120a4
mov rcx, rdi
call fcn.140013cbc
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140012350
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x480
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov edi, ecx
lea rdx, str.SOFTWAREDameWare_DevelopmentMini_Remote_Control_ServiceSettings
lea rcx, [rsp + 0x50]
mov r8d, 0x86
mov ebx, 0x17f1
mov qword [rsp + 0x38], 0
call fcn.1400148b0
lea rcx, [rsp + 0xd6]
xor edx, edx
mov r8d, 0x182
call fcn.140013bd0
mov r11d, ebx
lea rax, [rsp + 0x38]
cmp edi, 0xffffffff
lea rdx, [rsp + 0x50]
mov r9d, 1
cmovne r11d, edi
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x20], rax
call qword [0x140024068]
test eax, eax
jne 0x140012468
mov rax, qword [str.Port]
lea rcx, [rsp + 0x260]
xor edx, edx
mov qword [rcx], rax
movzx eax, word [0x140024a60]
mov r8d, 0x1fe
mov word [rcx + 8], ax
lea rcx, [rsp + 0x26a]
call fcn.140013bd0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x260]
xor r8d, r8d
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 4
call qword [0x140024060]
test eax, eax
je 0x140012468
cmp edi, 0xffffffff
cmovne ebx, edi
mov dword [rsp + 0x30], ebx
jmp 0x14001246c
mov ebx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140012482
call qword [0x140024058]
mov eax, dword [rsp + 0x30]
jmp 0x140012484
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140013ba0
mov rbx, qword [rsp + 0x498]
add rsp, 0x480
pop rdi
ret

Function at 0x1400124b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x470], rax
lea rcx, [rsp + 0x50]
lea rdx, str.SOFTWAREDameWare_DevelopmentMini_Remote_Control_ServiceSettings
mov ebx, 1
mov r8d, 0x86
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], ebx
call fcn.1400148b0
lea rcx, [rsp + 0xd6]
xor edx, edx
mov r8d, 0x182
call fcn.140013bd0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [0x140024068]
test eax, eax
jne 0x1400125be
mov rax, qword [str.TrayIcon]
lea rcx, [rsp + 0x260]
xor edx, edx
mov qword [rcx], rax
mov rax, qword [0x140025850]
mov r8d, 0x1f6
mov qword [rcx + 8], rax
movzx eax, word [0x140025858]
mov word [rcx + 0x10], ax
lea rcx, [rsp + 0x272]
call fcn.140013bd0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x260]
xor r8d, r8d
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 4
call qword [0x140024060]
mov edx, dword [rsp + 0x30]
test eax, eax
cmovne edx, ebx
mov dword [rsp + 0x30], edx
jmp 0x1400125c2
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400125d8
call qword [0x140024058]
mov eax, dword [rsp + 0x30]
jmp 0x1400125da
mov eax, edx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140013ba0
add rsp, 0x480
pop rbx
ret
Function at 0x140012600
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor ebx, ebx
lea rcx, [rsp + 0x50]
lea rdx, str.SOFTWAREDameWare_DevelopmentMini_Remote_Control_ServiceSettings
mov r8d, 0x86
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rbx
call fcn.1400148b0
lea rcx, [rsp + 0xd6]
xor edx, edx
mov r8d, 0x182
call fcn.140013bd0
lea r11, [rsp + 0x38]
lea r9d, [rbx + 1]
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [0x140024068]
test eax, eax
jne 0x14001271e
mov rax, qword [str.Permission_Required]
lea rcx, [rsp + 0x260]
xor edx, edx
mov qword [rcx], rax
mov rax, qword [0x140025868]
mov r8d, 0x1e0
mov qword [rcx + 8], rax
mov rax, qword [0x140025870]
mov qword [rcx + 0x10], rax
mov rax, qword [0x140025878]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140025880]
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x288]
call fcn.140013bd0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x260]
xor r8d, r8d
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 4
call qword [0x140024060]
mov edx, dword [rsp + 0x30]
test eax, eax
cmovne edx, ebx
mov dword [rsp + 0x30], edx
jmp 0x140012722
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140012738
call qword [0x140024058]
mov eax, dword [rsp + 0x30]
jmp 0x14001273a
mov eax, edx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140013ba0
add rsp, 0x480
pop rbx
ret
Function at 0x140012760
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x490
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x480], rax
lea rcx, [rsp + 0x270]
lea rdi, [0x140003000]
xor ebx, ebx
mov rax, qword [rdi + 0x22898]
mov esi, 1
xor edx, edx
mov qword [rcx], rax
mov rax, qword [rdi + 0x228a0]
mov r8d, 0x1cc
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x228a8]
mov dword [rsp + 0x5c], esi
mov qword [rcx + 0x10], rax
mov rax, qword [rdi + 0x228b0]
mov qword [rsp + 0x50], rbx
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x228b8]
mov dword [rsp + 0x58], ebx
mov qword [rcx + 0x20], rax
mov rax, qword [rdi + 0x228c0]
mov qword [rcx + 0x28], rax
mov rax, qword [rdi + 0x228c8]
mov qword [rcx + 0x30], rax
mov eax, dword [rdi + 0x228d0]
mov dword [rcx + 0x38], eax
lea rcx, [rsp + 0x2ac]
call fcn.140013bd0
lea r11, [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x270]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call qword [section..rdata]
test eax, eax
jne 0x1400128c3
mov rax, qword [rdi + 0x22888]
lea rcx, [rsp + 0x60]
xor edx, edx
mov qword [rcx], rax
movzx eax, word [rdi + 0x22890]
mov r8d, 0x1fe
mov word [rcx + 8], ax
lea rcx, [rsp + 0x6a]
call fcn.140013bd0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
lea r9d, [rbx + 4]
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [0x140024070]
test eax, eax
jne 0x1400128c3
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
call qword [0x140024028]
test eax, eax
cmove ebx, esi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400128d3
call qword [0x140024058]
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140013ba0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140012990
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
sub rsp, 0x40
mov r12d, 1
xor r13d, r13d
xor edx, edx
mov r8d, r12d
xor ecx, ecx
mov ebp, r13d
call qword [0x140024008]
mov rdi, rax
test rax, rax
jne 0x1400129e9
call qword [0x140024128]
lea rcx, str.Unable_to_connect_to_Service_Control_Manager__OpenSCManager___1_.
mov edx, eax
mov ebx, eax
call fcn.140012280
mov ecx, ebx
call qword [0x1400241e0]
xor eax, eax
jmp 0x140012af5
lea rdx, str.dwmrcs
mov r8d, 4
mov rcx, rax
mov qword [rsp + 0x60], rsi
call qword [0x140024010]
mov rsi, rax
test rax, rax
jne 0x140012a69
call qword [0x140024128]
mov ebx, eax
cmp eax, 0x424
je 0x140012add
lea r8d, [rsi + 4]
lea rdx, str.dwmrcs
mov rcx, rdi
call qword [0x140024010]
mov rsi, rax
test rax, rax
jne 0x140012a69
call qword [0x140024128]
lea rcx, str.Unable_to_call_OpenService__1_.
mov edx, eax
mov ebx, eax
call fcn.140012280
mov rcx, rdi
call qword [0x140024018]
mov ecx, ebx
call qword [0x1400241e0]
xor eax, eax
jmp 0x140012af0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [0x140024020]
test eax, eax
jne 0x140012ab5
call qword [0x140024128]
mov rcx, rsi
mov ebx, eax
call qword [0x140024018]
mov rcx, rdi
call qword [0x140024018]
mov ecx, ebx
call qword [0x1400241e0]
call qword [0x140024128]
lea rcx, str.Unable_to_Query_Service_Status__1_.
mov edx, eax
call fcn.140012280
xor eax, eax
jmp 0x140012af0
cmp dword [rsp + 0x24], 4
cmove ebp, r12d
call qword [0x140024128]
cmp eax, 0x3e5
mov ebx, eax
cmove ebx, r13d
test rsi, rsi
je 0x140012add
mov rcx, rsi
call qword [0x140024018]
mov rcx, rdi
call qword [0x140024018]
mov ecx, ebx
call qword [0x1400241e0]
mov eax, ebp
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
ret
Function at 0x140012c10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rcx
mov ebx, edx
lea rcx, [rsp + 0x32]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], si
call fcn.140013bd0
lea rcx, [rsp + 0x242]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x240], si
call fcn.140013bd0
mov rcx, qword [0x14002fbf8]
lea rdx, [rsp + 0x240]
mov r8d, 0x104
call qword [0x140024260]
test eax, eax
je 0x140012d99
lea rdx, [0x140025aec]
lea rcx, [rsp + 0x30]
call qword [0x140024100]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [0x140024108]
lea rdx, [0x140025aec]
lea rcx, [rsp + 0x30]
call qword [0x140024108]
test ebx, ebx
jne 0x140012d0c
lea rbx, [0x140024e5c]
lea r9, str._SettingsAsApplication
lea r8, [rsp + 0x30]
lea rdx, str.open
mov rcx, rdi
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
call qword [0x140024498]
cmp rax, 0x20
seta sil
mov eax, esi
jmp 0x140012d9b
call fcn.140013350
lea r9, str._Settings
lea r8, [rsp + 0x30]
mov rcx, rdi
test eax, eax
je 0x140012d40
lea rdx, str.runas
mov qword [rsp + 0x20], rsi
call fcn.140011d80
test eax, eax
je 0x140012d99
mov eax, 1
jmp 0x140012d9b
lea rbx, [0x140024e5c]
lea rdx, str.open
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
call qword [0x140024498]
cmp rax, 0x20
ja 0x140012d39
lea r9, str._Settings
lea r8, [rsp + 0x240]
lea rdx, str.open
mov rcx, rdi
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
call qword [0x140024498]
cmp rax, 0x20
ja 0x140012d39
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140013ba0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140012ec0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rax, qword [str._service]
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov qword [rcx], rax
mov rax, qword [0x140025b38]
mov qword [rcx + 8], rax
movzx eax, word [0x140025b40]
mov word [rcx + 0x10], ax
lea rcx, [rsp + 0x50]
call fcn.140004000
lea rdx, str.DWRCS.EXE
lea rcx, [rsp + 0x50]
call qword [0x140024108]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, str.open
xor ebx, ebx
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
call qword [0x140024498]
cmp rax, 0x20
setae bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140013ba0
add rsp, 0x270
pop rbx
ret
Function at 0x140013350
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.140013bd0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [0x140024270]
test eax, eax
jne 0x1400133a9
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [0x140024270]
test eax, eax
je 0x1400133d4
cmp dword [rsp + 0x30], 2
jne 0x1400133d4
cmp dword [rsp + 0x24], 6
jb 0x1400133d4
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013ba0
add rsp, 0x158
ret
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013ba0
add rsp, 0x158
ret

Function at 0x1400133f0
Capabilities:
Get file version info

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
lea rdx, [rsp + 0x48]
mov rbx, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
lea ecx, [rax + 2]
call fcn.140013cfc
mov rdi, rax
test rax, rax
je 0x140013433
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, rdi
test eax, eax
jne 0x14001343d
call fcn.140013cbc
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [0x140024e58]
call sub.VERSION.dll_VerQueryValueW
mov rcx, rdi
test eax, eax
je 0x14001342e
mov rax, qword [rsp + 0x58]
movsx ebx, word [rax + 0xa]
call fcn.140013cbc
mov eax, ebx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x140013510
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x240
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rcx
call fcn.140013320
test eax, eax
je 0x1400135fd
mov qword [rsp + 0x258], rbx
lea rcx, [rsp + 0x20]
mov edx, 0x208
mov qword [rsp + 0x260], rdi
xor ebx, ebx
call qword [0x140024280]
lea rcx, [rsp + 0x20]
call qword [0x1400243c0]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x1e], 0x5c
je 0x140013585
lea rdx, [0x140024e58]
lea rcx, [rsp + 0x20]
call qword [0x140024108]
lea rdx, str.wtsapi32.dll
lea rcx, [rsp + 0x20]
call qword [0x140024108]
mov ecx, 0x8001
call qword [0x140024278]
lea rcx, [rsp + 0x20]
call qword [0x1400241a0]
mov rdi, rax
test rax, rax
je 0x1400135eb
lea rdx, str.WTSRegisterSessionNotification
mov rcx, rax
call qword [0x140024198]
test rax, rax
je 0x1400135e2
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x1400135e2
xor ecx, ecx
call qword [0x1400241e0]
mov ebx, 1
mov rcx, rdi
call qword [0x140024190]
mov rdi, qword [rsp + 0x260]
mov eax, ebx
mov rbx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140013ba0
add rsp, 0x240
pop rsi
ret