joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400292d4
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x48], 0x208
call fcn.140022a34
xor ecx, ecx
mov ebx, ecx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
jmp 0x140029458
and qword [rsp + 0x50], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x70]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x50]
call fcn.140016f28
and qword [rsp + 0x40], 0
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400293bc
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400293b2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov rcx, rdi
call fcn.140022a34
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400292d4
mov r11, qword [rsp + 0x40]
test r11, r11
je 0x1400293f1
mov rcx, r11
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r11d, r11d
mov qword [rsp + 0x40], r11
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002940d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov r11, qword [rsp + 0x40]
mov dword [rsp + 0x48], 0x208
inc ebx
test r11, r11
je 0x140029430
mov rcx, r11
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002943b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov edx, ebx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14002933d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14005ba20
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c094
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2910]
mov eax, 0x2a10
call fcn.14005ba50
sub rsp, rax
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x2900], rax
movzx eax, byte [rdx + 5]
mov r14, rcx
movzx ecx, byte [rdx + 4]
movzx ebx, byte [r14 + 5]
movzx edi, byte [r14 + 4]
movzx esi, byte [r14 + 3]
movzx r12d, byte [r14 + 2]
movzx r13d, byte [r14 + 1]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x68], ecx
mov r9, rdx
mov qword [rbp - 0x70], rdx
movzx edx, byte [rdx + 3]
movzx r10d, byte [r9 + 1]
movzx r11d, byte [r9]
mov dword [rsp + 0x60], edx
mov r15, r8
movzx r8d, byte [r9 + 2]
movzx r9d, byte [r14]
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
lea r8, str.SoftwareWIDCOMMBTConfigLinkKeys
lea rdx, str._s_02x:_02x:_02x:_02x:_02x:_02x_02x:_02x:_02x:_02x:_02x:_02x
lea rcx, [rbp + 0x26f0]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
call fcn.14002d41c
xor edi, edi
xor esi, esi
mov ebx, 0x20019
call fcn.140018004
mov ecx, 0x20119
test eax, eax
lea rax, [rbp - 0x78]
lea rdx, [rbp + 0x26f0]
cmovne ebx, ecx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov r9d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ebx, [rdi + 1]
lea r12d, [rdi + 0x10]
test eax, eax
jne 0x14002c1f2
mov rcx, qword [rbp - 0x78]
lea rax, [rbp - 0x80]
lea rdx, str.LinkKey
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov dword [rbp - 0x80], r12d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002c1d0
mov edi, ebx
jmp 0x14002c1de
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 8]
call fcn.14005bab0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
test edi, edi
jne 0x14002c27b
movzx ecx, byte [r14 + 4]
movzx edx, byte [r14 + 3]
movzx eax, byte [r14 + 5]
movzx r10d, byte [r14 + 2]
movzx r9d, byte [r14 + 1]
movzx r8d, byte [r14]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
lea rdx, str._02x:_02x:_02x:_02x:_02x:_02x
lea rcx, [rbp + 0x24e0]
mov dword [rsp + 0x20], r10d
call fcn.14002d41c
lea rdx, [rbp + 0x24e0]
lea rcx, [rbp - 0x60]
call fcn.140027124
lea rcx, [rbp - 0x60]
call fcn.140022d94
cmp dword [rbp + 0x4dc], 0
je 0x14002c26b
lea rdx, [rbp + 0x4c9]
mov r8, r12
mov rcx, r15
call fcn.14005bdf0
mov edi, ebx
jmp 0x14002c27b
test esi, esi
je 0x14002c27b
mov rdx, qword [rbp - 0x70]
mov rcx, r14
call fcn.14002af34
mov eax, edi
mov rcx, qword [rbp + 0x2900]
xor rcx, rsp
call fcn.14005ba20
mov rbx, qword [rsp + 0x2a68]
add rsp, 0x2a10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c664
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
cmp qword [rcx + 0x528], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14002c6c7
and dword [rbp + 0x20], 0
lea rax, [rbp + 0x10]
lea rdx, str.UUID
mov qword [r11 - 0x10], rax
lea rax, [rbp + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rbp + 0x10], 4
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0x20]
call fcn.14002b644
mov qword [rbx + 0x528], rax
mov rcx, qword [rbx + 0x528]
lea r8, [rbx + 0x210]
mov edx, 0x104
add rcx, 0x210
call fcn.14005fbe4
mov rcx, qword [rbx + 0x528]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rcx, [rbp + 0x10]
lea rax, [rbx + 0x420]
mov qword [rsp + 0x28], rcx
lea rdx, str.BDAddress
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rbp + 0x10], 6
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x426]
lea rdx, str.BDDevClass
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x10], 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
lea rax, [rbx + 0x429]
lea rdx, str.BDName
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rbp + 0x10], 0xf8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
lea rax, [rbx + 0x524]
mov qword [rsp + 0x28], rcx
lea rdx, str.DefaultConnection
xor r9d, r9d
mov rcx, rdi
xor r8d, r8d
mov dword [rbp + 0x10], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x28], rcx
lea rax, [rbx + 0x530]
lea rdx, str.Flags
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x10], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
Function at 0x14002d658
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
and qword [rsp + 0x40], 0
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x14002d769
test rcx, rcx
je 0x14002d6d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
test ebx, ebx
jne 0x14002d769
jmp 0x14002d702
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14002d658
mov ebx, eax
test eax, eax
jne 0x14002d73d
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x48], 0x100
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14002d6e8
jmp 0x14002d744
mov rcx, qword [rsp + 0x40]
jmp 0x14002d769
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002d759
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbx
mov rdx, rsi
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
jmp 0x14002d73d
test rcx, rcx
je 0x14002d774
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14005ba20
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret

Function at 0x14002d7b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.140018844
lea rcx, [rsp + 0x40]
lea rax, [rbx + 0x12d8]
lea rdx, str.Auto
mov qword [rsp + 0x28], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rsp + 0x40]
lea r11, [rbx + 0x12dc]
mov qword [rsp + 0x28], rax
lea rdx, str.DoNotUseMicrosoftDevice
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14002d838
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
call fcn.140018ae4
lea r11, [rbx + 0x12d8]
mov r9d, 4
lea rdx, str.Auto
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14002e8cc
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
sub rsp, 0x58
or dword [rsp + 0x30], 0xffffffff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, r8
mov r8d, edx
mov rdx, rcx
lea rcx, [0x14009df08]
call qword [sym.imp.KERNEL32.dll_CallNamedPipeA]
add rsp, 0x58
ret

Function at 0x14002f23c
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
sub rsp, 0x270
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdx, rcx
lea r8, [r11 + 0x10]
lea rcx, [rsp + 0x60]
call fcn.14005eba0
cmp dword [0x1400db7f8], 0
lea r11, [rsp + 0x60]
mov qword [rsp + 0x50], r11
je 0x14002f2e4
lea rdx, [0x1400db800]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14002f2ee
xor r8d, r8d
mov ecx, 1
lea rax, [rsp + 0x50]
and qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], r8d
mov word [rsp + 0x28], cx
and qword [rsp + 0x20], r8
lea edx, [rcx + 3]
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x14002f2ee
lea rcx, [rsp + 0x60]
call fcn.140060608
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005ba20
add rsp, 0x270
pop rbx
ret

Function at 0x14002f33c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov rbx, rcx
lea rdx, str.SOFTWAREWidcommInstall
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002f3dc
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea rdx, [0x1400a0150]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002f3d1
mov rcx, rbx
call fcn.14005d25c
cmp word [rbx + rax*2 - 2], 0x5c
je 0x14002f3c2
lea rdx, [0x14009debc]
mov rcx, rbx
call fcn.14005ea78
lea rdx, str.btwinlog.txt
mov rcx, rbx
call fcn.14005ea78
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x14002f3ec
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rsi, rdx
mov rdx, rcx
lea rcx, [rbp + 0x180]
mov rbx, r8
call fcn.14005eaa4
lea rcx, [rbp + 0x180]
call fcn.14005d25c
cmp word [rbp + rax*2 + 0x17e], 0x5c
je 0x14002f453
lea rdx, [0x14009debc]
lea rcx, [rbp + 0x180]
call fcn.14005ea78
lea rdx, str..dmp
lea rcx, [rbp + 0x180]
call fcn.14005ea78
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002f485
xor eax, eax
jmp 0x14002f4f5
and dword [rsp + 0x20], 0
and dword [rsp + 0x24], 0
test rbx, rbx
je 0x14002f49c
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x14002f4c8
mov rax, qword [rsp + 0x34]
lea rdx, [rsp + 0x5c]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14005eaa4
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002f49c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
test rbx, rbx
je 0x14002f4f0
mov rcx, qword [rsp + 0x20]
mov qword [rbx], rcx
mov eax, 1
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14005ba20
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x4a0
pop rdi
pop rsi
pop rbp
ret

Function at 0x14002f52c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov ebx, ecx
lea rdx, str.SoftwareWidcommBTConfigDebug
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edx, edx
test eax, eax
jne 0x14002f5a0
mov rcx, qword [rsp + 0x50]
lea eax, [rdx + 1]
test ebx, ebx
cmovne edx, eax
lea r9d, [rax + 3]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x28], r9d
lea rdx, str.LoggingEnabled
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x14002f9fc
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
xor ebx, ebx
mov rdi, rax
call fcn.14005bab0
mov dword [rsp + 0x20], 0x238
cmp rdi, 0xffffffffffffffff
je 0x14002faa2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14002fa99
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14002fa84
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
jmp 0x14002fa5f
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005ba20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400300fc
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbp
push rbx
push rdi
lea rbp, [rax - 0x768]
sub rsp, 0x850
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x740], rax
xor edi, edi
cmp qword [0x1400d8ba0], 0xffffffffffffffff
jne 0x14003014a
cmp word [0x1400dbc60], di
je 0x1400302c8
mov rdx, rcx
lea r8, [rbp + 0x778]
lea rcx, [rbp + 0x350]
call fcn.14005eba0
lea rdx, str.BTWDINS:
lea rcx, [rsp + 0x68]
mov ebx, eax
call fcn.14005e9c0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x71]
mov qword [rsp + 0x30], rdi
lea r8, [rbp + 0x350]
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x3d7
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add bx, 9
cmp qword [0x1400d8ba0], 0xffffffffffffffff
mov word [rsp + 0x60], di
mov word [rsp + 0x62], bx
mov word [rsp + 0x64], di
je 0x14003021a
mov ebx, sendto
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, ebx
call fcn.14005bab0
mov ecx, dword [0x1400dbc50]
mov dword [rsp + 0x50], 0x26940002
call qword [sym.imp.WS2_32.dll_ntohl]
movzx r8d, word [rsp + 0x62]
mov rcx, qword [0x1400d8ba0]
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x60]
add r8d, 0x11
xor r9d, r9d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
cmp word [0x1400dbc60], di
je 0x1400302c8
lea rdx, [0x1400a052c]
lea rcx, [0x1400dbc60]
call fcn.1400611e4
mov rbx, rax
test rax, rax
je 0x1400302c8
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [rsp + 0x4c]
movzx r11d, word [rsp + 0x4e]
movzx r9d, word [rsp + 0x4a]
movzx r8d, word [rsp + 0x48]
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
lea rdx, str._02d:_02d:_02d._03d
mov rcx, rbx
call fcn.140060fc8
lea rcx, [rbp + 0x350]
call fcn.14005d25c
test eax, eax
jle 0x1400302b1
cdqe
mov ecx, 0xa
cmp word [rbp + rax*2 + 0x34e], cx
je 0x1400302b1
mov word [rbp + rax*2 + 0x350], cx
mov word [rbp + rax*2 + 0x352], di
lea rcx, [rbp + 0x350]
mov rdx, rbx
call fcn.140060f10
mov rcx, rbx
call fcn.14005ccd0
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.14005ba20
add rsp, 0x850
pop rdi
pop rbx
pop rbp
ret
Function at 0x140031a5c
Capabilities:
Query or enumerate registry value
Set registry value
Start service
Stop service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x140031c50
mov edi, 0x30
lea rdx, str.WcesComm
mov rcx, rax
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
lea rdx, str.RapiMgr
mov r8d, edi
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rsi, rsi
je 0x140031c1f
test rax, rax
je 0x140031c1f
lea r8, [rbp + 0xf]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ControlService]
lea r8, [rbp + 0xf]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
lea r11, [rbp - 1]
lea rdx, str.SOFTWAREMicrosoftWindows_CE_Services
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140031bf5
and dword [rbp - 9], eax
mov rax, qword [str.Bluetooth]
mov rcx, qword [rbp - 1]
mov qword [rbp + 0x2f], rax
mov rax, qword [0x1400a2490]
lea rdx, str.ConnectTypesAllowed
mov qword [rbp + 0x37], rax
mov eax, dword [0x1400a2498]
xor r9d, r9d
mov dword [rbp + 0x3f], eax
lea rax, [rbp + 7]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov dword [rbp + 7], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 1]
or dword [rbp - 9], 2
lea rax, [rbp - 9]
lea rdx, str.ConnectTypesAllowed
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rbp + 0x2f]
call fcn.14005d25c
lea rdx, str.SerialPort
mov r9d, 1
lea ecx, [rax + rax + 2]
lea rax, [rbp + 0x2f]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140031c01
lea rcx, str.SetWMDevConn:_RegOpenKeyEx_Failed
call fcn.1400300fc
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x140031c33
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SetWMDevConn:_Open_Service_Failed__d
mov edx, eax
call fcn.1400300fc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140031c64
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SetWMDevConn:_Open_Service_Manager_Failed__d
mov edx, eax
call fcn.1400300fc
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005ba20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14003264c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2b0
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor ebp, ebp
mov rsi, r8
mov edi, ecx
mov ebx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rbp + 0x6c]
xor edx, edx
mov dword [rsp + 0x30], ebp
call fcn.14005bab0
lea rcx, str.SetNetMtu:_dwIpVer_d_dwMtu_d_wcsConnName_ls_n
mov r9, rsi
mov r8d, ebx
mov edx, edi
call fcn.1400300fc
lea rax, str.netsh.exe
lea r8, str.interface_ipv_d_set_subinterface___ls__mtu_d_storepersistent
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
lea rcx, [rsp + 0xa0]
mov r9d, edi
mov edx, 0x100
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], WSAStartup
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x20], rsi
call fcn.14005ce1c
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140032711
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._SetNetMtu:_ShellExecuteEx_failed._err_d_n
mov edx, eax
call fcn.1400300fc
jmp 0x140032773
mov rcx, qword [rsp + 0x98]
test rcx, rcx
jne 0x14003272c
lea rcx, str._SetNetMtu:_NULL_process_handle_n
call fcn.1400300fc
jmp 0x140032773
mov edx, 0x4e20
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
je 0x140032756
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._SetNetMtu:_WaitForSingleObject_returned__d._err_d_n
mov edx, ebx
mov r8d, eax
call fcn.1400300fc
jmp 0x140032765
lea rcx, str.SetNetMtu:_succeeded_n
mov bpl, 1
call fcn.1400300fc
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bpl
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14005ba20
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret