joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5abab0
Capabilities:
Hash data using sha256

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0xc0
vmovdqu xmm0, xmmword [0x0072d6c0]
vmovdqu xmm1, xmmword [0x0072d6d0]
lea rbx, [rsp + 0x5f]
and rbx, 0xffffffffffffffc0
mov rsi, rcx
mov rcx, rbx
mov qword [rbx + 0x60], 0
vmovups xmmword [rbx + 0x40], xmm0
vmovups xmmword [rbx + 0x50], xmm1
call fcn.005aaf80
mov rax, qword [rbx + 0x60]
mov ecx, eax
and ecx, 0x3f
lea edx, [rcx + 1]
mov byte [rbx + rcx], pe_nt_image_headers64
cmp edx, 0x38
jbe 0x5abbd8
mov ecx, edx
mov eax, 0x40
add rcx, rbx
sub eax, edx
mov edx, eax
je 0x5abb2a
xor eax, eax
mov r8d, eax
inc eax
mov byte [rcx + r8], 0
cmp eax, edx
jb 0x5abb1c
lea r12, [rbx + 0x40]
mov rdx, r12
mov rcx, rbx
call fcn.005a3ab0
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], 0
mov rax, qword [rbx + 0x60]
shl rax, 3
bswap rax
mov rdx, r12
mov rcx, rbx
mov qword [rbx + 0x38], rax
call fcn.005a3ab0
mov eax, dword [rbx + 0x40]
bswap eax
mov dword [rsi], eax
mov eax, dword [rbx + 0x44]
bswap eax
mov dword [rsi + 4], eax
mov eax, dword [rbx + 0x48]
bswap eax
mov dword [rsi + 8], eax
mov eax, dword [rbx + 0x4c]
bswap eax
mov dword [rsi + 0xc], eax
mov eax, dword [rbx + 0x50]
bswap eax
mov dword [rsi + 0x10], eax
mov eax, dword [rbx + 0x54]
bswap eax
mov dword [rsi + 0x14], eax
mov eax, dword [rbx + 0x58]
bswap eax
mov dword [rsi + 0x18], eax
mov eax, dword [rbx + 0x5c]
bswap eax
mov dword [rsi + 0x1c], eax
add rsp, 0xc0
pop rbx
pop rsi
pop r12
ret
mov ecx, 0x38
sub ecx, edx
xor r8d, r8d
add rdx, rbx
cmp ecx, 0x20
jae 0x5abc30
test cl, 0x10
jne 0x5abcc8
test cl, 8
jne 0x5abd00
test cl, 4
jne 0x5abca8
lea r12, [rbx + 0x40]
test ecx, ecx
je 0x5abb74
mov byte [rdx], 0
test cl, 2
jne 0x5abd1d
mov rax, qword [rbx + 0x60]
jmp 0x5abb74
mov eax, ecx
lea rax, [rdx + rax + 8]
mov qword [rdx], 0
mov qword [rax - 0x28], 0
mov qword [rax - 0x20], 0
mov qword [rax - 0x18], 0
mov qword [rax - 0x10], 0
lea rax, [rdx + 8]
and rax, 0xfffffffffffffff8
sub rdx, rax
add edx, ecx
and edx, 0xffffffe0
cmp edx, 0x20
jb 0x5abc98
and edx, 0xffffffe0
xor r9d, r9d
mov ecx, r9d
add r9d, 0x20
mov qword [rax + rcx], r8
mov qword [rax + rcx + 8], r8
mov qword [rax + rcx + 0x10], r8
mov qword [rax + rcx + 0x18], r8
cmp r9d, edx
jb 0x5abc79
mov rax, qword [rbx + 0x60]
lea r12, [rbx + 0x40]
jmp 0x5abb74
mov dword [rdx], 0
mov dword [rdx + rcx - 4], 0
lea r12, [rbx + 0x40]
mov rax, qword [rbx + 0x60]
jmp 0x5abb74
lea rax, [rdx + rcx + 0x10]
mov qword [rdx], 0
mov qword [rdx + 8], 0
mov qword [rax - 0x20], 0
mov qword [rax - 0x18], 0
lea r12, [rbx + 0x40]
mov rax, qword [rbx + 0x60]
jmp 0x5abb74
mov qword [rdx], 0
mov qword [rdx + rcx - 8], 0
lea r12, [rbx + 0x40]
mov rax, qword [rbx + 0x60]
jmp 0x5abb74
xor eax, eax
mov word [rdx + rcx - 2], ax
jmp 0x5abc1d
Function at 0x5c5d00
Capabilities:
Hash data using sha256

Disassembly:
mov eax, 0x6a09e667
vpbroadcastd zmm0, eax
mov eax, 0xbb67ae85
vmovdqu64 zmmword [rcx + 0x400], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x3c6ef372
vmovdqu64 zmmword [rcx + 0x440], zmm0
vpbroadcastd zmm0, eax
mov eax, 0xa54ff53a
vmovdqu64 zmmword [rcx + 0x480], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x510e527f
vmovdqu64 zmmword [rcx + 0x4c0], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x9b05688c
vmovdqu64 zmmword [rcx + 0x500], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x1f83d9ab
vmovdqu64 zmmword [rcx + 0x540], zmm0
vpbroadcastd zmm0, eax
mov eax, 0x5be0cd19
vmovdqu64 zmmword [rcx + 0x580], zmm0
vpbroadcastd zmm0, eax
mov qword [rcx + 0x600], 0
vmovdqu64 zmmword [rcx + 0x5c0], zmm0
vzeroupper
ret
Function at 0x5cb850
Capabilities:
Hash data using sha256

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
movsxd r8, r8d
call fcn.005abab0
mov r8d, 0x20
mov rdx, r12
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.005abab0
Function at 0x63edc0
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
mov rbx, rcx
and eax, 0x3f
lea ecx, [rax + 1]
mov byte [rbx + rax], pe_nt_image_headers64
mov eax, ecx
mov rsi, rdx
lea rdi, [rbx + 0x40]
add rax, rbx
cmp ecx, 0x20
jbe 0x63eed0
mov edx, 0x40
sub edx, ecx
xor r9d, r9d
cmp edx, 8
jb 0x63ef40
mov ecx, edx
dec edx
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x63ee27
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x63ee19
mov rdx, rdi
mov rcx, rbx
call fcn.0063c460
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x20], 0
mov rdx, rax
mov qword [rbx + 0x28], 0
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x30], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rdi
mov rcx, rbx
call fcn.0063c460
lea rax, [rsi + 0x20]
cmp rdi, rax
jae 0x63eea2
lea rax, [rbx + 0x60]
cmp rsi, rax
jb 0x63ef70
vmovdqu64 ymm1, ymmword [rbx + 0x40]
vmovdqu64 ymmword [rsi], ymm1
vmovdqu64 ymm0, ymmword [rbx + 0x60]
vmovdqu64 ymmword [rsi + 0x20], ymm0
vzeroupper
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
sub edx, ecx
xor r9d, r9d
cmp edx, 8
jb 0x63ef10
mov ecx, edx
dec edx
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x63ee51
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x63eefa
jmp 0x63ee51
test dl, 4
jne 0x63efb7
test edx, edx
je 0x63ee51
mov byte [rax], 0
test dl, 2
je 0x63ee51
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x63ee51
test dl, 4
jne 0x63efca
test edx, edx
je 0x63ee27
mov byte [rax], 0
test dl, 2
je 0x63ee27
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x63ee27
mov rax, qword [rbx + 0x40]
mov qword [rsi], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x58]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x78]
mov qword [rsi + 0x38], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x63ee51
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x63ee27
Function at 0x63f200
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
mov rbx, rcx
and eax, 0x3f
lea ecx, [rax + 1]
mov byte [rbx + rax], pe_nt_image_headers64
mov eax, ecx
mov rsi, rdx
lea rdi, [rbx + 0x40]
add rax, rbx
cmp ecx, 0x20
jbe 0x63f310
mov edx, 0x40
sub edx, ecx
xor r9d, r9d
cmp edx, 8
jb 0x63f380
mov ecx, edx
dec edx
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x63f267
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x63f259
mov rdx, rdi
mov rcx, rbx
call fcn.0063da80
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x20], 0
mov rdx, rax
mov qword [rbx + 0x28], 0
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x30], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rdi
mov rcx, rbx
call fcn.0063da80
lea rax, [rsi + 0x20]
cmp rdi, rax
jae 0x63f2e2
lea rax, [rbx + 0x60]
cmp rsi, rax
jb 0x63f3b0
vmovdqu64 ymm1, ymmword [rbx + 0x40]
vmovdqu64 ymmword [rsi], ymm1
vmovdqu64 ymm0, ymmword [rbx + 0x60]
vmovdqu64 ymmword [rsi + 0x20], ymm0
vzeroupper
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
sub edx, ecx
xor r9d, r9d
cmp edx, 8
jb 0x63f350
mov ecx, edx
dec edx
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x63f291
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x63f33a
jmp 0x63f291
test dl, 4
jne 0x63f3f7
test edx, edx
je 0x63f291
mov byte [rax], 0
test dl, 2
je 0x63f291
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x63f291
test dl, 4
jne 0x63f40a
test edx, edx
je 0x63f267
mov byte [rax], 0
test dl, 2
je 0x63f267
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x63f267
mov rax, qword [rbx + 0x40]
mov qword [rsi], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x58]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x78]
mov qword [rsi + 0x38], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x63f291
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x63f267
Function at 0x6ae844
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
xor rcx, rcx
mov ecx, edx
shr ecx, 6
mov rax, 0x40
movdqa xmm0, xmmword [rdi]
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm4, xmmword [rsi]
movdqa xmm5, xmmword [rsi + 0x10]
movdqa xmm8, xmmword [rsi + 0x20]
movdqa xmm9, xmmword [rsi + 0x30]
pxor xmm0, xmm4
pxor xmm1, xmm5
pxor xmm2, xmm8
pxor xmm3, xmm9
movdqa xmmword [rdi], xmm0
movdqa xmmword [rdi + 0x10], xmm1
movdqa xmmword [rdi + 0x20], xmm2
movdqa xmmword [rdi + 0x30], xmm3
add rdi, rax
add rsi, rax
dec ecx
jne 0x6ae862
mov rdi, r10
mov rsi, r11
ret

Function at 0x6ae8c0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
xor rcx, rcx
mov ecx, esi
shr ecx, 1
movdqa xmm0, xmmword [rdi]
movdqa xmm12, xmm0
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm13, xmm1
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm14, xmm2
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm15, xmm3
movdqa xmm4, xmm1
paddd xmm4, xmm0
movdqa xmm5, xmm4
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm3, xmm4
movdqa xmm4, xmm0
pxor xmm3, xmm5
paddd xmm4, xmm3
movdqa xmm5, xmm4
pslld xmm4, 9
psrld xmm5, 0x17
pxor xmm2, xmm4
movdqa xmm4, xmm3
pxor xmm2, xmm5
pshufd xmm3, xmm3, 0x93
paddd xmm4, xmm2
movdqa xmm5, xmm4
pslld xmm4, 0xd
psrld xmm5, 0x13
pxor xmm1, xmm4
movdqa xmm4, xmm2
pxor xmm1, xmm5
pshufd xmm2, xmm2, 0x4e
paddd xmm4, xmm1
movdqa xmm5, xmm4
pslld xmm4, 0x12
psrld xmm5, 0xe
pxor xmm0, xmm4
movdqa xmm4, xmm3
pxor xmm0, xmm5
pshufd xmm1, xmm1, 0x39
paddd xmm4, xmm0
movdqa xmm5, xmm4
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm1, xmm4
movdqa xmm4, xmm0
pxor xmm1, xmm5
paddd xmm4, xmm1
movdqa xmm5, xmm4
pslld xmm4, 9
psrld xmm5, 0x17
pxor xmm2, xmm4
movdqa xmm4, xmm1
pxor xmm2, xmm5
pshufd xmm1, xmm1, 0x93
paddd xmm4, xmm2
movdqa xmm5, xmm4
pslld xmm4, 0xd
psrld xmm5, 0x13
pxor xmm3, xmm4
movdqa xmm4, xmm2
pxor xmm3, xmm5
pshufd xmm2, xmm2, 0x4e
paddd xmm4, xmm3
movdqa xmm5, xmm4
pslld xmm4, 0x12
psrld xmm5, 0xe
pxor xmm0, xmm4
pshufd xmm3, xmm3, 0x39
pxor xmm0, xmm5
dec ecx
jne 0x6ae8fa
paddd xmm0, xmm12
movdqa xmmword [rdi], xmm0
paddd xmm1, xmm13
movdqa xmmword [rdi + 0x10], xmm1
paddd xmm2, xmm14
movdqa xmmword [rdi + 0x20], xmm2
paddd xmm3, xmm15
movdqa xmmword [rdi + 0x30], xmm3
mov rdi, r10
mov rsi, r11
ret
Function at 0x6aeaac
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
xor rcx, rcx
mov ecx, esi
shr ecx, 1
movdqa xmm0, xmmword [rdi]
movdqa xmm12, xmm0
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm13, xmm1
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm14, xmm2
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm15, xmm3
paddd xmm0, xmm1
pxor xmm3, xmm0
pshuflw xmm3, xmm3, 0xb1
pshufhw xmm3, xmm3, 0xb1
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm1, 0xc
psrld xmm4, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm3, 8
psrld xmm4, 0x18
pxor xmm3, xmm4
pshufd xmm0, xmm0, 0x93
paddd xmm2, xmm3
pshufd xmm3, xmm3, 0x4e
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0x39
movdqa xmm4, xmm1
pslld xmm1, 7
psrld xmm4, 0x19
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshuflw xmm3, xmm3, 0xb1
pshufhw xmm3, xmm3, 0xb1
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm1, 0xc
psrld xmm4, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm3, 8
psrld xmm4, 0x18
pxor xmm3, xmm4
pshufd xmm0, xmm0, 0x39
paddd xmm2, xmm3
pshufd xmm3, xmm3, 0x4e
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0x93
movdqa xmm4, xmm1
pslld xmm1, 7
psrld xmm4, 0x19
pxor xmm1, xmm4
dec ecx
jne 0x6aeae6
paddd xmm0, xmm12
movdqa xmmword [rdi], xmm0
paddd xmm1, xmm13
movdqa xmmword [rdi + 0x10], xmm1
paddd xmm2, xmm14
movdqa xmmword [rdi + 0x20], xmm2
paddd xmm3, xmm15
movdqa xmmword [rdi + 0x30], xmm3
mov rdi, r10
mov rsi, r11
ret
Function at 0x6b1160
Capabilities:
Hash data using djb2

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rdx
movsx rdx, byte [rdx]
test rdx, rdx
je 0x6b1220
mov r8, rbp
mov esi, 0x1505
mov rax, rsi
shl rax, 5
inc r8
add rax, rdx
movsx rdx, byte [r8]
add rsi, rax
test rdx, rdx
jne 0x6b1180
mov r8, qword [rcx + 0x10]
lea rdi, [0x00749bc0]
mov rax, rsi
xor edx, edx
div qword [rdi + r8*8]
mov rdi, qword [rcx + 8]
add rcx, 0x18
shl rdx, 4
add rdi, rdx
mov rbx, qword [rdi]
cmp rbx, rcx
jne 0x6b11da
jmp 0x6b1210
cmp rbx, qword [rdi + 8]
je 0x6b1200
mov rbx, qword [rbx + 8]
cmp qword [rbx - 8], rsi
jne 0x6b11d0
lea rcx, [rbx + 0x20]
mov rdx, rbp
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x6b11d0
mov rax, qword [rbx + 0x10]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
cmp rbx, qword [rdi + 8]
jne 0x6b11da
jmp 0x6b11f4
mov esi, 0x1505
jmp 0x6b1199

Function at 0x6b4010
Capabilities:
Hash data using djb2

Disassembly:
test rcx, rcx
je 0x6b4028
mov eax, dword [rcx]
test eax, eax
jne 0x6b4028
add rcx, 0x10
jmp fcn.006b1160
xor eax, eax
ret
Function at 0x6b6d70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [0x00781450]
test rbx, rbx
je 0x6b6f40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x6b6f40
mov rax, qword [rbx + 0x10]
lea rbp, [rsp + 0x20]
mov rdx, qword [rbx + 0x18]
lea rsi, [rsp + 0x30]
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call fcn.006b65f0
lea rax, [rbx + 0x38]
mov rcx, rsi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
xchg qword [rax], rcx
test rcx, rcx
je 0x6b6e3c
mov qword [rcx + 8], rsi
lea rdx, [rcx + 0x18]
xor eax, eax
mov rcx, 0xffffffffffffffff
lock cmpxchg qword [rdx], rcx
test rax, rax
mov rcx, rax
je 0x6b6e27
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r12, [rsi + 0x10]
xor edi, edi
lock xadd qword [r12], rdi
test rdi, rdi
je 0x6b6f50
mov dword [rbx + 0x28], 6
mov r8, qword [rsp + 0x30]
lea rax, [rsi + 8]
xor edx, edx
lock xadd qword [rax], rdx
test rdx, rdx
mov rcx, rdx
je 0x6b6f90
add rcx, 0x10
xor eax, eax
mov rdx, 0xffffffffffffffff
lock cmpxchg qword [rcx], rdx
test rax, rax
mov rcx, rax
je 0x6b6e7f
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rbx + 0x178]
mov esi, 0xffffffff
mov rdi, qword [sym.imp.KERNEL32.dll_SetEvent]
test rax, rax
jne 0x6b6ebb
jmp 0x6b6f05
add r8, 8
mov eax, esi
xchg dword [r8], eax
mov rcx, qword [rdx + 0x20]
call rdi
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x6b6f05
mov rdx, qword [rax]
mov r9, qword [rdx + 0x28]
mov r10, qword [rdx + 0x10]
mov qword [rdx + 0x10], rbx
mov rax, qword [r9 + 0x18]
test rax, rax
je 0x6b6edb
mov rcx, qword [r9 + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x6b6ee8
mov qword [rcx + 0x18], rax
cmp r9, qword [r10 + 0x178]
mov r8, r9
jne 0x6b6ea0
mov rax, qword [r9 + 0x18]
mov qword [r10 + 0x178], rax
mov r8, qword [rdx + 0x28]
jmp 0x6b6ea0
cmp dword [rbx + 0x184], 1
jne 0x6b6f40
mov rax, qword [rbx + 0x10]
mov rcx, rbp
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call fcn.006b62f0
mov rax, qword [0x00781450]
xor edx, edx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov r13, rax
mov rax, rdi
lock cmpxchg qword [r12], r13
test rax, rax
je 0x6b6f7f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x6b6e3c
mov edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x6b6f71
mov rax, rsi
lock cmpxchg qword [r8], rdx
cmp rsi, rax
je 0x6b6e7f
lea rcx, [rsi + 0x18]
lock xadd qword [rcx], rdx
test rdx, rdx
je 0x6b6fbf
add rsi, 8
xor ecx, ecx
lock xadd qword [rsi], rcx
jmp 0x6b6e5f
call fcn.006b5ff0
jmp 0x6b6faf
Function at 0x6ba440
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x00781448]
test rbx, rbx
je 0x6ba4a2
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x6ba4a2
test esi, esi
je 0x6ba487
mov rax, qword [rbx]
test rax, rax
je 0x6ba487
mov rcx, qword [rbx + 8]
call rax
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x00781448]
call fcn.006b9f80
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6ba4b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x00781448]
test rsi, rsi
mov rbx, rcx
mov qword [rcx], rdx
mov qword [rcx + 8], r8
je 0x6ba510
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [0x00781448]
mov rdx, rbx
mov rcx, rsi
mov qword [rbx + 0x10], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.006b9f80
xor edi, edi
jmp 0x6ba4f0

Function at 0x6ba520
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [0x00781450]
test rsi, rsi
mov rbx, rcx
je 0x6ba582
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x6ba582
mov rdi, qword [rsi + 0x18]
mov rsi, qword [rsi + 0x10]
mov qword [rbx], rsi
mov qword [rbx + 8], rdi
mov rax, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r12, [rsp + 0x40]
mov rcx, r12
call fcn.006b79a0
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test rbp, rbp
mov rsi, rbp
je 0x6ba567
or byte [rbp + 0x194], 1
mov dword [rbp + 0x184], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r13, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rbp + 0x198], eax
call r13
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
call r13
lea r9, [rbp + 8]
mov r8, r15
mov rdx, r14
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x6ba630
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov rcx, qword [0x00781450]
mov rdx, rbp
mov dword [rbp + 0x188], eax
call fcn.006b9f80
jmp 0x6ba567
mov rcx, r12
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
call fcn.006b7800
mov qword [rbx], 0
mov dword [rbx + 8], 0
jmp 0x6ba56e
Function at 0x6ba660
Capabilities:
Create thread
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
test rdx, rdx
mov r12, rcx
mov r14, r8
mov dword [rcx + 8], 0
mov r13, r9
je 0x6ba7a0
mov rbp, qword [rdx]
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.006b79a0
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
test rbx, rbx
je 0x6ba770
mov ecx, 0x20
call sub.msvcrt.dll_malloc
test rax, rax
mov rsi, rax
je 0x6ba770
test rbp, rbp
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
je 0x6ba7d0
mov eax, dword [rbp + 0x18]
mov r14, qword [rbp + 0x10]
mov r13d, dword [rbp + 0x1c]
mov dword [rbx + 0x184], eax
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x6ba7b0
mov dword [rbx + 0x28], 0
xor ecx, ecx
mov r9, rsi
mov edx, r14d
lea rax, [rbx + 0x198]
mov qword [rbx + 0x58], 0
lea r8, [0x006ba380]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbp, rax
mov qword [rbx + 8], rax
je 0x6ba820
mov r8d, r13d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.006b8610
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [r12], rbx
xor eax, eax
mov qword [r12 + 8], r15
jmp 0x6ba787
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.006b62f0
mov eax, 0xb
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x6ba68c
mov rcx, rdi
call fcn.006ba520
mov rax, qword [rsp + 0x30]
mov r13d, dword [rax + 0x188]
jmp 0x6ba6f6
mov dword [rbx + 0x28], 0
xor edx, edx
xor ecx, ecx
mov r9, rsi
lea rax, [rbx + 0x198]
mov qword [rbx + 0x58], 0
lea r8, [0x006ba380]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbp, rax
mov qword [rbx + 8], rax
jne 0x6ba755
nop word [rax + rax]
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.006b62f0
mov rcx, rsi
call sub.msvcrt.dll_free
mov eax, 0xb
jmp 0x6ba787

Function at 0x6c1260
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
test rcx, rcx
je 0x6c1293
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
xor ebx, ebx
jmp 0x6c1289
Function at 0x6c12a0
Capabilities:
Get thread local storage value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov edi, ecx
mov rcx, qword [0x00781450]
call fcn.006c1260
mov rsi, rax
mov dword [rax + 0x28], 5
lea eax, [rdi - 1]
cmp eax, 1
jbe 0x6c12d8
mov ecx, 1
call sub.msvcrt.dll_exit
test byte [rsi + 0x194], 1
jne 0x6c1352
mov rbx, qword [0x00781448]
test rbx, rbx
je 0x6c1347
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x6c132f
mov r8, qword [rbx]
test r8, r8
je 0x6c1313
mov rcx, qword [rbx + 8]
call r8
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x00781448]
call fcn.006b9f80
mov rbx, qword [0x00781448]
test rbx, rbx
je 0x6c1347
call r13
mov ecx, dword [rbx]
mov r14d, eax
call r12
mov ecx, r14d
mov rbx, rax
call rbp
test rbx, rbx
jne 0x6c1304
lea rcx, [rsi + 0x70]
mov edx, edi
call sub.msvcrt.dll_longjmp
or ecx, 0xffffffff
cmp edi, 2
jne 0x6c1369
cmp dword [0x00781458], 0
jne 0x6c136e
call qword [sym.imp.msvcrt.dll__endthreadex]
mov ecx, dword [rsi + 0x48]
jmp 0x6c135a
mov dword [rsp + 0x2c], ecx
call fcn.006b6d70
mov ecx, dword [rsp + 0x2c]
jmp 0x6c1363