joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010d500
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14035f240]
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 0x14010d595
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 0x14010d5f6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400e6e50
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.1401224e0
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 0x14010d6b1
sub ecx, 1
je 0x14010d724
sub ecx, 1
je 0x14010d660
cmp ecx, 1
je 0x14010d643
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140342868]
call fcn.1400e6e50
jmp 0x14010d724
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14010d230
test eax, eax
je 0x14010d724
jmp 0x14010d5ca
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 0x14010d724
sub rax, rsi
cmp rax, rbp
jae 0x14010d724
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400e6fd0
jmp 0x14010d724
cmp r8d, 4
jle 0x14010d724
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 0x14010d724
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400e6d70
mov esi, eax
test eax, eax
je 0x14010d703
mov edx, 5
mov rcx, rbx
call fcn.14010e1f0
mov eax, esi
jmp 0x14010d5ca
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400f4f10
mov rcx, r14
call fcn.1400f51f0
test eax, eax
je 0x14010d5c8
mov edx, 5
mov rcx, rbx
call fcn.14010e1f0
mov eax, Ordinal_45
jmp 0x14010d5ca
Function at 0x1401215b0
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 0x1401215f2
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 0x140121639
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 0x140121692
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 0x140121650
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1401216d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401525f2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401525f3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1401216a0
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 0x1401216f8
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 0x140121732
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140121737
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 0x140121780
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 0x140121780
dec r8
sub rdx, 1
jne 0x140121766
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140123540
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14012358a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14012358a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14012358a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14012358a
cmp dword [rcx + 0x84], 0xe
jbe 0x14012358a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14012358c
xor al, al
add rsp, 0x28
ret
Function at 0x140007560
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r15, rdx
mov r8, rcx
mov edx, 0x104
lea rcx, [rsp + 0x30]
xor r14d, r14d
call fcn.1400042a0
lea r8, [0x1400ab188]
lea rcx, [rsp + 0x30]
call fcn.14000432c
mov edi, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, edi
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
lea r13, [0x1400ab0ac]
mov rbx, rax
test rax, rax
jne 0x140007618
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140007718
mov rcx, qword [rbp + 0x178]
mov r8, r13
mov edx, 0xc9
call fcn.140005d98
mov esi, eax
jmp 0x1400076f9
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.1400062ac
mov esi, eax
test eax, eax
jns 0x140007659
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xcf
call fcn.140005d60
mov rcx, rbx
call fcn.140005fc4
jmp 0x1400076f9
lea r8, [0x1400ab190]
lea rcx, [rsp + 0x30]
call fcn.14000432c
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000769f
mov rcx, qword [rbp + 0x178]
mov r8, r13
mov edx, 0xd5
call fcn.140005d98
mov esi, eax
jmp 0x14000764c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400062ac
mov esi, eax
test eax, eax
jns 0x1400076d6
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov r8, r13
mov edx, 0xd7
call fcn.140005d60
mov rcx, rdi
call fcn.140005fc4
jmp 0x14000764c
mov rcx, rdi
call fcn.140005fc4
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140005fc4
xor esi, esi
test esi, esi
jns 0x140007718
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov r8, r13
mov edx, 0x62
call fcn.140005d60
mov eax, esi
jmp 0x14000771d
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140097e50
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14000c0d8
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor edx, edx
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x14000c29f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 3
jne 0x14000c279
lea rdx, [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchSkipRoot]
nop dword [rax + rax]
test eax, eax
js 0x14000c24e
mov rax, qword [rsp + 0x58]
cmp word [rax], r14w
je 0x14000c24e
or r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rdi + rax*2], r14w
jne 0x14000c153
lea rbx, [rax + rax]
test rax, rax
je 0x14000c171
cmp word [rbx + rdi - 2], 0x5c
jne 0x14000c171
dec rax
mov ecx, 1
lea r9, [0x1400aaefc]
mov dword [rsp + 0x28], ecx
mov r8d, eax
mov dword [rsp + 0x20], ecx
mov rdx, rdi
mov ecx, 0x800000
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindStringOrdinal]
nop dword [rax + rax]
cmp eax, r15d
jne 0x14000c1a7
lea rsi, [rbx + rdi]
jmp 0x14000c1b1
movsxd rsi, eax
inc rsi
lea rsi, [rdi + rsi*2]
sub rsi, rdi
sar rsi, 1
je 0x14000c24e
lea rbp, [rsi + 1]
mov eax, 2
mul rbp
lea rdx, [0x1400cf278]
cmovo rax, r15
mov rcx, rax
call fcn.14009845c
mov rbx, rax
test rax, rax
jne 0x14000c202
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov esi, 0x8007000e
lea edx, [rax + 0x79]
mov r9d, esi
call fcn.140005d60
jmp 0x14000c23a
mov r9, rsi
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call fcn.1400111f8
mov esi, eax
test eax, eax
jns 0x14000c23e
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x7a
call fcn.140005d60
mov rcx, rbx
call fcn.14009841c
mov eax, esi
jmp 0x14000c2a1
mov rcx, rbx
call fcn.14000c0d8
mov rcx, rbx
call fcn.14009841c
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c29f
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
lea edx, [rax + 0x7d]
call fcn.140005d98
jmp 0x14000c2a1
cmp eax, 0xb7
je 0x14000c29f
test eax, eax
je 0x14000c29f
mov rcx, qword [rsp + 0x48]
lea r8, str.onecoreinternal_sdkincwilopensourcewil_filesystem.h
mov r9d, eax
mov edx, 0x81
call fcn.1400111cc
jmp 0x14000c2a1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14001b9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
lea rbp, [rcx + 8]
mov rsi, rcx
mov rcx, rbp
mov rdi, rdx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
nop dword [rax + rax]
lea rbx, [rsi + 0x28]
cmp qword [rbx + 0x18], 8
jb 0x14001b9e2
mov rbx, qword [rbx]
mov dword [rsp + 0x78], 0xc
call fcn.140066b6c
mov rcx, qword [0x1400cc3a8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov r9d, 0xffff
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
mov r14d, 0x80070000
mov ecx, r14d
cmovle ecx, eax
shr ecx, 0x1f
xor cl, 1
jne 0x14001baa0
cmp byte [0x1400cf3d4], cl
je 0x14001ba91
mov rcx, qword [0x1400cc398]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov r9d, 0xffff
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
cmovle r14d, eax
shr r14d, 0x1f
xor r14b, 1
jne 0x14001baa0
movsd xmm0, qword [rsi + 0x1c]
movsd qword [rdi], xmm0
mov eax, dword [rsi + 0x24]
mov dword [rdi + 8], eax
test rbp, rbp
je 0x14001bab4
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
nop dword [rax + rax]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14001bacc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 8]
mov rbx, rcx
mov rcx, rdi
mov rsi, rdx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
movsd xmm0, qword [rsi]
lea rdx, [rbx + 0x28]
movsd qword [rbx + 0x1c], xmm0
mov eax, dword [rsi + 8]
mov dword [rbx + 0x24], eax
cmp qword [rdx + 0x18], 8
jb 0x14001bb11
mov rdx, qword [rdx]
mov rcx, qword [0x1400cc3a8]
mov r9d, 3
mov dword [rsp + 0x28], 0xc
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
mov ebx, 0x80070000
cmovle ebx, eax
shr ebx, 0x1f
xor bl, 1
test rdi, rdi
je 0x14001bb5e
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x48]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400640a8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400640e1
mov rax, qword [rcx]
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov word [rax], r15w
mov qword [rbp - 0x40], r15
or rax, 0xffffffffffffffff
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400b0f90]
call qword [sym.imp.api_ms_win_shell_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14006413d
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
lea edx, [r15 + 0x4a]
call fcn.140005d60
jmp 0x1400641c7
movdqa xmm0, xmmword [0x1400b6a50]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140006ec8
nop
mov r14d, r15d
lea rsi, [0x1400a56e8]
mov rdx, qword [rsi]
test rdx, rdx
je 0x14006417f
mov r8b, 1
lea rcx, [rbp - 0x28]
call fcn.140073e58
mov ebx, eax
jmp 0x140064182
mov ebx, r15d
test ebx, ebx
js 0x1400641a4
inc r14d
add rsi, 8
cmp r14d, 3
jb 0x140064167
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400654b4
mov ebx, r15d
jmp 0x1400641bd
mov rcx, qword [rbp + 0x18]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0x4f
call fcn.140005d60
nop
lea rcx, [rbp - 0x28]
call fcn.140006c64
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400641dc
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140097e50
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14006420c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [r8 + 0x18], 8
mov rax, r8
mov esi, edx
mov rbp, rcx
jb 0x140064232
mov rax, qword [r8]
and qword [rsp + 0x20], 0
mov r9d, 2
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_CreateFile2]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14006427a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14006427c
xor ebx, ebx
test ebx, ebx
jns 0x140064287
mov edx, 0x5a
jmp 0x1400642e0
mov r8d, 0x4004
mov rdx, rbp
cmp esi, r8d
mov rcx, rdi
cmovb r8d, esi
and qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x1400642f6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
test ebx, ebx
jns 0x1400642f6
mov edx, 0x5d
mov rcx, qword [rsp + 0x38]
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, ebx
call fcn.140005d60
jmp 0x1400642f8
xor ebx, ebx
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140064311
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400645c0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov r14d, ecx
lea rax, [0x1400a02b8]
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x30], rbx
mov edi, r15d
mov r12d, 0x80070000
test ecx, ecx
jne 0x140064628
lea rdx, [0x1400b0f78]
jmp 0x140064721
mov r8d, r14d
mov edx, 1
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140064671
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
jmp 0x140064674
mov ecx, r15d
test ecx, ecx
js 0x1400646e4
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackageFamilyName]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x1400646e4
movdqa xmm0, xmmword [0x1400b6a50]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140006ec8
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400654b4
lea rcx, [rsp + 0x38]
call fcn.140006c64
jmp 0x140064750
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
nop dword [rax + rax]
movzx edi, ax
or edi, r12d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14006472b
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW]
nop dword [rax + rax]
mov rdx, rax
mov rcx, rsi
call fcn.140006ec8
jmp 0x140064750
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.1400174a0
mov rdx, rax
mov rcx, rsi
call fcn.1400654b4
lea rcx, [rsp + 0x38]
call fcn.140006c64
mov edi, r15d
test rbx, rbx
je 0x140064768
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x140064796
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140097e50
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
call fcn.140013e98
int3
Function at 0x140067490
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
call fcn.140066b6c
mov rcx, qword [0x1400cc3a8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rsp + 0x78]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x28], rax
mov r8, rsi
and qword [rsp + 0x20], 0
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140067560
cmp byte [0x1400cf3d4], 0
je 0x140067558
mov rcx, qword [0x1400cc398]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rsp + 0x78]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x28], rax
mov r8, rsi
and qword [rsp + 0x20], 0
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140067560
mov eax, dword [rbx]
jmp 0x140067564
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140067938
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rbx, rcx
mov ebp, 0x4e
lea rcx, [rsp + 0x50]
mov r8d, ebp
xor edx, edx
mov rsi, r9
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor ebp, ebp
lea rax, [rsp + 0x50]
mov r8, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
je 0x1400679b8
mov word [rsp + 0x50], bp
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x1400679dd
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140097e50
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140067a08
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor r14d, r14d
mov esi, r9d
mov rbp, r8
mov rdi, rcx
mov ebx, r14d
test rdx, rdx
je 0x140067a6c
cmp word [rdx], r14w
je 0x140067a6c
mov qword [r11 - 0x28], r14
lea rax, [r11 + 0x10]
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov qword [r11 - 0x38], r14
xor r8d, r8d
mov dword [rsp + 0x28], 2
mov dword [r11 - 0x48], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
jmp 0x140067a71
mov qword [rsp + 0x78], rcx
test ebx, ebx
jne 0x140067aba
mov eax, dword [rsp + 0x98]
mov r9d, esi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rsp + 0x90]
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
cmp rcx, rdi
je 0x140067aba
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret