joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400da590
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400da738
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400da5f5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400da5f5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400da5f5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400da62c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400da682
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400da682
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400da682
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400da682
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400da682
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400da040
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400da6e4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400b66a0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400da410
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400da730
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400b66a0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400dbea0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14016d880]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400dbf35
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400dbf96
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400b66a0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400ef520
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400dc051
sub ecx, 1
je 0x1400dc0c4
sub ecx, 1
je 0x1400dc000
cmp ecx, 1
je 0x1400dbfe3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400fbcd4]
call fcn.1400b66a0
jmp 0x1400dc0c4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400dbbd0
test eax, eax
je 0x1400dc0c4
jmp 0x1400dbf6a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400dc0c4
sub rax, rsi
cmp rax, rbp
jae 0x1400dc0c4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400b6820
jmp 0x1400dc0c4
cmp r8d, 4
jle 0x1400dc0c4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400dc0c4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400b65c0
mov esi, eax
test eax, eax
je 0x1400dc0a3
mov edx, 5
mov rcx, rbx
call fcn.1400dcb90
mov eax, esi
jmp 0x1400dbf6a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400c4fc0
mov rcx, r14
call fcn.1400c52a0
test eax, eax
je 0x1400dbf68
mov edx, 5
mov rcx, rbx
call fcn.1400dcb90
mov eax, Ordinal_46
jmp 0x1400dbf6a
Function at 0x1400eee60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400eeea2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400eeee9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400eef42
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400eef00
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400eef83
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140156d62]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140156d63]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400eef50
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400efef4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400eff3e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400eff3e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400eff3e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400eff3e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400eff3e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400eff40
xor al, al
add rsp, 0x28
ret
Function at 0x1400f0194
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400f01ce
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f01d3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400f021c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400f021c
dec r8
sub rdx, 1
jne 0x1400f0202
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140002f80
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1068
call fcn.140071640
sub rsp, rax
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbx, r9
mov r14, qword [rsp + 0x10d0]
mov edi, r8d
mov r15, qword [rsp + 0x10d8]
mov ebp, edx
mov rsi, rcx
cmp r8d, dword [rsp + 0x10c0]
jg 0x140003087
mov edx, 0x5c
call fcn.14005b380
test rax, rax
mov r8d, 0x800
lea rcx, [rax + 1]
cmovne rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14005b700
xor edx, edx
lea rcx, [rsp + 0x850]
mov r8d, 0x800
call fcn.14005b700
call fcn.140002d30
mov qword [rsp + 0x28], r15
lea rdx, [rsp + 0x50]
mov r9, r14
mov qword [rsp + 0x20], 0
mov r8d, 0x800
mov rcx, qword [rax]
call fcn.14005f554
cmp qword [rbx + 0x18], 0x10
jb 0x140003040
mov rbx, qword [rbx]
lea rax, [rsp + 0x50]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x40], rax
lea r9, str._s__s__d____d_:_trace__s_n
mov dword [rsp + 0x38], edi
lea rcx, [rsp + 0x850]
mov dword [rsp + 0x30], ebp
mov edx, 0x800
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
call fcn.140002d40
lea rcx, [rsp + 0x850]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14003a8a0
add rsp, 0x1068
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000e5d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rdi
push r14
push r15
sub rsp, 0x48
lea rax, [r11 + 0x18]
mov dword [r11 + 0x18], 4
mov qword [r11 - 0x40], rax
lea r9, [r11 + 0x20]
lea rax, [r11 + 8]
mov r14d, edx
mov rdi, rcx
mov qword [r11 - 0x48], rax
mov rcx, qword [rcx + 0x20]
lea rdx, str.Mode
xor r15d, r15d
xor r8d, r8d
xor bl, bl
mov dword [r11 + 8], r15d
mov dword [r11 + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [rdi + 0x18], bl
je 0x14000e719
mov qword [rsp + 0x78], rbp
mov ebp, dword [rsp + 0x70]
cmp dword [rdi + 0x1c], ebp
je 0x14000e714
mov rcx, qword [rdi + 8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x70], r15d
call qword [sym.imp.MaxxAudioAPOShell64.dll_WavesFX_Preset_GetActive]
test al, al
je 0x14000e714
mov eax, ebp
mov qword [rsp + 0x40], rsi
mov ecx, r15d
sub eax, 1
je 0x14000e696
sub eax, 1
je 0x14000e691
sub eax, 1
je 0x14000e68a
cmp eax, 1
jne 0x14000e696
lea ecx, [rax + 1]
jmp 0x14000e696
mov ecx, 1
jmp 0x14000e696
mov ecx, 3
mov r8d, dword [rsp + 0x70]
mov eax, 0x66666667
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
lea eax, [rcx + rcx*4]
lea esi, [r8 + rax*2]
cmp dword [rsp + 0x80], r15d
jne 0x14000e6ca
cmp r8d, esi
je 0x14000e6ca
mov r9b, 1
jmp 0x14000e6cd
xor r9d, r9d
xor r8d, r8d
mov edx, esi
call fcn.14000e790
lea rax, str.Orientation_Sound_Mode_for_Output_Mode__0__has_been_changed_to__d
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
lea r8, [0x1400a3128]
mov r9d, 5
mov qword [rsp + 0x20], r15
mov edx, 0xb1
mov dword [rdi + 0x1c], ebp
lea rcx, str...SharedAutoOrientationControl_Lenovo.cpp
mov bl, 1
call fcn.140002ed0
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x78]
cmp byte [rdi + 0x18], r15b
je 0x14000e774
test r14d, r14d
je 0x14000e774
mov r9, qword [rdi + 0x28]
xor edx, edx
mov rcx, qword [rdi + 0x20]
mov dword [rsp + 0x20], 1
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
je 0x14000e774
mov dword [rsp + 0x30], eax
lea r8, [0x1400a3128]
lea rax, str.Error:_Failed_to_register_for_registry_change_notification__Error_code___d_
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rcx, str...SharedAutoOrientationControl_Lenovo.cpp
mov edx, 0xbc
mov qword [rsp + 0x20], r15
call fcn.140002ed0
movzx eax, bl
add rsp, 0x48
pop r15
pop r14
pop rdi
pop rbx
ret
Function at 0x14000edd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edi, edi
lea rax, str.CBaseThread::Start
mov qword [rsp + 0x30], rax
lea rsi, [0x1400838d0]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
lea r8, [0x1400a3128]
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 3]
lea edx, [rdi + 0x25]
lea rcx, str...SharedBaseThread.cpp
call fcn.140002ed0
mov byte [rbx + 0x1c], dil
cmp qword [rbx + 0x10], rdi
jne 0x14000ee6f
lea rax, str.CreateEvent
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 3]
mov qword [rsp + 0x28], rsi
lea r8, [0x1400a3128]
lea edx, [rdi + 0x2b]
mov qword [rsp + 0x20], rdi
lea rcx, str...SharedBaseThread.cpp
call fcn.140002ed0
xor r9d, r9d
lea edx, [rdi + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rax
cmp rax, rdi
je 0x14000eedb
cmp qword [rbx + 8], rdi
jne 0x14000eecd
mov r9d, 3
lea rax, [0x140084310]
mov qword [rsp + 0x30], rax
lea r8, [0x1400a3128]
mov qword [rsp + 0x28], rsi
lea rcx, str...SharedBaseThread.cpp
mov qword [rsp + 0x20], rdi
lea edx, [r9 + 0x30]
call fcn.140002ed0
lea rax, [rbx + 0x18]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14000ed20]
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
cmp qword [rbx + 0x10], rdi
je 0x14000eedb
mov al, 1
cmp qword [rbx + 8], rdi
jne 0x14000eedf
movzx eax, dil
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140010f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140010f93
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140010fda
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140010fd5
nop
cmp rbx, rcx
jae 0x140010fda
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140010fc0
cmp rbx, rcx
jb 0x140010fde
xor eax, eax
jmp 0x140010fea
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140015340
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rax, str.CDirectShowCameraImp::Disconnect
xor esi, esi
mov qword [rsp + 0x30], rax
lea r8, [0x1400a3128]
lea rax, [0x1400838d0]
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rcx, str...SharedDirectShowCamera.cpp
lea r9d, [rsi + 1]
mov qword [rsp + 0x20], rsi
mov edx, 0xf9
call fcn.140002ed0
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2 + 0x60], si
jne 0x1400153a6
test rax, rax
je 0x1400153f2
lea rax, [rsp + 0x48]
mov r8d, 3
lea rdx, [rbx + 0x60]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.1400027e0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
cmp rcx, rax
je 0x1400153f2
call fcn.14005d6dc
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140015405
mov qword [rbx + 0x28], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140015418
mov qword [rbx + 0x20], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001542b
mov qword [rbx + 0x30], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14001543e
mov qword [rbx + 0x18], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140015451
mov qword [rbx + 0x10], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140015464
mov qword [rbx + 8], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rbx + 0x40]
mov word [rbx + 0x38], si
xor r8d, r8d
lea rdx, [0x1400851f0]
call fcn.140015890
mov word [rbx + 0x60], si
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14003a8a0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400154b0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp qword [rcx + 0x20], 0
mov rbx, rcx
je 0x1400155fd
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1400155fd
cmp byte [rbx + 0x39], 0
je 0x1400155fd
mov rax, qword [rcx]
mov qword [rsp + 0xf8], rdi
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jns 0x14001553b
mov dword [rsp + 0x30], eax
lea r8, [0x1400a3128]
lea rax, str.Failed_at_pMediaControl__Run._Error_Code__0x_08x
mov r9d, 1
mov qword [rsp + 0x28], rax
lea rcx, str...SharedDirectShowCamera.cpp
mov edx, 0x118
mov qword [rsp + 0x20], 0
call fcn.140002ed0
mov rcx, qword [rbx + 0x30]
test edi, edi
setns dil
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x140015586
mov dword [rsp + 0x30], eax
lea r8, [0x1400a3128]
lea rax, str.Failed_at_pMediaControl__Stop._Error_Code__0x_08x
mov r9d, 1
mov qword [rsp + 0x28], rax
lea rcx, str...SharedDirectShowCamera.cpp
mov edx, 0x11e
mov qword [rsp + 0x20], 0
call fcn.140002ed0
lea rdx, [rbx + 0x60]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140015590
test rax, rax
je 0x1400155d8
lea rax, [rsp + 0x48]
mov r8d, 3
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.1400027e0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
cmp rcx, rax
je 0x1400155d8
call fcn.14005d6dc
movzx eax, dil
mov rdi, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14003a8a0
add rsp, 0xe0
pop rbx
ret
xor al, al
jmp 0x1400155e4
Function at 0x140016b50
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, r9
mov r14, r8
xor bl, bl
xor r15d, r15d
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp qword [rsp + 0x50], r15
je 0x140016d49
lea rax, [rbp - 0x68]
mov qword [rbp - 0x70], rax
or rbx, 0xffffffffffffffff
test rsi, rsi
jne 0x140016bf1
mov edx, r15d
mov qword [rbp - 0x70], rdx
jmp 0x140016c5d
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], r15b
jne 0x140016bf4
inc edi
lea r8, [rbp - 0x68]
mov edx, edi
lea rcx, [rbp - 0x70]
call fcn.140002c80
movsxd rdx, edi
mov r9, rdx
mov r8, rsi
mov rcx, qword [rbp - 0x70]
call fcn.140001490
test eax, eax
je 0x140016c59
cmp eax, 0xc
je 0x140016c4e
cmp eax, 0x16
je 0x140016c43
cmp eax, 0x22
je 0x140016c43
cmp eax, 0x50
je 0x140016c59
mov ecx, 0x80004005
call fcn.1400015b0
int3
mov ecx, 0x80070057
call fcn.1400015b0
int3
mov ecx, 0x8007000e
call fcn.1400015b0
int3
mov rdx, qword [rbp - 0x70]
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], 0
cmp byte [rdx], 0
jne 0x140016c80
mov rbx, r15
jmp 0x140016c89
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140016c80
mov r8, rbx
lea rcx, [rsp + 0x68]
call fcn.140002500
nop
lea rax, [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
cmp rcx, rax
je 0x140016ca9
call fcn.14005d6dc
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r15
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140016d49
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x140016d44
test cl, 0x1f
je 0x140016d17
call fcn.14005d52c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140016d26
call fcn.14005d52c
int3
sub rcx, rax
cmp rcx, 8
jae 0x140016d35
call fcn.14005d52c
int3
cmp rcx, 0x27
jbe 0x140016d41
call fcn.14005d52c
int3
mov rcx, rax
call fcn.14003a87c
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14003a8a0
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019e00
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.140019c90
cmp qword [rax + 0x18], 0x10
jb 0x140019e2a
mov rax, qword [rax]
xor ecx, ecx
mov r9d, 0x20019
mov dword [rsp + 0x30], ecx
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rdx, rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140019e9e
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_17
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140019ede
mov rcx, qword [rsp + 0x48]
inc rax
cmp rax, 0x1000
jb 0x140019ed9
test cl, 0x1f
jne 0x140019ef4
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140019efa
sub rcx, rax
cmp rcx, 8
jb 0x140019f00
cmp rcx, 0x27
ja 0x140019f06
mov rcx, rax
call fcn.14003a87c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003a8a0
add rsp, 0x78
ret
call fcn.14005d52c
int3
call fcn.14005d52c
int3
call fcn.14005d52c
int3
call fcn.14005d52c
int3

Function at 0x14001a050
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r8b, 1
lea rdx, [rsp + 0x48]
call fcn.140019c90
cmp qword [rax + 0x18], 0x10
jb 0x14001a07a
mov rax, qword [rax]
xor ecx, ecx
mov r9d, 0x20019
mov dword [rsp + 0x30], ecx
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rdx, rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001a0ee
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_6
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x14001a12e
mov rcx, qword [rsp + 0x48]
inc rax
cmp rax, 0x1000
jb 0x14001a129
test cl, 0x1f
jne 0x14001a144
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001a14a
sub rcx, rax
cmp rcx, 8
jb 0x14001a150
cmp rcx, 0x27
ja 0x14001a156
mov rcx, rax
call fcn.14003a87c
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003a8a0
add rsp, 0x78
ret
call fcn.14005d52c
int3
call fcn.14005d52c
int3
call fcn.14005d52c
int3
call fcn.14005d52c
int3