joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a140
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r9d, dword [rcx]
mov ebp, 0xf0f0f0f
mov r8d, dword [rcx + 4]
mov eax, r9d
shr eax, 4
mov rbx, rcx
xor eax, r8d
mov rdi, rdx
and eax, ebp
mov esi, 8
xor r8d, eax
lea rbp, [0x140000000]
shl eax, 4
xor r9d, eax
mov eax, r9d
shr eax, 0x10
xor eax, r8d
movzx ecx, ax
xor r8d, ecx
shl ecx, 0x10
xor r9d, ecx
mov eax, r8d
shr eax, 2
xor eax, r9d
and eax, 0x33333333
xor r9d, eax
shl eax, 2
xor r8d, eax
mov r10d, r8d
shr r10d, 8
xor r10d, r9d
and r10d, 0xff00ff
xor r9d, r10d
shl r10d, 8
xor r10d, r8d
rol r10d, 1
mov r11d, r10d
xor r11d, r9d
and r11d, 0xaaaaaaaa
xor r10d, r11d
xor r11d, r9d
rol r11d, 1
mov r9d, r10d
mov eax, r10d
xor eax, dword [rdi + 4]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
ror r9d, 4
xor r9d, dword [rdi]
lea rdi, [rdi + 0x10]
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4 + 0xad210]
or edx, dword [rbp + rax*4 + 0xad010]
mov eax, r8d
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0xace10]
mov eax, r9d
shr rax, 0x18
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0xad440]
mov eax, r9d
shr rax, 0x10
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0xad310]
mov eax, r9d
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0xad110]
or edx, dword [rbp + r8*4 + 0xacd10]
or edx, dword [rbp + r9*4 + 0xacf10]
xor r11d, edx
mov r9d, r11d
mov eax, r11d
xor eax, dword [rdi - 4]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
ror r9d, 4
xor r9d, dword [rdi - 8]
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [rbp + rcx*4 + 0xad210]
or edx, dword [rbp + rax*4 + 0xad010]
mov eax, r8d
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0xace10]
mov eax, r9d
shr rax, 0x18
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0xad440]
mov eax, r9d
shr rax, 0x10
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0xad310]
mov eax, r9d
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
or edx, dword [rbp + rax*4 + 0xad110]
or edx, dword [rbp + r8*4 + 0xacd10]
or edx, dword [rbp + r9*4 + 0xacf10]
xor r10d, edx
sub rsi, 1
jne 0x14002a1e5
mov rsi, qword [rsp + 0x18]
mov ebp, 0xf0f0f0f
mov rdi, qword [rsp + 0x20]
ror r10d, 1
mov edx, r10d
xor edx, r11d
and edx, 0xaaaaaaaa
xor r10d, edx
xor edx, r11d
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, r10d
and eax, 0xff00ff
xor r10d, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, r10d
and eax, 0x33333333
xor r10d, eax
shl eax, 2
xor edx, eax
mov eax, r10d
shr eax, 0x10
xor eax, edx
movzx ecx, ax
xor edx, ecx
shl ecx, 0x10
xor r10d, ecx
mov ecx, r10d
shr ecx, 4
xor ecx, edx
and ecx, ebp
mov rbp, qword [rsp + 0x10]
mov eax, ecx
xor ecx, edx
shl eax, 4
xor eax, r10d
mov dword [rbx + 4], ecx
mov dword [rbx], eax
mov rbx, qword [rsp + 8]
ret
Function at 0x14003b6fc
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov dil, dl
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140061fe0
mov al, dil
neg al
sbb r8d, r8d
and r8d, 0xfffffff7
add r8d, 0x23
lea r9d, [r14 + 1]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14003b879
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
lea rax, [rsp + 0x50]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x14003b7b0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006170
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14000993c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14003b827
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b822
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b89f
call fcn.14005cb40
mov rcx, rbx
test dil, dil
je 0x14003b83e
mov r8d, 0x13
lea rdx, str.TencentDeskUpdate
jmp 0x14003b84b
mov r8d, 0x10
lea rdx, str.TencentDesktop
call fcn.14000993c
mov rcx, rbx
call fcn.14003b8a8
test al, al
jne 0x14003b864
mov rcx, rbx
call fcn.14003ba1c
mov r8d, 0xa
lea rdx, str.Global.db
mov rcx, rbx
call fcn.14000993c
mov rax, rbx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14005ccc0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r14
pop rdi
pop rbp
ret
call fcn.140067514
int3
Function at 0x14004073c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x60], rax
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
and qword [rsp + 0x40], 0
lea rdx, str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
and dword [rsp + 0x38], 0
mov rdi, rcx
mov ebx, 3
mov dword [rsp + 0x30], 0x104
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
lea r14d, [rbx - 2]
mov dword [rsp + 0x34], r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400408fe
mov r9, rdi
lea r8, str._sConnection
mov edi, 0x103
lea rcx, [rsp + 0x50]
mov edx, edi
call fcn.140040e50
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400408f3
mov rcx, qword [rsp + 0x40]
lea eax, [rbx + 1]
mov dword [rsp + 0x34], eax
lea r9, [rsp + 0x34]
mov dword [rsp + 0x30], eax
lea rdx, str.MediaSubType
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400408e8
xor edx, edx
mov dword [rsp + 0x34], r14d
lea r8d, [rdi + 1]
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x50]
call fcn.140061fe0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.PnpInstanceID
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400408e8
mov eax, dword [rsp + 0x38]
cmp eax, r14d
jne 0x1400408e1
mov r8d, ebx
lea rdx, [0x1400b17f0]
lea rcx, [rsp + 0x50]
call fcn.14006ef70
test eax, eax
jne 0x1400408b5
xor ebx, ebx
jmp 0x1400408e8
mov eax, dword [rsp + 0x38]
cmp eax, r14d
jne 0x1400408e1
mov r8, rbx
lea rdx, [0x1400b17f0]
lea rcx, [rsp + 0x50]
call fcn.14006ef70
test eax, eax
je 0x1400408dd
mov ebx, 2
jmp 0x1400408e8
mov eax, dword [rsp + 0x38]
cmp eax, 2
cmove ebx, r14d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14005ccc0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140040c20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2d50]
mov eax, 0x2e50
call fcn.14005cc60
sub rsp, rax
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x2d40], rax
mov rsi, rcx
mov edi, 0x208
mov r8d, edi
lea rcx, [rbp + 0x2b30]
xor edx, edx
call fcn.140061fe0
mov r14d, 0x104
lea rcx, [rbp + 0x2b30]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or rcx, 0xffffffffffffffff
lea rdx, [rbp + 0x2b30]
mov rax, rcx
xor ebx, ebx
inc rax
cmp word [rdx + rax*2], bx
jne 0x140040c97
test eax, eax
jle 0x140040cd7
movsxd rdx, eax
mov eax, 0x5c
cmp ax, word [rbp + rdx*2 + 0x2b2e]
je 0x140040cd7
mov word [rbp + rdx*2 + 0x2b30], ax
lea rdx, [rdx*2 + 2]
cmp rdx, rdi
jae 0x140040e4a
mov word [rbp + rdx + 0x2b30], bx
lea rax, [rbp + 0x2b30]
inc rcx
cmp word [rax + rcx*2], bx
jne 0x140040cde
mov r9, r14
lea r8, str.iphlpapi.dll
sub r9, rcx
mov rdx, r14
lea rcx, [rbp + 0x2b30]
call fcn.1400785dc
lea rcx, [rbp + 0x2b30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
test rax, rax
je 0x140040e1f
lea rdx, str.GetAdaptersInfo
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140040de5
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x2c00
lea rcx, [rsp + 0x30]
call rax
test eax, eax
jne 0x140040de5
lea r15d, [rax + 3]
mov r14, rsi
lea rax, [rsp + 0x24]
sub r14, rax
lea rdi, [rsp + 0x30]
lea rcx, [rdi + 0xc]
call fcn.14004073c
mov r8d, eax
lea rcx, [rsp + 0x24]
xor eax, eax
mov edx, ebx
mov dword [rsp + 0x24], eax
mov word [rsp + 0x28], ax
mov al, byte [rcx]
cmp byte [r14 + rcx], al
jne 0x140040d97
inc edx
inc rcx
cmp edx, 6
jb 0x140040d83
jmp 0x140040da5
cmp dword [rdi + 0x1a4], 6
jne 0x140040ddd
cmp r15d, r8d
jle 0x140040ddd
mov al, byte [rdi + 0x198]
mov r15d, r8d
mov byte [rsi], al
mov al, byte [rdi + 0x199]
mov byte [rsi + 1], al
mov al, byte [rdi + 0x19a]
mov byte [rsi + 2], al
mov al, byte [rdi + 0x19b]
mov byte [rsi + 3], al
mov al, byte [rdi + 0x19c]
mov byte [rsi + 4], al
mov al, byte [rdi + 0x19d]
mov byte [rsi + 5], al
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140040d65
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea rcx, [rsp + 0x24]
mov dword [rsp + 0x24], eax
mov edx, ebx
mov word [rsp + 0x28], ax
lea rax, [rsp + 0x24]
sub rsi, rax
mov al, byte [rcx]
cmp byte [rsi + rcx], al
jne 0x140040e1b
inc edx
inc rcx
cmp edx, 6
jb 0x140040e08
jmp 0x140040e1d
mov bl, 1
mov al, bl
mov rcx, qword [rbp + 0x2d40]
xor rcx, rsp
call fcn.14005ccc0
lea r11, [rsp + 0x2e50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14005d410
int3
Function at 0x140041bfc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor ebx, ebx
call fcn.1400174e8
cmp eax, 5
jle 0x140041cf8
mov eax, dword [0x1400b1220]
lea rdx, [rbp - 0x39]
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_]
mov r9d, 0x20019
movaps xmm1, xmmword [0x1400b11c0]
xor r8d, r8d
movaps xmmword [rbp - 0x39], xmm0
mov rcx, 0xffffffff80000002
movaps xmm0, xmmword [0x1400b11d0]
mov dword [rbp + 0x37], eax
movzx eax, word [0x1400b1224]
movaps xmmword [rbp - 0x19], xmm0
movaps xmm0, xmmword [0x1400b11f0]
movaps xmmword [rbp - 0x29], xmm1
movaps xmm1, xmmword [0x1400b11e0]
mov word [rbp + 0x3b], ax
lea eax, [rbx + 4]
movaps xmmword [rbp + 7], xmm0
movaps xmm0, xmmword [0x1400b1210]
movaps xmmword [rbp - 9], xmm1
movaps xmm1, xmmword [0x1400b1200]
mov dword [rbp - 0x55], eax
mov dword [rbp - 0x59], eax
lea rax, [rbp - 0x49]
movaps xmmword [rbp + 0x27], xmm0
movaps xmmword [rbp + 0x17], xmm1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140041cf8
mov rcx, qword [rbp - 0x49]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x55]
lea rax, [rbp - 0x51]
xor r8d, r8d
lea rdx, str.EnableLUA
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp - 0x51], 1
mov rcx, qword [rbp - 0x49]
sete bl
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005ccc0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret

Function at 0x1400428ac
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rsp + 0x80], rax
and dword [rsp + 0x34], 0
mov rbx, r8
and dword [rsp + 0x30], 0
mov r8d, edx
mov rdx, rcx
mov dword [rsp + 0x20], 0x67452301
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
call fcn.140041e20
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140041f00
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005ccc0
add rsp, 0x90
pop rbx
ret
Function at 0x1400432f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x1068
call fcn.14005cc60
sub rsp, rax
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov qword [rsp + 0x40], 0x400
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0x800
mov rax, qword [rsp + 0x1070]
mov rax, qword [rax]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x1078]
mov rcx, qword [rsp + 0x1070]
call qword [rax]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400433ee
cmp dword [rsp + 0x38], 1
jne 0x14004338e
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1080]
call fcn.14000a8b0
jmp 0x1400433ee
cmp dword [rsp + 0x38], 2
jne 0x1400433e6
mov r8d, 0x400
lea rdx, [rsp + 0x850]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400433c5
mov eax, dword [rsp + 0x30]
cmp rax, 0x400
jbe 0x1400433cf
mov dword [rsp + 0x34], 0xea
jmp 0x1400433e4
lea rdx, [rsp + 0x850]
mov rcx, qword [rsp + 0x1080]
call fcn.14000a8b0
jmp 0x1400433ee
mov dword [rsp + 0x34], 0x3f4
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14005ccc0
add rsp, 0x1068
ret

Function at 0x140043680
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x140043790
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400437f0
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rcx, [0x140097ec0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14004384c
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x20]
jmp 0x14004385c
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x38
ret
Function at 0x140044da0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x168
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x28], 0
movzx eax, byte [0x1400c4970]
test eax, eax
je 0x140044dd2
jmp 0x140044efd
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140044e23
cmp dword [rsp + 0x34], 6
jae 0x140044dfe
mov byte [rsp + 0x20], 1
jmp 0x140044e03
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [0x1400c4971], al
movzx eax, byte [0x1400c4971]
test eax, eax
je 0x140044e23
jmp 0x140044ef6
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140044eef
lea rdx, str.EventWrite
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c4978], rax
cmp qword [0x1400c4978], 0
jne 0x140044e75
mov byte [0x1400c4971], 1
jmp 0x140044ef6
lea rdx, str.EventRegister
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [section..data], rax
cmp qword [section..data], 0
jne 0x140044eb1
lea rax, [fcn.140043de0]
mov qword [section..data], rax
mov byte [0x1400c4971], 1
jmp 0x140044ef6
lea rdx, str.EventUnregister
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400c4980], rax
cmp qword [0x1400c4980], 0
jne 0x140044eed
lea rax, [fcn.140043de0]
mov qword [section..data], rax
mov byte [0x1400c4971], 1
jmp 0x140044ef6
jmp 0x140044ef6
mov byte [0x1400c4971], 1
mov byte [0x1400c4970], 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14005ccc0
add rsp, 0x168
ret

Function at 0x14004aad0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdx, qword [str.https:__browser.qq.com_new_common_aisee.html]
lea rcx, [rsp + 0x78]
call fcn.140008a8c
nop
lea rcx, [rsp + 0x58]
call fcn.140004f40
nop
mov r9d, 0x20019
lea r8, [0x140098380]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14001077c
nop
lea r8, [rsp + 0x58]
lea rdx, [0x140098378]
lea rcx, [rsp + 0x40]
call fcn.1400108d0
mov rax, qword [rsp + 0xb0]
add rax, 8
mov edx, 6
mov rcx, rax
call fcn.14004c880
lea rcx, [rsp + 0x78]
call fcn.140005d7c
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
call fcn.140005d7c
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x30]
mov r9, rcx
mov r8, rax
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
call fcn.14001072c
nop
lea rcx, [rsp + 0x58]
call fcn.140006340
nop
lea rcx, [rsp + 0x78]
call fcn.140006340
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14005ccc0
add rsp, 0xa8
ret
Function at 0x14004d4f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x30], 0
lea rdx, str.3C6D43EA_1F61_4b46_90C4_1AA48B9C887EQQBrowser
lea rcx, [rsp + 0x80]
call fcn.140008a8c
nop
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x2d0]
call fcn.14004d7f0
movzx eax, al
test eax, eax
jne 0x14004d598
lea rdx, str.4E664341_50B2_42BB_B78A_13899543710FQQBrowser
lea rcx, [rsp + 0x60]
call fcn.140008a8c
nop
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x2d0]
call fcn.14004d7f0
movzx eax, al
test eax, eax
jne 0x14004d598
mov dword [rsp + 0x38], 0
jmp 0x14004d5a0
mov dword [rsp + 0x38], 1
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x14004d5c4
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x60]
call fcn.140006340
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x14004d5e1
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x80]
call fcn.140006340
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x14004d5f1
xor al, al
jmp 0x14004d6ba
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2d0]
call fcn.14004d940
nop
lea rdx, str.QQBrowserLiveup.exe
lea rcx, [rsp + 0x40]
call fcn.140009928
lea rcx, [rsp + 0x40]
call fcn.140005d7c
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14004d642
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x40]
call fcn.140006340
movzx eax, byte [rsp + 0x35]
jmp 0x14004d6ba
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.140005d7c
mov rcx, qword [rsp + 0x2d8]
mov qword [rsp + 0x20], rcx
lea r9, str._fixdlghwnd
mov r8, rax
lea rdx, str.__s___s__p
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, 0x2bf20
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x2d0]
call fcn.14004d9d0
mov byte [rsp + 0x36], al
lea rcx, [rsp + 0x40]
call fcn.140006340
movzx eax, byte [rsp + 0x36]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14005ccc0
add rsp, 0x2c0
pop rdi
ret

Function at 0x14004d7f0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x48]
call fcn.140005d7c
mov r8, rax
xor edx, edx
mov ecx, 0x20000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14004d830
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14004d850
cmp qword [rsp + 0x20], 0
je 0x14004d843
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], 0
mov al, 1
jmp 0x14004d852
xor al, al
add rsp, 0x38
ret
Function at 0x14004d860
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140008a8c
nop
lea rdx, [0x1400987d0]
lea rcx, [rsp + 0x38]
call fcn.140009928
lea rdx, [0x1400987d8]
lea rcx, [rsp + 0x38]
call fcn.140009928
lea rdx, str.Liveup_
lea rcx, [rsp + 0x38]
call fcn.140009928
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x298]
call fcn.14000eec8
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call fcn.140006340
mov rax, qword [rsp + 0x298]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14005ccc0
add rsp, 0x288
ret

Function at 0x14004d9d0
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov byte [rsp + 0x50], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140061fe0
mov dword [rsp + 0x80], 0x68
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140061fe0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x108]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14004da77
xor al, al
jmp 0x14004db4d
mov dword [rsp + 0x54], 0
mov edx, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x14004daf1
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x54], 1
jne 0x14004dab8
mov byte [rsp + 0x50], 1
movzx eax, byte [rsp + 0x50]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x110]
mov edx, eax
mov ecx, 0x1775
call fcn.1400296d0
jmp 0x14004db32
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x110]
mov ecx, 0x1776
call fcn.1400296d0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x50]
add rsp, 0xf8
ret