joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006fac0
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 0x14006fb02
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 0x14006fb49
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 0x14006fba2
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 0x14006fb60
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14006fbe3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400819da]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400819db]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14006fbb0
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 0x140070bf8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140070c42
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140070c42
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140070c42
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140070c42
cmp dword [rcx + 0x84], 0xe
jbe 0x140070c42
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140070c44
xor al, al
add rsp, 0x28
ret
Function at 0x14000c110
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14003c010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea r12, [rsp + 0xc8]
movabs r13, 0xff00ff00ff00ff00
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r12
mov rbx, qword [r12]
mov rsi, rbx
xor rsi, r13
mov qword [rsp + 0x68], rsi
mov qword [r12], r15
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14000c18b
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [rdx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14000c1c7
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov qword [r12], rbx
jmp 0x14000c2e2
mov ebp, dword [rsp + 0x48]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
test rbp, rbp
je 0x14000c23b
cmp rbp, 0x1000
jb 0x14000c213
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x14000c310
call fcn.14002de68
mov rcx, rax
test rax, rax
je 0x14000c2b3
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000c21b
mov rcx, rbp
call fcn.14002de68
mov qword [rsp + 0x50], rax
lea rbx, [rax + rbp]
mov qword [rsp + 0x60], rbx
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x58], rbx
mov edx, dword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14000c249
mov r14, qword [r14]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8d, 1
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14000c2c1
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000c2db
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c2ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c2ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002de60
jmp 0x14000c2db
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
xor rsi, r13
mov qword [r12], rsi
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14002de40
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400018c0
nop
int3
Function at 0x140020f60
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14003c010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x140020f91
xor eax, eax
jmp 0x1400210e0
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140020fce
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x140020fce
lea ecx, [r10 - 1]
movzx eax, si
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x1400210e0
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x1400210d5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140021015
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14002103f
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, di
je 0x1400210d5
movzx edi, si
jmp 0x1400210d5
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], si
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140021095
sub eax, 1
je 0x140021095
cmp eax, 2
jne 0x1400210d5
movzx ecx, word [rsp + 0x50]
jmp 0x140021021
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x1400210c3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x1400210d5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne di, si
mov rbp, qword [rsp + 0xb0]
movzx eax, di
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002de40
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x140021a60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x140021a80
mov dword [rcx], 0x270
mov rax, rcx
ret

Function at 0x1400223e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140022414
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140022400
ret
Function at 0x140022eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14003c010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140022f85
cmp byte [rcx + 0x72], 0
je 0x140022f85
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140022f81
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140022f46
sub eax, 1
je 0x140022f4a
cmp eax, 2
jne 0x140022f81
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002de40
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140022f78
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140022f81
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140022f2e
xor al, al
jmp 0x140022f2e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002de40
add rsp, 0x60
pop rbx
ret

Function at 0x140023610
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r8d, edx
lea r9, [r9 + 4]
shr r8d, 0x1e
xor r8d, edx
imul edx, r8d, 0x6c078965
add edx, eax
inc rax
mov dword [r9 - 4], edx
cmp rax, 0x270
jb 0x140023620
mov dword [rcx], 0x270
ret
Function at 0x140025fa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140026001
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140025fc0
mov ecx, dword [r10]
jmp 0x1400260ea
cmp ecx, 0x4e0
jb 0x1400260ea
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140026020
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140026070
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140029a80
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140029b4c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140029b4c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140029b65
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140029b3c
cmp byte [rax], 0x5c
jne 0x140029b36
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140029b36
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140029b22
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140029b33
test r8b, 0x10
jne 0x140029b36
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140029b36
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140026140
test edi, edi
jne 0x140029aa0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140026130
int3

Function at 0x14002d84c
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 0x14002d8d0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140032740]
cmp byte [rcx + rax], 0
je 0x14002d8d0
dec r8
sub rdx, 1
jne 0x14002d8b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14002e92c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002e976
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002e976
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002e976
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002e976
cmp dword [rcx + 0x84], 0xe
jbe 0x14002e976
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002e978
xor al, al
add rsp, 0x28
ret
Function at 0x140009070
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, r8
cmp rcx, 2
jne 0x140009106
movdqa xmm0, xmmword [rdx]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x1401fd0c0]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401fd0d0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000eeb0
test rdi, rdi
je 0x140009186
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14000919f
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140009297
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140009318
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r8, r9
and r8, 7
je 0x1400092a4
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor rax, r11
imul rax, rdx
inc r10
cmp r8, r10
jne 0x140009160
add r8, rcx
cmp r9, 8
jae 0x1400092ad
jmp 0x140009318
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000eeb0
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140009318
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140009318
mov r8, rcx
cmp r9, 8
jb 0x140009318
add rcx, r9
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400092b0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14000e640
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2f8
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14000e660
test al, 1
je 0x14000e72f
test al, 2
jne 0x14000e747
test al, 8
jne 0x14000e6a7
lea rcx, [rsi + 0x20]
movabs rax, 0x8000000000000001
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x88]
call fcn.14000e530
jmp 0x14000e6c5
test al, 0x10
je 0x14000e6c5
mov rax, qword [rsi + 0x2b0]
test rax, rax
je 0x14000e7cb
mov rcx, qword [rsi + 0x2b8]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14019f410
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl eax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x14000e75f
jne 0x14000e721
mov rcx, rsi
call fcn.140003480
mov r8, qword [rsi - 8]
mov rcx, qword [0x1402f3170]
xor edx, edx
add rsp, 0x2f8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401d7c44
nop
add rsp, 0x2f8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140271750]
mov edx, 0x23
call fcn.14002e2c0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140271790]
mov edx, 0x25
call fcn.14002e2c0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [fcn.14002d660]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 2
lea rdx, [0x1402717d8]
lea rcx, [rsp + 0x58]
call fcn.14002d580
lea rax, str.waker_missing
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0x98], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
lea rdx, str._home_rifat_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_runtime_task_core.rs
lea rcx, [rsp + 0x88]
call fcn.14002d580
ud2
Function at 0x14000e890
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2f8
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14000e8b0
test al, 1
je 0x14000e97f
test al, 2
jne 0x14000e997
test al, 8
jne 0x14000e8f7
lea rcx, [rsi + 0x20]
movabs rax, 0x8000000000000001
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x88]
call fcn.14000e530
jmp 0x14000e915
test al, 0x10
je 0x14000e915
mov rax, qword [rsi + 0x2b0]
test rax, rax
je 0x14000ea1b
mov rcx, qword [rsi + 0x2b8]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.14019cc80
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl eax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x14000e9af
jne 0x14000e971
mov rcx, rsi
call fcn.1400032b0
mov r8, qword [rsi - 8]
mov rcx, qword [0x1402f3170]
xor edx, edx
add rsp, 0x2f8
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401d7c44
nop
add rsp, 0x2f8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140271750]
mov edx, 0x23
call fcn.14002e2c0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140271790]
mov edx, 0x25
call fcn.14002e2c0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [fcn.14002d660]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 2
lea rdx, [0x1402717d8]
lea rcx, [rsp + 0x58]
call fcn.14002d580
lea rax, str.waker_missing
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0x98], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
lea rdx, str._home_rifat_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_runtime_task_core.rs
lea rcx, [rsp + 0x88]
call fcn.14002d580
ud2
Function at 0x14000eae0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x1401fc170]
test ecx, ecx
je 0x14000ec61
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14000eb0e
cmp qword [rax + 8], 0
jne 0x14000ec99
mov ecx, dword [0x1401fc170]
test ecx, ecx
je 0x14000eca6
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14000ecc3
test rax, rax
jne 0x14000ebba
mov qword [rsp + 0x28], 0
lea rax, [0x1401fc158]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x1402f31d1]
mov edx, 0x60
xor ecx, ecx
call fcn.14018e330
test rax, rax
je 0x14000ece7
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmm2, xmmword [rsp + 0x40]
movups xmm3, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, dword [0x1401fc170]
test ecx, ecx
je 0x14000ecce
dec ecx
mov rdx, rax
mov rsi, rax
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
mov rcx, qword [rax + 0x58]
mov qword [rsp + 0x70], rcx
movups xmm0, xmmword [rax + 0x48]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rax + 8]
movups xmm1, xmmword [rax + 0x18]
movups xmm2, xmmword [rax + 0x28]
movups xmm3, xmmword [rax + 0x38]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rax + 8], 1
movups xmm0, xmmword [0x140270058]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [0x140270048]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [0x140270038]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x140270028]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x140270018]
movups xmmword [rax + 0x10], xmm0
cmp qword [rsp + 0x20], 0
je 0x14000ec99
mov rdx, qword [rsp + 0x30]
cmp rdx, 2
je 0x14000ec99
lea rcx, [rsp + 0x38]
test rdx, rdx
je 0x14000ec83
mov rdx, qword [rsp + 0x38]
lock dec qword [rdx]
jne 0x14000ec99
mov rsi, rax
call fcn.14000c9c0
jmp 0x14000ec96
lea rcx, [0x1401fc158]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14000eb03
jmp 0x14000eb0e
mov rdx, qword [rsp + 0x38]
lock dec qword [rdx]
jne 0x14000ec99
mov rsi, rax
call fcn.14000ba90
mov rax, rsi
add rax, 0x10
add rsp, 0x80
pop rsi
ret
lea rcx, [0x1401fc158]
call fcn.14016c770
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14000eb2d
xor eax, eax
add rsp, 0x80
pop rsi
ret
lea rcx, [0x1401fc158]
mov rsi, rax
call fcn.14016c770
mov ecx, eax
mov rax, rsi
jmp 0x14000ebac
mov ecx, 8
mov edx, 0x60
call fcn.140023f30
ud2