joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005cd6
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007e538
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rdi, rcx
xor esi, esi
test dword [0x14016b114], 0x80000000
je 0x14007e575
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rbx, rax
test rax, rax
jne 0x14007e57d
call fcn.140009881
mov rbx, rax
cmp qword [rbx + 0x40], rsi
jne 0x14007e58b
mov rcx, rbx
call fcn.140009953
mov rax, qword [rbx + 0x40]
mov ecx, dword [rax + 0xa0]
cmp rbx, qword [rdi + 0x18]
jne 0x14007e5a8
cmp ecx, dword [rdi + 0xd0]
jne 0x14007e5a8
mov rax, rdi
jmp 0x14007e61e
mov rcx, rbx
call fcn.140002c93
test rax, rax
je 0x14007e5be
cmp qword [rax + 0xa8], rdi
je 0x14007e61e
mov rdx, rdi
mov rcx, rbx
call fcn.140002068
test rax, rax
jne 0x14007e61e
mov ecx, 0xe8
call fcn.140002c52
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14007e5f3
mov r8b, 1
mov rdx, rdi
mov rcx, rax
call fcn.1400016ef
mov rsi, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rcx, rbx
call fcn.140002ca7
lea rcx, [rbx + 0xd0]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
call fcn.140007720
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140005ff6
Capabilities:
Terminate process

Disassembly:
jmp 0x14005f608
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140006041
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140078b3c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov bl, dl
mov rdi, rcx
call fcn.14000381e
test bl, bl
je 0x140078b77
or eax, 0xffffffff
lock xadd dword [rdi + 0x27c], eax
dec eax
and eax, 0x9fffffff
cmp eax, 0x80000000
jne 0x140078b9f
mov rcx, rdi
call fcn.1400011cc
jmp 0x140078b9f
mov eax, 1
lock xadd dword [rdi + 0x27c], eax
inc eax
bt eax, 0x1e
jae 0x140078b9f
mov rcx, qword [rdi + 0x260]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400019ec

Function at 0x140006113
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140076984
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov ecx, 1
mov edi, ecx
lock xadd dword [rbx + 0x268], edi
add edi, ecx
cmp edi, ecx
jne 0x1400769e6
mov eax, dword [rbx + 0x274]
test eax, eax
jle 0x1400769e0
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
je 0x1400769f3
cmp byte [rax + 0x88], 0
jne 0x1400769f3
mov rcx, rax
call fcn.140003a62
cmp rax, rbx
jne 0x1400769f3
mov rcx, rbx
call fcn.140007711
jmp 0x1400769e6
xchg dword [rbx + 0x274], ecx
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.1400040de
lea rdx, [0x140169b30]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3
Function at 0x140006181
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14007dd64
mov qword [rsp + 8], rbx
mov r11, rdx
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + rdx]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x14007dd7c
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14007ddc7
mov rcx, qword [r11]
cmp qword [rax + 8], rcx
je 0x14007ddc9
mov rax, qword [rax]
test rax, rax
jne 0x14007ddb9
xor eax, eax
test rax, rax
je 0x14007ddda
test r8, r8
je 0x14007ddda
mov rcx, qword [rax + 0x10]
mov qword [r8], rcx
mov rbx, qword [rsp + 8]
ret

Function at 0x1400061d6
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400a2ac0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140135b50]
xor ecx, ecx
lea r8, [0x140135b48]
lea rdx, str.FlsAlloc
call fcn.1400a2520
mov rbx, rax
test rax, rax
je 0x1400a2b00
mov rcx, rax
call fcn.140004ae3
mov rcx, rdi
call rbx
jmp 0x1400a2b06
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
jmp 0x140081d0c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rdi, rcx
mov rdx, qword [rax + 0x18]
mov ebx, dword [rdx + 0xb0]
mov ecx, ebx
call fcn.140002f1d
mov rdx, rdi
mov qword [rdi + 0x38], rax
mov ecx, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400038d2

Function at 0x140006d52
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400fd250
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14013c158]
mov ecx, 5
lea r8, [0x14013c150]
lea rdx, str.FlsGetValue
call fcn.1400fc848
mov ecx, ebx
test rax, rax
je 0x1400fd28a
add rsp, 0x20
pop rbx
jmp qword [0x140184010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140006fe6
Capabilities:
Create thread

Disassembly:
jmp 0x1400e31f4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, edx
mov rsi, rcx
test r8, r8
jne 0x1400e3224
call fcn.1400053e4
mov dword [rax], 0x16
call fcn.140007b26
xor eax, eax
jmp 0x1400e32a4
mov rdx, r9
mov rcx, r8
call fcn.1400e2fa8
mov rbx, rax
test rax, rax
je 0x1400e3274
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x1400e2d34]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x1400e32b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140006e6f
xor edi, edi
test rbx, rbx
je 0x1400e32a1
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400e328a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e3299
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140008bf7
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400e32c4
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
xor ebx, ebx
jmp 0x1400e3276

Function at 0x14000730b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400fd2a8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14013c168]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x14013c160]
call fcn.1400fc848
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400fd2e8
call qword [0x140184010]
jmp 0x1400fd2ee
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000739c
Capabilities:
Read file on windows

Disassembly:
jmp 0x140114cf0
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15d, r8d
mov r13, rdx
movsxd rsi, ecx
cmp esi, 0xfffffffe
jne 0x140114d2c
call fcn.140008553
and dword [rax], 0
call fcn.1400053e4
mov dword [rax], 9
jmp 0x140114df1
test ecx, ecx
js 0x140114dd9
cmp esi, dword [0x14017286c]
jae 0x140114dd9
mov r14, rsi
mov r12, rsi
sar r12, 6
lea rax, [0x1401723a0]
and r14d, 0x3f
shl r14, 6
mov rax, qword [rax + r12*8]
movzx ecx, byte [rax + r14 + 0x38]
and ecx, 1
je 0x140114dd9
xor eax, eax
cmp r8d, 0x7fffffff
setbe al
test eax, eax
jne 0x140114d8d
call fcn.140008553
and dword [rax], 0
call fcn.1400053e4
mov dword [rax], 0x16
jmp 0x140114dec
mov ecx, esi
call fcn.1400068c0
or ebx, 0xffffffff
lea rax, [0x1401723a0]
mov rax, qword [rax + r12*8]
test byte [rax + r14 + 0x38], 1
jne 0x140114dbf
call fcn.1400053e4
mov dword [rax], 9
call fcn.140008553
and dword [rax], 0
jmp 0x140114dce
mov r8d, r15d
mov rdx, r13
mov ecx, esi
call fcn.14000378d
mov ebx, eax
mov ecx, esi
call fcn.140001eab
mov eax, ebx
jmp 0x140114df4
call fcn.140008553
and dword [rax], 0
call fcn.1400053e4
mov dword [rax], 9
call fcn.140007b26
or eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x1400073ab
Capabilities:
Print debug messages

Disassembly:
jmp 0x140060b1c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400053fd
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1401306a0]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140001f5a
test eax, eax
jne 0x140060bb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x140060bb3
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140060bac
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x14016fac9], 1
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400075f4
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400fd19c
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14013c138]
mov ecx, 3
lea r8, [0x14013c130]
lea rdx, str.FlsAlloc
call fcn.1400fc848
test rax, rax
je 0x1400fd1d8
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140184010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140007720
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14007df38
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
mov r14, r8
xor ecx, ecx
mov rdi, rdx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [rcx + rdi]
movabs rdx, 0x100000001b3
xor r9, rax
inc rcx
imul r9, rdx
cmp rcx, 8
jb 0x14007df62
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rsi, edx
mov rcx, qword [rax + rsi*8]
test rcx, rcx
je 0x14007dfac
mov rax, qword [rdi]
cmp qword [rcx + 8], rax
je 0x14007dfae
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14007df9e
xor ecx, ecx
test rcx, rcx
jne 0x14007dffc
mov ecx, 0x18
call fcn.140002c52
mov qword [rsp + 0x30], rax
mov r8, rax
test rax, rax
je 0x14007dfde
and qword [rax], 0
mov rax, qword [rdi]
mov qword [r8 + 8], rax
mov rax, qword [r14]
mov qword [r8 + 0x10], rax
jmp 0x14007dfe1
xor r8d, r8d
mov rcx, qword [rbx + 8]
mov rax, r8
mov rdx, qword [rcx + rsi*8]
mov qword [r8], rdx
mov rcx, qword [rbx + 8]
mov qword [rcx + rsi*8], r8
inc dword [rbx + 4]
jmp 0x14007dffe
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000772a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140062bb4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov qword [rcx + 8], 0
lea rsi, [rcx + 0x18]
and qword [rsi], 0
mov edi, edx
mov dword [rcx + 0x10], 1
mov rbx, rcx
mov dword [rcx + 0x20], 0
mov dword [rcx + 0x24], 0
test dword [0x14016b114], 0x80000000
je 0x140062c09
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
jne 0x140062c0e
call fcn.140009881
mov qword [rbx], rax
cmp edi, 0xffffffff
je 0x140062c6d
call fcn.140006488
cmp eax, 3
jl 0x140062c3e
xor r9d, r9d
lea rdx, [0x14000588a]
mov r8, rbx
mov ecx, edi
call fcn.14000272a
mov qword [rsi], rax
test rax, rax
jne 0x140062c6d
jmp 0x140062c82
call fcn.140004273
mov dword [rsp + 0x30], 0x20
lea r8, [0x140004c41]
and dword [rsp + 0x28], 0
mov rdx, rax
mov r9, rbx
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1400087c4
test eax, eax
je 0x140062c9e
lea r11, [rsp + 0x70]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x40]
call fcn.140004a48
lea rdx, [0x1401695a0]
lea rcx, [rsp + 0x40]
call fcn.14000763a
int3
lea rcx, [rsp + 0x58]
call fcn.140004a48
lea rdx, [0x1401695a0]
lea rcx, [rsp + 0x58]
call fcn.14000763a
int3

Function at 0x140007770
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140092ef4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rbx, [rcx + 0xe0]
mov rdi, rcx
mov rcx, rbx
call fcn.140004dbd
call fcn.140008413
mov dword [rdi + 0xa0], eax
mov rcx, rbx
xor eax, eax
mov dword [rdi], eax
mov dword [rdi + 4], eax
mov dword [rdi + 0xb0], eax
mov dword [rdi + 0xb4], eax
mov dword [rdi + 0xcc], eax
mov byte [rdi + 0xc8], al
mov dword [rdi + 0xbc], eax
mov dword [rdi + 0x90], eax
mov qword [rdi + 0xa8], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140005817
Function at 0x140007c98
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140069684
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test dword [0x14016b114], 0x80000000
je 0x1400696ad
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rdi, rax
test rax, rax
jne 0x1400696b5
call fcn.140009881
mov rdi, rax
mov rax, qword [rdi]
mov rbx, qword [rax + 0x30]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax

Function at 0x140007e9b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ef5dc
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400ef330

Function at 0x140007fe0
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140067648
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14006765c
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140004322
lea rdx, [0x1401699b0]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3

Function at 0x140008148
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400765e8
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
je 0x140076625
cmp byte [rax + 0x88], 0
jne 0x140076625
mov rcx, rax
call fcn.140003a62
cmp rax, rdi
jne 0x140076625
xor sil, sil
jmp 0x140076631
mov esi, 1
lock add dword [rdi + 0x270], esi
xor edx, edx
mov rcx, rdi
call fcn.14000209a
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rdi
call rbx
mov eax, dword [rdi + 0x27c]
mov ecx, eax
mov r8d, eax
btr ecx, 0x1e
bts ecx, 0x1d
lock cmpxchg dword [rdi + 0x27c], ecx
cmp eax, r8d
jne 0x140076658
and eax, 0x1fffffff
jle 0x14007668b
mov rcx, qword [rdi + 0x260]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rdi
call rbx
test sil, sil
je 0x1400766bf
or eax, 0xffffffff
lock xadd dword [rdi + 0x270], eax
cmp eax, 1
jne 0x1400766bf
mov rcx, rdi
call fcn.140003387
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400082d8
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140073d58
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rdi, rax
test rax, rax
je 0x140073da9
cmp qword [rax + 0x38], rbx
jne 0x140073da9
cmp byte [rax + 0x88], sil
jne 0x140073da9
mov rcx, rax
call fcn.140003021
mov rax, qword [rdi + 0xf8]
mov rcx, rdi
mov rsi, qword [rax + 0x78]
call fcn.140005083
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140008378
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140072988
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov sil, dl
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rdi, rax
test rax, rax
je 0x1400729d0
cmp qword [rax + 0x38], rbx
je 0x140072a04
cmp byte [rax + 0x88], 0
jne 0x1400729c8
lea rcx, [rax - 0x10]
call fcn.14000734c
mov rcx, rdi
call fcn.140005533
mov rcx, rbx
call fcn.140006cbc
mov dl, sil
mov rcx, rbx
call fcn.140004cf5
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.1400055dd
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.14000435e
lea rdx, [0x140169b90]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3

Function at 0x140008517
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14007c0e4
mov rdx, rcx
mov ecx, dword [0x1401710dc]
jmp fcn.1400038d2

Function at 0x1400085d0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140107714
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
call fcn.140005943
cmp eax, 2
sete dil
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140107761
test rbx, rbx
je 0x140107755
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test dil, dil
je 0x140107798
mov eax, 4
jmp 0x1401077a7
test dil, dil
je 0x140107798
call fcn.140001c6c
test al, al
je 0x140107798
call fcn.140008297
test al, al
jne 0x14010778e
bts esi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, esi
call fcn.1400069a1
jmp 0x1401077a7
call fcn.140003774
mov rcx, rax
jmp 0x14010777e
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000865c
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14009089c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rsi, rcx
mov rbp, r8
mov r14, rdx
mov rdi, qword [rax + 0x28]
mov rcx, rdi
call fcn.140004ae3
mov r8b, 1
lea rdx, [rsi + 0x38]
mov rcx, rsi
call rdi
mov r8, rbp
mov rdx, r14
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp 0x140006a1e

Function at 0x1400087ab
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007879c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 0x218]
mov rdi, rcx
mov rcx, rsi
mov rbx, rdx
call fcn.140003f12
mov eax, dword [rdi + 0x228]
cmp dword [rbx], eax
je 0x1400787e4
mov ecx, 1
mov eax, ecx
lock xadd dword [rdi + 0x228], eax
add eax, ecx
inc eax
test eax, 0xfffffffe
je 0x1400787cf
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140005588
Function at 0x140008878
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400739b8
sub rsp, 0x28
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
mov rcx, rax
xor eax, eax
test rcx, rcx
je 0x1400739d6
call fcn.140003a62
add rsp, 0x28
ret
Function at 0x140008cba
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007d294
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rdx
mov rbx, rcx
or dword [rcx + 8], 0xfffffff
mov qword [rcx + 0x10], rdx
and dword [rcx + 0x20], 0
mov dword [rcx + 0x24], 0x80000000
and qword [rcx + 0x28], 0
mov dword [rcx + 0x58], 0
add rcx, 0x60
call fcn.140002c89
nop
and qword [rbx + 0xb0], 0
and qword [rbx + 0xb8], 0
mov dword [rbx + 0xc8], 0
and dword [rbx + 0xd4], 0
and qword [rbx + 0xd8], 0
test rdi, 0xfffffffffffffffd
je 0x14007d318
lock inc dword [rdi + 8]
test dword [0x14016b114], 0x80000000
je 0x14007d334
mov ecx, dword [0x1401710dc]
call fcn.140002f1d
test rax, rax
jne 0x14007d339
call fcn.140009881
mov qword [rbx + 0x18], rax
mov rax, qword [rax + 0x60]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140002423
lea rcx, [rbx + 0x60]
call fcn.1400028b5
mov qword [rbx + 0xa8], rbx
call fcn.14000106e
mov rdi, rax
cmp qword [rax + 0x40], 0
jne 0x14007d373
mov rcx, rax
call fcn.140009953
mov rax, qword [rdi + 0x40]
mov ecx, dword [rax + 0xa0]
mov dword [rbx + 0xd0], ecx
and dword [rbx + 8], 0xfffffff
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140008e3b
Capabilities:
Create thread

Disassembly:
jmp 0x140067060
jmp qword [sym.imp.KERNEL32.dll_CreateThread]

Function at 0x140008ff8
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400926e4
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140171238], eax
cmp eax, 0xffffffff
je 0x1400926fe
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140004322
lea rdx, [0x1401699b0]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3

Function at 0x140009624
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400631c0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, edx
mov rbx, rcx
call fcn.14000198d
mov r8d, dword [rbx + 0x10]
mov ecx, eax
shr r8d, 2
test r8b, 1
jne 0x14006325e
mov r8d, dword [rbx + 0x10]
shr r8d, 1
test r8b, 1
je 0x1400631fe
mov eax, dword [rbx + 0x10]
shr eax, 3
shr edi, 3
sub eax, edi
jmp 0x140063203
mov eax, 1
lea r8d, [rcx + 2]
cmp eax, r8d
ja 0x14006325e
dec eax
lea rcx, [0x1400073b5]
imul eax, dword [0x14016b0fc]
xor edx, edx
mov qword [rsp + 0x30], rcx
div r8d
add eax, dword [0x14016b0fc]
jne 0x140063238
mov dword [rsp + 0x28], 4
jmp 0x140063249
and dword [rsp + 0x24], 0
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov eax, dword [rbx + 0x10]
test al, 1
je 0x14006325e
lea rcx, [rsp + 0x20]
call fcn.1400069d3
test al, al
jne 0x140063249
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.140007c98
Function at 0x140024a40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14016b098]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rsi, str.AAAAAA
or rbx, 0xffffffffffffffff
nop
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140024a70
movabs rbp, 0x112e0be826d694b3
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rsi
lea rdx, [rbx + 1]
mov rcx, rdi
call fcn.140003215
call fcn.1400082e7
imul rcx, rax, 0x64
mov rax, rbp
add rcx, 0x3b9aca00
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3b9aca00
mov qword [rsp + 0x20], rdx
sub ecx, eax
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400010cd
jmp 0x140024a85

Function at 0x1400676b0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400676b0
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400676c3
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140004322
lea rdx, [0x1401699b0]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3

Function at 0x140067b3c
Capabilities:
Create thread

Disassembly:
jmp 0x140067b3c
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.140008e3b
mov rbx, rax
test rax, rax
je 0x140067b81
mov ecx, 1
lock xadd dword [0x140171058], ecx
inc ecx
cmp ecx, 1
jne 0x140067b81
call fcn.140008b84
lock inc dword [0x14016b114]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140073cc0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140073cc0
mov qword [rsp + 8], rbx
mov r11, rdx
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + rdx]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x140073cd8
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140073d22
mov ecx, dword [r11]
cmp dword [rax + 8], ecx
je 0x140073d24
mov rax, qword [rax]
test rax, rax
jne 0x140073d15
xor eax, eax
test rax, rax
je 0x140073d34
test r8, r8
je 0x140073d34
mov ecx, dword [rax + 0xc]
mov dword [r8], ecx
mov rbx, qword [rsp + 8]
ret