joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a320
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 0x14000a3b0
cmp r10, r11
jb 0x14000a426
cmp r10, rdx
ja 0x14000a43a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000a3b2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000a390
jmp 0x14000a414
ja 0x14000a3ba
mov r11, r10
cmp rax, r8
jne 0x14000a354
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 0x14000a3f0
mov rdi, r8
sub ecx, edx
jns 0x14000a40b
jmp 0x14000a416
cmp r8, rsi
je 0x14000a44b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000a416
xor al, 1
cmp rdi, rsi
jne 0x14000a3d0
jmp 0x14000a416
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.140007eb0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400074f0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_101fa903bb9209d270086da279247625a2869211library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140007810
ud2

Function at 0x14000d298
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rbx, rcx
mov byte [rdx + 0xf0], 0xa
mov edx, 4
call fcn.14000d3e5
mov edi, eax
mov dword [rsi], eax
lea rcx, [rbx + 4]
mov edx, 4
call fcn.14000d3e5
mov dword [rsi + 4], eax
lea rcx, [rbx + 8]
mov edx, 4
call fcn.14000d3e5
mov dword [rsi + 8], eax
add rbx, 0xc
mov edx, 4
mov rcx, rbx
call fcn.14000d3e5
mov dword [rsi + 0xc], eax
xor ecx, ecx
lea rdx, [0x140041d60]
mov r8d, 0xff
lea r9, [0x140042160]
lea r10, [0x140042560]
lea r11, [0x140042960]
lea rbx, [0x140042d60]
mov r14d, eax
mov r15, r14
shr r15, 0xe
and r15d, 0x3fc
movzx ebp, byte [r15 + rdx + 3]
shl ebp, 0x18
xor ebp, edi
mov rdi, r14
shr rdi, 8
and rdi, r8
movzx edi, byte [r9 + rdi*4 + 2]
shl edi, 0x10
mov r15, r14
and r15, r8
movzx r15d, byte [r10 + r15*4 + 1]
shl r15d, 8
xor r15d, edi
xor r15d, ebp
shr r14, 0x18
movzx edi, byte [r11 + r14*4]
xor edi, r15d
xor edi, dword [rcx + rbx]
mov dword [rsi + rcx*4 + 0x10], edi
mov ebp, dword [rsi + rcx*4 + 4]
xor ebp, edi
mov dword [rsi + rcx*4 + 0x14], ebp
xor ebp, dword [rsi + rcx*4 + 8]
mov dword [rsi + rcx*4 + 0x18], ebp
xor eax, ebp
mov dword [rsi + rcx*4 + 0x1c], eax
add rcx, 4
cmp rcx, 0x28
jne 0x14000d320
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140010500
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
mov ecx, dword [0x14003f0b8]
test ecx, ecx
je 0x140010648
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14001053b
cmp qword [rax + 8], 0
je 0x14001053b
mov rcx, rax
add rcx, 0x10
mov rax, qword [rax + 0x10]
jmp 0x140010618
mov ecx, dword [0x14003f0b8]
test ecx, ecx
je 0x14001065b
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140010589
mov rdi, rax
cmp rax, 1
jne 0x1400105d1
lea rax, str._rustc_101fa903bb9209d270086da279247625a2869211library_std_src_threadlocal.rs
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
lea r9, [0x140044250]
lea r8, [rsp + 0x30]
mov edx, 0x46
call fcn.140008300
ud2
mov al, byte [0x14004e1d0]
mov ecx, 0x20
mov edx, 8
call fcn.140005c50
test rax, rax
je 0x140010681
mov rdi, rax
lea rax, [0x14003f0a0]
mov qword [rdi], rax
and qword [rdi + 8], 0
mov ecx, dword [0x14003f0b8]
test ecx, ecx
je 0x14001066e
dec ecx
mov rdx, rdi
call sub.KERNEL32.dll_TlsSetValue
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400105ff
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
jmp 0x140010604
call fcn.140039b70
mov qword [rdi + 8], 1
lea rcx, [rdi + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rdx
mov rdx, qword [rcx + 8]
lea r8, [rax + 1]
mov qword [rcx], r8
lea rcx, [0x140044110]
mov qword [rsi], rcx
and qword [rsi + 0x18], 0
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], rdx
add rsp, 0x48
pop rdi
pop rsi
ret
lea rcx, [0x14003f0a0]
call fcn.14001a4c0
mov ecx, eax
jmp 0x140010519
lea rcx, [0x14003f0a0]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001054b
lea rcx, [0x14003f0a0]
call fcn.14001a4c0
mov ecx, eax
jmp 0x1400105c9
mov ecx, 8
mov edx, 0x20
call fcn.140006280
ud2
Function at 0x140016b40
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 0x140016b9b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140016b9b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140016bb6
cmp eax, 0x42
jne 0x140016b9b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140016c66
cmp byte [r9 + r11], 0x5f
jne 0x140016c66
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140016cce
mov rcx, rsi
xor edx, edx
call fcn.140012270
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.140012270
test al, al
jne 0x140016d61
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016bf2
lea rdx, [0x1400452a3]
mov r8d, 1
call fcn.140007570
test al, al
jne 0x140016d61
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140016baa
xor r14d, r14d
lea rbx, [0x140045658]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140016c24
cmp byte [rax + rcx], 0x45
je 0x140016d83
sub r14, 1
jb 0x140016c49
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016c49
mov r8d, 2
mov rdx, rbx
call fcn.140007570
test al, al
jne 0x140016d61
mov rcx, rsi
call fcn.140013b60
test al, al
jne 0x140016d61
mov rax, qword [rsi]
test rax, rax
jne 0x140016c10
jmp 0x140016baa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140016d28
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140016cc2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140016cac
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140016c9b
add dl, 0xa9
jmp 0x140016caa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140016d28
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140016d28
movzx edx, bl
add rax, rdx
jae 0x140016c70
jmp 0x140016d28
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140016d28
cmp rax, rcx
jae 0x140016d25
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140016d7b
cmp qword [rsi + 0x20], 0
je 0x140016d74
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.140016b40
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140016bac
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016d69
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140045618]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140007570
test al, al
je 0x140016d69
mov dil, 2
jmp 0x140016baa
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140016baa
mov dil, 1
xor r8d, r8d
jmp 0x140016d2a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140016baa
Function at 0x14001a0b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x14003f078]
test ecx, ecx
je 0x14001a18f
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14001a0e4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x14001a0e4
add rdi, 0x10
jmp 0x14001a185
mov ecx, dword [0x14003f078]
test ecx, ecx
je 0x14001a1a2
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14001a183
mov rsi, rax
test rax, rax
jne 0x14001a153
movzx eax, byte [0x14004e1d0]
mov ecx, 0x20
mov edx, 8
call fcn.140005c50
test rax, rax
je 0x14001a1c5
mov rsi, rax
lea rax, [0x14003f060]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14003f078]
test ecx, ecx
je 0x14001a1b5
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 0x14001a185
test rcx, rcx
je 0x14001a185
lock dec qword [rcx]
jne 0x14001a185
call fcn.14001a1f0
jmp 0x14001a185
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14003f060]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001a0c6
lea rcx, [0x14003f060]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001a0f4
lea rcx, [0x14003f060]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001a14b
mov ecx, 8
mov edx, 0x20
call fcn.140006280
ud2
Function at 0x14001a4c0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x14001a53e
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 0x14001a57f
cmp dword [rsp + 0x2c], 0
je 0x14001a563
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x14001a599
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x14004e150]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x14004e150], rsi
jne 0x14001a520
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x14001a575
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x14001a5e5
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x14001a568
mov edi, dword [rsp + 0x28]
jmp 0x14001a575
mov edi, dword [rsi + 0x18]
jmp 0x14001a573
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.14001a620
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_101fa903bb9209d270086da279247625a2869211library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
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.140006c10
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_101fa903bb9209d270086da279247625a2869211library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.14001a690
ud2
Function at 0x14001a990
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x14001abee
mov byte [rsp + 0x37], 0
mov rax, qword [0x14004e0f0]
cmp rax, 3
jne 0x14001ab9a
cmp byte [rsp + 0x37], 0
jne 0x14001abaf
mov ecx, dword [0x14003f098]
test ecx, ecx
je 0x14001abb5
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14001a9ed
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14001aa89
mov ecx, dword [0x14003f098]
test ecx, ecx
je 0x14001abc8
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x14001aa3b
mov rsi, rax
cmp rax, 1
jne 0x14001aa83
lea rax, [0x140046c58]
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
lea r9, [0x140045f10]
lea r8, [rsp + 0x38]
mov edx, 0x46
call fcn.140008300
ud2
movzx eax, byte [0x14004e1d0]
mov ecx, 0x10
mov edx, 8
call fcn.140005c50
test rax, rax
je 0x14001ac33
mov rsi, rax
lea rax, [0x14003f080]
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov ecx, dword [0x14003f098]
test ecx, ecx
je 0x14001abdb
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov word [rsi + 8], 1
add rsi, 9
mov rax, qword [0x14004e0b8]
cmp rax, rsi
jne 0x14001aabd
mov eax, dword [0x14004e0e8]
inc eax
jne 0x14001aadd
lea rcx, str.lock_count_overflow_in_reentrant_mutexlibrary_std_src_sync_remutex.rs
lea r8, [0x140046fe0]
mov edx, 0x26
call fcn.140008580
ud2
lea rcx, [0x14004e0b0]
call sub.KERNEL32.dll_TryAcquireSRWLockExclusive
test al, al
je 0x14001abaf
mov qword [0x14004e0b8], rsi
mov eax, 1
mov dword [0x14004e0e8], eax
mov qword [rsp + 0x40], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x56], 0
cmp qword [0x14004e0c0], 0
jne 0x14001ac08
mov qword [0x14004e0c0], 0xffffffffffffffff
cmp byte [0x14004e0e5], 0
jne 0x14001ab3f
lea rcx, [0x14004e0c8]
call fcn.14001adb0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14001ab3f
lea rcx, [rsp + 0x38]
call fcn.140019970
cmp qword [0x14004e0d0], 0
je 0x14001ab5a
mov rcx, qword [0x14004e0c8]
mov edx, 1
call fcn.140005ce0
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x14004e0d8], xmm1
movups xmmword [0x14004e0c8], xmm0
inc qword [0x14004e0c0]
dec dword [0x14004e0e8]
jne 0x14001abaf
mov qword [0x14004e0b8], 0
lea rcx, [0x14004e0b0]
call fcn.14003cc8c
jmp 0x14001abaf
lea rcx, [rsp + 0x37]
call fcn.14001acb0
cmp byte [rsp + 0x37], 0
je 0x14001a9c5
add rsp, 0x60
pop rsi
ret
lea rcx, [0x14003f080]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001a9d5
lea rcx, [0x14003f080]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001a9fd
lea rcx, [0x14003f080]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001aa7b
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_101fa903bb9209d270086da279247625a2869211library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call fcn.140007810
ud2
lea rax, [0x140046bd8]
mov qword [rsp + 0x20], rax
lea rcx, [0x140046bad]
lea r9, [0x140045f30]
lea r8, [rsp + 0x38]
mov edx, 0x10
call fcn.140008300
ud2
mov ecx, 8
mov edx, 0x10
call fcn.140006280
ud2
Function at 0x14001bb80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x140047960]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x14001bbf1
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14001bc27
test eax, eax
js 0x14001bc02
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14001bc1a
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14001a2b0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14001a350
mov ecx, 7
int 0x29
ud2

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

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x14003f058]
test ecx, ecx
je 0x14001c13d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14001c0b0
cmp qword [rax + 8], 0
je 0x14001c0b0
add rax, 0x10
jmp 0x14001c137
mov ecx, dword [0x14003f058]
test ecx, ecx
je 0x14001c150
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14001c135
mov rsi, rax
test rax, rax
jne 0x14001c11b
movzx eax, byte [0x14004e1d0]
mov ecx, 0x20
mov edx, 8
call fcn.140005c50
test rax, rax
je 0x14001c173
mov rsi, rax
lea rax, [0x14003f040]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x14003f058]
test ecx, ecx
je 0x14001c163
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 byte [rsi + 0x18], 0
jmp 0x14001c137
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14003f040]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001c095
lea rcx, [0x14003f040]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001c0c0
lea rcx, [0x14003f040]
call fcn.14001a4c0
mov ecx, eax
jmp 0x14001c113
mov ecx, 8
mov edx, 0x20
call fcn.140006280
ud2
Function at 0x14001ede0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x14001ee10
test ecx, ecx
jne 0x14001ee60
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14001ee1c
test ecx, ecx
jne 0x14001ee60
mov rcx, rdi
call fcn.14001ecc0
movzx eax, al
test bpl, bpl
jne 0x14001ee67
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x14001ee53.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x14001efd8]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x14001ee53.2
xor eax, eax
test bpl, bpl
je 0x14001ee2c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14001efb9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14001ee9a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x14001ef19
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x14001eee0
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14001eefb
inc rax
dec rdi
cmp rax, 1
jne 0x14001eec0
jmp 0x14001ef19
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14001eefb
cmp ebx, 0x5c
je 0x14001eefb
inc rax
dec rdi
cmp rax, 1
jne 0x14001eee0
jmp 0x14001ef19
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x14001efc7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x14001ef43
mov al, 9
cmp rdx, 2
je 0x14001ef47
cmp rdx, 1
jne 0x14001ef57
cmp byte [r8], 0x2e
jne 0x14001ef57
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x14001ef57
mov al, 0xa
jmp 0x14001ef57
cmp byte [r8], 0x2e
jne 0x14001ef57
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x14001ee53.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x14001ee53.2
mov ecx, 2
jmp case.0x14001ee53.2
lea r8, [0x140046e08]
call fcn.140007470
ud2
lea r8, [0x140046e20]
call fcn.140007470
ud2
Function at 0x14001f240
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x58], 0
mov word [rsp + 0x5c], 0
mov dword [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 7
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x38]
mov rcx, rdx
mov rdx, rax
call fcn.140036c20
mov rdi, rdx
test rax, rax
je 0x14001f2d4
mov qword [rsp + 0x80], 1
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rdi
call fcn.140019970
mov qword [rsi], 0
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140036e20
cmp dword [rsp + 0x38], 2
jne 0x14001f303
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 2
jmp 0x14001f34f
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmm2, xmmword [rsp + 0x58]
movups xmm3, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
cmp qword [rsp + 0x80], 2
jne 0x14001f37b
lea rcx, [rsp + 0x88]
call fcn.140019970
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.KERNEL32.dll_CloseHandle
mov r12, qword [rsp + 0xb8]
test rdi, rdi
je 0x14001f3d9
mov qword [rsp + 0x80], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x14001f455
mov rbx, qword [rsp + 0x80]
jmp 0x14001f3db
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x14001f444
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
test r15, r15
je 0x14001f444
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x14001f481
mov qword [rsi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001f481
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.140019970
mov qword [rsi], 0
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
jmp 0x14001f2c3