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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
lea rax, [rax - 0x18]
mov rbx, r9
mov dword [rax - 0x10], ebp
mov rsi, r8
lea r9d, [rbp + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x406be5
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebp
jne 0x406bda
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], 4
cmovne eax, ebp
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x406c59
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebp
jne 0x406c4e
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], 4
cmovne eax, ebp
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x406c78
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x004115d0]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x38]
mov rdi, r8
xor ebx, ebx
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x406cf9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
cmp eax, ebx
sete bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.004030d0
mov rbx, qword [rsp + 0x198]
add rsp, 0x170
pop rdi
ret
Function at 0x406f0c
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406f7f
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
lea rdx, str.ServerAdminUI
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x406fe4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov eax, dword [0x00411b14]
cmp eax, 0xffffffff
jne 0x40709a
lea rax, [rsp + 0x68]
mov edi, 1
lea rdx, str.SystemWPAApplianceServer
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov r9d, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebx, ebx
cmp eax, ebx
jne 0x407088
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.Installed
xor r8d, r8d
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x40707d
cmp dword [rsp + 0x58], 4
jne 0x40707d
mov eax, dword [0x00411b14]
cmp dword [rsp + 0x60], ebx
cmovne eax, edi
mov dword [0x00411b14], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x00411b14]
cmp eax, 0xffffffff
cmove eax, ebx
mov dword [0x00411b14], eax
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x407658
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r11d, eax
xor eax, eax
cmp r11d, eax
jbe 0x40767a
cmp r11d, ebx
jb 0x40767f
mov eax, 0x7a
add rsp, 0x20
pop rbx
ret
Function at 0x1400359a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rsi, [r8 - 1]
mov r15, r9
sar rsi, 1
mov r13, r8
mov rbp, rdx
mov rbx, rcx
mov r14, rdx
mov rdi, rdx
cmp rdx, rsi
jge 0x140035a18
nop word [rax + rax]
add rdi, rdi
lea rcx, [rbx + 0x10]
lea rcx, [rcx + rdi*8]
lea rdx, [rcx - 8]
call qword [sym.imp.Qt6Core.dll_public:_bool___cdecl_QPersistentModelIndex::operator__class_QPersistentModelIndex_const____ptr64_const___ptr64]
movzx eax, al
lea rcx, [rbx + rbp*8]
xor rax, 1
inc rax
add rdi, rax
lea rdx, [rbx + rdi*8]
call qword [sym.imp.Qt6Core.dll_public:_class_QPersistentModelIndex____ptr64___cdecl_QPersistentModelIndex::operator_class_QPersistentModelIndex____ptr64____ptr64]
mov rbp, rdi
cmp rdi, rsi
jl 0x1400359e0
cmp rdi, rsi
jne 0x140035a39
test r13b, 1
jne 0x140035a39
lea rdx, [r13 - 1]
lea rdx, [rbx + rdx*8]
lea rcx, [rbx + rbp*8]
call qword [sym.imp.Qt6Core.dll_public:_class_QPersistentModelIndex____ptr64___cdecl_QPersistentModelIndex::operator_class_QPersistentModelIndex____ptr64____ptr64]
lea rbp, [r13 - 1]
cmp r14, rbp
jge 0x140035a70
nop
lea rsi, [rbp - 1]
mov rdx, r15
sar rsi, 1
lea rdi, [rbx + rsi*8]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_bool___cdecl_QPersistentModelIndex::operator__class_QPersistentModelIndex_const____ptr64_const___ptr64]
test al, al
je 0x140035a70
lea rcx, [rbx + rbp*8]
mov rdx, rdi
call qword [sym.imp.Qt6Core.dll_public:_class_QPersistentModelIndex____ptr64___cdecl_QPersistentModelIndex::operator_class_QPersistentModelIndex____ptr64____ptr64]
mov rbp, rsi
cmp r14, rsi
jl 0x140035a40
lea rcx, [rbx + rbp*8]
mov rdx, r15
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp qword [sym.imp.Qt6Core.dll_public:_class_QPersistentModelIndex____ptr64___cdecl_QPersistentModelIndex::operator_class_QPersistentModelIndex____ptr64____ptr64]
Function at 0x140067cd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rax, [r8 - 1]
mov r13, r9
mov rbp, rax
mov qword [rsp + 0x50], rax
sar rbp, 1
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov r12, rdx
mov r14, rdx
cmp rdx, rbp
jge 0x140067d80
nop dword [rax]
nop word [rax + rax]
lea rdi, [r14 + r14]
mov rax, rdi
lea rdx, [rsi + 0x60]
shl rax, 6
lea rcx, [rsi + 0xa0]
add rdx, rax
add rcx, rax
call fcn.140012110
lea r14, [rdi + 1]
movzx eax, al
xor rax, 1
shl rbx, 6
add r14, rax
add rbx, rsi
mov rdi, r14
mov rcx, rbx
shl rdi, 6
add rdi, rsi
mov rdx, rdi
call fcn.140004c00
lea rdx, [rdi + 0x20]
lea rcx, [rbx + 0x20]
call fcn.140004c00
mov rbx, r14
cmp r14, rbp
jl 0x140067d20
cmp r14, rbp
jne 0x140067db8
test r15b, 1
jne 0x140067db8
shl r15, 6
shl rbx, 6
add rbx, rsi
mov rcx, rbx
lea rdi, [r15 + rsi]
lea rdx, [rdi - 0x40]
call fcn.140004c00
lea rdx, [rdi - 0x20]
lea rcx, [rbx + 0x20]
call fcn.140004c00
mov rbx, qword [rsp + 0x50]
cmp r12, rbx
jge 0x140067e09
nop dword [rax]
lea rdi, [rbx - 1]
sar rdi, 1
lea rdx, [r13 + 0x20]
mov rbp, rdi
shl rbp, 6
add rbp, rsi
lea rcx, [rbp + 0x20]
call fcn.140012110
test al, al
je 0x140067e09
shl rbx, 6
mov rdx, rbp
add rbx, rsi
mov rcx, rbx
call fcn.140004c00
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x20]
call fcn.140004c00
mov rbx, rdi
cmp r12, rdi
jl 0x140067dc0
shl rbx, 6
mov rdx, r13
add rbx, rsi
mov rcx, rbx
call fcn.140004c00
lea rdx, [r13 + 0x20]
lea rcx, [rbx + 0x20]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp fcn.140004c00
Function at 0x140069530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1400
call fcn.1402858d0
sub rsp, rax
mov rax, qword [0x1404690c0]
xor rax, rsp
mov qword [rsp + 0x13f8], rax
xor edi, edi
call qword [sym.imp.Qt6Core.dll_public:_static_class_QCoreApplication____ptr64___cdecl_QCoreApplication::instance_void_]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x140069571
mov ecx, dword [rcx + 4]
test ecx, ecx
je 0x140069571
mov rdi, qword [rax + 0x50]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x170]
mov rcx, rax
lea r8, str.CookieId
lea rdx, str.Panels
call qword [sym.imp.obs.dll_config_has_user_value]
test al, al
jne 0x1400696d5
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
movabs rax, 0x5555555555555555
mov qword [rsp + 0x13d8], rax
mov qword [rsp + 0x58], rdx
mov ecx, 1
movabs r8, 0x5851f42d4c957f2d
nop word [rax + rax]
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, r8
add rdx, rcx
mov qword [rsp + rcx*8 + 0x58], rdx
inc rcx
cmp rcx, 0x138
jb 0x1400695d0
mov dword [rsp + 0x50], 0x138
lea rcx, [rsp + 0x50]
call fcn.140069700
mov r9, rax
lea r8, str._16llX
mov edx, 0x14
lea rcx, [rsp + 0x13e0]
call fcn.1400694d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x13e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140069640
lea rdx, [rsp + 0x13e0]
lea rcx, [rsp + 0x28]
call fcn.1400051a0
nop
lea rbx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rbx, qword [rsp + 0x28]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x170]
mov r9, rbx
lea r8, str.CookieId
lea rdx, str.Panels
mov rcx, rax
call qword [sym.imp.obs.dll_config_set_string]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400696d5
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400696d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400696d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028525c
mov rcx, qword [rsp + 0x13f8]
xor rcx, rsp
call fcn.140284ef0
mov rbx, qword [rsp + 0x1410]
add rsp, 0x1400
pop rdi
ret
Function at 0x140069700
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140069767
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140069722
mov ecx, dword [r10]
jmp 0x140069888
cmp ecx, 0x270
jb 0x140069888
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x1400697a0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140069800
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x14018b160
Capabilities:
Hash data using fnv

Disassembly:
mov r9, qword [rdx]
movabs r11, 0x100000001b3
mov rax, r9
movabs rdx, 0xcbf29ce484222325
shr rax, 8
movzx r10d, al
movzx eax, r9b
xor rax, rdx
imul rax, r11
xor r10, rax
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
imul r10, r11
shr r9, 0x20
xor r10, rcx
movzx r8d, r9b
movzx ecx, al
xor r8, rdx
imul r8, r11
imul r10, r11
mov eax, r9d
sar eax, 8
xor r10, rcx
movzx ecx, al
xor r8, rcx
mov eax, r9d
sar eax, 0x10
movzx ecx, al
imul r8, r11
imul r10, r11
xor r8, rcx
sar r9d, 0x18
imul r8, r11
movzx eax, r9b
xor r8, rax
mov eax, 0x9e3779b9
imul r8, r11
mov rcx, r8
mov rdx, r8
shl rcx, 6
shr rdx, 2
add rcx, r10
add rax, rdx
add rax, rcx
xor rax, r8
ret
Function at 0x1401fef70
Capabilities:
Enumerate processes

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x1404690c0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r14, rcx
xor edx, edx
mov ecx, 2
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401fefce
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1401fefd5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401ff137
mov qword [rsp + 0x2e0], rbx
mov qword [rsp + 0x2e8], rbp
mov qword [rsp + 0x2f0], rdi
nop dword [rax]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x9c]
mov qword [rsp + 0x30], r15
mov r9d, 0xffffffff
mov dword [rsp + 0x28], r15d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140200e20
cmp qword [rsp + 0x60], 0xf
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x9c]
cmova rcx, qword [rsp + 0x48]
mov r9d, 0xffffffff
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
cmp rbp, 0xf
mov r8, qword [r14 + 0x10]
mov rcx, r14
cmova rdx, rbx
cmp qword [r14 + 0x18], 0xf
jbe 0x1401ff099
mov rcx, qword [r14]
cmp r8, qword [rsp + 0x58]
jne 0x1401ff0ae
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1401ff0ae
mov dil, 1
jmp 0x1401ff0b1
xor dil, dil
cmp rbp, 0xf
jbe 0x1401ff0e4
lea rdx, [rbp + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401ff0dc
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ff10c
mov rcx, rbx
call fcn.14028525c
mov rcx, rsi
test dil, dil
jne 0x1401ff113
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1401feff0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401ff11f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x2f0]
mov rbx, qword [rsp + 0x2e0]
mov rbp, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140284ef0
add rsp, 0x2c0
pop r15
pop r14
pop rsi
ret
Function at 0x1401ff160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1404690c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0xb
mov qword [rbp - 0x18], 0xf
movsd xmm0, qword [str.AnyDesk.exe]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x1403f1b98]
mov word [rbp - 0x28], ax
movzx eax, byte [0x1403f1b9a]
mov byte [rbp - 0x26], al
mov byte [rbp - 0x25], dil
lea rcx, [rbp - 0x30]
call fcn.1401fef70
mov ebx, eax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1401ff208
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ff203
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401ff203
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028525c
test ebx, ebx
jne 0x1401ff314
mov qword [rbp - 0x28], rdi
mov ecx, 0x20
call fcn.140284f10
mov rdx, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], 0x1e
mov qword [rbp - 0x18], 0x1f
movups xmm0, xmmword [str.Sidoka___Louis_V__Menina_Linda]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1403f1b80]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1403f1b88]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1403f1b8c]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], bl
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1401ff2ba
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ff2b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401ff2b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14028525c
test rbx, rbx
je 0x1401ff314
mov ecx, 1
call fcn.140284f10
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14020af20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1401ff340
cmp dword [rbp - 0x28], 0
je 0x1401ff334
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1401ff334
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140284ef0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1402000a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1402000c8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1402000ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1402000f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140200149
test ecx, ecx
jle 0x140200129
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140200149
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140200149
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x140200170
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1402001a1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x1402001bf
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1402001db
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1402001dd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140200219
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1402002ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140200254
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14020028e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1402002ae
cmp rbx, rax
ja 0x140200260
test rbx, rbx
je 0x1402002ae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret