joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c7530
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400c7572
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1400c757a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400c758b
jmp 0x1400c75a2
xor r10d, r10d
jmp 0x1400c762d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400c75a2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400c75b9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400c75d9
add r11, r8
jmp 0x1400c770a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400c76a2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400c7650
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x1400c76c0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400c76d2
jmp 0x1400c76ec
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400c76ec
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400c7706
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400f7d20
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x28]
add rcx, 0xfffffffffffffffe
cmp rcx, 3
mov eax, 1
cmovb rax, rcx
cmp rax, 1
je 0x1400f7b99
test rax, rax
jne 0x1400f7ba2
mov r8, qword [rsi + 0x30]
test r8, r8
je 0x1400f7ba2
cmp qword [rsi + 0x38], 0
je 0x1400f7ba2
mov rcx, qword [0x14037f2d0]
xor edx, edx
call fcn.1402699cc
jmp 0x1400f7ba2
lea rcx, [rsi + 0x28]
call fcn.1400f7f20
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x1400f7bb2
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x14037f2d0]
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1402699cc
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1400f7d30
test al, 1
je 0x1400f7dbf
test al, 2
jne 0x1400f7dd7
test al, 8
jne 0x1400f7d67
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x50], 4
lea rdx, [rsp + 0x50]
call fcn.1400f7c10
jmp 0x1400f7d7f
test al, 0x10
je 0x1400f7d7f
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x1400f7e6d
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x10]
mov qword [rsp + 0x20], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x20]
jb 0x1400f7def
jne 0x1400f7db3
mov rcx, rsi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
jmp 0x1400f7b50
nop
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140344520]
mov edx, 0x23
call fcn.1400a7990
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140344560]
mov edx, 0x25
call fcn.1400a7990
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [fcn.1400a6d70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rax, str.current:___sub:_xE4_
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 2
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 2
lea rdx, [0x1403445a8]
lea rcx, [rsp + 0x80]
call fcn.1400a6c30
lea rax, str.HA4_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rax, [0x140347980]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rdx, str.__4_
lea rcx, [rsp + 0x50]
call fcn.1400a6c30
ud2
Function at 0x14010e770
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14010e7b2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14010e7ba
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14010e7cb
jmp 0x14010e7e2
xor r10d, r10d
jmp 0x14010e86d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14010e7e2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14010e7f9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14010e819
add r11, r8
jmp 0x14010e94a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14010e8e2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14010e890
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14010e900
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14010e912
jmp 0x14010e92c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14010e92c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14010e946
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14011b5b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rax
mov rax, rcx
add qword [rcx + 0x30], 8
mov qword [rsp], rdx
mov r10, qword [rcx + 0x40]
test r10, r10
je 0x14011b657
mov esi, 8
mov r9d, 8
sub r9, r10
cmp r9, 8
cmovb rsi, r9
xor r11d, r11d
xor r8d, r8d
cmp rsi, 4
mov ecx, edx
cmovae r11, rcx
setae r8b
lea rcx, [r8*4 + 1]
shl r8, 2
cmp rcx, rsi
jae 0x14011b61e
movzx edx, word [rsp + r8]
lea ecx, [r8*8]
shl rdx, cl
or r11, rdx
or r8, 2
cmp r8, rsi
jae 0x14011b635
movzx edx, byte [rsp + r8]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r11, rdx
lea ecx, [r10*8]
shl r11, cl
or r11, qword [rax + 0x38]
mov qword [rax + 0x38], r11
cmp r10, 8
jbe 0x14011b65c
add r10, 8
jmp 0x14011b796
xor r9d, r9d
jmp 0x14011b6b0
mov r8, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, rdx
rol rdx, 0xd
xor r8, r11
xor rdx, rcx
rol rcx, 0x20
mov r10, qword [rax + 8]
add r10, r8
rol r8, 0x10
xor r8, r10
add rcx, r8
rol r8, 0x15
xor r8, rcx
add r10, rdx
rol rdx, 0x11
mov qword [rax + 0x18], r8
xor rdx, r10
rol r10, 0x20
mov qword [rax + 0x10], rdx
mov qword [rax + 8], r10
xor rcx, r11
mov qword [rax], rcx
mov ecx, 8
sub rcx, r9
mov r10d, ecx
and r10d, 7
and rcx, 0xfffffffffffffff8
cmp r9, rcx
jae 0x14011b732
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rsi, qword [rax + 0x18]
mov r11, qword [rax + 0x10]
nop word [rax + rax]
add rdx, r11
rol r11, 0xd
mov rdi, qword [rsp + r9]
xor r11, rdx
rol rdx, 0x20
xor rsi, rdi
add r8, rsi
rol rsi, 0x10
xor rsi, r8
add rdx, rsi
rol rsi, 0x15
add r8, r11
rol r11, 0x11
xor r11, r8
rol r8, 0x20
xor rsi, rdx
xor rdx, rdi
add r9, 8
cmp r9, rcx
jb 0x14011b6e0
mov qword [rax + 0x18], rsi
mov qword [rax + 0x10], r11
mov qword [rax + 8], r8
mov qword [rax], rdx
cmp r10d, 3
jbe 0x14011b74f
mov r8d, dword [rsp + r9]
mov edx, 4
mov rcx, rdx
or rcx, 1
cmp rcx, r10
jb 0x14011b760
jmp 0x14011b77a
xor r8d, r8d
xor edx, edx
mov rcx, rdx
or rcx, 1
cmp rcx, r10
jae 0x14011b77a
lea rcx, [rdx + r9]
movzx r11d, word [rsp + rcx]
lea ecx, [rdx*8]
shl r11, cl
or r8, r11
or rdx, 2
cmp rdx, r10
jae 0x14011b792
add r9, rdx
movzx r9d, byte [rsp + r9]
shl edx, 3
mov ecx, edx
shl r9, cl
or r8, r9
mov qword [rax + 0x38], r8
mov qword [rax + 0x40], r10
add rsp, 8
pop rdi
pop rsi
ret
Function at 0x14012c5f0
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14012c659
mov rsi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14012c659
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14012c659
mov rbx, rax
xor esi, esi
movzx eax, byte [0x14037f348]
mov rcx, qword [0x14037f2d0]
test rcx, rcx
jne 0x14012c70c
jmp 0x14012c6f4
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14012c770
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14012c770
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14012c770
mov rsi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14012c770
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14012c770
mov rbx, qword [rsp + 0x28]
movzx eax, byte [0x14037f348]
mov rcx, qword [0x14037f2d0]
test rcx, rcx
jne 0x14012c70c
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14012c7aa
mov rcx, rax
mov qword [0x14037f2d0], rax
mov r8d, 0x18
xor edx, edx
call fcn.1402699c4
test rax, rax
je 0x14012c7aa
mov r14, rax
mov qword [rax], rsi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rbx
xor eax, eax
lock cmpxchg qword [0x14037f208], r14
je 0x14012c763
mov rsi, rax
cmp qword [r14], 0
je 0x14012c74f
mov rcx, qword [r14 + 0x10]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [0x14037f2d0]
xor edx, edx
mov r8, r14
call fcn.1402699cc
mov r14, rsi
mov rax, r14
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
lea rax, [0x140347980]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.10_src_thread_parker_windows_mod.rs
lea rcx, [rsp + 0x28]
call fcn.1400a6c30
mov ecx, 8
mov edx, 0x18
call fcn.140054b50
ud2
Function at 0x14012ca60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x60
mov ecx, dword [0x14026d0c8]
test ecx, ecx
je 0x14012cb66
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14012ca8e
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x14012cb60
mov ecx, dword [0x14026d0c8]
test ecx, ecx
je 0x14012cb88
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14012cba5
mov rsi, rax
test rax, rax
jne 0x14012cb23
movzx eax, byte [0x14037f348]
mov rcx, qword [0x14037f2d0]
test rcx, rcx
jne 0x14012cae0
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14012cbc3
mov rcx, rax
mov qword [0x14037f2d0], rax
mov r8d, 0x40
xor edx, edx
call fcn.1402699c4
test rax, rax
je 0x14012cbc3
mov rsi, rax
lea rax, [0x14026d0b0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14026d0c8]
test ecx, ecx
je 0x14012cbb0
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rcx, [rsp + 0x28]
call fcn.14012bd80
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmm2, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x38], rax
cmp qword [rsi + 8], 0
movups xmmword [rsi + 8], xmm0
je 0x14012cb60
lock dec qword [0x14037f1f8]
add rsi, 8
jmp 0x14012cba7
lea rcx, [0x14026d0b0]
call fcn.1401f9570
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14012ca80
jmp 0x14012ca8e
lea rcx, [0x14026d0b0]
call fcn.1401f9570
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14012caad
xor esi, esi
mov rax, rsi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x14026d0b0]
call fcn.1401f9570
mov ecx, eax
jmp 0x14012cb1b
mov ecx, 8
mov edx, 0x40
call fcn.140054b50
int3
Function at 0x140130670
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x140130706
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x140272340]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140272350]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14010e770
test rdi, rdi
je 0x140130795
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1401307ae
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1401308a6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140130928
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1401308b3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140130770
cmp r9, 8
jae 0x1401308bc
jmp 0x140130928
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14010e770
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140130928
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140130928
mov r8, rcx
cmp r9, 8
jb 0x140130928
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1401308c0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140139ce0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x14026d228]
test ecx, ecx
je 0x140139e4a
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140139d11
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x140139e7c
mov ecx, dword [0x14026d228]
test ecx, ecx
je 0x140139e82
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140139e9f
mov rsi, rax
test rax, rax
jne 0x140139da6
movzx eax, byte [0x14037f348]
mov rcx, qword [0x14037f2d0]
test rcx, rcx
jne 0x140139d63
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140139ec0
mov rcx, rax
mov qword [0x14037f2d0], rax
mov r8d, 0x60
xor edx, edx
call fcn.1402699c4
test rax, rax
je 0x140139ec0
mov rsi, rax
lea rax, [0x14026d210]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14026d228]
test ecx, ecx
je 0x140139ead
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsi + 0x48]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmm3, xmmword [rsi + 0x38]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 8], 1
movups xmm0, xmmword [0x140342e40]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [0x140342e30]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [0x140342e20]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x140342e10]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [0x140342e00]
movups xmmword [rsi + 0x10], xmm0
cmp qword [rsp + 0x20], 0
je 0x140139e7c
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x140139e7c
lea rcx, [rsp + 0x38]
test rax, rax
je 0x140139e6c
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x140139e7c
call fcn.14013a0b0
jmp 0x140139e7c
lea rcx, [0x14026d210]
call fcn.1401f9570
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140139d03
jmp 0x140139d11
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x140139e7c
call fcn.14013c2c0
add rsi, 0x10
jmp 0x140139ea1
lea rcx, [0x14026d210]
call fcn.1401f9570
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140139d30
xor esi, esi
mov rax, rsi
add rsp, 0x80
pop rsi
ret
lea rcx, [0x14026d210]
call fcn.1401f9570
mov ecx, eax
jmp 0x140139d9e
mov ecx, 8
mov edx, 0x60
call fcn.140054b50
int3
Function at 0x14013bee0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14013bf00
test al, 1
je 0x14013c00a
test al, 2
jne 0x14013c022
test al, 8
jne 0x14013bf4f
mov qword [rsp + 0x30], 4
mov rdi, qword [rsi + 0x28]
call fcn.14024a180
test rax, rax
je 0x14013bf69
mov r14, qword [rax + 0x20]
mov r15, qword [rax + 0x28]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x14013bf6c
test al, 0x10
je 0x14013bf9b
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14013c0b8
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x10]
jmp 0x14013bf9b
xor r14d, r14d
lea rbx, [rsi + 0x30]
mov rcx, rbx
call fcn.14013a3c0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
call fcn.14024a180
test rax, rax
je 0x14013bf9b
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r15
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.140252ee0
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x20], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x20]
jb 0x14013c03a
jne 0x14013bffa
mov rcx, rsi
call fcn.140139fd0
mov r8, qword [rsi - 8]
mov rcx, qword [0x14037f2d0]
xor edx, edx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1402699cc
nop
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140344520]
mov edx, 0x23
call fcn.1400a7990
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140344560]
mov edx, 0x25
call fcn.1400a7990
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [fcn.1400a6d70]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, str.current:___sub:_xE4_
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 2
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 2
lea rdx, [0x1403445a8]
lea rcx, [rsp + 0x80]
call fcn.1400a6c30
lea rax, str.HA4_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x140347980]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.__4_
lea rcx, [rsp + 0x30]
call fcn.1400a6c30
ud2
Function at 0x14013d000
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14013d020
test al, 1
je 0x14013d12a
test al, 2
jne 0x14013d142
test al, 8
jne 0x14013d06f
mov qword [rsp + 0x30], 4
mov rdi, qword [rsi + 0x28]
call fcn.14024a180
test rax, rax
je 0x14013d089
mov r14, qword [rax + 0x20]
mov r15, qword [rax + 0x28]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x14013d08c
test al, 0x10
je 0x14013d0bb
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14013d1d8
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x10]
jmp 0x14013d0bb
xor r14d, r14d
lea rbx, [rsi + 0x30]
mov rcx, rbx
call fcn.14013a3c0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
call fcn.14024a180
test rax, rax
je 0x14013d0bb
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r15
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1402507c0
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x20], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x20]
jb 0x14013d15a
jne 0x14013d11a
mov rcx, rsi
call fcn.140139ed0
mov r8, qword [rsi - 8]
mov rcx, qword [0x14037f2d0]
xor edx, edx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1402699cc
nop
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140344520]
mov edx, 0x23
call fcn.1400a7990
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140344560]
mov edx, 0x25
call fcn.1400a7990
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [fcn.1400a6d70]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, str.current:___sub:_xE4_
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 2
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 2
lea rdx, [0x1403445a8]
lea rcx, [rsp + 0x80]
call fcn.1400a6c30
lea rax, str.HA4_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x140347980]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.__4_
lea rcx, [rsp + 0x30]
call fcn.1400a6c30
ud2