joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140111760
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x1401be0f0]
cmp rax, 3
jne 0x14011191b
cmp rbx, 0x17f
ja 0x14011192d
lea r15, [rsp + 0x60]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov byte [rsp + rbx + 0x60], 0
lea rax, [rbx + 1]
cmp rbx, 0xe
ja 0x1401117d8
xor edx, edx
nop
cmp byte [rsp + rdx + 0x60], 0
je 0x140111884
inc rdx
cmp rax, rdx
jne 0x1401117c0
jmp 0x1401118e2
lea rcx, [rsp + 0x67]
and rcx, 0xfffffffffffffff8
sub rcx, r15
je 0x14011180e
je 0x14011180e
xor edx, edx
nop word [rax + rax]
cmp byte [rsp + rdx + 0x60], 0
je 0x140111884
inc rdx
cmp rcx, rdx
jne 0x1401117f0
lea rdx, [rbx - 0xf]
cmp rcx, rdx
jbe 0x140111814
jmp 0x14011185e
lea rdx, [rbx - 0xf]
xor ecx, ecx
movdqa xmm0, xmmword [0x14014c080]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rsp + rcx + 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x14011185e
add rcx, 0x10
cmp rcx, rdx
jbe 0x140111830
sub rax, rcx
je 0x1401118e2
lea r8, [rsp + rcx]
add r8, 0x60
xor edx, edx
nop dword [rax]
cmp byte [r8 + rdx], 0
je 0x140111881
inc rdx
cmp rax, rdx
jne 0x140111870
jmp 0x1401118e2
add rdx, rcx
cmp rdx, rbx
jne 0x1401118e2
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1401118f6
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140111909
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14011190c
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140111e60
cmp rbx, 0x17f
jbe 0x14011179a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140111ed0
Function at 0x140111ed0
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rbx, r8
inc rbx
sete bpl
je 0x140112138
js 0x140112152
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rsi, rcx
movzx eax, byte [0x1401be180]
mov rcx, qword [0x1401be0e8]
test rcx, rcx
jne 0x140111f2b
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140112129
mov rcx, rax
mov qword [0x1401be0e8], rax
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140112129
mov r12, rax
mov rcx, rax
mov rdx, r15
mov r8, r14
call sub.msvcrt.dll_memcpy
cmp r14, 0x10
jae 0x140111f78
test r14, r14
je 0x140112033
xor eax, eax
cmp byte [r15 + rax], 0
je 0x1401120b4
inc rax
cmp r14, rax
jne 0x140111f60
jmp 0x140112033
lea rax, [r15 + 7]
and rax, 0xfffffffffffffff8
sub rax, r15
je 0x140111fbe
cmp rax, r14
cmovae rax, r14
test rax, rax
je 0x140111fbe
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [r15 + rcx], 0
je 0x1401120b4
inc rcx
cmp rax, rcx
jne 0x140111fa0
lea rcx, [r14 - 0x10]
cmp rax, rcx
jbe 0x140111fc4
jmp 0x14011200e
lea rcx, [r14 - 0x10]
xor eax, eax
movdqa xmm0, xmmword [0x14014c090]
movabs rdx, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [r15 + rax]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r8, xmm2
test r8, rdx
jne 0x14011200e
add rax, 0x10
cmp rax, rcx
jbe 0x140111fe0
cmp rax, r14
je 0x140112033
nop word cs:[rax + rax]
cmp byte [r15 + rax], 0
je 0x1401120b4
inc rax
cmp r14, rax
jne 0x140112020
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x30]
call fcn.1400079e0
mov rbx, rax
mov r14, rdx
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
mov rcx, rax
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1401120ea
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rbx], 0
test r14, r14
jne 0x140112108
jmp 0x140112119
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test bpl, bpl
jne 0x140112119
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, r12
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.kernel32.dll_HeapFree
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
mov byte [rbx], 0
test r14, r14
je 0x140112119
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapFree
nop
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 1
mov rdx, rbx
call fcn.140007810
ud2
lea rcx, [0x1401aec10]
lea r8, str.library_alloc_src_ffic_str.rs
mov edx, 0x2b
call fcn.14000c150
ud2
call fcn.1400077d0
ud2
Function at 0x140118f30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm6
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.1400f0750
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
test rcx, rcx
je 0x140118fa5
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.140118e50
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x140118fb3
movdqu xmm6, xmmword [rsp + 0x30]
mov rcx, rdi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x140118fd3
mov qword [rsi], rdi
movdqu xmmword [rsi + 8], xmm6
jmp 0x140118fc4
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
call fcn.1400eda90
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
ret
mov qword [rsi], 0
movq rax, xmm6
test rax, rax
je 0x140118fc4
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, rdi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
Function at 0x14011ad60
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, r8
mov rbx, rdx
mov r14, rcx
movzx eax, byte [0x1401be180]
mov rcx, qword [0x1401be0e8]
test rcx, rcx
jne 0x14011ad9d
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14011ae4d
mov rcx, rax
mov qword [0x1401be0e8], rax
mov r8d, 0x10
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14011ae4d
mov rsi, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14011aec0]
xor edi, edi
xor ecx, ecx
mov rdx, r14
mov r9, rax
call sub.kernel32.dll_CreateThread
mov rdx, rax
test rax, rax
jne 0x14011ae40
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x14011ae1b
cmp qword [rbx + 0x10], 0x11
jb 0x14011ae0a
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 8
mov edx, 0x10
call fcn.140007810
ud2

Function at 0x14011b1c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call fcn.140143030
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov rdi, rcx
lea r14, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm6, xmm6
lea r15, [rsp + 0x3c]
lea rbx, [0x140112890]
lea r13, [rsp + 0x60]
lea r12, [0x14014c198]
mov qword [rsp + 0x48], rdi

Function at 0x14011b6e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov edx, 0x10
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x14011b716
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rsp, 0x80
pop rsi
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [fcn.14010e8b0]
mov qword [rsp + 0x48], rax
lea rax, str.fallback_RNG_broken:
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rsp + 0x50]
call fcn.14000a710
ud2
Function at 0x140121ae0
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x30
mov ecx, dword [0x1401450e8]
test ecx, ecx
je 0x140121b0d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140121b26
cmp qword [rax + 8], 0
je 0x140121b26
add rax, 0x10
add rsp, 0x30
pop rsi
ret
lea rcx, [0x1401450d0]
call fcn.1400ee340
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x140121afc
mov ecx, dword [0x1401450e8]
test ecx, ecx
je 0x140121c0d
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140121c2a
mov rsi, rax
test rax, rax
jne 0x140121bbb
movzx eax, byte [0x1401be180]
mov rcx, qword [0x1401be0e8]
test rcx, rcx
jne 0x140121b78
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140121c45
mov rcx, rax
mov qword [0x1401be0e8], rax
mov r8d, 0x20
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140121c45
mov rsi, rax
lea rax, [0x1401450d0]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1401450e8]
test ecx, ecx
je 0x140121c32
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140121beb
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140121bf3
call fcn.14011b6e0
mov rcx, rax
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
add rsp, 0x30
pop rsi
ret
lea rcx, [0x1401450d0]
call fcn.1400ee340
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x140121b45
xor eax, eax
add rsp, 0x30
pop rsi
ret
lea rcx, [0x1401450d0]
call fcn.1400ee340
mov ecx, eax
jmp 0x140121bb3
mov ecx, 8
mov edx, 0x20
call fcn.140007810
ud2
Function at 0x140124090
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x40], r9
mov rdi, r8
mov qword [rsp + 0x28], rcx
mov r14, qword [rdx + 0x18]
cmp r14, 0xffffffffffffffff
je 0x140124220
mov rax, qword [rsp + 0xb0]
mov r15, qword [rdx + 0x10]
mov r13, qword [rdx + 0x20]
cmp rax, 0x7fffffff
mov r12d, 0x7fffffff
cmovb r12, rax
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
mov rdx, r15
mov r8, rdi
mov r9b, 1
call fcn.1401224f0
movzx eax, byte [rsp + 0x39]
cmp al, 3
je 0x14012423d
mov rsi, qword [rsp + 0x30]
cmp al, 2
je 0x140124254
movzx ebx, byte [rsp + 0x38]
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8d, r12d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x140124266
call sub.ws2_32.dll_WSAGetLastError
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rbp
call fcn.1400531f0
cmp al, 0xd
jne 0x140124179
test r13, r13
je 0x140124179
mov rcx, qword [r13]
mov rdx, qword [r13 + 8]
lock inc qword [rdx]
jle 0x14012429b
add rcx, 0x10
mov r8, qword [r13 + 0x10]
movzx r9d, byte [r13 + 0x18]
call fcn.140053010
test rax, rax
cmovne rbp, rax
mov rcx, rbp
call fcn.1400531f0
cmp al, 0xd
jne 0x14012427a
and esi, 0x23
mov rax, qword [r15 + 0xd0]
xor rsi, 0x2f
mov rcx, rbx
shl rcx, 0x10
nop
mov edx, eax
shr edx, 0x10
cmp bl, dl
jne 0x1401241bb
mov edx, esi
and edx, eax
or rdx, rcx
lock cmpxchg qword [r15 + 0xd0], rdx
jne 0x1401241a0
mov eax, ebp
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1401240e0
test rax, rax
je 0x1401240e0
mov rsi, qword [rbp - 1]
mov rbx, qword [rbp + 7]
mov rcx, rsi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x140124207
cmp qword [rbx + 0x10], 0x11
jb 0x1401241f6
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
dec rbp
mov rcx, qword [0x1401be0e8]
xor edx, edx
mov r8, rbp
call sub.kernel32.dll_HeapFree
jmp 0x1401240e0
mov rdx, qword [rdx + 0x10]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov r9b, 1
call fcn.1401224f0
movzx eax, byte [rsp + 0x39]
cmp al, 3
jne 0x14012424b
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x14012428a
cmp al, 2
jne 0x14012429f
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
jmp 0x14012428a
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x14012428a
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rbp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rcx, [0x1401aec10]
lea r8, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_io_poll_evented.rs_r
mov edx, 0x2b
call fcn.14000c150
ud2
Function at 0x140124680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x140145140]
test ecx, ecx
je 0x1401247ea
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1401246b1
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x14012481c
mov ecx, dword [0x140145140]
test ecx, ecx
je 0x140124822
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14012483f
mov rsi, rax
test rax, rax
jne 0x140124746
movzx eax, byte [0x1401be180]
mov rcx, qword [0x1401be0e8]
test rcx, rcx
jne 0x140124703
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140124860
mov rcx, rax
mov qword [0x1401be0e8], rax
mov r8d, 0x60
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140124860
mov rsi, rax
lea rax, [0x140145128]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140145140]
test ecx, ecx
je 0x14012484d
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsi + 0x48]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmm3, xmmword [rsi + 0x38]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 8], 1
movups xmm0, xmmword [0x1401886d8]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [0x1401886c8]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [0x1401886b8]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x1401886a8]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [0x140188698]
movups xmmword [rsi + 0x10], xmm0
cmp qword [rsp + 0x20], 0
je 0x14012481c
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x14012481c
lea rcx, [rsp + 0x38]
test rax, rax
je 0x14012480c
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x14012481c
call fcn.140127b60
jmp 0x14012481c
lea rcx, [0x140145128]
call fcn.1400ee340
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x1401246a3
jmp 0x1401246b1
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x14012481c
call fcn.140127740
add rsi, 0x10
jmp 0x140124841
lea rcx, [0x140145128]
call fcn.1400ee340
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1401246d0
xor esi, esi
mov rax, rsi
add rsp, 0x80
pop rsi
ret
lea rcx, [0x140145128]
call fcn.1400ee340
mov ecx, eax
jmp 0x14012473e
mov ecx, 8
mov edx, 0x60
call fcn.140007810
ud2
Function at 0x140124880
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x140145120]
test ecx, ecx
je 0x1401248af
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x1401248c8
mov rsi, rax
cmp qword [rax + 8], 0
je 0x1401248c8
add rsi, 8
jmp 0x1401249f7
lea rcx, [0x140145108]
call fcn.1400ee340
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14012489c
mov ecx, dword [0x140145120]
test ecx, ecx
je 0x1401249d8
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1401249f5
mov rsi, rax
test rax, rax
jne 0x14012495d
movzx eax, byte [0x1401be180]
mov rcx, qword [0x1401be0e8]
test rcx, rcx
jne 0x14012491a
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140124a24
mov rcx, rax
mov qword [0x1401be0e8], rax
mov r8d, 0x10
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140124a24
mov rsi, rax
lea rax, [0x140145108]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140145120]
test ecx, ecx
je 0x140124a00
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
movzx eax, byte [0x1401be180]
mov rcx, qword [0x1401be0e8]
test rcx, rcx
jne 0x140124988
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140124a13
mov rcx, rax
mov qword [0x1401be0e8], rax
mov r8d, 0x30
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140124a13
add rsi, 8
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov byte [rax + 0x18], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x20], xmm0
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x1401249f7
lock dec qword [rcx]
jne 0x1401249f7
call fcn.1400f0730
jmp 0x1401249f7
lea rcx, [0x140145108]
call fcn.1400ee340
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x1401248e7
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140145108]
call fcn.1400ee340
mov ecx, eax
jmp 0x140124955
mov ecx, 8
mov edx, 0x30
call fcn.140007810
ud2
mov ecx, 8
mov edx, 0x10
call fcn.140007810
ud2
Function at 0x140128170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r14, qword [rcx]
test r14, r14
je 0x140128304
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx]
call fcn.140124680
test rax, rax
je 0x1401281bf
movzx r15d, byte [rax + 0x4c]
movzx ebp, byte [rax + 0x4d]
test r15b, r15b
je 0x1401281d1
test bpl, bpl
jne 0x1401281d1
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
call qword [rax + 0x10]
mov bl, 2
jmp 0x1401282f5
xor r15d, r15d
xor ebp, ebp
mov rax, qword [r14 + 0x30]
test al, 2
je 0x1401281f7
jmp 0x1401282c4
xor ecx, ecx
mov edx, ebp
sub dl, 1
movzx edx, dl
cmovb edx, ecx
test r15b, r15b
movzx ecx, bpl
cmovne ecx, edx
mov byte [rax + 0x4d], cl
mov rax, qword [r14 + 0x30]
test al, 2
jne 0x1401282c4
mov bl, 1
test al, 4
jne 0x1401282f5
test al, 1
je 0x14012826e
mov rcx, qword [rdi]
mov rax, qword [rcx + 8]
cmp rax, qword [r14 + 0x28]
jne 0x14012823f
mov rax, qword [r14 + 0x20]
mov rcx, qword [rcx]
mov rdx, qword [rax]
cmp rdx, qword [rcx]
jne 0x14012823f
mov rdx, qword [rax + 8]
cmp rdx, qword [rcx + 8]
jne 0x14012823f
mov rdx, qword [rax + 0x10]
cmp rdx, qword [rcx + 0x10]
jne 0x14012823f
mov rax, qword [rax + 0x18]
cmp rax, qword [rcx + 0x18]
je 0x1401282a3
mov rax, qword [r14 + 0x30]
nop word cs:[rax + rax]
mov rcx, rax
and rcx, 0xfffffffffffffffe
lock cmpxchg qword [r14 + 0x30], rcx
jne 0x140128250
test al, 2
jne 0x1401282be
mov rax, qword [r14 + 0x20]
mov rcx, qword [r14 + 0x28]
call qword [rax + 0x18]
mov rax, qword [rdi]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
call qword [rdx]
mov qword [r14 + 0x20], rax
mov qword [r14 + 0x28], rdx
mov rax, qword [r14 + 0x30]
nop word cs:[rax + rax]
mov rcx, rax
or rcx, 1
lock cmpxchg qword [r14 + 0x30], rcx
jne 0x140128290
test al, 2
jne 0x1401282c4
mov bl, 2
test r15b, r15b
je 0x1401282f5
call fcn.140124680
test rax, rax
je 0x1401282f5
mov byte [rax + 0x4c], 1
mov byte [rax + 0x4d], bpl
jmp 0x1401282f5
lock or qword [r14 + 0x30], 1
movzx eax, byte [r14 + 0x38]
mov byte [r14 + 0x38], 0
xor al, 1
mov bl, 1
test al, al
jne 0x1401282f5
mov rax, qword [rsi]
test rax, rax
je 0x1401282ec
lock dec qword [rax]
jne 0x1401282ec
mov rcx, qword [rsi]
call fcn.1401274e0
mov qword [rsi], 0
xor ebx, ebx
mov eax, ebx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, [0x140188550]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 1
lea rax, str.NoneSome
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdx, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.33.0_src_sync_oneshot.rs
lea rcx, [rsp + 0x28]
call fcn.14000a710
ud2
Function at 0x140142bb0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0x50]
mov qword [rsp + 0x20], r12
lea rcx, [0x1401aec00]
lea r9, [0x1401aebe4]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x140142cbf
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x140142cd6
mov rcx, r15
mov rdx, r14
call fcn.14013d370
mov r14, rax
mov qword [rsp + 0x50], 0
mov rax, qword [rdi]
mov qword [rsp + 0x40], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x20], 0
xor r15d, r15d
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x140142cf8
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140142d10
test r14, r14
je 0x140142c7a
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x140142d57
mov qword [rsi + 8], rbx
mov byte [rsi], 0x11
jmp 0x140142d3e
mov ecx, eax
call fcn.14013c790
mov ebx, edx
test rax, rax
je 0x140142cd6
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebx
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
jmp 0x140142d47
mov ecx, eax
call fcn.14013c790
mov r15d, edx
test rax, rax
je 0x140142d10
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
test r14, r14
je 0x140142d1d
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
movzx eax, byte [rsp + 0x4f]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x4d]
mov word [rsi + 1], ax
mov dword [rsi + 4], r15d
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
mov byte [rsi], 0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, eax
call fcn.14013c790
mov ebp, edx
test rax, rax
je 0x140142d6e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
movzx eax, byte [rsp + 0x52]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x50]
mov word [rsi + 1], ax
mov dword [rsi + 4], ebp
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x18], rax
mov byte [rsi], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x140142d3e