joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400099f0
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rax, rdx
test r9, r9
jne 0x140009a26
mov ebx, 0x79622d32
mov r10d, 0x61707865
mov r11d, 0x3320646e
mov r9d, 0x6b206574
jmp 0x140009a35
mov r10d, dword [r9]
mov r11d, dword [r9 + 4]
mov ebx, dword [r9 + 8]
mov r9d, dword [r9 + 0xc]
mov ecx, dword [r8 + 0x18]
mov edx, dword [r8 + 0x14]
mov r14d, dword [r8]
mov r15d, dword [r8 + 4]
mov r12d, dword [r8 + 8]
mov ebp, dword [r8 + 0xc]
mov r13d, dword [r8 + 0x10]
mov edi, dword [rax + 8]
mov esi, dword [rax + 0xc]
mov dword [rsp + 0x68], ecx
mov ecx, dword [r8 + 0x1c]
mov r8d, dword [rax + 4]
mov dword [rsp + 0x78], edx
mov edx, dword [rax]
mov dword [rsp + 0x70], ecx
mov ecx, dword [rsp + 0x78]
mov qword [rsp + 8], 0xa
nop dword [rax]
lea eax, [rcx + r10]
rol eax, 7
xor ebp, eax
lea eax, [r10 + rbp]
rol eax, 9
xor edi, eax
lea eax, [rdi + rbp]
rol eax, 0xd
xor ecx, eax
lea eax, [rdi + rcx]
ror eax, 0xe
xor r10d, eax
lea eax, [r14 + r11]
rol eax, 7
xor esi, eax
lea eax, [rsi + r11]
rol eax, 9
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, esi
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x68]
add eax, r14d
ror eax, 0xe
xor r11d, eax
lea eax, [rdx + rbx]
rol eax, 7
xor dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
add eax, ebx
rol eax, 9
xor r15d, eax
mov eax, dword [rsp + 0x70]
add eax, r15d
rol eax, 0xd
xor edx, eax
lea eax, [rdx + r15]
ror eax, 0xe
xor ebx, eax
lea eax, [r9 + r13]
rol eax, 7
xor r12d, eax
lea eax, [r12 + r9]
rol eax, 9
xor r8d, eax
lea eax, [r8 + r12]
rol eax, 0xd
xor r13d, eax
lea eax, [r8 + r13]
ror eax, 0xe
xor r9d, eax
lea eax, [r12 + r10]
rol eax, 7
xor r14d, eax
mov dword [rsp], r14d
lea eax, [r14 + r10]
rol eax, 9
xor r15d, eax
lea eax, [r15 + r14]
rol eax, 0xd
xor r12d, eax
lea eax, [r12 + r15]
ror eax, 0xe
xor r10d, eax
lea eax, [r11 + rbp]
rol eax, 7
xor edx, eax
lea eax, [rdx + r11]
rol eax, 9
xor r8d, eax
lea eax, [r8 + rdx]
rol eax, 0xd
xor ebp, eax
lea eax, [r8 + rbp]
ror eax, 0xe
xor r11d, eax
lea eax, [rsi + rbx]
rol eax, 7
xor r13d, eax
lea eax, [rbx + r13]
mov r14d, dword [rsp + 0x70]
rol eax, 9
xor edi, eax
lea eax, [rdi + r13]
rol eax, 0xd
xor esi, eax
lea eax, [rsi + rdi]
ror eax, 0xe
xor ebx, eax
mov eax, dword [rsp + 0x70]
add eax, r9d
rol eax, 7
xor ecx, eax
lea eax, [rcx + r9]
rol eax, 9
xor dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
add eax, ecx
rol eax, 0xd
xor r14d, eax
mov eax, dword [rsp + 0x68]
add eax, r14d
mov dword [rsp + 0x70], r14d
mov r14d, dword [rsp]
ror eax, 0xe
xor r9d, eax
sub qword [rsp + 8], 1
jne 0x140009a80
mov rcx, qword [rsp + 0x60]
xor eax, eax
mov dword [rcx], r10d
mov dword [rcx + 4], r11d
mov dword [rcx + 8], ebx
mov dword [rcx + 0xc], r9d
mov dword [rcx + 0x10], edx
mov dword [rcx + 0x14], r8d
mov dword [rcx + 0x18], edi
mov dword [rcx + 0x1c], esi
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009c60
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140009ce0
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x140009c84
call fcn.1400092c0
mov edx, ebx
mov rcx, rdi
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140009c97
call fcn.1400092c0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140011720
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x140033180]
xor rax, rsp
mov qword [rsp + 8], rax
xor edx, edx
lea r15, [0x1400247e0]
mov dword [rsp], edx
mov r8, rcx
movzx edi, byte [rsp + 3]
xor eax, eax
movzx esi, byte [rsp + 2]
movzx ebx, dl
movzx ebp, byte [rsp + 1]
movzx r14d, dl
mov word [rsp + 4], dx
movzx r11d, byte [rsp + 5]
nop dword [rax]
movzx r10d, byte [r8 + rax]
movzx ecx, r10b
xor cl, byte [rax + r15]
or cl, r14b
movzx r14d, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x20]
or cl, bpl
movzx ebp, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x40]
or cl, sil
movzx esi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x60]
or cl, dil
movzx edi, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0x80]
or cl, bl
movzx ebx, cl
movzx ecx, r10b
xor cl, byte [rax + r15 + 0xa0]
xor r10b, byte [rax + r15 + 0xc0]
or cl, r11b
or r10b, dl
movzx r11d, cl
inc rax
movzx edx, r10b
cmp rax, 0x1f
jb 0x140011780
movzx ecx, byte [rax + r8]
movzx r9d, byte [rax + r15]
and cl, 0x7f
movzx edx, byte [rax + r15 + 0xa0]
movzx r8d, cl
xor edx, r8d
movzx ecx, r10b
or edx, r11d
xor r9d, r8d
dec edx
or r9d, r14d
dec r9d
or r9d, edx
movzx edx, byte [rax + r15 + 0x80]
xor edx, r8d
or edx, ebx
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x60]
xor edx, r8d
or edx, edi
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x20]
xor edx, r8d
or edx, ebp
dec edx
or r9d, edx
movzx edx, byte [rax + r15 + 0x40]
movzx eax, byte [rax + r15 + 0xc0]
xor edx, r8d
xor eax, r8d
or edx, esi
or eax, ecx
dec edx
dec eax
or r9d, edx
or eax, r9d
shr eax, 8
and eax, 1
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.140021960
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x140012120
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
ret
Function at 0x140016830
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x3c], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x30], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x38], eax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
ret
Function at 0x14001f040
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rcx
xor eax, eax
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], eax
mov rcx, qword [rsp + 0x10]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x18]
movzx r9d, byte [rcx + rax]
inc rax
mov ecx, dword [rsp + 8]
xor r9d, edx
or ecx, r9d
mov dword [rsp + 8], ecx
cmp rax, 0x10
jl 0x14001f050
mov eax, dword [rsp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
ret
Function at 0x1400211d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14002120a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14002120f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140021258
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002ca00]
cmp byte [rcx + rax], 0
je 0x140021258
dec r8
sub rdx, 1
jne 0x14002123e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400225c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002260a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002260a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002260a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002260a
cmp dword [rcx + 0x84], 0xe
jbe 0x14002260a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002260c
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x210
mov eax, 4
mov word [rsp + 0x20], ax
mov dword [rsp + 0x30], 4
lea rdx, [rsp + 0x70]
movzx ecx, word [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, gethostbyname
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 2
lea rax, str.time.windows.com
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400010bb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400010bb
cmp dword [rsp + 0x24], 0x2af9
jne 0x1400010a1
mov eax, 1
jmp 0x1400010c1
cmp dword [rsp + 0x24], 0x2afc
jne 0x1400010b4
mov eax, 1
jmp 0x1400010c1
mov eax, 1
jmp 0x1400010c1
jmp 0x1400010bf
xor eax, eax
add rsp, 0x210
pop rdi
ret
Function at 0x141b77058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141b771df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141b77089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b7706f
add dl, dl
jne 0x141b77096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b770f6
xor eax, eax
add dl, dl
jne 0x141b770a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b771ad
add dl, dl
jne 0x141b770b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b770c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b770d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b770dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141b770ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141b7707e
mov eax, 1
add dl, dl
jne 0x141b77106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b77113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b770fb
sub eax, ebx
mov ebx, 1
jne 0x141b7714c
mov ecx, 1
add dl, dl
jne 0x141b7712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b7713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b77123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b7707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141b77168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b77175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b7715d
cmp eax, 0x7d00
jae 0x141b7719b
cmp eax, 0x500
jb 0x141b77196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b7707e
cmp eax, 0x7f
ja 0x141b7719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b7707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141b771d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141b7707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140001a40
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x428
mov r15d, dword [rdx + 0x58]
lea r12d, [r15 - 1]
cmp r12, r9
jae 0x14003908c
mov rdi, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rdx, r12
shl rdx, 0xa
add rdx, r8
lea rcx, [rsp + 0x28]
mov r8d, 0x400
call sub.msvcrt.dll_memcpy
mov eax, dword [rbx + 0x44]
cmp rax, 2
jb 0x14003906c
add r14, 0x30
lea ecx, [r15*2 - 1]
mov edx, 1
nop word cs:[rax + rax]
mov r8d, r15d
imul r8d, edx
add r8d, r12d
cmp r8, rdi
jae 0x14003908c
mov r8d, ecx
shl r8, 0xa
add r8, r14
inc rdx
xor r9d, r9d
nop word cs:[rax + rax]
movups xmm0, xmmword [r8 + r9*8 - 0x30]
movups xmm1, xmmword [r8 + r9*8 - 0x20]
movups xmm2, xmmword [rsp + r9*8 + 0x28]
xorps xmm2, xmm0
movups xmm0, xmmword [rsp + r9*8 + 0x38]
xorps xmm0, xmm1
movups xmm1, xmmword [rsp + r9*8 + 0x48]
movups xmm3, xmmword [rsp + r9*8 + 0x58]
movups xmmword [rsp + r9*8 + 0x28], xmm2
movups xmmword [rsp + r9*8 + 0x38], xmm0
movups xmm0, xmmword [r8 + r9*8 - 0x10]
xorps xmm0, xmm1
movups xmm1, xmmword [r8 + r9*8]
xorps xmm1, xmm3
movups xmmword [rsp + r9*8 + 0x48], xmm0
movups xmmword [rsp + r9*8 + 0x58], xmm1
add r9, 8
cmp r9, 0x80
jne 0x140039000
add ecx, r15d
cmp rdx, rax
jne 0x140038fd0
mov edi, dword [rbx + 0x40]
test rdi, rdi
je 0x14003908e
mov ecx, 8
mov rdx, rdi
call fcn.14014fee0
mov rbx, rax
mov r14, rdi
test rax, rax
jne 0x140039096
ud2
xor r14d, r14d
mov ebx, 1
lea r8, [rsp + 0x28]
mov r9d, 0x400
mov rcx, rbx
mov rdx, rdi
call fcn.140037740
mov qword [rsi], r14
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rdi
add rsp, 0x428
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140049780
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x14004999d
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140218110]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x1400497f0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x140218120]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x14004991a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x1400498f0
movdqa xmm1, xmmword [0x140218120]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x140218130], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x1400499bb
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.140049330
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x14004a740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x828
mov ecx, dword [0x140216018]
test ecx, ecx
je 0x14004a773
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14004a78c
cmp qword [rax + 8], 0
je 0x14004a78c
add rax, 0x10
jmp 0x14004a987
lea rcx, section..data
call fcn.14015aec0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14004a763
mov ecx, dword [0x140216018]
test ecx, ecx
je 0x14004a968
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14004a985
mov rsi, rax
test rax, rax
jne 0x14004a7fc
movzx eax, byte [0x141ada129]
mov edx, 0x18
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x14004a9aa
mov rsi, rax
lea rax, section..data
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140216018]
test ecx, ecx
je 0x14004a9ac
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov rax, qword [0x141ada030]
cmp rax, 3
jne 0x14004a994
mov rdi, qword [0x141ada038]
lock inc qword [rdi]
jle 0x14004a9aa
mov eax, 0x60
movups xmm0, xmmword [0x1419f05f8]
movups xmm1, xmmword [0x1419f05e8]
nop word cs:[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 0x14004a840
movzx eax, byte [0x141ada129]
mov edx, 0x980
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x14004a9aa
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 + 0x20]
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 rcx, qword [0x141ada038]
mov rax, qword [rcx + 0x200]
nop word cs:[rax + rax]
mov qword [rbx], rax
lock cmpxchg qword [rcx + 0x200], rbx
jne 0x14004a910
lea rax, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], rbx
je 0x14004a987
mov rdx, qword [rcx + 0x820]
lea r8, [rdx - 1]
mov qword [rcx + 0x820], r8
cmp qword [rcx + 0x818], 0
jne 0x14004a987
cmp rdx, 1
jne 0x14004a987
mov rsi, rax
call fcn.140049c70
mov rax, rsi
jmp 0x14004a987
lea rcx, section..data
call fcn.14015aec0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14004a7ab
xor eax, eax
add rsp, 0x828
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14004a0a0
mov rdi, qword [0x141ada038]
lock inc qword [rdi]
jg 0x14004a81e
ud2
lea rcx, section..data
call fcn.14015aec0
mov ecx, eax
jmp 0x14004a7f4
Function at 0x14005ba50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x140216040]
test ecx, ecx
je 0x14005bb16
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14005ba7e
cmp byte [rax + 8], 0
jne 0x14005bb10
mov ecx, dword [0x140216040]
test ecx, ecx
je 0x14005bb38
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14005bb55
test rax, rax
jne 0x14005baea
movzx eax, byte [0x141ada129]
mov edx, 0x10
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x14005bb8a
lea rcx, [0x140216028]
mov qword [rax], rcx
mov byte [rax + 8], 0
mov ecx, dword [0x140216040]
test ecx, ecx
je 0x14005bb5e
dec ecx
mov rdx, rax
mov rdi, rax
call sub.KERNEL32.dll_TlsSetValue
mov rax, rdi
test rsi, rsi
je 0x14005baf7
cmp byte [rsi], 0
mov byte [rsi], 0
jne 0x14005bb0c
xor ecx, ecx
xor edx, edx
mov rsi, rax
call sub.ole32.dll_CoInitializeEx
mov ecx, eax
mov rax, rsi
test ecx, ecx
js 0x14005bb77
mov byte [rax + 8], 1
add rax, 9
jmp 0x14005bb57
lea rcx, [0x140216028]
call fcn.14015aec0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14005ba74
jmp 0x14005ba7e
lea rcx, [0x140216028]
call fcn.14015aec0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14005ba9d
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140216028]
mov rdi, rax
call fcn.14015aec0
mov ecx, eax
mov rax, rdi
jmp 0x14005badc
call fcn.1401c5f50
test rax, rax
je 0x14005bb8a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
ud2
Function at 0x140067760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1402161b0]
test ecx, ecx
je 0x140067790
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400677a9
cmp qword [rax + 8], 0
je 0x1400677a9
add rax, 0x10
jmp 0x140067865
lea rcx, [0x140216198]
call fcn.14015aec0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140067780
mov ecx, dword [0x1402161b0]
test ecx, ecx
je 0x140067846
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140067863
test rax, rax
jne 0x140067815
movzx eax, byte [0x141ada129]
mov edx, 0x18
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x140067882
lea rcx, [0x140216198]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1402161b0]
test ecx, ecx
je 0x14006786c
dec ecx
mov rdx, rax
mov rdi, rax
call sub.KERNEL32.dll_TlsSetValue
mov rax, rdi
test rsi, rsi
je 0x14006782f
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x140067831
mov rcx, qword [rsi + 8]
jmp 0x140067831
xor ecx, ecx
lea rdx, [rax + 0x10]
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
mov rax, rdx
jmp 0x140067865
lea rcx, [0x140216198]
call fcn.14015aec0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400677c8
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140216198]
mov rdi, rax
call fcn.14015aec0
mov ecx, eax
mov rax, rdi
jmp 0x140067807
ud2
Function at 0x14006a500
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140216088]
test ecx, ecx
je 0x14006a5aa
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x14006a526
cmp dword [rax + 8], 0
jne 0x14006a5a0
mov ecx, dword [0x140216088]
test ecx, ecx
je 0x14006a5cc
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x14006a5e9
test rax, rax
jne 0x14006a591
movzx eax, byte [0x141ada129]
mov edx, 0x18
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x14006a60a
lea rcx, [0x140216070]
mov qword [rax], rcx
mov dword [rax + 8], 0
mov ecx, dword [0x140216088]
test ecx, ecx
je 0x14006a5f1
dec ecx
mov rdx, rax
mov rsi, rax
call sub.KERNEL32.dll_TlsSetValue
mov rax, rsi
mov dword [rax + 8], 1
mov qword [rax + 0xc], 0
add rax, 0xc
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140216070]
call fcn.14015aec0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x14006a520
jmp 0x14006a526
lea rcx, [0x140216070]
call fcn.14015aec0
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x14006a545
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140216070]
mov rsi, rax
call fcn.14015aec0
mov ecx, eax
mov rax, rsi
jmp 0x14006a583
ud2