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

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
push r14
sub rsp, 0xc88
mov rax, qword [0x14002b200]
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.140012bd0
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 [0x140023188]
mov rax, qword [0x14002f050]
test rax, rax
jne 0x14000f005
xor ecx, ecx
call fcn.14000ecf0
mov qword [0x14002f050], rax
lea rcx, [rsp + 0x50]
mov r9, r12
mov r8, rsi
mov rdx, rbp
call rax
mov ecx, eax
mov ebx, eax
call qword [0x140023768]
test ebx, ebx
jne 0x14000f02b
lea eax, [rbx + 1]
jmp 0x14000f18e
mov qword [rsp + 0xc80], rdi
call qword [0x140023128]
mov edi, eax
cmp eax, 0x2afc
je 0x14000f054
cmp eax, 0x2af9
je 0x14000f054
cmp eax, 0x2afb
jne 0x14000f17c
lea rdx, str.localhost
mov rcx, r13
call qword [0x1400231f0]
test eax, eax
jne 0x14000f17c
cmp dword [rsi + 4], 0x17
je 0x14000f08e
mov rax, qword [str.127.0.0.1]
lea rcx, [rsp + 0x50]
mov qword [rcx], rax
movzx eax, word [0x140024510]
mov word [rcx + 8], ax
jmp 0x14000f096
mov dword [rsp + 0x50], 0x313a3a
mov rax, qword [0x14002f050]
test rax, rax
jne 0x14000f0b0
xor ecx, ecx
call fcn.14000ecf0
mov qword [0x14002f050], rax
lea rcx, [rsp + 0x50]
mov r9, r12
mov r8, rsi
mov rdx, rbp
call rax
mov ecx, eax
mov ebx, eax
call qword [0x140023768]
test ebx, ebx
je 0x14000f175
lea rcx, [rsp + 0x462]
xor edx, edx
mov r8d, 0x800
mov word [rsp + 0x460], r14w
call fcn.140012bd0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x460]
mov dword [rsp + 0x40], 0x401
call qword [0x140023218]
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 [0x140023188]
mov rax, qword [0x14002f050]
test rax, rax
jne 0x14000f157
xor ecx, ecx
call fcn.14000ecf0
mov qword [0x14002f050], rax
lea rcx, [rsp + 0x50]
mov r9, r12
mov r8, rsi
mov rdx, rbp
call rax
mov ecx, eax
mov ebx, eax
call qword [0x140023768]
test ebx, ebx
jne 0x14000f17c
mov eax, 1
jmp 0x14000f186
mov ecx, edi
call qword [0x1400231e0]
xor eax, eax
mov rdi, qword [rsp + 0xc80]
mov rcx, qword [rsp + 0xc70]
xor rcx, rsp
call fcn.140012ba0
add rsp, 0xc88
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret

Function at 0x14000f610
Capabilities:
Find taskbar

Disassembly:
sub rsp, 0x28
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [0x140023508]
test rax, rax
jne 0x14000f62d
add rsp, 0x28
ret
cmp qword [0x14002ec28], 0
je 0x14000f641
mov eax, 1
add rsp, 0x28
ret
lea rcx, str.Shell32.dll
call qword [0x1400231a0]
test rax, rax
je 0x14000f67a
lea rdx, str.SHAppBarMessage
mov rcx, rax
call qword [0x140023198]
mov r11, rax
mov qword [0x14002ec28], rax
xor eax, eax
test r11, r11
setne al
add rsp, 0x28
ret
mov r11, qword [0x14002ec28]
xor eax, eax
test r11, r11
setne al
add rsp, 0x28
ret
Function at 0x140010ae0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x4b0
mov rax, qword [0x14002b200]
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.140012bd0
mov word [rsp + 0x290], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x292]
call fcn.140012bd0
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x48], 0x208
mov dword [rsp + 0x44], 0x208
lea rdx, [0x140023e5c]
mov rcx, rsi
call qword [0x140023100]
nop
call qword [0x140023250]
mov r8d, eax
xor edx, edx
mov ecx, 0x400
call qword [0x140023248]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140010bb8
call qword [0x140023250]
mov r8d, eax
xor edx, edx
mov ecx, 0x1000
call qword [0x140023248]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rdi, rdi
je 0x140010cf6
lea r8, [rsp + 0x50]
mov edx, 8
mov rcx, rdi
call qword [0x140023040]
test eax, eax
je 0x140010cf6
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 [0x140023048]
test eax, eax
jne 0x140010cf6
call qword [0x140023128]
cmp eax, 0x7a
jne 0x140010cf6
mov ebx, dword [rsp + 0x40]
call qword [0x140023240]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [0x140023238]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140010cf6
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 [0x140023048]
test eax, eax
je 0x140010cf6
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 [0x140023050]
test eax, eax
je 0x140010cf6
cmp dword [rsp + 0x44], 0
je 0x140010cf6
cmp dword [rsp + 0x48], 0
je 0x140010ce4
lea rdx, [rsp + 0x290]
mov rcx, rsi
call qword [0x140023100]
lea rdx, [0x140023e58]
mov rcx, rsi
call qword [0x140023108]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [0x140023108]
jmp 0x140010cf6
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [0x140023100]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140010d06
call qword [0x140023130]
test rdi, rdi
je 0x140010d14
mov rcx, rdi
call qword [0x140023130]
test rbx, rbx
je 0x140010d2d
call qword [0x140023240]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [0x140023230]
mov rcx, rsi
call qword [0x1400233c0]
test eax, eax
jne 0x140010d50
mov dword [rsp + 0x58], 0x82
lea rdx, [rsp + 0x58]
mov rcx, rsi
call qword [0x140023080]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140012ba0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140010d80
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.140012bd0
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 [0x140023480]
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 0x140010e10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x3f0
mov rax, qword [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
xor esi, esi
mov ebx, ecx
lea rax, [0x140023e5c]
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.140012bd0
lea rcx, [rsp + 0xe2]
xor edx, edx
mov r8d, 0xee
mov word [rsp + 0xe0], si
call fcn.140012bd0
lea rcx, [rsp + 0x1d2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x1d0], si
call fcn.140012bd0
lea rcx, [rsp + 0x1d0]
mov edx, 0x104
call fcn.140003000
lea rdx, [0x140024680]
lea rcx, [rsp + 0x1d0]
call qword [0x140023108]
lea rdx, str.__Permission__d__d
lea rcx, [rsp + 0xe0]
mov r9d, edi
mov r8d, ebx
call qword [0x1400236f8]
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 [0x140023258]
test eax, eax
jne 0x140010f41
call qword [0x140023128]
mov ecx, eax
call qword [0x1400231e0]
mov eax, esi
jmp 0x140010f72
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140010f57
cmp rcx, 0xffffffffffffffff
je 0x140010f57
call qword [0x140023130]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140010f6d
cmp rcx, 0xffffffffffffffff
je 0x140010f6d
call qword [0x140023130]
mov eax, 1
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.140012ba0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140010fa0
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.1400122c0
test eax, eax
jne 0x1400110a4
mov qword [rsp + 0x80], rbx
lea rbx, [0x140023e5c]
test rdi, rdi
cmovne rbx, rdi
mov rcx, rbx
call qword [0x1400233c0]
lea eax, [rax + rax + 0x40]
movsxd rcx, eax
call fcn.140012cfc
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call qword [0x140023100]
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 0x14001102f
inc ebx
inc rcx
cmp rcx, 3
jl 0x140011026
mov rax, qword [0x14002f0a0]
test rax, rax
jne 0x14001105f
lea rdx, str.dwmrcs
xor ecx, ecx
call qword [0x140023030]
mov qword [0x14002f0a0], rax
test rax, rax
je 0x14001108f
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 [0x140023038]
mov rbx, qword [rsp + 0x80]
test rdi, rdi
je 0x1400110a4
mov rcx, rdi
call fcn.140012cbc
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 0x140011350
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x480
mov rax, qword [0x14002b200]
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.1400138b0
lea rcx, [rsp + 0xd6]
xor edx, edx
mov r8d, 0x182
call fcn.140012bd0
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 [0x140023068]
test eax, eax
jne 0x140011468
mov rax, qword [str.Port]
lea rcx, [rsp + 0x260]
xor edx, edx
mov qword [rcx], rax
movzx eax, word [0x140023a60]
mov r8d, 0x1fe
mov word [rcx + 8], ax
lea rcx, [rsp + 0x26a]
call fcn.140012bd0
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 [0x140023060]
test eax, eax
je 0x140011468
cmp edi, 0xffffffff
cmovne ebx, edi
mov dword [rsp + 0x30], ebx
jmp 0x14001146c
mov ebx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140011482
call qword [0x140023058]
mov eax, dword [rsp + 0x30]
jmp 0x140011484
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140012ba0
mov rbx, qword [rsp + 0x498]
add rsp, 0x480
pop rdi
ret
Function at 0x1400114b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x14002b200]
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.1400138b0
lea rcx, [rsp + 0xd6]
xor edx, edx
mov r8d, 0x182
call fcn.140012bd0
lea r11, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [0x140023068]
test eax, eax
jne 0x1400115be
mov rax, qword [str.TrayIcon]
lea rcx, [rsp + 0x260]
xor edx, edx
mov qword [rcx], rax
mov rax, qword [0x140024850]
mov r8d, 0x1f6
mov qword [rcx + 8], rax
movzx eax, word [0x140024858]
mov word [rcx + 0x10], ax
lea rcx, [rsp + 0x272]
call fcn.140012bd0
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 [0x140023060]
mov edx, dword [rsp + 0x30]
test eax, eax
cmovne edx, ebx
mov dword [rsp + 0x30], edx
jmp 0x1400115c2
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400115d8
call qword [0x140023058]
mov eax, dword [rsp + 0x30]
jmp 0x1400115da
mov eax, edx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140012ba0
add rsp, 0x480
pop rbx
ret

Function at 0x140011600
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x480
mov rax, qword [0x14002b200]
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.1400138b0
lea rcx, [rsp + 0xd6]
xor edx, edx
mov r8d, 0x182
call fcn.140012bd0
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 [0x140023068]
test eax, eax
jne 0x14001171e
mov rax, qword [str.Permission_Required]
lea rcx, [rsp + 0x260]
xor edx, edx
mov qword [rcx], rax
mov rax, qword [0x140024868]
mov r8d, 0x1e0
mov qword [rcx + 8], rax
mov rax, qword [0x140024870]
mov qword [rcx + 0x10], rax
mov rax, qword [0x140024878]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140024880]
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x288]
call fcn.140012bd0
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 [0x140023060]
mov edx, dword [rsp + 0x30]
test eax, eax
cmovne edx, ebx
mov dword [rsp + 0x30], edx
jmp 0x140011722
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140011738
call qword [0x140023058]
mov eax, dword [rsp + 0x30]
jmp 0x14001173a
mov eax, edx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140012ba0
add rsp, 0x480
pop rbx
ret
Function at 0x140011760
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 [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x480], rax
lea rcx, [rsp + 0x270]
lea rdi, [0x140002000]
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.140012bd0
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 0x1400118c3
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.140012bd0
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 [0x140023070]
test eax, eax
jne 0x1400118c3
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
call qword [0x140023028]
test eax, eax
cmove ebx, esi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400118d3
call qword [0x140023058]
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140012ba0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140011990
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 [0x140023008]
mov rdi, rax
test rax, rax
jne 0x1400119e9
call qword [0x140023128]
lea rcx, str.Unable_to_connect_to_Service_Control_Manager__OpenSCManager___1_.
mov edx, eax
mov ebx, eax
call fcn.140011280
mov ecx, ebx
call qword [0x1400231e0]
xor eax, eax
jmp 0x140011af5
lea rdx, str.dwmrcs
mov r8d, 4
mov rcx, rax
mov qword [rsp + 0x60], rsi
call qword [0x140023010]
mov rsi, rax
test rax, rax
jne 0x140011a69
call qword [0x140023128]
mov ebx, eax
cmp eax, 0x424
je 0x140011add
lea r8d, [rsi + 4]
lea rdx, str.dwmrcs
mov rcx, rdi
call qword [0x140023010]
mov rsi, rax
test rax, rax
jne 0x140011a69
call qword [0x140023128]
lea rcx, str.Unable_to_call_OpenService__1_.
mov edx, eax
mov ebx, eax
call fcn.140011280
mov rcx, rdi
call qword [0x140023018]
mov ecx, ebx
call qword [0x1400231e0]
xor eax, eax
jmp 0x140011af0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [0x140023020]
test eax, eax
jne 0x140011ab5
call qword [0x140023128]
mov rcx, rsi
mov ebx, eax
call qword [0x140023018]
mov rcx, rdi
call qword [0x140023018]
mov ecx, ebx
call qword [0x1400231e0]
call qword [0x140023128]
lea rcx, str.Unable_to_Query_Service_Status__1_.
mov edx, eax
call fcn.140011280
xor eax, eax
jmp 0x140011af0
cmp dword [rsp + 0x24], 4
cmove ebp, r12d
call qword [0x140023128]
cmp eax, 0x3e5
mov ebx, eax
cmove ebx, r13d
test rsi, rsi
je 0x140011add
mov rcx, rsi
call qword [0x140023018]
mov rcx, rdi
call qword [0x140023018]
mov ecx, ebx
call qword [0x1400231e0]
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 0x140011c10
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x14002b200]
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.140012bd0
lea rcx, [rsp + 0x242]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x240], si
call fcn.140012bd0
mov rcx, qword [0x14002ebf8]
lea rdx, [rsp + 0x240]
mov r8d, 0x104
call qword [0x140023260]
test eax, eax
je 0x140011d99
lea rdx, [0x140024aec]
lea rcx, [rsp + 0x30]
call qword [0x140023100]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [0x140023108]
lea rdx, [0x140024aec]
lea rcx, [rsp + 0x30]
call qword [0x140023108]
test ebx, ebx
jne 0x140011d0c
lea rbx, [0x140023e5c]
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 [0x140023498]
cmp rax, 0x20
seta sil
mov eax, esi
jmp 0x140011d9b
call fcn.140012350
lea r9, str._Settings
lea r8, [rsp + 0x30]
mov rcx, rdi
test eax, eax
je 0x140011d40
lea rdx, str.runas
mov qword [rsp + 0x20], rsi
call fcn.140010d80
test eax, eax
je 0x140011d99
mov eax, 1
jmp 0x140011d9b
lea rbx, [0x140023e5c]
lea rdx, str.open
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
call qword [0x140023498]
cmp rax, 0x20
ja 0x140011d39
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 [0x140023498]
cmp rax, 0x20
ja 0x140011d39
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140012ba0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140011ec0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x14002b200]
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 [0x140024b38]
mov qword [rcx + 8], rax
movzx eax, word [0x140024b40]
mov word [rcx + 0x10], ax
lea rcx, [rsp + 0x50]
call fcn.140003000
lea rdx, str.DWRCS.EXE
lea rcx, [rsp + 0x50]
call qword [0x140023108]
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 [0x140023498]
cmp rax, 0x20
setae bl
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140012ba0
add rsp, 0x270
pop rbx
ret
Function at 0x140012350
Capabilities:
Check os version

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

Function at 0x1400123f0
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.140012cfc
mov rdi, rax
test rax, rax
je 0x140012433
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
mov rcx, rdi
test eax, eax
jne 0x14001243d
call fcn.140012cbc
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [0x140023e58]
call sub.VERSION.dll_VerQueryValueW
mov rcx, rdi
test eax, eax
je 0x14001242e
mov rax, qword [rsp + 0x58]
movsx ebx, word [rax + 0xa]
call fcn.140012cbc
mov eax, ebx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x140012510
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x240
mov rax, qword [0x14002b200]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rcx
call fcn.140012320
test eax, eax
je 0x1400125fd
mov qword [rsp + 0x258], rbx
lea rcx, [rsp + 0x20]
mov edx, 0x208
mov qword [rsp + 0x260], rdi
xor ebx, ebx
call qword [0x140023280]
lea rcx, [rsp + 0x20]
call qword [0x1400233c0]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x1e], 0x5c
je 0x140012585
lea rdx, [0x140023e58]
lea rcx, [rsp + 0x20]
call qword [0x140023108]
lea rdx, str.wtsapi32.dll
lea rcx, [rsp + 0x20]
call qword [0x140023108]
mov ecx, 0x8001
call qword [0x140023278]
lea rcx, [rsp + 0x20]
call qword [0x1400231a0]
mov rdi, rax
test rax, rax
je 0x1400125eb
lea rdx, str.WTSRegisterSessionNotification
mov rcx, rax
call qword [0x140023198]
test rax, rax
je 0x1400125e2
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x1400125e2
xor ecx, ecx
call qword [0x1400231e0]
mov ebx, 1
mov rcx, rdi
call qword [0x140023190]
mov rdi, qword [rsp + 0x260]
mov eax, ebx
mov rbx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140012ba0
add rsp, 0x240
pop rsi
ret