joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ddaae10
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
movups xmmword [rsp + 0x30], xmm6
lea rax, fcn.6ddab0c0
mov r13d, dword [rsp + 0xc8]
mov edi, dword [rsp + 0xb8]
mov r14d, dword [rsp + 0xd0]
movsd xmm6, qword [rsp + 0xc0]
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
test r9, r9
mov qword [rcx], rax
lea rsi, [rbx + 0x30]
mov r12, r9
sete r15b
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov rcx, qword [rdx]
mov qword [rsp + 0x28], rsi
setne sil
test rcx, rcx
je 0x6ddaaf70
call fcn.6dd96940
mov rbp, rax
test rax, rax
je 0x6ddaaf90
mov rcx, rax
mov rdx, r12
call fcn.6dd9fe50
movq xmm0, qword [rsp + 0x28]
mov qword [rbx + 0x20], rbp
mov ecx, esi
mov qword [rbx + 0x40], 0
mov byte [rbx + 0x48], r15b
punpcklqdq xmm0, xmm0
movups xmmword [rbx + 0x30], xmm0
comisd xmm6, xmmword [0x6ddd55a8]
mov byte [rbx + 0x49], cl
mov byte [rbx + 0x4a], sil
mov byte [rbx + 0x4b], r14b
je 0x6ddaafd8
movsd xmm2, qword [0x6ddd55a0]
pxor xmm3, xmm3
mov byte [rbx + 0x58], 0
mov qword [rbx + 0x68], 0
mov qword [rbx + 0x70], 0
mov qword [rbx + 0x88], 0
mov byte [rbx + 0x90], 0
movsd qword [rbx + 0x50], xmm6
movsd qword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x78], xmm3
test sil, sil
jne 0x6ddaafc0
test edi, edi
mov r8d, 0x1e0
mov edx, 0x280
mov rcx, rbx
mov r9d, dword [rsp + 0xb0]
cmovne r8d, edi
test r9d, r9d
cmovne edx, dword [rsp + 0xb0]
movzx r9d, r13b
call fcn.6ddaa570
nop
movups xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, 0x52
lea r8, str.src_WindowPrivateData.cpp
lea rdx, str.world___nullptr
lea rcx, [0x6ddd53b0]
call fcn.6dd94aa0
movq xmm1, qword [rsp + 0x28]
mov byte [rbx + 0x48], r15b
xor ebp, ebp
xor ecx, ecx
mov qword [rbx + 0x20], 0
punpcklqdq xmm1, xmm1
mov qword [rbx + 0x40], 0
movups xmmword [rbx + 0x30], xmm1
jmp 0x6ddaaec1
mov rcx, qword [rbx + 0x20]
mov rdx, r12
call fcn.6dd9fe50
jmp 0x6ddaaf23
lea rcx, str.DPF_SCALE_FACTOR
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x6ddab010
call sub.msvcrt.dll_atof
movsd xmm2, qword [0x6ddd55a0]
movzx esi, byte [rbx + 0x4a]
movupd xmm6, xmm0
maxsd xmm6, xmm2
jmp 0x6ddaaee2
test rbp, rbp
je 0x6ddab030
mov rcx, rbp
call fcn.6dda14b0
movzx esi, byte [rbx + 0x4a]
movupd xmm6, xmm0
jmp 0x6ddaaeda
movsd xmm6, qword [0x6ddd55a0]
movzx esi, byte [rbx + 0x4a]
movupd xmm2, xmm6
jmp 0x6ddaaee2
Function at 0x6ddb33e0
Capabilities:
Log keystrokes via polling

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd0
movups xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0x90], xmm7
movups xmmword [rsp + 0xa0], xmm8
movups xmmword [rsp + 0xb0], xmm9
movups xmmword [rsp + 0xc0], xmm10
pxor xmm10, xmm10
pxor xmm9, xmm9
pxor xmm8, xmm8
pxor xmm6, xmm6
mov rax, qword [rcx + 0x10]
mov rbx, r8
mov qword [rsp + 0x28], r8
mov r12, rcx
mov edi, edx
mov rcx, qword [rax + 0x30]
cvtsi2sd xmm10, ebx
lea rdx, [rsp + 0x28]
sar rbx, 0x20
call qword [sym.imp.USER32.dll_ClientToScreen]
cvtsi2sd xmm6, ebx
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm0, xmm0
movsd xmm7, qword [0x6ddd5e30]
mov rsi, qword [sym.imp.USER32.dll_GetKeyState]
cvtsi2sd xmm0, eax
mov ecx, 0x10
cvtsi2sd xmm9, dword [rsp + 0x28]
cvtsi2sd xmm8, dword [rsp + 0x2c]
mulsd xmm7, xmm0
call rsi
mov ecx, 0x11
unpcklpd xmm6, xmm9
movsx ebx, ax
call rsi
shr ebx, 0x1f
mov ecx, 0x12
mov ebp, ebx
or ebp, 2
test ax, ax
unpcklpd xmm7, xmm10
cmovns ebp, ebx
call rsi
mov ecx, 0x5b
mov edx, ebp
or edx, 4
test ax, ax
cmovs ebp, edx
call rsi
mov ecx, 0x5c
mov ebx, ebp
or ebx, 8
test ax, ax
cmovns ebx, ebp
call rsi
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x38], xmm7
mov ecx, ebx
movups xmmword [rsp + 0x48], xmm6
or ecx, 8
test ax, ax
movsd qword [rsp + 0x58], xmm8
cmovs ebx, ecx
mov rcx, r12
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], 0
call fcn.6dd9f4f0
nop
movups xmm6, xmmword [rsp + 0x80]
movups xmm7, xmmword [rsp + 0x90]
movups xmm8, xmmword [rsp + 0xa0]
movups xmm9, xmmword [rsp + 0xb0]
movups xmm10, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x6ddb3570
Capabilities:
Log keystrokes via polling

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, qword [rsp + 0x90]
movsx edi, bx
shr rbx, 0x10
movsx ebx, bx
mov r12, rdx
mov r13d, r9d
mov rsi, rcx
mov dword [rsp + 0x28], edi
mov rax, qword [r12 + 0x10]
mov dword [rsp + 0x2c], ebx
mov ebp, r8d
lea rdx, [rsp + 0x28]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
test r13b, r13b
je 0x6ddb36a8
mov rcx, qword [r12 + 0x10]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.USER32.dll_SetCapture]
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm1, xmm1
mov edx, 0x10
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x6ddd5e30]
movsd qword [rsi + 8], xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
pxor xmm4, xmm4
mov dword [rsi], edx
pxor xmm5, xmm5
cvtsi2sd xmm3, dword [rsp + 0x2c]
mov ecx, 0x10
mov r13, qword [sym.imp.USER32.dll_GetKeyState]
cvtsi2sd xmm5, ebx
cvtsi2sd xmm2, dword [rsp + 0x28]
cvtsi2sd xmm4, edi
unpcklpd xmm2, xmm3
unpcklpd xmm4, xmm5
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm4
call r13
mov ecx, 0x11
movsx edi, ax
call r13
shr edi, 0x1f
mov ecx, 0x12
mov r12d, edi
or r12d, 2
test ax, ax
cmovns r12d, edi
call r13
mov ecx, 0x5b
mov r8d, r12d
or r8d, 4
test ax, ax
cmovs r12d, r8d
call r13
mov ecx, 0x5c
mov ebx, r12d
or ebx, 8
test ax, ax
cmovns ebx, r12d
call r13
mov dword [rsi + 0x34], ebp
mov r10d, ebx
or r10d, 8
test ax, ax
cmovs ebx, r10d
mov dword [rsi + 0x30], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.USER32.dll_ReleaseCapture]
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm0, xmm0
mov edx, 0x11
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x6ddd5e30]
movsd qword [rsi + 8], xmm0
jmp 0x6ddb35ee
Function at 0x1400013d9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140029bc0
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 0x140029917
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140029917
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140029917
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140029917
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140029917
cmp dword [rcx + 0x84], 0xe
jbe 0x140029917
cmp dword [rcx + 0xf8], 0
je 0x140029917
mov ecx, ebx
call fcn.140029aa8
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.14002960c
cmp dword [rbp + 0x20], 0
je 0x140029964
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002999c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400298b0

Function at 0x14000150f
Capabilities:
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x14000e4f0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
lea rcx, [0x1402110d9]
call fcn.1400043a4
mov eax, dword [rbp + 0x168]
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800e
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor r9d, r9d
mov r8d, 0x20
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea rcx, [rbp - 0x30]
lea rdx, [0x140094400]
call fcn.140003a44
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140001983
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14006cc28
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14009b0d0]
mov ecx, 3
lea r8, [0x14009b0c8]
lea rdx, str.FlsAlloc
call fcn.14006c2d4
test rax, rax
je 0x14006cc64
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140212020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140001fcd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140085510
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140203ca8]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x140206ec0]
test r9, r9
lea rdi, [0x14009704c]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x140085579
mov rax, 0xfffffffffffffffe
jmp 0x1400856c7
cmp word [r11 + 6], r10w
jne 0x1400855e8
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400855a3
test rsi, rsi
je 0x140085594
mov dword [rsi], r9d
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x1400856c7
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400855b1
mov r8b, 2
jmp 0x1400855cf
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400855bf
mov r8b, 3
jmp 0x1400855cf
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400856b5
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x140085611
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400856b5
cmp bl, bpl
jb 0x1400856b5
cmp bl, r8b
jae 0x1400856b5
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x14008563e
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400856b5
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x140085620
cmp r9, rbp
jae 0x14008566a
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x14008556d
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400856b5
cmp edx, 0x110000
jae 0x1400856b5
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400856b5
test rsi, rsi
je 0x1400856a8
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x1400856c7
mov qword [r11], r10
call fcn.14000231f
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002923
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002455
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14000f8bc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000f949
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14000f949
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f949
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000f930
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000f92a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000f932
add rdx, 0x28
jmp 0x14000f90f
xor edx, edx
test rdx, rdx
jne 0x14000f93b
xor al, al
jmp 0x14000f94f
cmp dword [rdx + 0x24], 0
jge 0x14000f945
xor al, al
jmp 0x14000f94f
mov al, 1
jmp 0x14000f94f
xor al, al
jmp 0x14000f94f
add rsp, 0x18
ret
Function at 0x140002554
Capabilities:
Create directory
Query environment variable

Disassembly:
jmp 0x14000ca40
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xd6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x140211091]
call fcn.1400043a4
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r8d, 0x100
lea rdx, [rbp + 0x10]
lea rcx, str.USERPROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rcx, [rbp + 0x10]
call fcn.140002775
test rax, rax
je 0x14000cacc
lea rdx, str.Links
lea rcx, [rbp + 0x10]
call fcn.140002c52
mov edx, 2
lea rcx, [rbp + 0x10]
call fcn.1400010eb
test eax, eax
jne 0x14000cacc
lea rax, [rbp + 0x10]
jmp 0x14000cc7f
lea rax, str.WindowsApps
mov qword [rbp + 0x128], rax
lea rax, str.Windows_NT
mov qword [rbp + 0x130], rax
lea rax, str.Windows_Mail
mov qword [rbp + 0x138], rax
lea rax, str.Windows__x86_
mov qword [rbp + 0x140], rax
lea rax, str.ESET
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x168], 0x18
mov qword [rbp + 0x170], 0
mov dword [rbp + 0x178], 0
lea rax, [rbp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov byte [rbp + 0x2b4], 0x5a
jmp 0x14000cb5c
movzx eax, byte [rbp + 0x2b4]
dec al
mov byte [rbp + 0x2b4], al
movsx eax, byte [rbp + 0x2b4]
cmp eax, 0x41
jl 0x14000cc45
movsx eax, byte [rbp + 0x2b4]
mov r8d, eax
lea rdx, str._c:_
lea rcx, [rbp + 0x1a0]
call fcn.14000273e
mov edx, 2
lea rcx, [rbp + 0x1a0]
call fcn.1400010eb
test eax, eax
jne 0x14000cc40
lea rax, [rbp + 0x128]
mov qword [rbp + 0x2d8], rax
mov rax, qword [rbp + 0x2d8]
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x2d8]
add rax, 0x28
mov qword [rbp + 0x318], rax
jmp 0x14000cbe4
mov rax, qword [rbp + 0x2f8]
add rax, 8
mov qword [rbp + 0x2f8], rax
mov rax, qword [rbp + 0x318]
cmp qword [rbp + 0x2f8], rax
je 0x14000cc2e
mov rax, qword [rbp + 0x2f8]
mov rax, qword [rax]
mov qword [rbp + 0x338], rax
mov rdx, qword [rbp + 0x338]
lea rcx, [rbp + 0x1a0]
call fcn.140002c52
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x14000cbd2
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x10]
call fcn.140002c52
jmp 0x14000cc45
jmp 0x14000cb4d
lea rcx, [rbp + 0x10]
call fcn.140002775
test rax, rax
je 0x14000cc6b
mov edx, 2
lea rcx, [rbp + 0x10]
call fcn.1400010eb
test eax, eax
jne 0x14000cc6b
lea rax, [rbp + 0x10]
jmp 0x14000cc7f
lea rdx, str.C:UsersPublicLinks
lea rcx, [rbp + 0x10]
call fcn.140002c52
lea rax, [rbp + 0x10]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140093de0]
call fcn.140003a44
mov rax, rdi
lea rsp, [rbp + 0x4d8]
pop rdi
pop rbp
ret
Function at 0x140002775
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140029190
mov rax, rcx
neg rcx
test rax, 7
je 0x1400291ad
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140029208
test al, 7
jne 0x1400291a0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400291c1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140029232
test dh, dh
je 0x14002922c
shr rdx, 0x10
test dl, dl
je 0x140029226
test dh, dh
je 0x140029220
shr rdx, 0x10
test dl, dl
je 0x14002921a
test dh, dh
je 0x140029214
shr edx, 0x10
test dl, dl
je 0x14002920e
test dh, dh
jne 0x1400291c1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140002aa4
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140028558
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140098008]
mov ecx, 2
lea r8, [0x140098000]
lea rdx, str.FlsGetValue
call fcn.140028028
mov ecx, ebx
test rax, rax
je 0x140028592
add rsp, 0x20
pop rbx
jmp qword [0x140212020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140002c02
Capabilities:
Query environment variable

Disassembly:
jmp 0x140074ffc
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1400750ce
mov rsi, rax
cmp word [rax], r14w
je 0x14007504f
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x140075037
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x140075033
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.140003693
movsxd rbp, eax
test eax, eax
je 0x1400750ce
mov rcx, rbp
call fcn.140001023
mov rdi, rax
test rax, rax
je 0x1400750c1
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140003693
test eax, eax
je 0x1400750c1
mov rsi, rdi
mov rdi, r14
jmp 0x1400750c4
mov rsi, r14
mov rcx, rdi
call fcn.140001177
jmp 0x1400750d1
mov rsi, r14
test rbx, rbx
je 0x1400750df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140002c16
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400284a8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140097fc8]
xor ecx, ecx
lea r8, [0x140097fc0]
lea rdx, str.FlsAlloc
call fcn.140028028
test rax, rax
je 0x1400284e1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140212020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x140002c93
Capabilities:
Get geographical location

Disassembly:
jmp 0x14006cec8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x14009b1b8]
mov rbp, rcx
lea r8, [0x14009b1b0]
lea rdx, str.GetLocaleInfoEx
mov ecx, VariantTimeToDosDateTime
call fcn.14006c2d4
mov rcx, rbp
test rax, rax
je 0x14006cf1e
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x140212020]
jmp 0x14006cf35
xor edx, edx
call fcn.1400024aa
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140002c9d
Capabilities:
Terminate process

Disassembly:
jmp 0x140011aa4
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]

Function at 0x140002e1e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140029b5c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400298b0

Function at 0x140003364
Capabilities:
Parse pe header

Disassembly:
jmp 0x14000fe64
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14000feaf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000feaf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000feaf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000feaf
cmp dword [rcx + 0x84], 0xe
jbe 0x14000feaf
cmp dword [rcx + 0xf8], 0
je 0x14000feaf
mov al, 1
jmp 0x14000feb1
xor al, al
add rsp, 0x28
ret
Function at 0x140003409
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14000cd40
push rbp
push rdi
sub rsp, 0x418
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x9e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x140211091]
call fcn.1400043a4
mov dword [rbp + 4], 0
lea rax, str.avp.exe
mov qword [rbp + 0x28], rax
lea rax, str.avpui.exe
mov qword [rbp + 0x30], rax
lea rax, str.360Tray.exe
mov qword [rbp + 0x38], rax
lea rax, str.360Safe.exe
mov qword [rbp + 0x40], rax
lea rax, str.ZhuDongFangYu.exe
mov qword [rbp + 0x48], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x90], 0x130
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call sub.KERNEL32.dll_Process32First
mov dword [rbp + 0x1d4], eax
cmp dword [rbp + 0x1d4], 0
je 0x14000ce82
lea rax, [rbp + 0x28]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x1f8]
add rax, 0x28
mov qword [rbp + 0x238], rax
jmp 0x14000ce26
mov rax, qword [rbp + 0x218]
add rax, 8
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x238]
cmp qword [rbp + 0x218], rax
je 0x14000ce67
mov rax, qword [rbp + 0x218]
mov rax, qword [rax]
mov qword [rbp + 0x258], rax
lea rdx, [rbp + 0xbc]
mov rcx, qword [rbp + 0x258]
call fcn.1400048ef
test eax, eax
jne 0x14000ce65
mov eax, 1
jmp 0x14000ce8f
jmp 0x14000ce14
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call sub.KERNEL32.dll_Process32Next
mov dword [rbp + 0x1d4], eax
jmp 0x14000cdda
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140003a44
mov rax, rdi
lea rsp, [rbp + 0x3f8]
pop rdi
pop rbp
ret
Function at 0x140003814
Capabilities:
Terminate process

Disassembly:
jmp 0x140068804
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14006881e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140003fdf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]

Function at 0x1400038cd
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14006ccdc
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14009b0f0]
mov ecx, 5
lea r8, [0x14009b0e8]
lea rdx, str.FlsGetValue
call fcn.14006c2d4
mov ecx, ebx
test rax, rax
je 0x14006cd16
add rsp, 0x20
pop rbx
jmp qword [0x140212020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]