joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140037df0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x140092a00]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rcx + 0x18], 0xf
mov rbx, rcx
jbe 0x140037e1f
mov rsi, qword [rcx]
add rsi, qword [rcx + 0x10]
mov rbx, qword [rcx]
jmp 0x140037e26
mov rsi, qword [rcx + 0x10]
add rsi, rcx
mov qword [rsp + 0x70], rbp
xorps xmm0, xmm0
xor ebp, ebp
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x40], rbp
mov edi, 7
mov qword [rsp + 0x48], rdi
movups xmmword [rsp + 0x30], xmm0
cmp rbx, rsi
jne 0x140037e58
mov word [rsp + 0x30], bp
jmp 0x140037f63
sub rsi, rbx
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x140038001
cmp rsi, rdi
jbe 0x140037f23
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x140037e96
mov rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140037ec5
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rdi + 1]
cmp rcx, rax
ja 0x140037ffb
add rcx, rcx
cmp rcx, 0x1000
jb 0x140037efe
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140037ffb
mov rcx, rax
call fcn.14003a4dc
mov rcx, rax
test rax, rax
je 0x140037fca
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rdi
jmp 0x140037f28
test rcx, rcx
je 0x140037f14
call fcn.14003a4dc
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rdi
jmp 0x140037f28
mov rax, rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rax
jmp 0x140037f28
mov rax, qword [rsp + 0x30]
cmp rdi, 7
lea r8, [rsp + 0x30]
mov rdx, rsi
cmova r8, rax
mov rcx, r8
test rsi, rsi
je 0x140037f54
movsx eax, byte [rbx]
lea rbx, [rbx + 1]
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x140037f40
mov qword [rsp + 0x40], rsi
mov word [r8 + rsi*2], bp
mov rdi, qword [rsp + 0x48]
cmp rdi, 7
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rbp
cmova r8, qword [rsp + 0x30]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140037fd6
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037fd1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037fd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140039cf0
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140039fd0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret
call fcn.140037690
int3
call fcn.140039cd0
int3
Function at 0x14003a964
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003a9ae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003a9ae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003a9ae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003a9ae
cmp dword [rcx + 0x84], 0xe
jbe 0x14003a9ae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003a9b0
xor al, al
add rsp, 0x28
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400042a0
Capabilities:
Get disk size
Get memory capacity

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe0
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov dword [rsp + 0x90], 0x40
lea rcx, [rsp + 0x90]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi + 0x138], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x140004392
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0x148], r8
mov qword [rsi + 0x150], rax
mov rcx, rsi
xor edx, edx
call fcn.140048b10
mov rax, qword [rsi + 0xa0]
test rax, rax
je 0x1400043d2
mov rcx, qword [rsi + 0x98]
shl rax, 5
lea rdi, [rax + rax*2]
nop word [rax + rax]
lea rbx, [rcx + 0x60]
call fcn.1400434f0
mov rcx, rbx
add rdi, 0xffffffffffffffa0
jne 0x1400043c0
mov rcx, rsi
mov edx, 0x10101
call fcn.140048fa0
mov rax, qword [rsi + 0xb8]
test rax, rax
je 0x140004452
mov rbx, qword [rsi + 0xb0]
shl rax, 4
lea r14, [rax + rax*8]
xor r15d, r15d
lea rdi, [rsp + 0x20]
jmp 0x14000441c
add r15, 0x90
cmp r14, r15
je 0x140004452
cmp qword [rbx + r15 + 0x78], 0
je 0x140004410
mov qword [rsp + 0x20], 0
mov rcx, qword [rbx + r15 + 0x50]
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140004410
mov rax, qword [rsp + 0x20]
mov qword [rbx + r15 + 0x80], rax
jmp 0x140004410
mov rcx, qword [rsi + 0x108]
mov rdx, qword [rsi + 0x120]
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140045750
Function at 0x14000a200
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 0x14000a290
cmp r11, r10
ja 0x14000a306
cmp r10, rdx
ja 0x14000a318
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000a292
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000a270
jmp 0x14000a2f4
ja 0x14000a29a
mov r11, r10
cmp rax, r8
jne 0x14000a234
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 0x14000a2d0
mov rdi, r8
sub ecx, edx
jns 0x14000a2eb
jmp 0x14000a2f6
cmp r8, rsi
je 0x14000a327
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000a2f6
xor al, 1
cmp rdi, rsi
jne 0x14000a2b0
jmp 0x14000a2f6
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.1400083a0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140007970
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140008cf0
int3
Function at 0x14000bfb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1028
call fcn.140053ae0
sub rsp, rax
mov ecx, dword [0x140056028]
test ecx, ecx
je 0x14000bfec
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14000c005
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14000c005
add rdi, 0x10
jmp 0x14000c211
lea rcx, [0x140056010]
call fcn.14001d000
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14000bfd9
mov ecx, dword [0x140056028]
test ecx, ecx
je 0x14000c1f2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14000c20f
mov rsi, rax
test rax, rax
jne 0x14000c075
movzx eax, byte [0x1401b51a8]
mov edx, 0x18
xor ecx, ecx
call fcn.14003e800
test rax, rax
je 0x14000c25b
mov rsi, rax
lea rax, [0x140056010]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140056028]
test ecx, ecx
je 0x14000c239
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov rax, qword [0x1401b50a0]
cmp rax, 3
jne 0x14000c221
mov rdi, qword [0x1401b50a8]
lock inc qword [rdi]
jle 0x14000c237
mov eax, 0x60
movups xmm0, xmmword [0x1401a8dc0]
movups xmm1, xmmword [0x1401a8db0]
nop word [rax + rax]
movups xmmword [rsp + rax - 0x30], xmm0
movups xmmword [rsp + rax - 0x40], xmm1
movups xmmword [rsp + rax - 0x20], xmm1
movups xmmword [rsp + rax - 0x10], xmm0
movups xmmword [rsp + rax], xmm1
movups xmmword [rsp + rax + 0x10], xmm0
movups xmmword [rsp + rax + 0x20], xmm1
movups xmmword [rsp + rax + 0x30], xmm0
sub rax, 0xffffffffffffff80
cmp rax, 0x860
jne 0x14000c0b0
lea rcx, [rsp + 0x820]
lea rdx, [rsp + 0x20]
mov r8d, 0x800
call sub.msvcrt.dll_memcpy
movzx eax, byte [0x1401b51a8]
mov edx, 0x980
xor ecx, ecx
call fcn.14003e800
test rax, rax
je 0x14000c24c
mov r14, rax
and r14, 0xffffffffffffff80
lea rbx, [r14 + 0x80]
mov qword [r14 + 0x78], rax
mov qword [r14 + 0x80], 0
mov qword [r14 + 0x88], rdi
lea rcx, [r14 + 0x90]
lea rdx, [rsp + 0x820]
mov r8d, 0x800
call sub.msvcrt.dll_memcpy
xorps xmm0, xmm0
movaps xmmword [r14 + 0x890], xmm0
mov qword [r14 + 0x8a0], 1
mov qword [r14 + 0x8a8], 0
mov qword [r14 + 0x900], 0
mov rax, qword [rdi + 0x200]
mov qword [r14 + 0x80], rax
lock cmpxchg qword [rdi + 0x200], rbx
je 0x14000c1ae
nop word [rax + rax]
mov qword [rbx], rax
lock cmpxchg qword [rdi + 0x200], rbx
jne 0x14000c1a0
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], rbx
je 0x14000c211
mov rax, qword [rcx + 0x820]
lea rdx, [rax - 1]
mov qword [rcx + 0x820], rdx
cmp qword [rcx + 0x818], 0
jne 0x14000c211
cmp rax, 1
jne 0x14000c211
call fcn.14000b8f0
jmp 0x14000c211
lea rcx, [0x140056010]
call fcn.14001d000
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14000c024
xor edi, edi
mov rax, rdi
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14000bd60
mov rdi, qword [0x1401b50a8]
lock inc qword [rdi]
jg 0x14000c097
ud2
lea rcx, [0x140056010]
call fcn.14001d000
mov ecx, eax
jmp 0x14000c06d
mov ecx, pe_nt_image_headers64
mov edx, 0x900
call fcn.140005ca0
mov ecx, 8
mov edx, 0x18
call fcn.140005ca0
int3
Function at 0x1400104f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x30], rax
movzx eax, byte [rdx + 0x30]
mov byte [rsp + 0x27], al
movzx eax, byte [0x1401b51a8]
mov edx, 0x5f0
xor ecx, ecx
call fcn.14003e800
test rax, rax
je 0x140010747
mov rbx, rax
lea r15, [rsi + 0x38]
movabs r12, 0x800000000000000
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
nop
mov ebp, 1
lock xadd qword [0x1401b50d0], rbp
mov r14, rbp
xor r14, rcx
lea r11, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r11
lea r13, [rax + r8]
rol rax, 0x15
add r14, r9
mov r11, r14
xor r11, r10
rol r14, 0x20
xor rbp, r13
add rbp, r11
rol r11, 0xd
xor r13, r12
xor r11, rbp
rol rbp, 0x20
xor r13, rax
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r11
rol r11, 0x11
xor r13, rbp
xor r11, r14
rol r14, 0x20
xor rbp, r12
add rbp, r11
rol r11, 0xd
xor r11, rbp
rol rbp, 0x20
xor r14, 0xff
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r11
rol r11, 0x11
xor r11, r14
rol r14, 0x20
xor r13, rbp
add rbp, r11
rol r11, 0xd
xor r11, rbp
rol rbp, 0x20
add r14, r13
rol r13, 0x10
xor r13, r14
add rbp, r13
rol r13, 0x15
add r14, r11
rol r11, 0x11
xor r11, r14
rol r14, 0x20
xor r13, rbp
add rbp, r11
rol r11, 0xd
add r14, r13
rol r13, 0x10
xor r13, r14
rol r13, 0x15
xor r11, rbp
add r14, r11
rol r11, 0x11
mov rbp, r14
rol rbp, 0x20
xor rbp, r11
xor rbp, r13
xor rbp, r14
je 0x140010590
mov rax, qword [rsi + 0x58]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rdi + 0x138], rcx
movzx ecx, byte [rsp + 0x27]
mov byte [rdi + 0x140], cl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
mov rcx, qword [rsp + 0x28]
mov qword [rdi + 0x100], rcx
mov qword [rdi + 0x108], rbp
mov qword [rdi + 0x110], rax
mov rax, qword [rsi + 0x10]
shl rax, 1
test rax, rax
jne 0x140010725
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rsi + 0x18]
mov rcx, qword [0x1401b5178]
xor edx, edx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140053cc4
mov ecx, 8
mov edx, 0x5f0
call fcn.140005ca0
int3
Function at 0x140010760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140056170]
test ecx, ecx
je 0x14001078d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400107a6
cmp qword [rax + 8], 0
je 0x1400107a6
add rax, 0x10
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140056158]
call fcn.14001d000
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14001077c
mov ecx, dword [0x140056170]
test ecx, ecx
je 0x140010820
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140010839
mov rsi, rax
test rax, rax
jne 0x140010806
movzx eax, byte [0x1401b51a8]
mov edx, 0x18
xor ecx, ecx
call fcn.14003e800
test rax, rax
je 0x140010851
mov rsi, rax
lea rax, [0x140056158]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140056170]
test ecx, ecx
je 0x140010841
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rax, [rsi + 0x10]
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140056158]
call fcn.14001d000
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400107bd
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140056158]
call fcn.14001d000
mov ecx, eax
jmp 0x1400107fe
mov ecx, 8
mov edx, 0x18
call fcn.140005ca0
int3
Function at 0x1400148a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140056048]
test ecx, ecx
je 0x1400148cd
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400148e6
cmp qword [rax + 8], 0
je 0x1400148e6
add rax, 0x10
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140056030]
call fcn.14001d000
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400148bc
mov ecx, dword [0x140056048]
test ecx, ecx
je 0x14001497a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140014997
mov rsi, rax
test rax, rax
jne 0x140014952
movzx eax, byte [0x1401b51a8]
mov edx, 0x28
xor ecx, ecx
call fcn.14003e800
test rax, rax
je 0x1400149af
mov rsi, rax
lea rax, [0x140056030]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140056048]
test ecx, ecx
je 0x14001499f
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov word [rsi + 0x18], 0
mov qword [rsi + 0x20], 0
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140056030]
call fcn.14001d000
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140014905
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140056030]
call fcn.14001d000
mov ecx, eax
jmp 0x14001494a
mov ecx, 8
mov edx, 0x28
call fcn.140005ca0
int3

Function at 0x1400186f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.1400073f0
cmp rax, rcx
je 0x140018715
cmp rdx, 4
jae 0x140018718
xor eax, eax
xor r8d, r8d
jmp 0x1400187b0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140057c40]
movdqa xmm3, xmmword [0x140057c50]
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 0x140018740
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400187c7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400187b0
ret
Function at 0x140019870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x1400198cb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400198cb
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x1400198e6
cmp eax, 0x42
jne 0x1400198cb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140019996
cmp byte [r8 + r11], 0x5f
jne 0x140019996
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400199fe
mov rcx, rsi
xor edx, edx
call fcn.140014eb0
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.140014eb0
test al, al
jne 0x140019a91
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140019922
lea rdx, [0x1401a9d83]
mov r8d, 1
call fcn.1400079f0
test al, al
jne 0x140019a91
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400198da
xor r14d, r14d
lea rbx, [0x1401aa0f1]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140019954
cmp byte [rax + rcx], 0x45
je 0x140019aba
sub r14, 1
jb 0x140019979
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140019979
mov r8d, 2
mov rdx, rbx
call fcn.1400079f0
test al, al
jne 0x140019a91
mov rcx, rsi
call fcn.140016700
test al, al
jne 0x140019a91
mov rax, qword [rsi]
test rax, rax
jne 0x140019940
jmp 0x1400198da
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x140019a58
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x1400199f2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400199dc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400199cb
add dl, 0xa9
jmp 0x1400199da
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140019a58
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140019a58
movzx edx, bl
add rax, rdx
jae 0x1400199a0
jmp 0x140019a58
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140019a58
cmp rax, rcx
jae 0x140019a55
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140019a99
cmp qword [rsi + 0x20], 0
je 0x140019ab3
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.140019870
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400198dc
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140019aa8
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x1401aa0d0]
test r9b, r9b
cmovne rdx, rax
call fcn.1400079f0
test al, al
je 0x140019aa8
mov dil, 2
jmp 0x1400198da
mov dil, 1
xor r9d, r9d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140019a63
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400198da
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400198da
Function at 0x14001d000
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x14001d085
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 0x14001d0c6
cmp dword [rsp + 0x2c], 0
je 0x14001d0aa
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14001d0de
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x1401b5188]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x1401b5188], rsi
jne 0x14001d060
mov byte [0x1401b5180], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14001d0bc
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14001d128
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001d0af
mov edi, dword [rsp + 0x28]
jmp 0x14001d0bc
mov edi, dword [rsi + 0x18]
jmp 0x14001d0ba
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.14001d790
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, [0x1401ae058]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.library_std_src_syspalwindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.140006ea0
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, [0x1401ae058]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.14001d7e0
int3