joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800d96a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x1800d97c4
cmp r8d, 0xff
jne 0x1800d9701
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1800d96eb
lea r8, [0x180000000]
mov r9, qword [r8 + r10*8 + 0x12e490]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1800b51d0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1800b51d0
cmp r8d, 0xfb
jne 0x1800d9713
lea r9, str.WILL
jmp 0x1800d9751
cmp r8d, 0xfc
jne 0x1800d9725
lea r9, str.WONT
jmp 0x1800d9751
cmp r8d, 0xfd
jne 0x1800d9737
lea r9, [0x18012eeb4]
jmp 0x1800d9751
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1800d97ad
cmp r10d, 0x27
jg 0x1800d9784
lea r8, [0x180000000]
mov r8, qword [r8 + r10*8 + 0x12eab0]
test r8, r8
jne 0x1800d9794
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1800b51d0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1800d976b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1800b51d0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1800b51d0
add rsp, 0x38
ret

Function at 0x1800d9b10
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1800d9b6f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800b5050
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1800d96a0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800d9d20
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1800d9ec8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1800d9d85
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1800d9d85
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1800d9d85
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1800d9dbc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1800d9e12
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800d9e12
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800d9e12
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800d9e12
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1800d9e12
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1800d97d0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1800d9e74
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800b5050
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1800d9ba0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1800d9ec0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1800b5050
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1800db630
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1803435b8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1800db6c5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1800db726
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1800b5050
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800ef750
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1800db7e1
sub ecx, 1
je 0x1800db854
sub ecx, 1
je 0x1800db790
cmp ecx, 1
je 0x1800db773
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1800fb280]
call fcn.1800b5050
jmp 0x1800db854
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1800db360
test eax, eax
je 0x1800db854
jmp 0x1800db6fa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1800db854
sub rax, rsi
cmp rax, rbp
jae 0x1800db854
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1800b51d0
jmp 0x1800db854
cmp r8d, 4
jle 0x1800db854
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1800db854
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1800b4f70
mov esi, eax
test eax, eax
je 0x1800db833
mov edx, 5
mov rcx, rbx
call fcn.1800dc320
mov eax, esi
jmp 0x1800db6fa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1800c4580
mov rcx, r14
call fcn.1800c4860
test eax, eax
je 0x1800db6f8
mov edx, 5
mov rcx, rbx
call fcn.1800dc320
mov eax, Ordinal_46
jmp 0x1800db6fa
Function at 0x1800ee730
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1800ee772
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1800ee7b9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1800ee812
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1800ee7d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800ee853
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1801320ab]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1801320ac]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800ee820
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1800ee9cc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800eea50
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1800eea50
dec r8
sub rdx, 1
jne 0x1800eea36
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1800ef29c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1800eeb2c
mov ebx, eax
test eax, eax
jne 0x1800ef2cc
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1800ef32f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800ef326
test al, 0x10
je 0x1800ef326
bt eax, 0xa
jae 0x1800ef31f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1800ef340
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1800ef31b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1800ef31b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x1800ef326
and dword [rsp + 0x3c], 0
jmp 0x1800ef32b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005af0
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 0x140005b80
cmp r11, r10
ja 0x140005bf6
cmp r10, rdx
ja 0x140005c08
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140005b82
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140005b60
jmp 0x140005be4
ja 0x140005b8a
mov r11, r10
cmp rax, r8
jne 0x140005b24
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 0x140005bc0
mov rdi, r8
sub ecx, edx
jns 0x140005bdb
jmp 0x140005be6
cmp r8, rsi
je 0x140005c17
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140005be6
xor al, 1
cmp rdi, rsi
jne 0x140005ba0
jmp 0x140005be6
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.pC_
mov rcx, r11
mov rdx, r10
call fcn.140003e60
lea r8, str.pC_
mov rcx, r10
call fcn.140003450
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140004950
int3

Function at 0x14000c090
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140002ed0
cmp rax, rcx
je 0x14000c0b5
cmp rdx, 4
jae 0x14000c0b8
xor eax, eax
xor r8d, r8d
jmp 0x14000c150
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140035490]
movdqa xmm3, xmmword [0x1400354a0]
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 0x14000c0e0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000c167
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000c150
ret
Function at 0x14000d380
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 0x14000d3db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000d3db
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x14000d3f6
cmp eax, 0x42
jne 0x14000d3db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000d4a6
cmp byte [r8 + r11], 0x5f
jne 0x14000d4a6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000d50e
mov rcx, rsi
xor edx, edx
call fcn.140008b00
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.140008b00
test al, al
jne 0x14000d5a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d432
lea rdx, [0x140275484]
mov r8d, 1
call fcn.1400034d0
test al, al
jne 0x14000d5a1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000d3ea
xor r14d, r14d
lea rbx, [0x1402757f1]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000d464
cmp byte [rax + rcx], 0x45
je 0x14000d5c3
sub r14, 1
jb 0x14000d489
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d489
mov r8d, 2
mov rdx, rbx
call fcn.1400034d0
test al, al
jne 0x14000d5a1
mov rcx, rsi
call fcn.14000a320
test al, al
jne 0x14000d5a1
mov rax, qword [rsi]
test rax, rax
jne 0x14000d450
jmp 0x14000d3ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x14000d568
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x14000d502
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000d4ec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000d4db
add dl, 0xa9
jmp 0x14000d4ea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000d568
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000d568
movzx edx, bl
add rax, rdx
jae 0x14000d4b0
jmp 0x14000d568
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000d568
cmp rax, rcx
jae 0x14000d565
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000d5bb
cmp qword [rsi + 0x20], 0
je 0x14000d5b4
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.14000d380
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000d3ec
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000d5a9
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, [0x1402757d0]
test r9b, r9b
cmovne rdx, rax
call fcn.1400034d0
test al, al
je 0x14000d5a9
mov dil, 2
jmp 0x14000d3ea
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000d3ea
mov dil, 1
xor r9d, r9d
jmp 0x14000d56a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000d3ea
Function at 0x140010920
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1400109a5
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 0x1400109e6
cmp dword [rsp + 0x2c], 0
je 0x1400109ca
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1400109fe
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x14027d0f0]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x14027d0f0], rsi
jne 0x140010980
mov byte [0x14027d0e8], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x1400109dc
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x140010a48
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1400109cf
mov edi, dword [rsp + 0x28]
jmp 0x1400109dc
mov edi, dword [rsi + 0x18]
jmp 0x1400109da
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.140010e90
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._rustc_aedd173a2c086e558c2b66d3743b344f977621a7library_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_syspalwindows_thread_local_key.rs
lea rcx, [rsp + 0x30]
call fcn.140002980
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._rustc_aedd173a2c086e558c2b66d3743b344f977621a7library_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.140010ee0
int3
Function at 0x140010d70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x140010e47
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140010da4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x140010da4
add rdi, 0x10
jmp 0x140010e3d
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x140010e5a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140010e3b
mov rsi, rax
test rax, rax
jne 0x140010e0a
movzx eax, byte [0x14027d040]
mov ecx, 0x18
call fcn.14002e720
test rax, rax
je 0x140010e7d
mov rsi, rax
lea rax, [0x140034080]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140034098]
test ecx, ecx
je 0x140010e6d
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x140010e3d
test rcx, rcx
je 0x140010e3d
lock dec qword [rcx]
jne 0x140010e3d
call fcn.1400108d0
jmp 0x140010e3d
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140034080]
call fcn.140010920
mov ecx, eax
jmp 0x140010d86
lea rcx, [0x140034080]
call fcn.140010920
mov ecx, eax
jmp 0x140010db4
lea rcx, [0x140034080]
call fcn.140010920
mov ecx, eax
jmp 0x140010e02
mov ecx, 8
mov edx, 0x18
call fcn.1400022d0
int3
Function at 0x1400120a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140034078]
test ecx, ecx
je 0x140012158
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400120d0
cmp qword [rax + 8], 0
je 0x1400120d0
add rax, 0x10
jmp 0x140012152
mov ecx, dword [0x140034078]
test ecx, ecx
je 0x14001216b
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140012150
mov rsi, rax
test rax, rax
jne 0x140012136
movzx eax, byte [0x14027d040]
mov ecx, 0x20
call fcn.14002e720
test rax, rax
je 0x14001218e
mov rsi, rax
lea rax, [0x140034060]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140034078]
test ecx, ecx
je 0x14001217e
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 0x140012152
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140034060]
call fcn.140010920
mov ecx, eax
jmp 0x1400120b5
lea rcx, [0x140034060]
call fcn.140010920
mov ecx, eax
jmp 0x1400120e0
lea rcx, [0x140034060]
call fcn.140010920
mov ecx, eax
jmp 0x14001212e
mov ecx, 8
mov edx, 0x20
call fcn.1400022d0
int3

Function at 0x140014890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
test al, al
setne r8b
cmp r9b, 1
ja 0x140014904
test al, al
jne 0x1400148e9
movzx esi, byte [rdx + 0x10]
lea eax, [rsi - 5]
cmp al, 1
ja 0x1400148e9
mov r10, qword [rdx]
mov rax, qword [rdx + 8]
xor r11d, r11d
test r9b, r9b
jne 0x1400148e0
cmp sil, 6
je 0x1400148e0
mov r11d, 2
cmp rax, 2
jb 0x140014aed
cmp r11, rax
jne 0x140014a37
xor eax, eax
xor r8d, r8d
xor eax, eax
xor r10d, r10d
add rax, r10
lea rsi, [r10 + r11]
inc rsi
cmp rsi, rax
sete al
movzx r10d, byte [r10 + r11]