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

Disassembly:
jmp 0x140084268
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
xor ebx, ebx
mov ecx, dword [rax + 0xb0]
call fcn.140002f1d
test rax, rax
je 0x14008428a
test al, 3
cmove rbx, rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140001e5b
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14007aa8c
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r11, 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 0x14007aaa5
movsxd rcx, dword [r11]
xor edx, edx
mov r10, qword [r11 + 8]
mov rax, r9
div rcx
movsxd r9, edx
xor edx, edx
mov rcx, qword [r10 + r9*8]
test rcx, rcx
je 0x14007aaf5
mov rax, qword [rbx]
cmp qword [rcx + 8], rax
je 0x14007ab16
mov rdx, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14007aae4
xor ecx, ecx
test rcx, rcx
je 0x14007ab2d
test r8, r8
je 0x14007ab08
mov rdx, qword [rcx + 0x10]
mov qword [r8], rdx
mov edx, 0x18
call fcn.14000728e
mov al, 1
jmp 0x14007ab2f
mov rax, qword [rcx]
test rdx, rdx
jne 0x14007ab24
mov qword [r10 + r9*8], rax
jmp 0x14007ab27
mov qword [rdx], rax
dec dword [r11 + 4]
jmp 0x14007aaf7
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140002897
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400975d4
mov qword [rsp + 8], rbx
xor r8d, r8d
mov r11, rdx
mov r10d, r8d
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [r10 + rdx]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x1400975ef
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x140097639
mov eax, dword [r11]
cmp dword [rdx + 8], eax
je 0x14009763c
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14009762c
mov rdx, r8
mov rbx, qword [rsp + 8]
test rdx, rdx
setne al
ret

Function at 0x1400029b9
Capabilities:
Query environment variable

Disassembly:
jmp 0x140106954
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1401069d3
jmp 0x14010698f
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x14010697e
lea rax, [rax + rcx*2]
add rax, 2
cmp word [rax], si
jne 0x14010697a
sub rax, rbx
add rax, 2
sar rax, 1
lea rbp, [rax + rax]
mov rcx, rbp
call fcn.140003576
mov rdi, rax
test rax, rax
je 0x1401069c3
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140005df8
mov rsi, rdi
xor ecx, ecx
call fcn.140008bf7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400029eb
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14005f9cc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14005fa5a
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14005fa5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005fa5a
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14005fa41
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14005fa3b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14005fa43
add rdx, 0x28
jmp 0x14005fa20
xor edx, edx
test rdx, rdx
jne 0x14005fa4c
xor al, al
jmp 0x14005fa60
cmp dword [rdx + 0x24], 0
jge 0x14005fa56
xor al, al
jmp 0x14005fa60
mov al, 1
jmp 0x14005fa60
xor al, al
jmp 0x14005fa60
add rsp, 0x18
ret

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

Disassembly:
jmp 0x140051338
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140051371
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x140051353
mov eax, ecx
ret

Function at 0x140002cf2
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140119b20
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x140119b61
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140119b55
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140119b63
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x140119b43
xor eax, eax
ret

Function at 0x140002f09
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400fd9ec
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x14013d3b0]
mov rbp, rcx
lea r8, [0x14013d3a8]
lea rdx, str.GetLocaleInfoEx
mov ecx, VariantTimeToDosDateTime
call fcn.1400fcdf8
mov rcx, rbp
test rax, rax
je 0x1400fda42
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x140185010]
jmp 0x1400fda59
xor edx, edx
call fcn.140004dcc
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140003139
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140076354
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 0x218]
mov rbx, rcx
mov rcx, rsi
mov rdi, rdx
call fcn.140003f12
mov ecx, 1
mov r8d, ecx
lock xadd dword [rbx + 0x228], r8d
add r8d, ecx
lea eax, [r8 + 1]
test eax, 0xfffffffe
je 0x14007637d
mov dword [rdi + 0x10], r8d
lea rdx, [rdi + 0x18]
and qword [rdx], 0
mov rcx, rsi
mov rax, qword [rbx + 0x210]
mov qword [rax], rdi
mov qword [rbx + 0x210], rdx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140005588
Function at 0x1400034e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400e6934
sub rsp, 0x58
mov rax, qword [0x14016c098]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8, rdx
mov eax, r9d
mov r10, rcx
cmp rax, 0x20
lea r11d, [r9 + 1]
jae 0x1400e69ce
mov byte [rsp + rax + 0x20], r9b
add rax, r11
cmp rax, 0x20
jl 0x1400e695b
mov al, byte [rdx]
jmp 0x1400e698e
movzx edx, al
shr rdx, 3
movzx eax, al
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
add r8, r11
mov byte [rsp + rdx + 0x20], cl
mov al, byte [r8]
test al, al
jne 0x1400e696f
or byte [rsp + 0x20], r11b
jmp 0x1400e699f
add r9d, r11d
add r10, r11
movzx r8d, byte [r10]
mov edx, r11d
mov ecx, r8d
shr r8, 3
and ecx, 7
shl edx, cl
test byte [rsp + r8 + 0x20], dl
je 0x1400e6999
movsxd rax, r9d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000828d
add rsp, 0x58
ret
call fcn.14000330f
int3

Function at 0x140003503
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140112dd8
sub rsp, 0x58
mov rax, qword [0x14016c098]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov r9, rdx
cmp rax, 0x20
mov r8, rcx
jae 0x140112e70
mov byte [rsp + rax + 0x20], 0
inc rax
cmp rax, 0x20
jl 0x140112df7
mov al, byte [rdx]
jmp 0x140112e2a
movzx edx, al
shr rdx, 3
movzx eax, al
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
inc r9
mov byte [rsp + rdx + 0x20], cl
mov al, byte [r9]
test al, al
jne 0x140112e0b
jmp 0x140112e4f
movzx eax, r9b
mov edx, 1
movzx ecx, r9b
and ecx, 7
shr rax, 3
shl edx, cl
test byte [rsp + rax + 0x20], dl
jne 0x140112e6b
inc r8
mov r9b, byte [r8]
test r9b, r9b
jne 0x140112e30
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000828d
add rsp, 0x58
ret
mov rax, r8
jmp 0x140112e59
call fcn.14000330f
int3
Function at 0x1400038d2
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140067c60
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140067c73
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, [0x14016ac60]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3
Function at 0x140003dfa
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14009728c
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
and dword [rax + 0xc], 0
mov rbp, rcx
mov dword [rax + 8], 8
mov eax, dword [rcx + 0x78]
test eax, eax
jne 0x140097319
mov rdi, qword [rcx + 0x18]
mov rsi, rcx
or rsi, 2
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rdi
call rbx
mov ecx, eax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x140097319
mov rdi, qword [rbp + 0x100]
mov byte [rbp + 0x58], 0
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call fcn.140004ae3
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rbx
cmp byte [rbp + 0x58], 0
je 0x140097311
mov byte [rbp + 0x58], 0
jmp 0x140097319
mov rcx, rbp
call fcn.1400090ed
mov eax, dword [rbp + 0x78]
test eax, eax
je 0x1400972e1
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140004011
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140069c9c
sub rsp, 0x28
test dword [0x14016c114], 0x80000000
je 0x140069cbc
mov ecx, dword [0x14017212c]
call fcn.140002f1d
test rax, rax
jne 0x140069cc1
call fcn.140009881
add rsp, 0x28
ret
Function at 0x140004610
Capabilities:
Parse pe header

Disassembly:
jmp 0x140119be0
mov rax, rcx
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x140119bf0
xor eax, eax
ret
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
xor eax, eax
cmp dword [rcx], 0x4550
jne 0x140119c0d
mov edx, 0x20b
cmp word [rcx + 0x18], dx
sete al
ret

Function at 0x1400046e7
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007ecf4
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
jne 0x14007ed29
test dword [0x14016c114], 0x80000000
je 0x14007ed20
mov ecx, dword [0x14017212c]
call fcn.140002f1d
test rax, rax
jne 0x14007ed25
call fcn.140009881
mov qword [rbx + 0x18], rax
mov rcx, rbx
call fcn.14000900c
test al, al
je 0x14007ed77
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x18]
bt edx, 0x1b
jb 0x14007ed57
shl edx, 4
mov rcx, rax
sar edx, 4
call fcn.1400089cc
mov edx, 3
jmp 0x14007ed63
lock inc dword [rax + 0xc4]
mov edx, 2
mov rcx, rbx
call fcn.140002766
mov rcx, qword [rbx + 0x18]
mov rdx, rbx
call fcn.1400091fb
add rsp, 0x20
pop rbx
ret

Function at 0x140004822
Capabilities:
Get geographical location

Disassembly:
jmp 0x140033e3c
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 rbx, qword [0x1401710c0]
mov edi, r9d
xor rbx, qword [0x14016c098]
mov rsi, r8
mov ebp, edx
mov r14, rcx
je 0x140033e87
mov rcx, rbx
call fcn.140004ae3
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x140033e9c
call fcn.140007243
mov ecx, eax
mov r9d, edi
mov r8, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
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
ret
Function at 0x140004d31
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140074270
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 0x140074288
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 0x1400742d2
mov ecx, dword [r11]
cmp dword [rax + 8], ecx
je 0x1400742d4
mov rax, qword [rax]
test rax, rax
jne 0x1400742c5
xor eax, eax
test rax, rax
je 0x1400742e4
test r8, r8
je 0x1400742e4
mov ecx, dword [rax + 0xc]
mov dword [r8], ecx
mov rbx, qword [rsp + 8]
ret

Function at 0x1400051aa
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140075f4c
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, 4
jb 0x140075f76
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 0x140075fbe
mov eax, dword [rdi]
cmp dword [rcx + 8], eax
je 0x140075fc0
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140075fb1
xor ecx, ecx
test rcx, rcx
jne 0x14007600d
mov ecx, 0x10
call fcn.140002c52
mov qword [rsp + 0x30], rax
mov r8, rax
test rax, rax
je 0x140075fef
and qword [rax], 0
mov eax, dword [rdi]
mov dword [r8 + 8], eax
mov eax, dword [r14]
mov dword [r8 + 0xc], eax
jmp 0x140075ff2
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 0x14007600f
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 0x14000542f
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400efb7c
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400ef8e0

Function at 0x140005533
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14007a4fc
mov ecx, dword [0x14017212c]
xor edx, edx
jmp fcn.1400038d2

Function at 0x1400055dd
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14007ba74
mov qword [rcx + 0x48], rdx
mov rdx, rcx
mov ecx, dword [0x14017212c]
jmp fcn.1400038d2

Function at 0x1400056c8
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ac5f0
sub rsp, 0x28
mov ecx, 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x1400ac609
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140002856
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140005736
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140076dc8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
xor ebx, ebx
lea rsi, [rdx + 0x10]
mov r14, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x140076df0
mov esi, ebx
mov ecx, dword [0x14017212c]
call fcn.140002f1d
cmp rax, rsi
je 0x140076e73
call fcn.14000381e
mov ecx, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
mov eax, dword [r14]
mov edx, 0xfffffff
xor eax, ecx
mov dword [rsp + 0x20], ebx
and eax, edx
mov r9d, 5
xor ecx, eax
mov eax, dword [r14]
xor eax, ecx
mov rcx, rbp
and eax, edx
lea rdx, [rsp + 0x20]
xor eax, dword [r14]
mov dword [rsp + 0x30], eax
mov rax, qword [r14 + 8]
mov qword [rsp + 0x38], rax
mov eax, dword [r14 + 4]
mov dword [rsp + 0x34], eax
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x40], rax
call fcn.140001b45
test al, al
je 0x140076e6e
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400032c4
mov bl, 1
call fcn.1400019ec
lea r11, [rsp + 0x50]
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400058cb
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140084a54
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rax + 0xb0]
call fcn.140002f1d
mov rdi, rax
test rax, rax
je 0x140084b1b
and eax, 3
je 0x140084aac
cmp rax, 1
jne 0x140084ab6
and rdi, 0xfffffffffffffffe
mov rdi, qword [rdi + 0x20]
add rdi, 0x10
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x140084aac
cmp byte [rax + 0x70], 0
jne 0x140084b1b
mov rcx, rdi
call fcn.140003134
jmp 0x140084b09
and rdi, 0xfffffffffffffffd
lea rsi, [rdi + 8]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rsi
call rbx
mov rdi, qword [rdi + 0x40]
mov rax, qword [rdi + 0x50]
add rdi, 0x20
test rax, rax
je 0x140084aed
cmp byte [rax + 0x70], 0
je 0x140084aed
xor edi, edi
jmp 0x140084af5
mov rcx, rdi
call fcn.140003134
mov rax, qword [rsi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call fcn.140004ae3
mov rcx, rsi
call rbx
test rdi, rdi
je 0x140084b1b
mov rdx, rdi
mov rcx, rbp
call fcn.140002298
jmp 0x140084b1d
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400059fc
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x140087714
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor edx, edx
lea rcx, str.advapi32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x140087766
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14008780d
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14008780d
lea rdx, str.RegisterTraceGuidsW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d01
lea rdx, str.UnregisterTraceGuids
mov qword [rdi], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d01
lea rdx, str.TraceEvent
mov qword [rdi + 8], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d01
lea rdx, str.GetTraceLoggerHandle
mov qword [rdi + 0x10], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d01
lea rdx, str.GetTraceEnableLevel
mov qword [rdi + 0x18], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d01
lea rdx, str.GetTraceEnableFlags
mov qword [rdi + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140002d01
mov qword [rdi + 0x28], rax
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005cd6
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007eae8
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 [0x14016c114], 0x80000000
je 0x14007eb25
mov ecx, dword [0x14017212c]
call fcn.140002f1d
mov rbx, rax
test rax, rax
jne 0x14007eb2d
call fcn.140009881
mov rbx, rax
cmp qword [rbx + 0x40], rsi
jne 0x14007eb3b
mov rcx, rbx
call fcn.140009953
mov rax, qword [rbx + 0x40]
mov ecx, dword [rax + 0xa0]
cmp rbx, qword [rdi + 0x18]
jne 0x14007eb58
cmp ecx, dword [rdi + 0xd0]
jne 0x14007eb58
mov rax, rdi
jmp 0x14007ebce
mov rcx, rbx
call fcn.140002c93
test rax, rax
je 0x14007eb6e
cmp qword [rax + 0xa8], rdi
je 0x14007ebce
mov rdx, rdi
mov rcx, rbx
call fcn.140002068
test rax, rax
jne 0x14007ebce
mov ecx, 0xe8
call fcn.140002c52
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14007eba3
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 0x14005fbb8
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 0x1400790ec
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov bl, dl
mov rdi, rcx
call fcn.14000381e
test bl, bl
je 0x140079127
or eax, 0xffffffff
lock xadd dword [rdi + 0x27c], eax
dec eax
and eax, 0x9fffffff
cmp eax, 0x80000000
jne 0x14007914f
mov rcx, rdi
call fcn.1400011cc
jmp 0x14007914f
mov eax, 1
lock xadd dword [rdi + 0x27c], eax
inc eax
bt eax, 0x1e
jae 0x14007914f
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 0x140076f34
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 0x140076f96
mov eax, dword [rbx + 0x274]
test eax, eax
jle 0x140076f90
mov ecx, dword [0x14017212c]
call fcn.140002f1d
test rax, rax
je 0x140076fa3
cmp byte [rax + 0x88], 0
jne 0x140076fa3
mov rcx, rax
call fcn.140003a62
cmp rax, rbx
jne 0x140076fa3
mov rcx, rbx
call fcn.140007711
jmp 0x140076f96
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, [0x14016ade0]
lea rcx, [rsp + 0x20]
call fcn.14000763a
int3
Function at 0x140006181
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14007e314
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 0x14007e32c
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 0x14007e377
mov rcx, qword [r11]
cmp qword [rax + 8], rcx
je 0x14007e379
mov rax, qword [rax]
test rax, rax
jne 0x14007e369
xor eax, eax
test rax, rax
je 0x14007e38a
test r8, r8
je 0x14007e38a
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 0x1400a3070
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140136ce0]
xor ecx, ecx
lea r8, [0x140136cd8]
lea rdx, str.FlsAlloc
call fcn.1400a2ad0
mov rbx, rax
test rax, rax
je 0x1400a30b0
mov rcx, rax
call fcn.140004ae3
mov rcx, rdi
call rbx
jmp 0x1400a30b6
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 0x1400822bc
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 0x1400fd800
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14013d2e8]
mov ecx, 5
lea r8, [0x14013d2e0]
lea rdx, str.FlsGetValue
call fcn.1400fcdf8
mov ecx, ebx
test rax, rax
je 0x1400fd83a
add rsp, 0x20
pop rbx
jmp qword [0x140185010]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]