joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400112d0
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x14001b270
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a8]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x140040015]
call fcn.140011933
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
lea rax, str.SeDebugPrivilege
mov qword [rbp + 0x88], rax
lea rax, str.SeAssignPrimaryTokenPrivilege
mov qword [rbp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x28]
mov edx, 0x2000000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14001b36a
lea rdx, str.OpenProcessToken
lea rcx, [rbp + 0x178]
call fcn.14001141f
nop
lea rdx, str.c_impersonate::impersonate_as_system
lea rcx, [rbp + 0x1b8]
call fcn.1400113b6
lea r9, [rbp + 0x178]
lea r8, [rbp + 0x1b8]
mov edx, 0xc
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0x178]
call fcn.1400111b8
nop
jmp 0x14001b453
mov r9d, 1
lea r8, str.SeDebugPrivilege
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x270]
call fcn.1400110c3
test eax, eax
jne 0x14001b390
jmp 0x14001b453
mov r9d, 1
lea r8, str.SeAssignPrimaryTokenPrivilege
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x270]
call fcn.1400110c3
test eax, eax
jne 0x14001b3b6
jmp 0x14001b453
mov dword [rsp + 0x20], 2
lea r9, [rbp + 0x88]
lea r8, [rbp + 0x48]
lea rdx, str.S_1_5_18
mov rcx, qword [rbp + 0x270]
call fcn.14001137f
test eax, eax
jne 0x14001b3e2
jmp 0x14001b453
lea rdx, str.Impersonating_as_SYSTEM.
lea rcx, [rbp + 0x1e8]
call fcn.14001141f
nop
lea rdx, str.c_impersonate::impersonate_as_system
lea rcx, [rbp + 0x228]
call fcn.1400113b6
lea r9, [rbp + 0x1e8]
lea r8, [rbp + 0x228]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0x1e8]
call fcn.1400111b8
nop
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x270]
call fcn.1400110a5
test eax, eax
jne 0x14001b44c
jmp 0x14001b453
mov dword [rbp + 4], 1
cmp qword [rbp + 0x28], 0
je 0x14001b465
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x48]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002ee80]
call fcn.1400117b7
mov rax, rdi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.140011497
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x140011334
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140020e40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0x208], rax
lea rcx, [0x140040167]
call fcn.140011933
nop
mov qword [rbp + 8], 0
mov rax, qword [rbp + 0x238]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x238]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x88], 0
xor eax, eax
mov word [rbp + 0xa4], ax
jmp 0x140020ef7
movzx eax, word [rbp + 0xa4]
inc ax
mov word [rbp + 0xa4], ax
movzx eax, word [rbp + 0xa4]
mov rcx, qword [rbp + 0x48]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x140021059
movzx eax, word [rbp + 0xa4]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x68]
add rcx, rax
mov rax, rcx
lea rdx, str.PAGE
mov rcx, rax
call fcn.140011a0f
test eax, eax
jne 0x140021054
movzx eax, word [rbp + 0xa4]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rbp + 0x238]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
movzx eax, word [rbp + 0xa4]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax + 8]
mov qword [rbp + 0xe8], rax
mov byte [rbp + 0x108], 0x40
mov byte [rbp + 0x109], 0x53
mov byte [rbp + 0x10a], 0x48
mov byte [rbp + 0x10b], 0x83
mov byte [rbp + 0x10c], 0xec
mov byte [rbp + 0x10d], 0x20
mov byte [rbp + 0x10e], 0x48
mov byte [rbp + 0x10f], 0x83
mov byte [rbp + 0x110], 0x79
mov byte [rbp + 0x111], 0x30
mov byte [rbp + 0x112], 0
mov byte [rbp + 0x113], 0x48
mov byte [rbp + 0x114], 0x8b
mov byte [rbp + 0x115], 0xd9
mov byte [rbp + 0x116], 0x74
mov qword [rbp + 0x138], 0xf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rbp + 0x88]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp + 0x138]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x108]
mov qword [rsp + 0x20], rcx
mov r9, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xc8]
mov rdx, rax
mov rcx, qword [rbp + 0x230]
call fcn.1400114ec
test eax, eax
je 0x140021052
mov rax, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x88]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
jmp 0x140021059
jmp 0x140020ee6
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140031fe0]
call fcn.1400117b7
mov rax, rdi
mov rcx, qword [rbp + 0x208]
xor rcx, rbp
call fcn.140011497
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret
Function at 0x140011429
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x14001afe0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x140038040]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x140040015]
call fcn.140011933
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x28]
mov edx, 0x2000000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14001b0be
lea rdx, str.OpenProcessToken
lea rcx, [rbp + 0x148]
call fcn.14001141f
nop
lea rdx, str.c_impersonate::impersonate_as_local_service
lea rcx, [rbp + 0x188]
call fcn.1400113b6
lea r9, [rbp + 0x148]
lea r8, [rbp + 0x188]
mov edx, 0xc
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0x148]
call fcn.1400111b8
nop
jmp 0x14001b1a3
mov r9d, 1
lea r8, str.SeDebugPrivilege
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x240]
call fcn.1400110c3
test eax, eax
jne 0x14001b0e4
jmp 0x14001b1a3
mov r9d, 1
lea r8, str.SeImpersonatePrivilege
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x240]
call fcn.1400110c3
test eax, eax
jne 0x14001b10a
jmp 0x14001b1a3
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x48]
lea rdx, str.S_1_5_19
mov rcx, qword [rbp + 0x240]
call fcn.14001137f
test eax, eax
jne 0x14001b132
jmp 0x14001b1a3
lea rdx, str.Impersonating_as_LOCAL_SERVICE.
lea rcx, [rbp + 0x1b8]
call fcn.14001141f
nop
lea rdx, str.c_impersonate::impersonate_as_local_service
lea rcx, [rbp + 0x1f8]
call fcn.1400113b6
lea r9, [rbp + 0x1b8]
lea r8, [rbp + 0x1f8]
mov edx, 9
lea rcx, [0x1400384e0]
call fcn.1400118b1
nop
lea rcx, [rbp + 0x1b8]
call fcn.1400111b8
nop
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x240]
call fcn.1400110a5
test eax, eax
jne 0x14001b19c
jmp 0x14001b1a3
mov dword [rbp + 4], 1
cmp qword [rbp + 0x28], 0
je 0x14001b1b5
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x48]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002ed50]
call fcn.1400117b7
mov rax, rdi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.140011497
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret

Function at 0x140011550
Capabilities:
Terminate process

Disassembly:
jmp 0x140025520
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001168b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400243b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400243d0
xor al, al
jmp 0x140024451
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400243e3
xor al, al
jmp 0x140024451
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002440d
xor al, al
jmp 0x140024451
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140024421
xor al, al
jmp 0x140024451
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140024433
xor al, al
jmp 0x140024451
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002444f
xor al, al
jmp 0x140024451
mov al, 1
add rsp, 0x38
ret
Function at 0x1400236a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011988
movzx eax, al
test eax, eax
jne 0x1400236c0
mov ecx, 7
call fcn.1400117cb
nop
mov byte [rsp + 0x20], 0
call fcn.140011820
mov byte [rsp + 0x21], al
cmp dword [0x1400386d8], 1
jne 0x1400236e4
mov ecx, 7
call fcn.1400117cb
nop
jmp 0x14002373c
cmp dword [0x1400386d8], 0
jne 0x140023737
mov dword [0x1400386d8], 1
lea rdx, [0x14002d790]
lea rcx, [0x14002d460]
call fcn.14001146a
test eax, eax
je 0x140023718
mov eax, 0xff
jmp 0x140023841
lea rdx, [0x14002d350]
lea rcx, [section..rdata]
call fcn.140011802
mov dword [0x1400386d8], 2
jmp 0x14002373c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400117ad
call fcn.1400116e0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140023799
mov rcx, qword [rsp + 0x30]
call fcn.14001137a
movzx eax, al
test eax, eax
je 0x140023799
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140042020]
nop
call fcn.140011735
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400237cd
mov rcx, qword [rsp + 0x38]
call fcn.14001137a
movzx eax, al
test eax, eax
je 0x1400237cd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400118fc
nop
call fcn.1400238f0
mov dword [rsp + 0x28], eax
call fcn.14001168b
movzx eax, al
test eax, eax
jne 0x1400237ec
mov ecx, dword [rsp + 0x28]
call fcn.1400110c8
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400237fb
call fcn.140011915
nop
xor edx, edx
mov cl, 1
call fcn.140011348
mov eax, dword [rsp + 0x28]
jmp 0x140023841
add rsp, 0x68
ret
Function at 0x140007230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400072b0
cmp r11, r10
ja 0x140007327
cmp r10, rdx
ja 0x140007339
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x1400072b2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140007290
jmp 0x140007314
ja 0x1400072ba
mov r11, r10
cmp rax, r8
jne 0x14000725e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x1400072f0
mov rdi, r8
sub ecx, edx
jns 0x14000730b
jmp 0x140007316
cmp r8, rsi
je 0x140007348
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140007316
xor al, 1
cmp rdi, rsi
jne 0x1400072d0
jmp 0x140007316
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140005060
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140004550
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140005a50
int3

Function at 0x140008c92
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140047028]
test ecx, ecx
je 0x140008cab
dec ecx
add rsp, 0x28
jmp fcn.140044a0c
lea rcx, [0x140047010]
call fcn.140017990
mov ecx, eax
jmp 0x140008ca2

Function at 0x140008cbb
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140008cdc
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140044a04
mov rcx, rax
call fcn.140017990
mov ecx, eax
jmp 0x140008ccf
Function at 0x14000da6e
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14000da87
dec ecx
add rsp, 0x28
jmp fcn.140044a0c
mov rcx, rax
call fcn.140017990
mov ecx, eax
jmp 0x14000da7e
Function at 0x14000fcbc
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, ecx
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x10
mov rdi, qword [rdi]
movzx edx, word [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
call fcn.14000fdaa
cmp eax, 0x1edab0ed
jne 0x14000fce4
mov r14, qword [rdi + 0x30]
movsxd rax, dword [r14 + 0x3c]
mov eax, dword [rax + r14 + 0x88]
test rax, rax
je 0x14000fd7c
mov edi, dword [rax + r14 + 0x18]
mov ecx, dword [rax + r14 + 0x1c]
add rcx, r14
mov qword [rsp + 0x20], rcx
mov r12d, dword [rax + r14 + 0x20]
add r12, r14
mov r13d, dword [rax + r14 + 0x24]
add r13, r14
xor ebx, ebx
xor r15d, r15d
cmp r15, rdi
je 0x14000fd7e
mov rbp, r15
mov ecx, dword [r12 + r15*4]
add rcx, r14
mov rax, rcx
mov rdx, rax
inc rax
cmp byte [rdx], 0
jne 0x14000fd49
lea r15, [rbp + 1]
sub rdx, rcx
call fcn.14000fdaa
cmp eax, esi
jne 0x14000fd37
movzx ecx, word [r13 + rbp*2]
cmp rdi, rcx
jbe 0x14000fd9a
mov rax, qword [rsp + 0x20]
mov ebx, dword [rax + rcx*4]
add rbx, r14
jmp 0x14000fd7e
xor ebx, ebx
movzx eax, word [rbx + 4]
add rbx, 0x12
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._usr_local_cargo_git_checkouts_rust_syscalls_68f3d3f4128be087_162451a_src_syscall_resolve.rs
mov rdx, rdi
call fcn.140003c10
int3

Function at 0x14000fdaa
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor r8d, r8d
cmp r8, rdx
jae 0x14000fde6
mov r9b, byte [rcx + r8]
test r9b, r9b
jne 0x14000fdc5
inc r8
jmp 0x14000fdb2
lea r10d, [r9 - 0x20]
cmp r9b, 0x61
movzx r9d, r9b
movzx r10d, r10b
cmovb r10d, r9d
imul r9d, eax, 0x21
movzx eax, r10b
add eax, r9d
jmp 0x14000fdc0
ret

Function at 0x140013460
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140013485
cmp rax, rcx
je 0x14001348b
cmp rdx, 4
jae 0x140013492
xor eax, eax
xor r8d, r8d
jmp 0x140013530
pop rbp
jmp fcn.140004070
xor eax, eax
jmp 0x140013547
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140048540]
movdqa xmm3, xmmword [0x140048550]
pxor xmm1, xmm1
nop word cs:[rax + rax]
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 0x1400134c0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140013547
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140013530
pop rbp
ret
Function at 0x140014440
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 0x1400144c4
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1400144c4
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x1400144dd
cmp eax, 0x42
jne 0x1400144c4
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x14001460d
cmp byte [r10 + rsi], 0x5f
jne 0x14001459c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x14001460d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x140014667
mov dil, 1
xor r9d, r9d
jmp 0x14001460f
xor edx, edx
call fcn.140010060
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.140010060
test al, al
jne 0x14001464d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001451c
lea rdx, [0x14004e69b]
mov r8d, 1
call fcn.1400045d0
mov rdx, rbx
test al, al
jne 0x14001464d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x1400144d0
xor r14d, r14d
lea rdi, [0x14004e9f1]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x140014554
cmp byte [rax + rcx], 0x45
je 0x1400146a0
sub r14, 1
jb 0x14001457c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x14001457c
mov r8d, 2
mov rdx, rdi
call fcn.1400045d0
mov rdx, rbx
test al, al
jne 0x14001464d
mov rcx, rdx
call fcn.1400118c0
test al, al
jne 0x14001464d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x140014540
jmp 0x1400144d0
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x1400145fd
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x1400145df
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x1400145d1
add dl, 0xa9
jmp 0x1400145dd
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x14001460d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x14001460d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x14001460f
cmp rsi, r11
jb 0x1400145b0
jmp 0x14001460f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x14001449f
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140014655
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, [0x14004e9d0]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.1400045d0
mov rcx, rbx
test al, al
je 0x140014655
mov sil, 2
jmp 0x1400144d0
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x1400144d0
cmp qword [rcx + 0x20], 0
je 0x140014660
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.140014440
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400144d2
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x1400144d0
Function at 0x1400176e0
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 [0x140047128]
test ecx, ecx
je 0x1400177d5
dec ecx
call fcn.140044a0c
cmp rax, 2
jb 0x140017716
cmp qword [rax + 8], 0
je 0x140017716
add rax, 0x10
jmp 0x1400177ce
mov ecx, dword [0x140047128]
test ecx, ecx
je 0x1400177e8
dec ecx
call fcn.140044a0c
cmp rax, 1
je 0x1400177cc
test rax, rax
jne 0x140017792
mov qword [rbp - 8], 0
lea rax, [0x140047110]
mov qword [rbp - 0x10], rax
movzx eax, byte [0x14005a108]
mov edx, 0x18
xor ecx, ecx
call fcn.1400354c0
test rax, rax
je 0x140017814
mov rcx, qword [rbp]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
mov ecx, dword [0x140047128]
test ecx, ecx
je 0x1400177fb
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.140044a04
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 0x1400177ce
test rcx, rcx
je 0x1400177ce
lock dec qword [rcx]
jne 0x1400177ce
mov rsi, rax
call fcn.1400178d0
mov rax, rsi
jmp 0x1400177ce
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, [0x140047110]
call fcn.140017990
mov ecx, eax
jmp 0x1400176fb
lea rcx, [0x140047110]
call fcn.140017990
mov ecx, eax
jmp 0x140017726
lea rcx, [0x140047110]
mov rsi, rax
call fcn.140017990
mov ecx, eax
mov rax, rsi
jmp 0x140017784
mov ecx, 8
mov edx, 0x18
call fcn.1400031e0
ud2
Function at 0x140017990
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 0x140017a25
mov rax, qword [0x14005d038]
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 0x140017a64
cmp dword [rbp], 0
je 0x140017a48
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140017a79
mov edi, eax
mov rax, qword [0x14005a0f8]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x14005a0f8], rsi
jne 0x140017a00
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 0x140017a59
call sub.KERNEL32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x140017abb
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x140017a4d
mov edi, dword [rbp + 4]
jmp 0x140017a59
mov edi, dword [rsi + 0x18]
jmp 0x140017a57
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 rcx, [rbp + 4]
lea rdx, [rbp - 0x30]
call fcn.140017b20
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.140003ba0
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.140017b70
int3
Function at 0x140018710
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 [0x1400470a8]
test ecx, ecx
je 0x1400187d4
dec ecx
call fcn.140044a0c
cmp rax, 2
jb 0x140018746
cmp qword [rax + 8], 0
je 0x140018746
add rax, 0x10
jmp 0x1400187cd
mov ecx, dword [0x1400470a8]
test ecx, ecx
je 0x1400187e7
dec ecx
call fcn.140044a0c
cmp rax, 1
je 0x1400187cb
test rax, rax
jne 0x1400187ae
movzx eax, byte [0x14005a108]
mov edx, 0x20
xor ecx, ecx
call fcn.1400354c0
test rax, rax
je 0x140018810
lea rcx, [0x140047090]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1400470a8]
test ecx, ecx
je 0x1400187fa
dec ecx
mov rdx, rax
mov rsi, rax
call fcn.140044a04
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 0x1400187cd
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x140047090]
call fcn.140017990
mov ecx, eax
jmp 0x14001872b
lea rcx, [0x140047090]
call fcn.140017990
mov ecx, eax
jmp 0x140018756
lea rcx, [0x140047090]
mov rsi, rax
call fcn.140017990
mov ecx, eax
mov rax, rsi
jmp 0x1400187a0
mov ecx, 8
mov edx, 0x20
call fcn.1400031e0
int3