joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008bb70
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 0x14008bb90
test al, 1
je 0x14008bc99
test al, 2
jne 0x14008bcb1
test al, 8
jne 0x14008bbdf
mov qword [rsp + 0x30], 4
mov rdi, qword [rsi + 0x28]
call fcn.140195e40
test rax, rax
je 0x14008bbf9
mov r14, qword [rax + 0x20]
mov r15, qword [rax + 0x28]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x14008bbfc
test al, 0x10
je 0x14008bc2b
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x14008bd47
mov rcx, qword [rsi + 0x68]
call qword [rax + 0x10]
jmp 0x14008bc2b
xor r14d, r14d
lea rbx, [rsi + 0x30]
mov rcx, rbx
call fcn.140089180
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
call fcn.140195e40
test rax, rax
je 0x14008bc2b
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r15
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14019cc80
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x20], rax
shl eax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x20]
jb 0x14008bcc9
jne 0x14008bc89
mov rcx, rsi
call fcn.140088cb0
mov r8, qword [rsi - 8]
mov rcx, qword [0x1402f3170]
xor edx, edx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1401d7c44
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, [0x140271750]
mov edx, 0x23
call fcn.14002e2c0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140271790]
mov edx, 0x25
call fcn.14002e2c0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [fcn.14002d660]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
lea rax, str.current:___sub:
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, [0x1402717d8]
lea rcx, [rsp + 0x80]
call fcn.14002d580
lea rax, str.waker_missing
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str._home_rifat_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_runtime_task_core.rs
lea rcx, [rsp + 0x30]
call fcn.14002d580
ud2
Function at 0x140096f20
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov r8d, 0xb
mov rdx, rax
call fcn.140096bf0
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
movzx eax, byte [0x1402f31d1]
mov edx, 0x800
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x14009708d
mov rbx, rax
mov qword [rsp + 0x38], 0x800
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rdi, qword [rsp + 0x58]
lea rbp, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
sub r12, r13
nop
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140096ff0
mov r8d, dword [rsp + 0x30]
cmp r12, r8
jae 0x140096fb0
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.14005efc0
mov rbx, qword [rsp + 0x40]
jmp 0x140096fa1
test eax, eax
jne 0x140097012
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14009706f
movabs rax, 0xde00000002
jmp 0x14009701a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
cmp qword [rsp + 0x38], 0
je 0x140097044
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, rbx
call fcn.1401d7c44
cmp qword [rsp + 0x50], 0
je 0x14009705d
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, rdi
call fcn.1401d7c44
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x50], 0
jne 0x14009704c
jmp 0x14009705d
mov ecx, 1
mov edx, 0x800
call fcn.140023ed0
ud2
Function at 0x14009a850
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 0x14009a8e6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x140200770]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140200780]
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.14000eeb0
test rdi, rdi
je 0x14009a975
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14009a98e
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 0x14009aa86
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14009ab08
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14009aa93
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 0x14009a950
cmp r9, 8
jae 0x14009aa9c
jmp 0x14009ab08
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000eeb0
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 0x14009ab08
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14009ab08
mov r8, rcx
cmp r9, 8
jb 0x14009ab08
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 0x14009aaa0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400fda80
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r8
cmp rax, r8
jne 0x1400fdb60
mov rsi, r8
test r8, r8
je 0x1400fdb84
mov rdi, rdx
mov r14, rsi
shl r14, 6
cmp rsi, 4
jae 0x1400fdac3
xor eax, eax
jmp 0x1400fdb00
mov rax, rsi
and rax, 0xfffffffffffffffc
xor edx, edx
pcmpeqd xmm0, xmm0
movdqu xmm1, xmmword [rbx + rdx*8]
movdqu xmm2, xmmword [rbx + rdx*8 + 0x10]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [rdi + rdx*8], xmm1
movdqu xmmword [rdi + rdx*8 + 0x10], xmm2
add rdx, 4
cmp rax, rdx
jne 0x1400fdad0
cmp rax, rsi
je 0x1400fdb17
nop dword [rax]
mov rdx, qword [rbx + rax*8]
not rdx
mov qword [rdi + rax*8], rdx
lea rdx, [rax + 1]
mov rax, rdx
cmp rsi, rdx
jne 0x1400fdb00
or byte [rdi], 1
sub r14, qword [rcx + 0x20]
je 0x1400fdb56
mov rax, qword [rdi + rsi*8 - 8]
mov ecx, r14d
shl rax, cl
shr rax, cl
mov qword [rdi + rsi*8 - 8], rax
cmp r14, 1
adc r14, 0
nop dword [rax + rax]
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
mov r9, rsi
call fcn.1401e8260
dec r14
jne 0x1400fdb40
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsp + 0x38], 0
lea r9, [0x140261f90]
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x38]
call fcn.1400ef920
lea r8, str._home_rifat_.cargo_registry_src_index.crates.io_6f17d22bba15001f_ring_0.17.8_src_limb.rs
xor ecx, ecx
xor edx, edx
call fcn.14002d5f0
int3

Function at 0x1401030f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140103115
cmp rax, rcx
je 0x14010311b
cmp rdx, 4
jae 0x14010311f
xor eax, eax
xor r8d, r8d
jmp 0x1401031b0
pop rbp
jmp fcn.14002da70
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1402015b0]
movdqa xmm3, xmmword [0x1402015c0]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140103140
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1401031c7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1401031b0
pop rbp
ret
Function at 0x140104270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x1401042f4
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1401042f4
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x14010430d
cmp eax, 0x42
jne 0x1401042f4
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x14010443d
cmp byte [r10 + rsi], 0x5f
jne 0x1401043cc
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x14010443d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x140104497
mov dil, 1
xor r9d, r9d
jmp 0x14010443f
xor edx, edx
call fcn.1400ff990
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.1400ff990
test al, al
jne 0x14010447d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14010434c
lea rdx, [0x140264702]
mov r8d, 1
call fcn.14002dfd0
mov rdx, rbx
test al, al
jne 0x14010447d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x140104300
xor r14d, r14d
lea rdi, [0x140264a51]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x140104384
cmp byte [rax + rcx], 0x45
je 0x1401044d0
sub r14, 1
jb 0x1401043ac
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1401043ac
mov r8d, 2
mov rdx, rdi
call fcn.14002dfd0
mov rdx, rbx
test al, al
jne 0x14010447d
mov rcx, rdx
call fcn.140101220
test al, al
jne 0x14010447d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x140104370
jmp 0x140104300
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x14010442d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x14010440f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x140104401
add dl, 0xa9
jmp 0x14010440d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x14010443d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x14010443d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x14010443f
cmp rsi, r11
jb 0x1401043e0
jmp 0x14010443f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x1401042cf
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140104485
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_____::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x140264a30]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.14002dfd0
mov rcx, rbx
test al, al
je 0x140104485
mov sil, 2
jmp 0x140104300
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x140104300
cmp qword [rcx + 0x20], 0
je 0x140104490
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.140104270
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140104302
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x140104300
Function at 0x140107060
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test r8, r8
je 0x1401070c9
mov rsi, r8
mov rdi, rdx
mov r14d, 0xffffffff
jmp 0x140107088
add rdi, rbx
sub rsi, rbx
je 0x1401070c9
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xbfffffff
jbe 0x140107080
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140107080
test ebp, 0x7fffffff
setne al
jmp 0x1401070cb
xor eax, eax
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x14013bf30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
mov r14, qword [rcx + 0x18]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x14013bf6f
cmp qword [r14 + 0x10], 0x11
jb 0x14013bf5e
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, rbx
call fcn.1401d7c44
mov rbx, qword [rsi + 0x20]
mov r14, qword [rsi + 0x28]
mov rcx, rbx
call qword [r14]
cmp qword [r14 + 8], 0
je 0x14013bfa0
cmp qword [r14 + 0x10], 0x11
jb 0x14013bf8f
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, rbx
call fcn.1401d7c44
movabs rdi, 0x8000000000000001
mov rax, qword [rsi + 0x2a8]
shl rax, 1
test rax, rax
jne 0x14013bfcd
mov rbx, qword [rsi + 0x2c0]
dec rdi
cmp rbx, rdi
jne 0x14013bff1
jmp 0x14013c04e
mov r8, qword [rsi + 0x2b0]
mov rcx, qword [0x1402f3170]
xor edx, edx
call fcn.1401d7c44
mov rbx, qword [rsi + 0x2c0]
dec rdi
cmp rbx, rdi
je 0x14013c04e
mov rdi, qword [rsi + 0x2c8]
mov r14, qword [rsi + 0x2d0]
test r14, r14
je 0x14013c038
lea r15, [rdi + 8]
jmp 0x14013c019
add r15, 0x18
dec r14
je 0x14013c038
mov rax, qword [r15 - 8]
shl rax, 1
test rax, rax
je 0x14013c010
mov r8, qword [r15]
mov rcx, qword [0x1402f3170]
xor edx, edx
call fcn.1401d7c44
jmp 0x14013c010
test rbx, rbx
je 0x14013c04e
mov rcx, qword [0x1402f3170]
xor edx, edx
mov r8, rdi
call fcn.1401d7c44
lea rcx, [rsi + 0x58]
call fcn.14012d650
lea rcx, [rsi + 0x88]
call fcn.14012d650
mov rax, qword [rsi + 0x2d8]
shl rax, 1
test rax, rax
je 0x14013c087
mov r8, qword [rsi + 0x2e0]
mov rcx, qword [0x1402f3170]
xor edx, edx
call fcn.1401d7c44
add rsi, 0xa8
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14012d770
Function at 0x14016c4b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov ecx, dword [0x1401fc148]
test ecx, ecx
je 0x14016c4e2
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14016c4fb
cmp qword [rax + 8], 0
je 0x14016c4fb
add rax, 0x10
jmp 0x14016c5d0
lea rcx, [0x1401fc130]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14016c4d2
mov ecx, dword [0x1401fc148]
test ecx, ecx
je 0x14016c5b1
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14016c5ce
test rax, rax
jne 0x14016c577
mov qword [rbp - 8], 0
lea rax, [0x1401fc130]
mov qword [rbp - 0x10], rax
movzx eax, byte [0x1402f31d1]
mov edx, 0x18
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x14016c5f0
mov rcx, qword [rbp]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401fc148]
test ecx, ecx
je 0x14016c5d7
dec ecx
mov rdx, rax
mov rsi, rax
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
mov rdx, rax
add rax, 0x10
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 8], 0
mov qword [rdx + 8], 1
mov qword [rdx + 0x10], 0
je 0x14016c5d0
test rcx, rcx
je 0x14016c5d0
lock dec qword [rcx]
jne 0x14016c5d0
mov rsi, rax
call fcn.14016c6b0
mov rax, rsi
jmp 0x14016c5d0
lea rcx, [0x1401fc130]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14016c51a
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, [0x1401fc130]
mov rsi, rax
call fcn.14016c770
mov ecx, eax
mov rax, rsi
jmp 0x14016c569
mov ecx, 8
mov edx, 0x18
call fcn.140023f30
ud2
Function at 0x14016c770
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rsi, rcx
cmp qword [rcx], 0
je 0x14016c805
mov rax, qword [0x1402f6038]
mov dword [rbp], 0
lea rbx, [rsi + 0x10]
mov r8, rbp
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.kernel32.dll_InitOnceBeginInitialize
mov dword [rbp + 4], eax
cmp eax, 1
jne 0x14016c844
cmp dword [rbp], 0
je 0x14016c828
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14016c867
mov edi, eax
mov rax, qword [0x1402f3188]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1402f3188], rsi
jne 0x14016c7e0
mov eax, edi
inc eax
mov dword [rsi + 0x18], eax
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
jmp 0x14016c839
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x14016c8a9
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14016c82d
mov edi, dword [rbp + 4]
jmp 0x14016c839
mov edi, dword [rsi + 0x18]
jmp 0x14016c837
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x30], 0
lea rdx, [0x14026dfe8]
lea r9, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp + 4]
lea r8, [rbp - 0x30]
call fcn.14016c910
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x30]
call fcn.14002d580
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x30]
call fcn.14016c950
int3
Function at 0x14016d470
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1401fc0e8]
test ecx, ecx
je 0x14016d510
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14016d49c
cmp byte [rax + 8], 0
jne 0x14016d50a
mov ecx, dword [0x1401fc0e8]
test ecx, ecx
je 0x14016d532
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14016d54f
test rax, rax
jne 0x14016d504
movzx eax, byte [0x1402f31d1]
mov edx, 0x10
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x14016d56e
lea rcx, [0x1401fc0d0]
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x1401fc0e8]
test ecx, ecx
je 0x14016d558
dec ecx
mov rdx, rax
mov rsi, rax
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
mov word [rax + 8], 1
add rax, 9
jmp 0x14016d551
lea rcx, [0x1401fc0d0]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14016d496
jmp 0x14016d49c
lea rcx, [0x1401fc0d0]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14016d4bb
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x1401fc0d0]
mov rsi, rax
call fcn.14016c770
mov ecx, eax
mov rax, rsi
jmp 0x14016d4f6
mov ecx, 8
mov edx, 0x10
call fcn.140023f30
int3

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

Disassembly:
push rbp
push rsi
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov ecx, dword [0x1401fc0c8]
test ecx, ecx
je 0x14016db22
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14016db3b
cmp qword [rax + 8], 0
je 0x14016db3b
add rax, 0x10
jmp 0x14016dbdf
lea rcx, [0x1401fc0b0]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14016db12
mov ecx, dword [0x1401fc0c8]
test ecx, ecx
je 0x14016dbc0
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14016dbdd
test rax, rax
jne 0x14016dba3
movzx eax, byte [0x1402f31d1]
mov edx, 0x20
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x14016dbfc
lea rcx, [0x1401fc0b0]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1401fc0c8]
test ecx, ecx
je 0x14016dbe6
dec ecx
mov rdx, rax
mov rsi, rax
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
mov qword [rax + 8], 1
mov rcx, rax
add rax, 0x10
mov qword [rcx + 0x10], 0
mov byte [rcx + 0x18], 0
jmp 0x14016dbdf
lea rcx, [0x1401fc0b0]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14016db56
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x1401fc0b0]
mov rsi, rax
call fcn.14016c770
mov ecx, eax
mov rax, rsi
jmp 0x14016db95
mov ecx, 8
mov edx, 0x20
call fcn.140023f30
int3

Function at 0x1401717c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
test al, al
setne r8b
cmp r9b, 1
ja 0x140171846
test al, al
jne 0x14017181f
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x14017181f
invalid
mov r10, qword [rdx]
xor r8d, r8d
xor eax, eax
Function at 0x14018bc40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, r8
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x48], rcx
add r9, r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x38], r9
enter 0x45c6, 0xffffffffffffffd0
add esi, 0x4181dc45
mov dh, 0x81

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

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov ecx, dword [0x1401fc108]
test ecx, ecx
je 0x14018ca82
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14018ca9b
cmp qword [rax + 8], 0
je 0x14018ca9b
add rax, 0x10
jmp 0x14018cb70
lea rcx, [0x1401fc0f0]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14018ca72
mov ecx, dword [0x1401fc108]
test ecx, ecx
je 0x14018cb51
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14018cb6e
test rax, rax
jne 0x14018cb17
mov qword [rbp - 8], 0
lea rax, [0x1401fc0f0]
mov qword [rbp - 0x10], rax
movzx eax, byte [0x1402f31d1]
mov edx, 0x18
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x14018cb90
mov rcx, qword [rbp]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401fc108]
test ecx, ecx
je 0x14018cb77
dec ecx
mov rdx, rax
mov rsi, rax
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
mov rdx, rax
add rax, 0x10
mov rcx, qword [rdx + 0x10]
cmp qword [rdx + 8], 0
mov qword [rdx + 8], 1
mov qword [rdx + 0x10], 0
je 0x14018cb70
test rcx, rcx
je 0x14018cb70
lock dec qword [rcx]
jne 0x14018cb70
mov rsi, rax
call fcn.14018cbc0
mov rax, rsi
jmp 0x14018cb70
lea rcx, [0x1401fc0f0]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14018caba
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, [0x1401fc0f0]
mov rsi, rax
call fcn.14016c770
mov ecx, eax
mov rax, rsi
jmp 0x14018cb09
mov ecx, 8
mov edx, 0x18
call fcn.140023f30
ud2