joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003a260
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x18006b080]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x18003a29d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18003a2a4
mov al, 1
jmp 0x18003a3fc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.180041540
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.180041540
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.180041590
movzx eax, al
test eax, eax
je 0x18003a2f9
xor al, al
jmp 0x18003a3fc
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18003a369
cmp dword [rsp + 0x30], 1
je 0x18003a375
cmp dword [rsp + 0x30], 3
je 0x18003a3ea
jmp 0x18003a3fa
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x18003a3c1
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x18003a3c1
xor al, al
jmp 0x18003a3fc
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18003a3db
mov dword [rsp + 0x34], 1
jmp 0x18003a3e3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x18003a3fc
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x18003a3fc
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180054260
add rsp, 0xa8
ret
Function at 0x180052ee0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x18006b080]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x180052f14
xor eax, eax
jmp 0x180053111
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x180052f46
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call 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]
jmp 0x180053111
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x180052ff8
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.180014410
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.18003df00
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x180053101
mov rcx, qword [rsp + 0x80]
call fcn.18003bcb0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1800530ae
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1800530a9
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x180053111
jmp 0x180053024
cmp qword [rsp + 0x50], 0
jbe 0x180053101
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180054260
add rsp, 0x78
ret
Function at 0x180053130
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x180053169
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x180053258
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x180053200
cmp qword [rsp + 0x20], 0
jle 0x180053200
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1800531a9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.18003df00
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x180053248
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x180053248
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140001c60
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov ebx, ecx
mov r8d, 0x30
lea rcx, [0x1400429c8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
movzx edx, bx
lea r8, [0x14003a6c4]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001d50
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x140001d40
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001d52
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006d00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret

Function at 0x140001e20
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdx, str.Output_ProCfg_file_n
call fcn.140003910
lea r8, str.C:Program_Files__x86_3ShapeDongle_Server_Service_
lea rdx, str._sProCfg.ini
lea rcx, [rsp + 0x60]
call fcn.140001170
lea rdx, [0x14003a640]
lea rcx, [rsp + 0x60]
call fcn.14000d22c
lea rdx, str._Service__n
mov rcx, rax
mov rbx, rax
call fcn.140001120
lea rdx, str.SvrEmul1_n
mov rcx, rbx
call fcn.140001120
lea rdx, str.SvrPort5766_n
mov rcx, rbx
call fcn.140001120
lea rdx, str.DDUpgrade0_n
mov rcx, rbx
call fcn.140001120
xor r8d, r8d
lea rdx, str.Cust_d_n
mov rcx, rbx
call fcn.140001120
movdqa xmm0, xmmword [0x14003b450]
xor eax, eax
movdqu xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x30], 0xf
nop dword [rax]
mov ecx, eax
lea rdx, [rsp + 0x34]
add rdx, rcx
lea ecx, [rax - 0x66]
inc eax
xor byte [rdx], cl
mov ecx, dword [rsp + 0x30]
cmp eax, ecx
jb 0x140001ee0
mov byte [rsp + rcx + 0x34], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x50], 4
lea r8, str.AllowTRIOSExportSTL
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x48], 0
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x4c], 4
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x140001f60
mov r8d, dword [rsp + 0x48]
lea rdx, str.AllowTRIOSTL_d_n
mov rcx, rbx
call fcn.140001120
mov rcx, rbx
call fcn.14000d2bc
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140006d00
add rsp, 0x180
pop rbx
ret
Function at 0x140001f90
Capabilities:
Encode data using xor
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rcx, str.C:Program_Files__x86_3ShapeDongle_Server_Service_
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
movdqa xmm0, xmmword [0x14003b440]
xor ebx, ebx
movdqu xmmword [rbp - 0x1c], xmm0
mov edx, ebx
mov dword [rbp - 0x20], 0xf
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rdx - 0x66]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jb 0x140001fc2
lea r8, [rbp - 0x1c]
mov qword [rsp + 0x50], rdi
mov ecx, 0x68
mov byte [rbp + rax - 0x1c], bl
call fcn.140001c60
test eax, eax
je 0x14000215e
movdqa xmm0, xmmword [0x14003b4b0]
xor ecx, ecx
mov edi, 0x10
mov byte [rbp - 0xc], 0xaa
mov eax, edi
mov edx, ebx
mov dword [rbp - 0x20], eax
movdqu xmmword [rbp - 0x1c], xmm0
mov word [rbp - 0xb], cx
mov byte [rbp - 9], cl
nop
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rdx - 0x66]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jb 0x140002020
lea r8, [rbp - 0x1c]
mov byte [rbp + rax - 0x1c], bl
mov ecx, 0x65
call fcn.140001c60
test eax, eax
je 0x14000215e
movdqa xmm0, xmmword [0x14003b510]
xor eax, eax
movdqu xmmword [rbp - 0x1c], xmm0
mov word [rbp - 0xb], ax
mov edx, ebx
mov byte [rbp - 9], al
mov dword [rbp - 0x20], edi
mov byte [rbp - 0xc], 0xaa
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rdx - 0x66]
inc edx
xor byte [rcx], al
mov edi, dword [rbp - 0x20]
cmp edx, edi
jb 0x140002070
lea r8, [rbp - 0x1c]
mov byte [rbp + rdi - 0x1c], bl
mov ecx, 0x67
call fcn.140001c60
test eax, eax
je 0x14000215e
movdqa xmm0, xmmword [0x14003b3c0]
mov edx, ebx
mov eax, 0xc
mov dword [rbp - 0x20], eax
movdqu xmmword [rbp - 0x1c], xmm0
test eax, eax
je 0x1400020d7
nop dword [rax]
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rdx - 0x66]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jb 0x1400020c0
lea r8, [rbp - 0x1c]
mov byte [rbp + rax - 0x1c], bl
mov ecx, 0x69
call fcn.140001c60
test eax, eax
je 0x14000215e
movdqa xmm0, xmmword [0x14003b540]
mov eax, 0x16
mov dword [rbp - 0x20], eax
mov dword [rbp - 0xc], 0xd582ccc3
mov dword [rbp - 8], 0xb0c3c3
movdqu xmmword [rbp - 0x1c], xmm0
test eax, eax
je 0x140002137
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rbx - 0x66]
inc ebx
xor byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp ebx, eax
jb 0x140002120
lea r8, [rbp - 0x1c]
mov byte [rbp + rax - 0x1c], 0
mov ecx, 0x66
call fcn.140001c60
test eax, eax
je 0x14000215e
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
lea rdx, str.Output_Program_file_error.._n
call fcn.140003910
lea rcx, str.pause
call fcn.14000f47c
mov ecx, 0xffffffff
call fcn.14000d164
int3
Function at 0x1400028a0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x14003b5b0]
mov ecx, 0x39
movdqa xmm1, xmmword [0x14003b460]
xor eax, eax
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x14003b3f0]
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x50], ecx
mov dword [rbp - 0x4c], 0xc9dad4c9
mov dword [rbp - 0x48], 0xe4f2dec9
mov dword [rbp - 0x44], 0xc6cdeefe
movdqa xmmword [rbp - 0x30], xmm1
mov ecx, eax
lea rdx, [rbp - 0x4c]
add rdx, rcx
lea ecx, [rax - 0x66]
inc eax
xor byte [rdx], cl
mov ecx, dword [rbp - 0x50]
cmp eax, ecx
jb 0x140002900
mov byte [rbp + rcx - 0x4c], 0
lea rax, [rbp - 0x10]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.EnableLUA
mov dword [rbp - 0x10], 0
lea rdx, [rbp - 0x4c]
mov dword [rbp - 0xc], 1
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea rax, [rbp - 0xc]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.EnableLinkedConnections
mov rcx, 0xffffffff80000002
lea rdx, [rbp - 0x4c]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140006d00
add rsp, 0x80
pop rbp
ret

Function at 0x1400029a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
movdqa xmm0, xmmword [0x14003b550]
xor ebx, ebx
movdqa xmm1, xmmword [0x14003b5a0]
mov edx, ebx
mov eax, 0x38
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm0, xmmword [0x14003b3d0]
movdqa xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], 0xf8ebf4ea
mov dword [rbp - 0x38], 0xc6c6fcec
mov dword [rbp - 0x34], 0xe0f78e82
movdqa xmmword [rbp - 0x20], xmm1
test eax, eax
je 0x140002a17
nop dword [rax]
mov eax, edx
lea rcx, [rbp - 0x3c]
add rcx, rax
lea eax, [rdx - 0x66]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x40]
cmp edx, eax
jb 0x140002a00
lea rcx, [rbp - 0x3c]
mov byte [rbp + rax - 0x3c], bl
call fcn.14000f47c
movdqa xmm0, xmmword [0x14003b4f0]
xor ecx, ecx
movdqa xmm1, xmmword [0x14003b400]
mov eax, 0x30
mov dword [rbp - 0x40], eax
mov byte [rbp - 0xc], 0xca
mov word [rbp - 0xb], cx
mov byte [rbp - 9], cl
movdqu xmmword [rbp - 0x3c], xmm0
movdqa xmm0, xmmword [0x14003b470]
movdqu xmmword [rbp - 0x1c], xmm0
movdqu xmmword [rbp - 0x2c], xmm1
test eax, eax
je 0x140002a87
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
lea rcx, [rbp - 0x3c]
add rcx, rax
lea eax, [rbx - 0x66]
inc ebx
xor byte [rcx], al
mov eax, dword [rbp - 0x40]
cmp ebx, eax
jb 0x140002a70
lea rcx, [rbp - 0x3c]
mov byte [rbp + rax - 0x3c], 0
call fcn.14000f47c
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x140002d30
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rbp + 0x28], rax
lea rdx, [rsp + 0x70]
call fcn.140002f40
xor ebx, ebx
mov r8d, ebx
mov ecx, dword [rax]
lea r9, [rax + 4]
test ecx, ecx
je 0x140002d85
nop dword [rax]
mov ecx, r8d
lea edx, [r8 - 0x66]
inc r8d
xor byte [rcx + r9], dl
mov ecx, dword [rax]
cmp r8d, ecx
jb 0x140002d70
mov eax, ecx
mov rcx, r9
mov byte [rax + r9], bl
call fcn.14000f47c
movdqa xmm0, xmmword [0x14003b4d0]
movdqa xmm1, xmmword [0x14003b570]
mov eax, 0x35
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x64], 0xaea5bdb8
mov dword [rsp + 0x68], 0xcfab
movdqu xmmword [rsp + 0x34], xmm0
movdqa xmm0, xmmword [0x14003b490]
movdqu xmmword [rsp + 0x54], xmm0
movdqu xmmword [rsp + 0x44], xmm1
test eax, eax
je 0x140002df9
nop word [rax + rax]
mov eax, ebx
lea rcx, [rsp + 0x34]
add rcx, rax
lea eax, [rbx - 0x66]
inc ebx
xor byte [rcx], al
mov eax, dword [rsp + 0x30]
cmp ebx, eax
jb 0x140002de0
mov byte [rsp + rax + 0x34], 0
lea rcx, str.C:Program_Files__x86_3ShapeDongle_Server_ServiceDongleServer.exe
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140002e10
mov dword [rsp + 0x28], eax
lea r8, str.ImagePath
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x34]
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea rax, str.3Shape_Dongle_Server_Service
mov dword [rsp + 0x28], 0x1c
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, str.Description
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x34]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea rax, str.3Shape_Dongle_Service
mov dword [rsp + 0x28], 0x15
mov r9d, 1
mov qword [rsp + 0x20], rax
lea r8, str.DisplayName
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x34]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Start
mov dword [rbp + 0x20], 2
lea rdx, [rsp + 0x34]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Type
mov dword [rbp + 0x20], 0x110
lea rdx, [rsp + 0x34]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140006d00
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rbp
ret
Function at 0x140003080
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov eax, 6
xor edx, edx
mov dword [rbp - 9], eax
mov r8d, edx
mov dword [rbp - 5], 0xada8bbb0
mov dword [rbp - 1], 0xa0aaa7
test eax, eax
je 0x1400030cb
nop dword [rax]
mov eax, r8d
lea rcx, [rbp - 5]
add rcx, rax
lea eax, [r8 - 0x66]
inc r8d
xor byte [rcx], al
mov eax, dword [rbp - 9]
cmp r8d, eax
jb 0x1400030b0
mov byte [rbp + rax - 5], dl
mov r8, 0xffffffffffffffff
lea rax, [rbp - 5]
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dl
jne 0x1400030e0
movdqa xmm0, xmmword [0x14003b4e0]
xor ecx, ecx
movdqa xmm1, xmmword [0x14003b430]
mov eax, 0x3c
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmm0, xmmword [0x14003b4a0]
movdqa xmmword [rbp + 0x37], xmm0
mov dword [rbp + 7], eax
mov dword [rbp + 0xb], 0xc9cfc2c9
mov dword [rbp + 0xf], 0xe2fcd2db
mov dword [rbp + 0x13], 0xc0d6d1d7
movdqa xmmword [rbp + 0x27], xmm1
mov byte [rbp + 0x47], 0xd6
mov word [rbp + 0x48], cx
mov byte [rbp + 0x4a], cl
test eax, eax
je 0x140003157
nop
mov eax, edx
lea rcx, [rbp + 0xb]
add rcx, rax
lea eax, [rdx - 0x66]
inc edx
xor byte [rcx], al
mov eax, dword [rbp + 7]
cmp edx, eax
jb 0x140003140
mov dword [rsp + 0x28], r8d
lea rdx, [rbp + 0xb]
mov byte [rbp + rax + 0xb], 0
lea r8, str.ForcedPhysicalSectorSizeInBytes
lea rax, [rbp - 5]
mov r9d, 1
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
add rsp, 0x90
pop rbp
ret
Function at 0x1400031a0
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x830
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov edx, 0x400
mov dword [0x1400429d0], 0x210
lea rcx, [rsp + 0x420]
mov dword [0x1400429e4], 0x17
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, ebx
lea rdx, str._d__d
mov r8d, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0x28
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rcx, [rsp + 0x420]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor ecx, ecx
mov qword [0x1400429d8], rbx
mov dword [0x1400429e0], 0x6a
mov dword [0x1400429e8], 0x47e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov edx, 0x6a
call qword [sym.imp.USER32.dll_LoadIconA]
movups xmm0, xmmword [str.Patch_execution_completed.]
lea rdx, [0x1400429d0]
mov qword [0x1400429f0], rax
movsd xmm1, qword [0x14003ad60]
movabs rax, 0x6f666e49443443
mov qword [0x1400429f8], rax
xor ecx, ecx
movzx eax, word [0x14003ad68]
mov word [0x140042a98], ax
movzx eax, byte [0x14003ad6a]
movaps xmmword [0x140042a80], xmm0
movups xmm0, xmmword [str.Crack4Dental_tips]
mov byte [0x140042a9a], al
movzx eax, word [0x14003ad80]
mov word [0x140042b94], ax
movsd qword [0x140042a90], xmm1
movups xmmword [0x140042b84], xmm0
mov dword [0x140042bc4], 1
mov dword [0x140042b80], 0x1388
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x1400429d0]
mov ecx, 2
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140006d00
add rsp, 0x830
pop rbx
ret
Function at 0x14000d164
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000cff7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cff7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cff7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000cff7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000cff7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000cff7
cmp dword [rcx + 0xf8], 0
je 0x14000cff7
mov ecx, ebx
call fcn.14000d098
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000ce88
cmp dword [rbp + 0x20], 0
je 0x14000d044
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000d04c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000cf90