joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023d80
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140023f2e
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140155808]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140155818]
lea rdx, [rdi + rdi]
call fcn.1400238b0
mov rax, qword [0x140155808]
lea r9, [rdi - 1]
mov qword [0x140155830], r9
mov qword [0x140155838], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140023f23
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140155818]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140023e6f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140023ee4
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140023eac
mov r10, qword [rdx]
cmp r10, rax
je 0x140023ea6
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140023ee4
cmp r9, rdx
je 0x140023ec0
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140023ef8
cmp r9, rdx
jne 0x140023eb1
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140023f1e
mov r9, qword [0x140155830]
jmp 0x140023e20
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140023ee4
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.14008aa10
int3
Function at 0x14004b990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14014e0c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x14004b9d0
cmp al, 0x25
jne 0x14004b9c4
cmp byte [r8 + 1], al
jne 0x14004b9d0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x14004b9b7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14004bb2d
cmp byte [r8 + 1], dl
je 0x14004bb2d
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004ba0d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14004ba35
sub dl, 0x61
cmp dl, 0x19
ja 0x14004ba27
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14004ba35
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14004b9f0
jmp 0x14004ba38
inc r9
cmp r8, r9
jae 0x14004ba6f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14004ba64
bt rdx, rax
jb 0x14004ba6a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14004ba50
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
movq r9, xmm3
call fcn.14000b7a0
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x14004baa8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x14004baa0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14004bb1c
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x14004bac8
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14004bb0a
movss xmm2, dword [0x140137200]
cmp al, 0x39
ja 0x14004bb0a
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x14004bae4
cmp r8b, 0x2d
jne 0x14004bb28
xorps xmm1, xmmword [0x140137810]
movaps xmm0, xmm1
jmp 0x14004bb30
call fcn.14009ecec
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004bb30
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14008bef0
add rsp, 0xa0
pop rbx
ret
Function at 0x14004bb50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14014e0c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x14004bb90
cmp al, 0x25
jne 0x14004bb84
cmp byte [r8 + 1], al
jne 0x14004bb90
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x14004bb77
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14004bce7
cmp byte [r8 + 1], dl
je 0x14004bce7
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004bbcd
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14004bbf5
sub dl, 0x61
cmp dl, 0x19
ja 0x14004bbe7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14004bbf5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x14004bbb0
jmp 0x14004bbf8
inc r9
cmp r8, r9
jae 0x14004bc2f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x14004bc24
bt rdx, rax
jb 0x14004bc2a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x14004bc10
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.14000b7a0
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x14004bc68
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x14004bc60
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14004bcda
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x14004bc88
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x14004bcc8
movsd xmm2, qword [0x1401371a8]
cmp al, 0x39
ja 0x14004bcc8
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x14004bca4
cmp r8b, 0x2d
jne 0x14004bce2
xorps xmm1, xmmword [0x140137800]
movaps xmm0, xmm1
jmp 0x14004bcea
call fcn.14009ecec
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004bcea
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14008bef0
add rsp, 0xa0
pop rbx
ret
Function at 0x1400561b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14014e0c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1400bb240
mov dword [rsp + 0x58], 0x104
call fcn.140055470
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov r8d, 0x1a
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x20]
call fcn.140002240
nop
call fcn.1400709e0
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
cmp rsi, 0xf
cmova rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140056293
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140056280
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.140055d90
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400562b8
cmp rdx, qword [r15 + 8]
je 0x1400562b8
mov rdi, qword [rdx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp rsi, 0xf
jbe 0x1400562fa
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400562f2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563eb
mov rcx, rbx
call fcn.14008c150
test rdi, rdi
je 0x140056318
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
xor edx, edx
call rdi
jmp 0x14005632a
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140056350
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140053f30
nop
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.1400560a0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400563b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400563b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400563e5
call fcn.14008c150
mov rax, r12
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14008bef0
lea r11, [rsp + 0x280]
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.140092238
int3
call fcn.140092238
int3
Function at 0x140059180
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x14014e0c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.1400bb240
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x14005926e
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x14005926e
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x14005926e
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x14005926e
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x14005926e
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x140059270
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008bef0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140059720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rdi
push r12
sub rsp, 0xd0
mov rax, qword [0x14014e0c0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbp, rcx
movsxd r12, r8d
lea rcx, [rsp + 0x60]
call fcn.140055f90
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140056640
xor edi, edi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x90], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0xa0], r12d
cmp rdx, 7
jbe 0x1400597e1
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400597d2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400599d4
call fcn.14008c150
movups xmm1, xmmword [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x100], rbx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0xc8], rsi
movq rax, xmm1
mov qword [rsp + 0xc0], r13
movabs rbx, 0xcbf29ce484222325
mov qword [rsp + 0xb8], r14
mov r9, rbx
movq r14, xmm0
mov qword [rsp + 0xb0], r15
movdqa xmm0, xmm1
lea rsi, [rax + rax]
psrldq xmm0, 8
mov rcx, rdi
movq r15, xmm0
movabs r13, 0x100000001b3
cmp r15, 7
cmova rdx, r14
test rsi, rsi
je 0x140059873
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r13
cmp rcx, rsi
jb 0x140059860
xor r9, r12
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x18]
call fcn.14005ac90
cmp qword [rax + 8], rdi
je 0x140059953
cmp r15, 7
lea rcx, [rsp + 0x80]
cmova rcx, r14
test rsi, rsi
je 0x1400598c3
nop dword [rax + rax]
movzx eax, byte [rcx + rdi]
inc rdi
xor rbx, rax
imul rbx, r13
cmp rdi, rsi
jb 0x1400598b0
xor rbx, r12
lea r8, [rsp + 0x80]
mov r9, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x18]
call fcn.14005ac90
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x140059953
mov rdx, qword [rbp + 0x48]
and rdx, rbx
shl rdx, 4
add rdx, qword [rbp + 0x30]
mov rax, qword [rdx]
cmp qword [rdx + 8], rdi
jne 0x14005991c
cmp rax, rdi
jne 0x140059912
mov rax, qword [rbp + 0x20]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140059927
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
jmp 0x140059927
cmp rax, rdi
jne 0x140059927
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
lea rcx, [rdi + 0x10]
dec qword [rbp + 0x28]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
call fcn.14005ad70
mov edx, 0x48
mov rcx, rdi
call fcn.14008c150
mov r13, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0x100]
cmp r15, 7
jbe 0x1400599a2
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14005999a
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400599ce
mov rcx, r14
call fcn.14008c150
mov r14, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14008bef0
add rsp, 0xd0
pop r12
pop rdi
pop rbp
ret
call fcn.140092238
int3
call fcn.140092238
int3
Function at 0x14005c710
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x14005c73c
jle 0x14005c738
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005c751
jle 0x14005c74d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005c764
jle 0x14005c761
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14005c779
jle 0x14005c775
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x14005c7d8
lea rax, [rbx + 0xf8]
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 7
jbe 0x14005c79b
mov rax, qword [rax]
mov word [rax], si
cmp byte [rbx + 0x1c], sil
je 0x14005c7c0
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14005c7b8
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14005c7c7
add rbx, 0x118
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 7
jbe 0x14005c7d5
mov rbx, qword [rbx]
mov word [rbx], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005d670
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14014e0c0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.1400bb240
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], 0x38
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
lea r8, [rsi + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14005d8d0
mov r14, rax
test rax, rax
je 0x14005d88f
test rdi, rdi
jne 0x14005d820
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.1400bb240
lea rdx, [rbp + 0x190]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14005d74e
mov eax, 0xc0150002
jmp 0x14005d891
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
jle 0x14005d80f
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rsi + 0x118]
lea rax, [rbp - 0x70]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14005d7c6
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x14005d803
mov r14, rcx
cmp rax, 7
jbe 0x14005d7e5
mov r14, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.1400bab00
mov word [rdi + r14], bx
jmp 0x14005d80d
lea r9, [rbp - 0x70]
call fcn.1400540f0
nop
jmp 0x14005d849
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14005d891
mov dword [rsp + 0x44], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0x118]
call fcn.1400534d0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x14005d872
test rcx, rcx
jle 0x14005d86b
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x14005d88f
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14005d8b7
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14008bef0
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14005d891
Function at 0x140065820
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14014e0c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
lea r9, [rsp + 0x48]
xor esi, esi
add rcx, 0x78
mov edx, 0x18
mov qword [rsp + 0x48], rsi
mov r8d, 8
call fcn.140062ec0
cmp qword [rsp + 0x48], rsi
je 0x140065921
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov r8, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400658b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x1400658e7
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rbx + 0x88]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x140065921
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140065934
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400659d8
call fcn.1400630d0
test al, al
je 0x1400659d8
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14006598a
jle 0x140065986
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x1400659ca
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400659ca
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400659ca
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400659d8
call fcn.140062d80
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008bef0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14006ff20
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14014e0c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jg 0x14006ff92
jmp 0x1400700c8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4c], xmm0
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x48], 0x1c
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400700be
lea r12, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov rsi, qword [rbp]
mov eax, dword [rsi + 8]
cmp dword [rsp + 0x54], eax
jne 0x1400700a8
mov ecx, 0x28
call fcn.14008c184
mov r14, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r12
lea r15, [rax + 0x10]
mov r8d, dword [rsp + 0x50]
mov qword [r15], rsi
mov dword [r15 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
or dword [rsp + 0x20], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r14
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140070055
mov qword [rdx], r15
mov qword [rdx + 8], r14
movdqu xmmword [rsp + 0x28], xmm0
add qword [rdi + 8], 0x10
jmp 0x140070063
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.140070350
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400700a8
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400700a3
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400700a3
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14006ffc5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14008bef0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret