joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007ca0
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14001cb60]
mov rax, qword [rbx]
mov r12, rcx
mov esi, edx
test rax, rax
je 0x140007d70
cmp qword [rax + 0x60], 0
jne 0x140007d90
lea rcx, [0x14001a298]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_lock
mov rcx, r12
call sym.__pthread_get_pointer
test rax, rax
je 0x140007da0
cmp qword [rax + 0x1d8], r12
jne 0x140007da0
test byte [rax + 0x40], 0xc
jne 0x140007da0
mov edx, dword [rax + 0xbc]
test edx, edx
jne 0x140007da0
mov rax, qword [rax + 0x28]
sub rax, 1
cmp rax, 0xfffffffffffffffd
ja 0x140007da0
mov rax, qword [rbx]
test rax, rax
je 0x140007e00
cmp qword [rax + 0x60], 0
jne 0x140007e20
lea rcx, [0x14001a298]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
test esi, esi
je 0x140007e30
lea edx, [rsi - 2]
cmp edx, 0x15
ja 0x140007e38
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp sym.pthread_cancel
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007ccb
test rax, rax
jne 0x140007d90
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007cd6
mov rax, qword [rbx]
test rax, rax
je 0x140007dd0
cmp qword [rax + 0x60], 0
jne 0x140007df0
lea rcx, [0x14001a298]
mov qword [rax + 0x60], rcx
call sym.pthread_mutex_unlock
mov eax, 3
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.__shmem3_winpthreads_tdm_init_local_region
mov r8, rax
mov rax, qword [rbx]
cmp qword [r8 + 0x60], 0
je 0x140007daf
test rax, rax
jne 0x140007df0
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007dba
call sym.__shmem3_winpthreads_tdm_init_local_region
cmp qword [rax + 0x60], 0
mov rax, qword [rbx]
je 0x140007d3a
test rax, rax
jne 0x140007e20
call sym.__shmem3_winpthreads_tdm_init_local_region
nop dword [rax]
mov rcx, qword [rax + 0x60]
jmp 0x140007d45
xor eax, eax
jmp 0x140007dc4
mov eax, 0x16
jmp 0x140007dc4
Function at 0x3c363f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.3c363f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x3c363f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3c363f06f
add dl, dl
jne 0x3c363f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3c363f0f6
xor eax, eax
add dl, dl
jne 0x3c363f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3c363f1ad
add dl, dl
jne 0x3c363f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3c363f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3c363f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3c363f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x3c363f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x3c363f07e
mov eax, 1
add dl, dl
jne 0x3c363f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3c363f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3c363f0fb
sub eax, ebx
mov ebx, 1
jne 0x3c363f14c
mov ecx, 1
add dl, dl
jne 0x3c363f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3c363f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3c363f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3c363f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x3c363f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3c363f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3c363f15d
cmp eax, 0x7d00
jae 0x3c363f19b
cmp eax, 0x500
jb 0x3c363f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3c363f07e
cmp eax, 0x7f
ja 0x3c363f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3c363f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x3c363f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x3c363f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140974058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409741df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140974089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097406f
add dl, dl
jne 0x140974096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409740f6
xor eax, eax
add dl, dl
jne 0x1409740a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409741ad
add dl, dl
jne 0x1409740b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409740c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409740d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409740dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409740ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14097407e
mov eax, 1
add dl, dl
jne 0x140974106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140974113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409740fb
sub eax, ebx
mov ebx, 1
jne 0x14097414c
mov ecx, 1
add dl, dl
jne 0x14097412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14097413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140974123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140974168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140974175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097415d
cmp eax, 0x7d00
jae 0x14097419b
cmp eax, 0x500
jb 0x140974196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097407e
cmp eax, 0x7f
ja 0x14097419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409741d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14097407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400032e0
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400133a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Create thread
Execute command

Disassembly:
jmp 0x140011c80
push rbp
push rsi
push rdi
sub rsp, 0x1c0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x1400220f3]
call fcn.140011398
nop
lea rax, [rbp + 8]
lea rcx, [0x14001ad20]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
mov qword [rbp + 0x38], 0
mov dword [rbp + 0x74], 0
jmp 0x140011cf0
mov eax, dword [rbp + 0x74]
inc eax
mov dword [rbp + 0x74], eax
movsxd rax, dword [rbp + 0x74]
cmp rax, 0xb
jae 0x140011d16
movsxd rax, dword [rbp + 0x74]
mov rcx, qword [rbp + 0x38]
movsx eax, byte [rcx + rax]
xor eax, 0x35
movsxd rcx, dword [rbp + 0x74]
mov rdx, qword [rbp + 0x38]
mov byte [rdx + rcx], al
jmp 0x140011ce8
mov dword [rbp + 0x94], 0
lea rax, [rbp + 0x54]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0xb8], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001acd0]
call fcn.140011334
mov eax, edi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1400111cc
lea rsp, [rbp + 0x190]
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400146f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014710
xor al, al
jmp 0x140014791
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014723
xor al, al
jmp 0x140014791
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001474d
xor al, al
jmp 0x140014791
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014761
xor al, al
jmp 0x140014791
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014773
xor al, al
jmp 0x140014791
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001478f
xor al, al
jmp 0x140014791
mov al, 1
add rsp, 0x38
ret
Function at 0x1400125e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113c0
movzx eax, al
test eax, eax
jne 0x140012600
mov ecx, 7
call fcn.14001133e
nop
mov byte [rsp + 0x20], 0
call fcn.140011352
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012624
mov ecx, 7
call fcn.14001133e
nop
jmp 0x14001267c
cmp dword [0x14001d868], 0
jne 0x140012677
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111b8
test eax, eax
je 0x140012658
mov eax, 0xff
jmp 0x140012781
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011348
mov dword [0x14001d868], 2
jmp 0x14001267c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132a
call fcn.1400112c1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400126d9
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x1400126d9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112f3
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001270d
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x14001270d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001137f
nop
call fcn.140012830
mov dword [rsp + 0x28], eax
call fcn.14001129e
movzx eax, al
test eax, eax
jne 0x14001272c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001273b
call fcn.140011389
nop
xor edx, edx
mov cl, 1
call fcn.140011159
mov eax, dword [rsp + 0x28]
jmp 0x140012781
add rsp, 0x68
ret
Function at 0x64440900058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.644409001df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x64440900089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6444090006f
add dl, dl
jne 0x64440900096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x644409000f6
xor eax, eax
add dl, dl
jne 0x644409000a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x644409001ad
add dl, dl
jne 0x644409000b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x644409000c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x644409000d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x644409000dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x644409000ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x6444090007e
mov eax, 1
add dl, dl
jne 0x64440900106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x64440900113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x644409000fb
sub eax, ebx
mov ebx, 1
jne 0x6444090014c
mov ecx, 1
add dl, dl
jne 0x6444090012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6444090013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x64440900123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6444090007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x64440900168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x64440900175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6444090015d
cmp eax, 0x7d00
jae 0x6444090019b
cmp eax, 0x500
jb 0x64440900196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6444090007e
cmp eax, 0x7f
ja 0x6444090019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6444090007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x644409001d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x6444090007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400ebe30
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov rdi, r8
lea rdx, [rsp + 0x20]
call fcn.1400ecf90
lea rcx, [rsp + 0x20]
mov r9d, 6
sub rbx, rcx
lea rax, [rsp + 0x20]
nop dword [rax]
movzx ecx, byte [rbx + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x1400ebe70
mov ecx, dword [rsp + 0x20]
lea r9, [rsp + 0x28]
movzx edx, byte [rsp + 0x21]
lea r10, [0x140308170]
movzx eax, cl
and cl, 3
shr al, 2
mov byte [rsp + 0x28], al
movzx eax, dl
shr al, 4
and dl, 0xf
shl cl, 4
or cl, al
shl dl, 2
mov byte [rsp + 0x29], cl
movzx ecx, byte [rsp + 0x22]
movzx eax, cl
and cl, 0x3f
shr al, 6
or dl, al
mov byte [rsp + 0x2b], cl
movzx ecx, byte [rsp + 0x23]
movzx eax, cl
mov byte [rsp + 0x2a], dl
movzx edx, byte [rsp + 0x24]
and cl, 3
shr al, 2
mov byte [rsp + 0x2c], al
movzx eax, dl
shr al, 4
and dl, 0xf
shl cl, 4
or cl, al
shl dl, 2
mov byte [rsp + 0x2d], cl
movzx ecx, byte [rsp + 0x25]
movzx eax, cl
and cl, 0x3f
shr al, 6
or dl, al
mov byte [rsp + 0x2f], cl
mov byte [rsp + 0x2e], dl
xor r8d, r8d
nop word [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
mov edx, ecx
mov eax, ecx
shr rax, 1
and edx, 1
and eax, 0xf
shl edx, 4
or rdx, rax
and ecx, 0x20
movzx eax, r8b
or rdx, rcx
shl rax, 6
inc r8d
add rdx, rax
movzx eax, byte [rdx + r10]
and al, 0xf
mov byte [r9 - 1], al
cmp r8d, 8
jl 0x1400ebf20
lea rdx, [rsp + 0x20]
mov r8d, 4
lea rcx, [rsp + 0x29]
movzx eax, byte [rcx - 1]
lea rdx, [rdx + 1]
shl al, 4
or al, byte [rcx]
lea rcx, [rcx + 2]
mov byte [rdx - 1], al
sub r8, 1
jne 0x1400ebf70
lea rcx, [rsp + 0x20]
call fcn.1400f0070
mov eax, dword [rsp + 0x20]
mov dword [rdi], eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401e3ce0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400f7130
Capabilities:
Get local ipv4 addresses

Disassembly:
test ecx, ecx
js 0x1400f7335
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15d, r8d
mov r12, rdx
mov r14d, ecx
test rdx, rdx
je 0x1400f731e
mov qword [rsp + 0x90], rbx
xor ebx, ebx
mov qword [rsp + 0x60], rdi
mov edi, ebx
mov dword [rsp + 0x34], ebx
mov qword [rsp + 0x68], rsi
nop dword [rax]
lea rax, [rsp + 0x34]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x1400f71ea
test rbx, rbx
je 0x1400f71b8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1400f71e4
inc edi
cmp edi, 5
jb 0x1400f7180
jmp 0x1400f72f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400f72f3
mov rsi, rbx
test rbx, rbx
je 0x1400f730c
mov qword [rsp + 0xa0], rbp
cmp dword [rsi + 0x64], r15d
jne 0x1400f72d9
cmp dword [rsi + 0x58], 0
jbe 0x1400f72d9
mov rcx, qword [rsi + 0x40]
lea rdx, str.Virtual
call fcn.14021c1b8
test rax, rax
jne 0x1400f72d9
mov rcx, qword [rsi + 0x40]
lea rdx, str.Bluetooth
call fcn.14021c1b8
test rax, rax
jne 0x1400f72d9
mov word [rsp + 0x30], ax
xorps xmm0, xmm0
mov byte [rsp + 0x32], al
mov word [rsp + 0x48], ax
movups xmmword [rsp + 0x38], xmm0
mov eax, dword [rsi + 0x58]
cmp r14d, eax
cmovb eax, r14d
test eax, eax
je 0x1400f72b3
lea rdi, [rsi + 0x50]
mov ebp, eax
nop word [rax + rax]
movzx r8d, byte [rdi]
lea rdx, str._02X
lea rcx, [rsp + 0x30]
call fcn.1400f44f0
lea r8, [rsp + 0x30]
mov edx, SafeArrayGetLBound
lea rcx, [rsp + 0x38]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
lea rdi, [rdi + 1]
sub rbp, 1
jne 0x1400f7280
lea rax, [rsp + 0x38]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp byte [rax + rdx], 0
jne 0x1400f72c0
inc rdx
lea r8, [rsp + 0x38]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
mov rax, qword [rsi + 8]
mov rsi, rax
test rax, rax
jne 0x1400f7206
mov rbp, qword [rsp + 0xa0]
jmp 0x1400f72f8
test rbx, rbx
je 0x1400f730c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e3ce0
add rsp, 0x70
pop r15
pop r14
pop r12
ret
Function at 0x1400fca30
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
xor eax, eax
mov dword [rsp + 0x80], 0x68
mov qword [rsp + 0x70], rax
xorps xmm1, xmm1
mov qword [rsp + 0xc4], rax
mov r10, r9
mov dword [rsp + 0xcc], eax
mov r11, r8
mov rax, qword [0x14039d970]
mov rbx, rdx
mov qword [rsp + 0xe0], rax
mov rdi, rcx
mov qword [rsp + 0xd8], rax
xorps xmm0, xmm0
mov rax, qword [0x14039d958]
xor r9d, r9d
mov qword [rsp + 0xd0], rax
mov r8, r10
movups xmmword [rsp + 0xb4], xmm1
mov rdx, r11
mov rcx, rbx
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
psrldq xmm1, 8
movd eax, xmm1
movups xmmword [rsp + 0x60], xmm0
bts eax, 8
mov dword [rsp + 0xbc], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
test eax, eax
je 0x1400fcb48
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x100]
add rsp, 0xf0
pop rdi
ret
lea rdx, str.CreateProcess
mov rcx, rdi
call fcn.1400fd500
int3
Function at 0x1400fd500
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x400
xor edx, edx
mov edi, eax
mov ecx, 0x1300
xor eax, eax
mov r8d, edi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax + 0x28]
add ecx, ebx
movsxd rdx, ecx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LocalSize]
mov rcx, qword [rsp + 0x60]
lea r8, str._s_failed_with_error__d:__s
mov qword [rsp + 0x28], rcx
mov r9, rsi
shr rax, 1
mov rcx, rbx
mov rdx, rax
mov dword [rsp + 0x20], edi
call fcn.140103d60
xor r9d, r9d
lea r8, [0x14029b860]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140114080
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
xor r14d, r14d
movzx edi, dl
mov ebx, r14d
mov rsi, rcx
movzx edx, dil
mov rcx, rsi
call fcn.140113550
cmp eax, 1
jne 0x1401140a1
lea ecx, [rax + 0x2f]
mov qword [rbp - 0x20], r14
add ebx, 0xea60
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], SafeArrayGetLBound
call fcn.1400d1570
mov qword [rbp - 8], 0x2f
cmp ebx, 0x2bf20
je 0x140114183
movups xmm0, xmmword [str.setWmiEventReceiver__1_start_sleep]
mov qword [rbp - 0x10], 0x24
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14029c6b8]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x14029c6c8]
mov dword [rax + 0x20], ecx
lea rcx, [rbp - 0x20]
mov byte [rax + 0x24], r14b
mov qword [rbp - 0x20], rax
call fcn.14017eab0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x30
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], SafeArrayGetLBound
call fcn.1400d1570
movups xmm0, xmmword [str.setWmiEventReceiver__1_end_sleep]
mov qword [rbp - 0x10], 0x22
mov qword [rbp - 8], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14029c6e0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x14029c6f0]
mov word [rax + 0x20], cx
lea rcx, [rbp - 0x20]
mov byte [rax + 0x22], r14b
mov qword [rbp - 0x20], rax
call fcn.14017eab0
jmp 0x1401140a1
movups xmm0, xmmword [str.setWmiEventReceiver_trycount__3_break]
mov qword [rbp - 0x10], 0x27
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14029c640]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x14029c650]
mov dword [rax + 0x20], ecx
movzx ecx, word [0x14029c654]
mov word [rax + 0x24], cx
movzx ecx, byte [0x14029c656]
mov byte [rax + 0x26], cl
lea rcx, [rbp - 0x20]
mov byte [rax + 0x27], r14b
mov qword [rbp - 0x20], rax
call fcn.14017eab0
mov edx, 2
lea rcx, str.setWmiEventReceiver_trycount__3
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
jmp fcn.14017f5f0