joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140019e50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140006fa0
sub rsp, rax
mov rax, qword [0x140037078]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140015f50
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140019e9f
mov rax, rbp
jmp 0x140019fa7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x6c6540]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001ad9c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x6c6540]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140019fa3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140019fa3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001ad9c
test rax, rax
js 0x140019fa3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140019fa3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140019f95
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140019f95
cmp byte [rcx], 0xd
jne 0x140019f7b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140019f8a
cmp byte [rcx + 1], 0xa
jne 0x140019f8a
inc rcx
jmp 0x140019f8a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x37470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140019f5d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140019fa7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140006f70
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a13c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1406c6540]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001a193
cmp word [rdx], r13w
jne 0x14001a193
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001a198
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001a2bd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001a2de
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001a1d1
mov rdx, r9
mov word [rbx], cx
jmp 0x14001a1f8
cmp r9, r8
jae 0x14001a208
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001a1b2
jmp 0x14001a2bd
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001a2b2
cmp dword [rsp + 0x80], esi
je 0x14001a2b2
lea r8, [0x1406c6540]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001a28a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001a25a
mov word [rbx], r13w
jmp 0x14001a2ba
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001a267
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001a2ba
cmp word [rsp + 0x70], r13w
jne 0x14001a297
cmp rbx, r14
je 0x14001a254
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001ada4
cmp word [rsp + 0x70], r13w
je 0x14001a2bd
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1406c6540]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001a2b7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001a2bd
Function at 0x14001e2e8
Capabilities:
Query environment variable

Disassembly:
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 ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001e36f
mov rsi, rbx
cmp word [rax], bp
je 0x14001e32e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14001e318
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001e314
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140018a74
mov rdi, rax
test rax, rax
je 0x14001e35c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140008a20
mov rbp, rdi
xor ecx, ecx
call fcn.1400178ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140020de8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140016530
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140020e89
cmp ebx, dword [rsp + 0x30]
je 0x140020e82
test esi, esi
je 0x140020e82
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140020e5d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140020e6a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140020e47
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140020e6e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140020e8b
mov eax, 1
jmp 0x140020e8b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140025124
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ada4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ada4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140025274
cmp rax, 0xffffffffffffffff
je 0x140025274
xor edi, edi
test rbp, rbp
jle 0x14002521f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140017ed8
mov rbx, rax
test rax, rax
jne 0x1400251ac
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140025215
mov edx, 0x8000
mov ecx, r14d
call fcn.1400136bc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400175e4
cmp eax, 0xffffffff
je 0x1400251f5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400251bc
mov edx, r15d
mov ecx, r14d
call fcn.1400136bc
jmp 0x140025215
cmp byte [rsi + 0x38], dil
je 0x14002520c
cmp dword [rsi + 0x34], 5
jne 0x14002520c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140025215
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400178ec
jmp 0x140025288
jns 0x140025288
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ada4
cmp rax, 0xffffffffffffffff
jne 0x140025240
cmp byte [rsi + 0x30], dil
je 0x140025288
mov edi, dword [rsi + 0x2c]
jmp 0x140025288
mov ecx, r14d
call fcn.14001e894
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140025288
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140025288
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140025281
mov eax, dword [rsi + 0x2c]
jmp 0x140025286
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ada4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140025a90
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140025ab8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140025ab8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001540
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov eax, dword [rbp - 0x20]
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 1
ja 0x14000156e
mov eax, 0
jmp 0x1400015a2
mov dword [rbp - 0x80], 0x40
lea rax, [rbp - 0x80]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp - 0x78]
shr rax, 0x1e
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 1
ja 0x14000159d
mov eax, 0
jmp 0x1400015a2
mov eax, 1
add rsp, 0xa0
pop rbp
ret
Function at 0x1400019e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002800
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002800
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008104]
mov rbx, rcx
test esi, esi
jle 0x140001b80
mov rax, qword [0x140008108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001a9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001b25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001a80
mov rcx, rbx
call fcn.1400024a0
mov rdi, rax
test rax, rax
je 0x140001ba2
mov rax, qword [0x140008108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400025e0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001b87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001b1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001b30
add dword [0x140008104], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140008108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400019e0
nop dword [rax]
xor esi, esi
jmp 0x140001aa8
mov rax, qword [0x140008108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400019e0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400019e0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002110
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140008140]
test rbx, rbx
je 0x14000216c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002163
test rsi, rsi
je 0x140002163
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002148
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400024a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004410]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400024c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400024c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400024c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000251d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002514
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400024c0
add rax, 0x28
cmp rax, r9
jne 0x140002500
xor eax, eax
ret

Function at 0x140002520
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004410]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000253f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002548
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000253f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400025e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004410]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400025ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002608
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140007e90
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 0x140007f10
cmp r11, r10
ja 0x140007f87
cmp r10, rdx
ja 0x140007f99
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140007f12
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140007ef0
jmp 0x140007f74
ja 0x140007f1a
mov r11, r10
cmp rax, r8
jne 0x140007ebe
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 0x140007f50
mov rdi, r8
sub ecx, edx
jns 0x140007f6b
jmp 0x140007f76
cmp r8, rsi
je 0x140007fa8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140007f76
xor al, 1
cmp rdi, rsi
jne 0x140007f30
jmp 0x140007f76
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.140006cb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400059e0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140006d30
int3

Function at 0x14000e4d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000e4f5
cmp rax, rcx
je 0x14000e4fb
cmp rdx, 4
jae 0x14000e4ff
xor eax, eax
xor r8d, r8d
jmp 0x14000e590
pop rbp
jmp fcn.140005500
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14003a4d0]
movdqa xmm3, xmmword [0x14003a4e0]
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 0x14000e520
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000e5a7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000e590
pop rbp
ret
Function at 0x14000f880
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 0x14000f904
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x14000f904
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x14000f91d
cmp eax, 0x42
jne 0x14000f904
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x14000fa4d
cmp byte [r10 + rsi], 0x5f
jne 0x14000f9dc
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x14000fa4d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x14000faa7
mov dil, 1
xor r9d, r9d
jmp 0x14000fa4f
xor edx, edx
call fcn.14000ad70
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.14000ad70
test al, al
jne 0x14000fa8d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000f95c
lea rdx, [0x14003fddb]
mov r8d, 1
call fcn.140005a60
mov rdx, rbx
test al, al
jne 0x14000fa8d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x14000f910
xor r14d, r14d
lea rdi, [0x140040131]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x14000f994
cmp byte [rax + rcx], 0x45
je 0x14000fae0
sub r14, 1
jb 0x14000f9bc
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x14000f9bc
mov r8d, 2
mov rdx, rdi
call fcn.140005a60
mov rdx, rbx
test al, al
jne 0x14000fa8d
mov rcx, rdx
call fcn.14000c610
test al, al
jne 0x14000fa8d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x14000f980
jmp 0x14000f910
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x14000fa3d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x14000fa1f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x14000fa11
add dl, 0xa9
jmp 0x14000fa1d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x14000fa4d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x14000fa4d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x14000fa4f
cmp rsi, r11
jb 0x14000f9f0
jmp 0x14000fa4f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x14000f8df
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x14000fa95
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, [0x140040110]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140005a60
mov rcx, rbx
test al, al
je 0x14000fa95
mov sil, 2
jmp 0x14000f910
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x14000f910
cmp qword [rcx + 0x20], 0
je 0x14000faa0
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.14000f880
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000f912
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x14000f910
Function at 0x1400135c0
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 [0x1400390a8]
test ecx, ecx
je 0x1400136b4
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400135f1
cmp qword [rax + 8], 0
jne 0x1400136ae
mov ecx, dword [0x1400390a8]
test ecx, ecx
je 0x1400136d6
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400136f3
test rax, rax
jne 0x14001366f
mov qword [rbp - 8], 0
lea rax, [0x140039090]
mov qword [rbp - 0x10], rax
movzx eax, byte [0x1400490c0]
mov ecx, 0x18
call fcn.140032170
test rax, rax
je 0x140013715
mov rcx, qword [rbp]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400390a8]
test ecx, ecx
je 0x1400136fc
dec ecx
mov rdx, rax
mov rsi, rax
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
mov rdx, qword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
test rdx, rdx
je 0x1400136ae
test rcx, rcx
je 0x1400136ae
lock dec qword [rcx]
jne 0x1400136ae
lea rcx, [rbp - 8]
mov rsi, rax
call fcn.1400137e0
mov rax, rsi
add rax, 0x10
jmp 0x1400136f5
lea rcx, [0x140039090]
call fcn.1400138a0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x1400135e6
jmp 0x1400135f1
lea rcx, [0x140039090]
call fcn.1400138a0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140013610
xor eax, eax
add rsp, 0x38
pop rsi
pop rbp
ret
lea rcx, [0x140039090]
mov rsi, rax
call fcn.1400138a0
mov ecx, eax
mov rax, rsi
jmp 0x140013661
mov ecx, 8
mov edx, 0x18
call fcn.140004870
ud2
Function at 0x1400138a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
cmp qword [rcx], 0
je 0x140013935
mov rax, qword [0x14004b038]
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 0x140013974
cmp dword [rbp], 0
je 0x140013958
call sub.kernel32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140013989
mov edi, eax
mov rax, qword [0x1400490b8]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400490b8], rsi
jne 0x140013910
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 0x140013969
call sub.kernel32.dll_TlsAlloc
mov dword [rbp + 4], eax
cmp eax, 0xffffffff
je 0x1400139cb
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001395d
mov edi, dword [rbp + 4]
jmp 0x140013969
mov edi, dword [rsi + 0x18]
jmp 0x140013967
mov edi, eax
mov ecx, dword [rbp + 4]
call sub.kernel32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x38], 0
lea rcx, [rbp - 4]
lea rdx, [rbp - 0x38]
call fcn.140013a30
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.kernel32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rbp - 0x38]
call fcn.140005030
lea rax, str.out_of_TLS_indexes
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 4]
lea rdx, [rbp - 0x38]
call fcn.140013a80
int3

Function at 0x140014590
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 [0x140039088]
test ecx, ecx
je 0x14001462e
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1400145bc
cmp byte [rax + 8], 0
jne 0x140014628
mov ecx, dword [0x140039088]
test ecx, ecx
je 0x140014650
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14001466d
test rax, rax
jne 0x140014622
movzx eax, byte [0x1400490c0]
mov ecx, 0x10
call fcn.140032170
test rax, rax
je 0x14001468c
lea rcx, [0x140039070]
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x140039088]
test ecx, ecx
je 0x140014676
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 0x14001466f
lea rcx, [0x140039070]
call fcn.1400138a0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x1400145b6
jmp 0x1400145bc
lea rcx, [0x140039070]
call fcn.1400138a0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1400145db
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
lea rcx, [0x140039070]
mov rsi, rax
call fcn.1400138a0
mov ecx, eax
mov rax, rsi
jmp 0x140014614
mov ecx, 8
mov edx, 0x10
call fcn.140004870
int3