joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033330
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x140176a70]
lea r10, [0x140145eb0]
movsxd r9, ecx
mov rbx, qword [r8 + 0x3ea8]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x3edc], edi
jne 0x1400333d5
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.14003b670
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x140033409
inc r8d
test ecx, ecx
je 0x1400333f2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400333f7
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14003c660
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140034fc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140176a70]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140035021
cmp byte [rbx + 0x424e], 0
jne 0x140035021
movsx r9d, word [rbx + 0x532e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400261a0
test dil, 1
je 0x140035148
jmp 0x1400350aa
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x532e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140154a8c]
mulss xmm1, dword [0x140154a70]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x140154990]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.1400261a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140035100
lea r11, [0x140145eb0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400350e3
cmp byte [r8], r9b
jne 0x1400350e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400350d0
not ecx
call fcn.14002dfd0
test rax, rax
je 0x140035148
cmp byte [rax + 0x8e], 0
je 0x140035148
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x532e]
mov edx, 0x10
movsx r9d, word [rbx + 0x532e]
call fcn.1400261a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400306c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a3fe0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140067f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r10, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140067f86
lea rax, [r10 + 1]
cmp cl, 0x25
jne 0x140067f76
cmp byte [rax], cl
jne 0x140067f86
cmp cl, cl
cmovne rax, r10
movzx ecx, byte [rax + 1]
lea r10, [rax + 1]
test cl, cl
jne 0x140067f67
cmp byte [r10], 0x25
jne 0x1400680a9
cmp byte [r10 + 1], 0x25
je 0x1400680a9
mov rcx, r10
lea r11, [rsp + 0x20]
call fcn.1400591e0
mov r8, rax
cmp r10, rax
jae 0x140067fe0
movabs r9, 0x800000000000009
nop word [rax + rax]
movzx edx, byte [r10]
inc r10
lea ecx, [rdx - 0x24]
cmp cl, 0x3b
ja 0x140067fd5
bt r9, rcx
jb 0x140067fdb
mov byte [r11], dl
inc r11
cmp r10, r8
jb 0x140067fc0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.1400261a0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140068018
inc rcx
cmp byte [rcx], 0x20
je 0x140068010
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140068098
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140068033
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140068049
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140068086
movss xmm2, dword [0x140154a78]
cmp al, 0x39
ja 0x140068086
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140068060
cmp r9b, 0x2d
jne 0x1400680a4
xorps xmm1, xmmword [0x140154f60]
movaps xmm0, xmm1
jmp 0x1400680ac
call fcn.1400ba224
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400680ac
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a3fe0
add rsp, 0x90
pop rbx
ret
Function at 0x1400680d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r10, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140068116
lea rax, [r10 + 1]
cmp cl, 0x25
jne 0x140068106
cmp byte [rax], cl
jne 0x140068116
cmp cl, cl
cmovne rax, r10
movzx ecx, byte [rax + 1]
lea r10, [rax + 1]
test cl, cl
jne 0x1400680f7
cmp byte [r10], 0x25
jne 0x140068233
cmp byte [r10 + 1], 0x25
je 0x140068233
mov rcx, r10
lea r11, [rsp + 0x20]
call fcn.1400591e0
mov r8, rax
cmp r10, rax
jae 0x140068170
movabs r9, 0x800000000000009
nop word [rax + rax]
movzx edx, byte [r10]
inc r10
lea ecx, [rdx - 0x24]
cmp cl, 0x3b
ja 0x140068165
bt r9, rcx
jb 0x14006816b
mov byte [r11], dl
inc r11
cmp r10, r8
jb 0x140068150
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.1400261a0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400681a8
nop dword [rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400681a0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140068226
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400681c3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1400681d9
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140068214
movsd xmm2, qword [0x140154a20]
cmp al, 0x39
ja 0x140068214
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400681f0
cmp r9b, 0x2d
jne 0x14006822e
xorps xmm1, xmmword [0x140154f50]
movaps xmm0, xmm1
jmp 0x140068236
call fcn.1400ba224
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140068236
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a3fe0
add rsp, 0x90
pop rbx
ret
Function at 0x140072360
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 r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rcx
mov qword [rsp + 0x58], rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1400a6a20
mov dword [rsp + 0x58], 0x104
call fcn.1400716a0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r8d, [rbx + 0x1a]
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x20]
call fcn.1400025f0
nop
call fcn.14008abf0
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov ecx, ebx
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140072435
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140072422
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140071f60
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14007245a
cmp rdx, qword [rsi + 8]
je 0x14007245a
mov rbx, qword [rdx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0x20]
call fcn.140002500
test rbx, rbx
je 0x14007248d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
xor edx, edx
call rbx
jmp 0x14007249f
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 dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400724c0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400701c0
nop
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140072270
nop
lea rcx, [rsp + 0x20]
call fcn.14006fae0
mov rax, r14
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a3fe0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140074ca0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x14016f0a8]
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.1400a6a20
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x140074d8e
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 0x140074d8e
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x140074d8e
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x140074d8e
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 0x140074d8e
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x140074d90
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400a3fe0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret

Function at 0x140075150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rcx
movsxd rsi, r8d
lea rcx, [rsp + 0x40]
call fcn.140072160
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140072780
xor edi, edi
lea rcx, [rsp + 0x60]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov dword [rsp + 0xa0], esi
call fcn.14006fae0
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x80]
movdqa xmm0, xmm1
movq rcx, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
movabs rax, 0xcbf29ce484222325
lea r8, [rcx + rcx]
cmovae rdx, qword [rsp + 0x20]
test r8, r8
je 0x140075233
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx ecx, byte [rdi + rdx]
inc rdi
xor rax, rcx
imul rax, r9
cmp rdi, r8
jb 0x140075220
mov r9, rsi
lea r8, [rsp + 0x80]
xor r9, rax
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x18]
call fcn.1400763e0
cmp qword [rax + 8], 0
je 0x140075267
lea rdx, [rsp + 0x80]
lea rcx, [rbx + 0x18]
call fcn.140075650
lea rcx, [rsp + 0x80]
call fcn.14006fae0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400a3fe0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140075650
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov r8, rdx
mov r10, qword [rdx + 0x10]
mov rdi, rcx
mov r9, rdx
jb 0x140075671
mov r9, qword [rdx]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x1400756a4
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r10
jb 0x140075690
movsxd r9, dword [r8 + 0x20]
mov rcx, rdi
xor r9, rdx
lea rdx, [rsp + 0x20]
call fcn.1400763e0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14007573c
mov rdx, qword [rdi + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400756f5
cmp rax, rbx
jne 0x1400756eb
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140075700
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140075700
cmp rax, rbx
jne 0x140075700
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rdi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.1400764c0
mov edx, 0x48
mov rcx, rbx
call fcn.1400a4250
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140077d80
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 0x140077dac
jle 0x140077da8
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140077dc1
jle 0x140077dbd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140077dd4
jle 0x140077dd1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140077de9
jle 0x140077de5
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 0x140077e55
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x140077e0e
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x140077e3a
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140077e32
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140077e41
add rbx, 0x118
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x140077e4e
mov rax, qword [rbx]
mov qword [rbx + 0x10], rsi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140078b90
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14016f0a8]
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.1400a6a20
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.140078df0
mov r12, rax
test rax, rax
je 0x140078da4
test rdi, rdi
jne 0x140078d22
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.1400a6a20
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 0x140078c74
mov eax, 0xc0150002
jmp 0x140078da6
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
setg r14b
test rax, rax
jle 0x140078d0e
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14b, r14b
je 0x140078cd4
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 rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140078cf0
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.14006fb50
nop
jmp 0x140078d5e
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140078da6
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]
cmp rcx, rdx
je 0x140078d5e
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140078d59
mov rdx, qword [rdx]
call fcn.14006fb50
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x140078d87
test rcx, rcx
jle 0x140078d80
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x140078da4
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x140078dd1
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1400a3fe0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140078da6
Function at 0x14007ff50
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14016f0a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor esi, esi
lea r9, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x50], rsi
add rcx, 0x78
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
call fcn.14007d680
cmp qword [rsp + 0x50], rsi
je 0x14008004d
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
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 + 0x58]
test rcx, rcx
je 0x14007ffdc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x140080013
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 + 0x48], rsi
test rdx, rdx
je 0x14008004d
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x48]
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 0x140080060
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140080104
call fcn.14007d890
test al, al
je 0x140080104
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 0x1400800b6
jle 0x1400800b2
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 0x1400800f6
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400800f6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400800f6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140080104
call fcn.14007d550
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a3fe0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14008a2d0
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 [0x14016f0a8]
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
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jg 0x14008a340
jmp 0x14008a476
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 0x14008a46c
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 0x14008a456
mov ecx, 0x28
call fcn.1400a4284
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 0x14008a403
mov qword [rdx], r15
mov qword [rdx + 8], r14
movdqu xmmword [rsp + 0x28], xmm0
add qword [rdi + 8], 0x10
jmp 0x14008a411
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14008a6f0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008a456
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008a451
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 0x14008a451
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 0x14008a373
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a3fe0
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