joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002310
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000bb90]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002330
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002338
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002330
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000238d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002384
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002330
add rax, 0x28
cmp rax, r9
jne 0x140002370
xor eax, eax
ret

Function at 0x140002390
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000bb90]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002450
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000bb90]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000246f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002478
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140007d30
Capabilities:
Read file on windows

Disassembly:
push r15
xor eax, eax
xor edx, edx
push r14
push r13
mov r13, rcx
mov ecx, 0x401
push r12
push rbp
xor ebp, ebp
push rdi
push rsi
push rbx
sub rsp, 0x458
lea rdi, [rsp + 0x4f]
mov dword [rsp + 0x48], edx
mov edx, 8
lea r14, [rsp + 0x48]
rep stosb byte [rdi], al
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, rax
lea rax, [rsp + 0x4f]
mov qword [rsp + 0x38], rax
xor eax, eax
mov rdx, qword [rsp + 0x38]
mov r9, r14
mov r8d, 0x400
mov qword [rsp + 0x20], rax
mov rcx, r13
mov esi, ebp
call r15
mov r12d, eax
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140007de8
mov rcx, rbx
lea edx, [rax + rbp]
mov r8d, 0x42
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ecx, dword [rsp + 0x48]
mov rbx, rax
lea rax, [rax + rsi]
mov rsi, qword [rsp + 0x38]
add ebp, ecx
mov rdi, rax
xor eax, eax
dec r12d
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x48]
rep stosb byte [rdi], al
je 0x140007d85
mov ecx, 0x200
mov rdi, rbx
call fcn.1400085d0
mov r8, rbp
mov rdx, rbx
mov r12, rax
mov rcx, rax
call fcn.140008470
mov rcx, r12
xor r8d, r8d
xor edx, edx
call fcn.140008710
xor eax, eax
mov rcx, rbp
rep stosb byte [rdi], al
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
add rsp, 0x458
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400088b0
Capabilities:
Reference http user-agent string

Disassembly:
push rbp
lea rax, str.Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
lea rbp, str.ntdll
push rdi
mov rcx, rbp
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x14000bb20]
mov rdi, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbx + 0x28], rax
lea rax, str.192.168.0.251
mov qword [rbx + 0x30], rax
xor eax, eax
mov dword [rbx + 0x38], 0x2329
mov dword [rbx + 0x4c], eax
call rdi
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlRandomEx
mov rcx, rax
call rsi
mov rcx, rbp
mov qword [rbx + 0x10], rax
call rdi
lea rdx, str.RtlGetVersion
mov rcx, rax
call rsi
mov qword [rbx + 0x18], rax
call fcn.140008860
lea rcx, str.AgentID________x_n
mov dword [rbx + 0x20], 3
mov edx, eax
mov dword [rbx], eax
call fcn.140009130
add rsp, 0x28
mov edx, 0x74616c6e
lea rcx, str.Magic_Value____x_n
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140009130
Function at 0x1440ed75c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1440ed766
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1440ed78f
pop rbp
sub rbp, 0x33
sub rbp, 0x40ed75c
sub rsp, 0x20
jmp 0x1440ed7ae
mov rax, 0x40ed75c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x31f6dcc8
xor byte [rax], dl
inc rax
dec rcx
jne 0x1440ed7cd
jmp 0x1440ed7e4
add byte [rcx + 0x21], 0x43
hlt
Function at 0x140681058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406811df
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 0x140681089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14068106f
add dl, dl
jne 0x140681096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406810f6
xor eax, eax
add dl, dl
jne 0x1406810a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406811ad
add dl, dl
jne 0x1406810b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406810c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406810d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406810dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406810ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14068107e
mov eax, 1
add dl, dl
jne 0x140681106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140681113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406810fb
sub eax, ebx
mov ebx, 1
jne 0x14068114c
mov ecx, 1
add dl, dl
jne 0x14068112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14068113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140681123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140681168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140681175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14068115d
cmp eax, 0x7d00
jae 0x14068119b
cmp eax, 0x500
jb 0x140681196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068107e
cmp eax, 0x7f
ja 0x14068119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14068107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406811d2
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 0x14068107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001e90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140016ea0
nop
jmp 0x140001ed9
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
ja 0x140001ef8
jmp 0x140001f9c
cmp dword [rsp + 0x68], 0x1000
jne 0x140001f1d
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x140001f1d
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x140001f1f
jmp 0x140001ec4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140001f55
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x140001f55
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x140001f5a
jmp 0x140001ec4
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x140001ec4
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x20]
jmp 0x140001f9e
xor eax, eax
add rsp, 0x88
ret

Function at 0x140003cb0
Capabilities:
Parse pe header

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

Function at 0x140009da4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140009e13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140009e13
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140009e13
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140009e13
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140009e13
cmp dword [rcx + 0x84], 0xe
jbe 0x140009e13
cmp dword [rcx + 0xf8], 0
je 0x140009e13
mov ecx, ebx
call fcn.140009ec4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140009ca0
nop
cmp dword [rbp + 0x20], 0
je 0x140009e61
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140009e6c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140009da4
Function at 0x140009fa8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140009da4
Function at 0x14000fe48
Capabilities:
Query environment variable

Disassembly:
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 esi, esi
mov rbx, rax
test rax, rax
jne 0x14000fe78
xor eax, eax
jmp 0x14000ff3b
mov rbp, rbx
cmp word [rax], si
je 0x14000fe9d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000fe84
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000fe80
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000fd68
movsxd r14, eax
test eax, eax
jne 0x14000fedb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000fe71
mov rcx, r14
call fcn.14000ccfc
mov rdi, rax
test rax, rax
jne 0x14000fef4
xor ecx, ecx
call fcn.14000aec4
jmp 0x14000fed0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000fd68
test eax, eax
jne 0x14000ff25
mov rcx, rdi
call fcn.14000aec4
jmp 0x14000ff2f
xor ecx, ecx
call fcn.14000aec4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400136e4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400136fa
mov al, 1
jmp 0x14001375a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001370b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140013758
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400106b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140013758
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140013758
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140013758
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001375a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140014730
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000ee38
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400147ba
cmp byte [rbp - 0x21], r15b
je 0x1400147b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400147f0
call fcn.14000b114
test eax, eax
jne 0x1400147dc
cmp byte [rbp - 0x21], r15b
je 0x1400147d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400147f0
cmp byte [rbp - 0x21], r15b
je 0x1400147ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000e418
test eax, eax
jne 0x140014890
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000ee38
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001482f
cmp byte [rbp - 0x21], r15b
je 0x140014864
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140014864
call fcn.14000b114
test eax, eax
jne 0x140014850
cmp byte [rbp - 0x21], r15b
je 0x140014849
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140014864
cmp byte [rbp - 0x21], r15b
je 0x140014861
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000e418
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140014890
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140014893
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400148a1
mov rcx, rdi
call fcn.14000aec4
cmp byte [rbp + 0x3f], r15b
je 0x1400148b0
mov rcx, qword [rbp + 0x27]
call fcn.14000aec4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140016b80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016ba8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140016ba8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001500
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov ecx, 8
call fcn.140001b20
lea rcx, [0x140001280]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140001ac0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001675
mov ecx, 8
call fcn.140001b20
lea rcx, [0x140001480]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140001ac0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140001665
cmp dword [rsp + 0x38], ebx
je 0x140001659
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
je 0x14000164d
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001641
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x58], eax
je 0x140001659
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x58], eax
je 0x14000164d
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001641
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
cmp dword [rsp + 0x38], eax
je 0x14000162c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140001b00
add rsp, 0x70
pop rbx
ret
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400024a0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov qword [rsp + 0x48], rsi
movdqa xmm0, xmmword [0x7ff7cd6d89c0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdx, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
inc rdx
lea rcx, [rsp + 0x20]
call fcn.7ff7cd6913a4
nop
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub r8, rdx
sar r8, 1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rbx, qword [rsp + 0x20]
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov rcx, rbx
call fcn.7ff7cd6c75dc
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.7ff7cd69129c
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x7ff7cd6924e3
mov rax, qword [rsp + 0x30]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7cd6924dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7cd692505
call fcn.7ff7cd6c1e6c
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.7ff7cd6c1f80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.7ff7cd6c7564
nop
int3
Function at 0x7ff7cd6987c8
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x7ff7cd6f5b40], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x7ff7cd698828
movdqa xmm0, xmmword [0x7ff7cd6d8b70]
movdqa xmm1, xmmword [0x7ff7cd6d8b60]
movdqa xmmword [0x7ff7cd6ec900], xmm0
movdqa xmm0, xmmword [0x7ff7cd6d8b40]
movdqa xmmword [0x7ff7cd6ec910], xmm1
movdqa xmm1, xmmword [0x7ff7cd6d8b50]
movdqa xmmword [0x7ff7cd6ec920], xmm0
movdqa xmmword [0x7ff7cd6ec930], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.7ff7cd6c3950
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x7ff7cd6d8b20]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x7ff7cd698844
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x7ff7cd699df0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x7ff7cd699e16
movzx r9d, byte [rdx]
inc rdx
movzx eax, cl
xor r9, rax
shr ecx, 8
lea rax, [0x7ff7cd6ec940]
xor ecx, dword [rax + r9*4]
sub r8, 1
jne 0x7ff7cd699df5
mov eax, ecx
ret

Function at 0x7ff7cd69a078
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [str.U6_Bm]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp dword [rcx], 2
lea rbx, [rcx + 4]
mov rsi, rdx
mov rdi, rcx
mov r14d, 0x20
jne 0x7ff7cd69a110
and qword [r11 - 0x58], 0
lea r9d, [r14 - 0x1c]
and qword [r11 - 0x60], 0
lea r8, [r11 - 0x48]
mov eax, dword [rbx]
mov edx, r14d
and qword [r11 - 0x68], 0
mov rcx, rsi
and qword [r11 - 0x70], 0
mov dword [rsp + 0x50], eax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x78], rax
call fcn.7ff7cd69aa5c
xor r9d, r9d
lea r10, [rsp + 0x58]
xor r8d, r8d
movzx edx, byte [r10]
mov ecx, r9d
and ecx, 3
inc r9d
shl ecx, 3
inc r10
shl edx, cl
xor edx, r8d
mov r8d, edx
cmp r9d, r14d
jb 0x7ff7cd69a0ee
mov dword [rbx], edx
cmp dword [rdi], 3
jne 0x7ff7cd69a158
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
and qword [rsp + 0x38], 0
mov r9, r14
and qword [rsp + 0x30], 0
mov r8, rbx
and qword [rsp + 0x28], 0
mov rdx, r14
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.7ff7cd69aa5c
mov r8, r14
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.7ff7cd6c32a0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.7ff7cd6c1f80
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret