joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004f7d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x350
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov r14d, dword [rsp + 0x398]
mov rdi, rcx
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x5c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x390]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3a0]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r14d
mov esi, dword [rbx + 0x1c]
mov ecx, esi
mov ebp, dword [rbx + 4]
cmp esi, ebp
mov r8d, dword [rbx + 0x14]
mov eax, r8d
mov edx, dword [rbx + 0xc]
cmovg ecx, ebp
cmp r8d, edx
cmovg eax, edx
cmp eax, ecx
jl 0x18004f920
cmp esi, ebp
mov eax, ebp
cmovg eax, esi
cmp r8d, edx
cmovg edx, r8d
cmp edx, eax
jg 0x18004f920
cmp esi, ebp
jne 0x18004f886
sub rbx, 0x18
jmp 0x18004f92c
mov edx, dword [rdi + 0x88]
xor r9d, r9d
cmp esi, ebp
setg r9b
inc r9d
cmp edx, r9d
je 0x18004f8e4
mov eax, dword [rdi + 4]
mov ecx, eax
neg ecx
cmp esi, ebp
jg 0x18004f8b2
dec eax
add eax, esi
and eax, ecx
sub eax, esi
jmp 0x18004f8b8
and ecx, esi
mov eax, esi
sub eax, ecx
cmp eax, dword [rdi + 8]
setge r10b
test edx, edx
je 0x18004f8d2
mov dl, r10b
mov rcx, rdi
call fcn.18004eeac
test al, al
jne 0x18004f91c
mov r8b, r10b
mov edx, r9d
mov rcx, rdi
call fcn.18004ede0
test al, al
jne 0x18004f91c
mov ecx, dword [rdi + 0x60]
lea r9, [fcn.18004f020]
mov eax, dword [rdi + 0x64]
mov r8, rbx
mov dword [rsp + 0x28], eax
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rdi
cmp esi, ebp
jg 0x18004f90f
call fcn.18004f26c
jmp 0x18004f914
call fcn.18004f3e0
test al, al
je 0x18004f87d
mov al, 1
jmp 0x18004f947
mov rcx, rbx
call fcn.18004f020
add rbx, 0x18
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18004f93e
mov r14d, dword [rbx]
jmp 0x18004f83e
mov dword [rdi + 0x58], r14d
xor al, al
mov dword [rdi + 0x5c], ebp
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.18009c260
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18004fc78
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
lea r15d, [r14 + 1]
mov dword [rcx + 0x3c], r14d
mov esi, r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x18004fdc6
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.18004f970
test al, al
jne 0x18004fe5e
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x18004fd55
cmp edx, dword [rbx + 0x60]
jl 0x18004fd55
cmp edx, dword [rbx + 0x64]
jg 0x18004fd55
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x18004fd55
mov rax, qword [rbx + 0x70]
mov cl, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x18004fd55
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x18004fd78
test byte [r9 + 0x18], 8
je 0x18004fd78
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x18004fd89
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.18004eeac
test al, al
jne 0x18004fe5e
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x18004fdac
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
add esi, r15d
add rdi, 2
add r10w, r15w
cmp esi, eax
jl 0x18004fcde
movzx r11d, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp r11w, r15w
jbe 0x18004fe63
test rdx, rdx
je 0x18004fe63
lea rdi, [rdx + 8]
cmp r11w, r15w
jbe 0x18004fdfa
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x18004fdfd
mov r10, r14
mov qword [rdi], r10
test byte [rdx + 0x18], 8
mov r10d, dword [rdx + 0x20]
mov r8d, r10d
mov eax, dword [rdx + 0x1c]
je 0x18004fe18
dec r10d
add r10d, eax
jmp 0x18004fe2f
sub r8d, eax
add r8d, r15d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.18004ef40
test al, al
jne 0x18004fe5e
lea edx, [r10 + 1]
mov rcx, rbx
call fcn.18004ef40
test al, al
jne 0x18004fe5e
mov rdx, qword [rdi]
mov eax, 0xffff
add r11w, ax
je 0x18004fe67
jmp 0x18004fde2
mov al, r15b
jmp 0x18004fe72
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x18009b06c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
mov r11, rdx
mov r9d, ecx
test rdx, rdx
je 0x18009b0f1
lea rdi, [0x1800c4290]
not r9d
cmp r8d, 8
jb 0x18009b0c8
mov edx, r8d
shr rdx, 3
add r8d, 0xfffffff8
mov ebx, 8
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
sub rbx, 1
jne 0x18009b0a4
sub rdx, 1
jne 0x18009b09b
test r8d, r8d
je 0x18009b0eb
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rdi + rax*4]
add r8d, 0xffffffff
jne 0x18009b0cd
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rdi, qword [rsp + 0x10]
ret
Function at 0x7ff6fd4f1487
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x7ff6fd4fc9d0]
mov dword [rax], 1
mov rax, qword [0x7ff6fd4fc9e0]
mov dword [rax], 1
mov rax, qword [0x7ff6fd4fc9f0]
mov dword [rax], 1
mov rax, qword [0x7ff6fd4fc960]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x7ff6fd4f14d8
mov eax, 0
jmp 0x7ff6fd4f1585
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x7ff6fd4f1504
mov eax, 0
jmp 0x7ff6fd4f1585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x7ff6fd4f152a
cmp eax, 0x20b
je 0x7ff6fd4f1551
jmp 0x7ff6fd4f1580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x7ff6fd4f153d
mov eax, 0
jmp 0x7ff6fd4f1585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x7ff6fd4f1585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x7ff6fd4f156c
mov eax, 0
jmp 0x7ff6fd4f1585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x7ff6fd4f1585
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x7ff6fd4f1f20
Capabilities:
Create directory

Disassembly:
push r14
mov eax, 0x2020
push r13
push r12
push rsi
push rbx
call fcn.7ff6fd4f3f40
sub rsp, rax
mov eax, dword [0x7ff6fd5100e0]
mov r12, rcx
test eax, eax
je 0x7ff6fd4f1ff0
xor ebx, ebx
lea rsi, [0x7ff6fd50e0e0]
test eax, eax
jg 0x7ff6fd4f1f64
jmp 0x7ff6fd4f1f90
add rbx, 1
cmp dword [0x7ff6fd5100e0], ebx
jle 0x7ff6fd4f1f90
mov rdx, qword [rsi + rbx*8]
mov rcx, r12
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x7ff6fd4f1f58
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
mov rcx, r12
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x7ff6fd4f1fa7
cmp word [r12 + 2], 0x3a
je 0x7ff6fd4f1f74
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x7ff6fd4f2040
movsxd rbx, dword [0x7ff6fd5100e0]
cmp ebx, 0x3ff
jg 0x7ff6fd4f1f74
mov rcx, r12
call sub.msvcrt.dll__wcsdup
add dword [0x7ff6fd5100e0], 1
mov r8, rax
lea rax, [0x7ff6fd50e0e0]
mov qword [rax + rbx*8], r8
jmp 0x7ff6fd4f1f74
lea r13, [rsp + 0x20]
lea r14, str._HOME_
mov r8d, 0x1000
mov rdx, r14
mov rcx, r13
call fcn.7ff6fd4f1860
test al, al
je 0x7ff6fd4f2058
movsxd rbx, dword [0x7ff6fd5100e0]
mov rcx, r13
lea rsi, [0x7ff6fd50e0e0]
call sub.msvcrt.dll__wcsdup
mov qword [rsi + rbx*8], rax
mov eax, dword [0x7ff6fd5100e0]
add eax, 1
mov dword [0x7ff6fd5100e0], eax
jmp 0x7ff6fd4f1f46
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x7ff6fd4f1fba
xor eax, eax
jmp 0x7ff6fd4f1f79
mov rcx, r14
call fcn.7ff6fd4f1ef0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x7ff6fd4f2210
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
lea rsi, [0x7ff6fd4fc11a]
lea rdi, [0x7ff6fd50c0e0]
mov rcx, qword [0x7ff6fd5010a0]
movq xmm6, rdi
movq xmm0, rsi
punpcklqdq xmm6, xmm0
test rcx, rcx
je 0x7ff6fd4f2267
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x7ff6fd4f2288
mov rcx, qword [0x7ff6fd5010a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x7ff6fd50c0c0], 0
jne 0x7ff6fd4f22a0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x7ff6fd5010a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x7ff6fd4f225a
mov edx, 0x414
lea r12, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [rsp + 0x28], 3
mov rcx, r12
mov ebx, 0x14
mov word [rsp + 0x40], dx
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x7ff6fd4f2354
test al, 0x10
je 0x7ff6fd4f2270
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x7ff6fd4f2270
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x7ff6fd4f2300
jmp 0x7ff6fd4f2270
Function at 0x7ff6fd4f2c40
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.7ff6fd4f9b40
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.7ff6fd4f9b40
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x7ff6fd4f38f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x7ff6fd5101c8]
test eax, eax
je 0x7ff6fd4f398a
lea rax, [0x7ff6fd5101a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x7ff6fd5101d0]
mov qword [rbp - 8], rax
jmp 0x7ff6fd4f396e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x7ff6fd4f3962
cmp qword [rbp - 0x10], 0
je 0x7ff6fd4f3962
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x7ff6fd4f3928
lea rax, [0x7ff6fd5101a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x7ff6fd4f398b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x7ff6fd4f3a90
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x7ff6fd4f3ab8
mov eax, 0
jmp 0x7ff6fd4f3b06
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x7ff6fd4f3ae1
mov eax, 0
jmp 0x7ff6fd4f3b06
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x7ff6fd4f3b01
mov eax, 0
jmp 0x7ff6fd4f3b06
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x7ff6fd4f3b0c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x7ff6fd4f3b8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x7ff6fd4f3b81
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x7ff6fd4f3b81
mov rax, qword [rbp - 8]
jmp 0x7ff6fd4f3b9f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x7ff6fd4f3b54
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140005b40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
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 0x140005bd0
cmp r11, r10
ja 0x140005c46
cmp r10, rdx
ja 0x140005c5a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140005bd2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140005bb0
jmp 0x140005c34
ja 0x140005bda
mov r11, r10
cmp rax, r8
jne 0x140005b74
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 0x140005c10
mov rdi, r8
sub ecx, edx
jns 0x140005c2b
jmp 0x140005c36
cmp r8, rsi
je 0x140005c6b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140005c36
xor al, 1
cmp rdi, rsi
jne 0x140005bf0
jmp 0x140005c36
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140003e70
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140003460
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_srccollections_btree_navigate.rsinvalid_args
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400037f0
ud2

Function at 0x14000c330
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140002ee0
cmp rax, rcx
je 0x14000c355
cmp rdx, 4
jae 0x14000c358
xor r8d, r8d
xor eax, eax
jmp 0x14000c3f0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140038620]
movdqa xmm3, xmmword [0x140038630]
pxor xmm1, xmm1
nop dword [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 0x14000c380
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000c407
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000c3f0
ret
Function at 0x14000d700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14000d75b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000d75b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000d776
cmp eax, 0x42
jne 0x14000d75b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000d826
cmp byte [r9 + r11], 0x5f
jne 0x14000d826
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000d88e
mov rcx, rsi
xor edx, edx
call fcn.140008da0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.140008da0
test al, al
jne 0x14000d921
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d7b2
lea rdx, [0x14003b72b]
mov r8d, 1
call fcn.1400034d0
test al, al
jne 0x14000d921
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000d76a
xor r14d, r14d
lea rbx, [0x14003bae0]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000d7e4
cmp byte [rax + rcx], 0x45
je 0x14000d943
sub r14, 1
jb 0x14000d809
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d809
mov r8d, 2
mov rdx, rbx
call fcn.1400034d0
test al, al
jne 0x14000d921
mov rcx, rsi
call fcn.14000a5a0
test al, al
jne 0x14000d921
mov rax, qword [rsi]
test rax, rax
jne 0x14000d7d0
jmp 0x14000d76a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000d8e8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000d882
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000d86c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000d85b
add dl, 0xa9
jmp 0x14000d86a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000d8e8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000d8e8
movzx edx, bl
add rax, rdx
jae 0x14000d830
jmp 0x14000d8e8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000d8e8
cmp rax, rcx
jae 0x14000d8e5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000d93b
cmp qword [rsi + 0x20], 0
je 0x14000d934
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14000d700
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000d76c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d929
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x14003baa0]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.1400034d0
test al, al
je 0x14000d929
mov dil, 2
jmp 0x14000d76a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000d76a
mov dil, 1
xor r8d, r8d
jmp 0x14000d8ea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000d76a
Function at 0x140010c40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov ecx, dword [0x140037078]
test ecx, ecx
je 0x140010d33
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140010c74
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140010c74
add rdi, 0x10
jmp 0x140010d29
mov ecx, dword [0x140037078]
test ecx, ecx
je 0x140010d46
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140010d27
mov rsi, rax
test rax, rax
jne 0x140010cf7
mov qword [rsp + 0x30], 0
lea rax, [0x140037060]
mov qword [rsp + 0x28], rax
movzx eax, byte [0x140044030]
mov ecx, 0x20
mov edx, 8
call fcn.140001c10
test rax, rax
je 0x140010d69
mov rsi, rax
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, dword [0x140037078]
test ecx, ecx
je 0x140010d59
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
cmp qword [rsi + 8], 0
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 8], 1
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
je 0x140010d29
test rcx, rcx
je 0x140010d29
lock dec qword [rcx]
jne 0x140010d29
call fcn.140010db0
jmp 0x140010d29
xor edi, edi
mov rax, rdi
add rsp, 0x48
pop rdi
pop rsi
ret
lea rcx, [0x140037060]
call fcn.140010fe0
mov ecx, eax
jmp 0x140010c56
lea rcx, [0x140037060]
call fcn.140010fe0
mov ecx, eax
jmp 0x140010c84
lea rcx, [0x140037060]
call fcn.140010fe0
mov ecx, eax
jmp 0x140010cef
mov ecx, 8
mov edx, 0x20
call fcn.140002070
ud2
Function at 0x140010fe0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x140011065
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x1400110a6
cmp dword [rsp + 0x2c], 0
je 0x14001108a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400110c0
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1400440f0]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1400440f0], rsi
jne 0x140011040
mov byte [0x1400440e8], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14001109c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14001110c
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001108f
mov edi, dword [rsp + 0x28]
jmp 0x14001109c
mov edi, dword [rsi + 0x18]
jmp 0x14001109a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.140011170
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_srccollections_btree_navigate.rsinvalid_args
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syswindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.140002950
ud2
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str.called__Option::unwrap____on_a__None__value_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_srccollections_btree_navigate.rsinvalid_args
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1400111c0
ud2
Function at 0x1400116e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140037098]
test ecx, ecx
je 0x14001177f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x140011709
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14001176e
mov ecx, dword [0x140037098]
test ecx, ecx
je 0x140011792
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140011774
mov rsi, rax
test rax, rax
jne 0x140011768
movzx eax, byte [0x140044030]
mov ecx, 0x10
mov edx, 8
call fcn.140001c10
test rax, rax
je 0x1400117b5
mov rsi, rax
lea rax, [0x140037080]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x140037098]
test ecx, ecx
je 0x1400117a5
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
jmp 0x140011776
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140037080]
call fcn.140010fe0
mov ecx, eax
jmp 0x1400116f5
lea rcx, [0x140037080]
call fcn.140010fe0
mov ecx, eax
jmp 0x140011715
lea rcx, [0x140037080]
call fcn.140010fe0
mov ecx, eax
jmp 0x140011760
mov ecx, 8
mov edx, 0x10
call fcn.140002070
ud2