joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x140001660
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x140001655
cmp edi, 0x2d
jne 0x140001660
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x1400017f4
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x1400017ff
movzx r11d, r11b
cmp rbx, rsi
jae 0x1400016fd
add r10, 2
mov ebx, 1
sub rbx, rsi
jmp 0x1400016bc
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x1400016fd
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x1400016fd
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x1400016a0
cmp r11d, 0xccccccc
jne 0x1400016e8
cmp sil, 7
jbe 0x1400016a0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.1401a36d0
jmp 0x1400017e1
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14000171a
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14000172a
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401aea00]
subpd xmm1, xmmword [0x1401aea10]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14000179c
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401aea20]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x140001778
jnp 0x1400017ca
test r10d, r10d
jns 0x140001828
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x134
ja 0x140001770
mov eax, eax
mov r9, qword [0x140294038]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x1400017e9
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401aea30]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401aea40]
jae 0x140001828
test r8b, r8b
jne 0x1400017d7
xorpd xmm0, xmmword [0x1401aea50]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x1400017cf
jmp 0x1400017d7
mov qword [rsp + 0x28], 5
jmp 0x140001808
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3770
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400017e1
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3770
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400017de
Function at 0x140062560
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1400625f6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401aea80]
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.14000ee60
test rdi, rdi
je 0x140062685
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14006269e
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 0x140062796
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140062818
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400627a3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140062660
cmp r9, 8
jae 0x1400627ac
jmp 0x140062818
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000ee60
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 0x140062818
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140062818
mov r8, rcx
cmp r9, 8
jb 0x140062818
add rcx, r9
nop
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 0x1400627b0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400a2ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov r14, rdx
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x48]
mov r8d, 0xb
mov rdx, rax
call fcn.1400a2970
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140297081]
mov ecx, 0x800
mov edx, 1
call fcn.140017660
test rax, rax
je 0x1400a2e6e
mov rbx, rax
mov qword [rbp - 0x20], 0x800
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
mov rsi, qword [rbp - 0x40]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rdi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x30], rax
sub r13, rax
nop word cs:[rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
mov r9, r15
call rdi
cmp eax, 0xea
jne 0x1400a2dcb
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x1400a2d90
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
call fcn.1401a42e0
mov rbx, qword [rbp - 0x18]
jmp 0x1400a2d76
test eax, eax
jne 0x1400a2dee
mov eax, dword [rbp - 4]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x28]
jbe 0x1400a2e51
movabs rax, 0xde00000002
jmp 0x1400a2dfa
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x28]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400a2e22
mov r8d, 1
mov rcx, rbx
call fcn.140017670
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400a2e3c
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.140017670
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x10]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x1400a2e2b
jmp 0x1400a2e3c
mov ecx, 1
mov edx, 0x800
call fcn.1401ac470
ud2
Function at 0x1400b2590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov qword [rbp - 0x58], r8
mov qword [rbp - 0x50], rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r13, qword [rcx + 8]
lea r15, [r13 + 1]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x1400b2663
cmp rax, 1
jne 0x1400b25f0
xor r8d, r8d
jmp 0x1400b2647
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1401aea90]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9]
por xmm1, xmm0
movdqa xmmword [rdx + r9], xmm1
lea r8, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdx + r9 + 0x10], xmm1
mov r9, r8
add rcx, 0xfffffffffffffffe
jne 0x1400b2610
test al, 1
je 0x1400b2663
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdx + r8]
por xmm0, xmmword [0x1401aea90]
movdqa xmmword [rdx + r8], xmm0
mov rbx, qword [rbp + 0x90]
cmp r15, 0x10
jae 0x1400b269b
lea rcx, [rdx + 0x10]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rsi
test r15, r15
jne 0x1400b26b1
mov rcx, 0xffffffffffffffff
xor eax, eax
jmp 0x1400b29e3
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rdx + r15], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rsi
mov rbx, rdi
and rbx, 0xffffffffffffffe0
mov r15, rdi
and r15, 0xfffffffffffffff8
lea rax, [rdi - 1]
mov qword [rbp - 0x38], rax
mov eax, 0x10
sub rax, rdi
mov qword [rbp - 8], rax
mov rax, rdi
neg rax
mov qword [rbp], rax
mov eax, 1
sub rax, rdi
mov qword [rbp + 8], rax
xor r12d, r12d
mov qword [rbp + 0x10], r13
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rbx
jmp 0x1400b2739
Function at 0x1400de020
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400de054
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140135340
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x140135370
cmp eax, 1
je 0x1401353a6
xor eax, eax
jmp 0x140135496
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rdi, qword [rdx + rax*8]
lea rax, [rdi + 0x18]
lea rdx, [0x1401354a0]
mov rsi, rcx
mov rcx, rax
call fcn.140189cc0
mov rcx, rsi
mov byte [rdi + 0x48], 1
movaps xmm0, xmmword [0x1401fc950]
mov al, 1
test rcx, rcx
je 0x1401353e0
cmp qword [rcx], 0
mov qword [rcx], 0
je 0x1401353e0
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x60], xmm1
movzx eax, byte [rcx + 0x28]
mov edx, dword [rcx + 0x2c]
mov dword [rsp + 0x2b], edx
mov ecx, dword [rcx + 0x29]
mov dword [rsp + 0x28], ecx
mov ecx, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x38]
movaps xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x28]
movaps xmmword [rsp + 0x40], xmm1
mov qword [rcx + 0x18], 1
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx + 0x30], xmm0
mov byte [rcx + 0x40], al
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2b]
mov dword [rcx + 0x44], edx
mov dword [rcx + 0x41], eax
cmp qword [rsp + 0x30], 0
je 0x14013547c
mov rax, qword [rsp + 0x40]
cmp rax, 2
je 0x14013547c
test rax, rax
je 0x14013547c
mov rax, qword [rsp + 0x48]
lock dec qword [rax]
jne 0x14013547c
lea rcx, [rsp + 0x48]
call fcn.14000b290
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x20]
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14013d900
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14013d918
add rcx, 0x18
add rsp, 0x28
jmp 0x14015ab40
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.1401ac630
int3
jmp 0x140182180
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401821bd
xor eax, eax
add rsp, 0x30
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x14013de60
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401563a0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401563d8
xor eax, eax
add rsp, 0x38
ret
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14013de70
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401563f0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140156425
xor eax, eax
add rsp, 0x38
ret
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14013de80
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140156350
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140156385
xor eax, eax
add rsp, 0x38
ret
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14014af70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14014af80
test al, 1
je 0x14014af9f
test al, 2
jne 0x14014afb7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401fff40]
mov edx, 0x23
call fcn.1401ac740
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401fff80]
mov edx, 0x25
call fcn.1401ac740
int3
Function at 0x140155690
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov r14, qword [rbp + 0x60]
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xa0]
cmp eax, 1
je 0x14015570b
test eax, eax
jne 0x1401558e6
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x50]
lea rdx, [0x14013f7b0]
call fcn.140189cc0
mov byte [r15 + 0xa0], 1
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x50]
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
ja 0x140155899
lea rax, [rcx + 1]
mov edx, dword [0x140297248]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x50], rax
mov rax, qword [rdx + 0x58]
cmp rax, 2
je 0x1401558a5
mov ecx, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + 0x60]
mov edx, 1
mov r9d, 1
lock xadd qword [rcx], r9
test rax, rax
je 0x1401557a6
mov r8d, 0x118
test r9, r9
jns 0x1401557b7
jmp 0x1401558e4
test r9, r9
js 0x1401558e4
mov r8d, 0xb8
xor edx, edx
mov r9d, dword [0x140297248]
mov r10, qword gs:[0x58]
mov r9, qword [r10 + r9*8]
dec qword [r9 + 0x50]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
cmp dword [rcx + r8 + 0xa8], 0x3b9aca00
je 0x1401558d0
mov edx, 1
mov r8d, 1
lock xadd qword [rcx], r8
test rax, rax
je 0x14015580b
test r8, r8
jns 0x140155816
jmp 0x1401558e4
test r8, r8
js 0x1401558e4
xor edx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rsi], rdx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], edi
movups xmm0, xmmword [rbp - 0x34]
movups xmm1, xmmword [rbp - 0x24]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov edx, dword [rbp - 0x14]
mov dword [rsi + 0x3c], edx
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
lock dec qword [rcx]
lea rcx, [rbp - 8]
sete dl
test rax, rax
je 0x140155880
test dl, dl
je 0x140155889
call fcn.14013cf70
jmp 0x140155889
test dl, dl
je 0x140155889
call fcn.14013ce20
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_runtimecontextcurrent.rs
call fcn.1401ac5d0
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov qword [rax + 0x50], rcx
xor eax, eax
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.1401a8510
lea rcx, [0x1401fe7e0]
mov edx, 0x73
mov r8, r14
call fcn.1401ac650
ud2
mov al, 1
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.1401a8510
int3
Function at 0x140155ed0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x1401562d0
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1401562fa
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140156310
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14015633a
xor eax, eax
add rsp, 0x28
ret
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x140156350
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140156350
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140156385
xor eax, eax
add rsp, 0x38
ret
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401563a0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401563a0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401563d8
xor eax, eax
add rsp, 0x38
ret
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401563f0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401563f0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140156425
xor eax, eax
add rsp, 0x38
ret
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x140156440
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, rdx
mov rsi, qword [rcx]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140156567
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x1401564c8
mov eax, 0x3e8
mul qword [rdi]
mov r8d, r9d
imul r9, r8, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r9d
mov r9d, dword [rdi + 0x18]
cmp r9d, 0x3b9aca00
je 0x140156509
mov eax, 0x3e8
mul qword [rdi + 0x10]
mov ecx, r9d
imul r9, rcx, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor ecx, ecx
neg rdx
sbb ecx, ecx
or ecx, r9d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x48]
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x140156567
xor eax, eax
jmp 0x140156574
call fcn.140188e70
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140179480
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 8], 0
lea r9, [rbp - 8]
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.shell32.dll_SHGetKnownFolderPath]
mov rcx, qword [rbp - 8]
test eax, eax
je 0x1401794cd
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x1401794fc
call qword [sym.imp.kernel32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.1401823c0
mov rcx, qword [rbp - 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14017c240
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x14017c2b2
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x14017c278
add rdi, rbx
sub rsi, rbx
je 0x14017c2b2
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x14017c270
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x14017c270
and ebp, 0x7fffffff
jmp 0x14017c2b4
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret