joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c6300
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
movaps xmmword [rbp], xmm6
mov qword [rbp - 8], 0xfffffffffffffffe
mov rax, qword [rdx + 0x48]
cmp byte [rax + 0x182], 1
jne 0x1401c63aa
cmp byte [rax + 0x183], 0
je 0x1401c63aa
mov rsi, qword [rbp + 0x88]
mov rdi, qword [rbp + 0x80]
mov r10, qword [rax + 0x138]
mov rbx, qword [r10 + 0x20]
lea r14, [rbx + rbx]
cmp r14, rsi
jbe 0x1401c63c6
cmp qword [rax + 0x168], 1
jne 0x1401c63da
mov rbx, rcx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x50], xmm0
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 2
lea rcx, [rbp - 0x28]
call fcn.1401ffa10
test byte [rbp - 0x28], 1
je 0x1401c643d
mov rax, qword [rbp - 0x20]
mov qword [rbx + 8], rax
mov eax, 1
jmp 0x1401c6465
movaps xmm6, xmmword [rbp]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1401ffa10
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call fcn.1401ffa10
jmp 0x1401c6467
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x38], r9
shl rbx, 4
xor r13d, r13d
mov rax, r14
shr rax, 0x3d
jne 0x1401c6546
movabs rax, 0x7ffffffffffffff8
cmp rbx, rax
ja 0x1401c6546
mov r12, rdx
test rbx, rbx
je 0x1401c647f
movzx eax, byte [0x14049f3b5]
mov r13d, 8
mov edx, 8
mov r15, rcx
mov rcx, rbx
call fcn.140061f20
test rax, rax
je 0x1401c6546
mov qword [rbp - 0x10], r14
jmp 0x1401c648f
cmp rsi, 3
jae 0x1401c6551
movsd xmm6, qword [rbp - 0x24]
shl rsi, 3
lea rdx, [rbp - 0x50]
mov rcx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
movlps qword [rbx + 4], xmm6
xor eax, eax
mov dword [rbx], eax
movaps xmm6, xmmword [rbp]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r15, rcx
mov eax, 8
mov qword [rbp - 0x10], 0
lea r8, [rbx - 8]
mov r13, rax
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [r13 + rbx - 8], 0
mov qword [rsp + 0x28], r14
mov qword [rbp - 0x18], r13
mov qword [rsp + 0x20], r13
lea rcx, [rbp - 0x28]
mov rdx, r12
mov r8, qword [rbp - 0x30]
mov r9, qword [rbp - 0x38]
call fcn.1401ffa10
test byte [rbp - 0x28], 1
je 0x1401c64f4
mov rax, qword [rbp - 0x20]
mov qword [r15 + 8], rax
mov dword [r15], 1
mov rdx, qword [rbp - 0x10]
shl rdx, 3
mov r8d, 8
mov rcx, qword [rbp - 0x18]
jmp 0x1401c652a
shl rsi, 3
mov rbx, qword [rbp - 0x24]
mov rcx, rdi
mov rdi, qword [rbp - 0x18]
mov rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov qword [r15 + 4], rbx
mov dword [r15], 0
mov rdx, qword [rbp - 0x10]
shl rdx, 3
mov r8d, 8
mov rcx, rdi
movaps xmm6, xmmword [rbp]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.140061f30
mov rcx, r13
mov rdx, rbx
call fcn.1402fb055
lea r8, [0x14038f170]
mov edx, 2
mov rcx, rsi
call fcn.1402fb860
int3
Function at 0x1401d86a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x440
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3b8], 0xfffffffffffffffe
mov rsi, rcx
mov rax, qword [rdx]
mov rdi, qword [r9]
movzx ecx, byte [rax + 0x88]
cmp cl, 2
je 0x1401d86db
test cl, 1
je 0x1401d8821
movzx eax, byte [rax + 0x82]
cmp al, 2
je 0x1401d86ee
test al, 1
je 0x1401d8821
mov rax, qword [r8 + 0x10]
mov qword [rbp + 0x178], rax
movups xmm0, xmmword [r8]
movups xmmword [rbp + 0x168], xmm0
movzx eax, byte [r8 + 0x18]
mov ecx, dword [r8 + 0x19]
mov dword [rbp + 0x3a9], ecx
mov ecx, dword [r8 + 0x1c]
mov dword [rbp + 0x3ac], ecx
mov qword [rbp + 0x380], 0
movups xmm0, xmmword [rbp + 0x160]
movups xmmword [rbp + 0x388], xmm0
mov rcx, qword [rbp + 0x170]
mov qword [rbp + 0x398], rcx
mov rcx, qword [rbp + 0x178]
mov qword [rbp + 0x3a0], rcx
mov byte [rbp + 0x3a8], al
mov byte [rbp + 0x378], 3
mov qword [rbp + 0x350], 0
lea rcx, [rbp - 0x60]
call fcn.1401ed900
movups xmm0, xmmword [rbp + 0x350]
movups xmm1, xmmword [rbp + 0x360]
movups xmm2, xmmword [rbp + 0x370]
movaps xmmword [rbp + 0x180], xmm2
movaps xmmword [rbp + 0x170], xmm1
movaps xmmword [rbp + 0x160], xmm0
lea rcx, [rbp + 0x190]
lea rdx, [rbp - 0x60]
mov r8d, 0x1c0
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp + 0x380]
movups xmm1, xmmword [rbp + 0x390]
movups xmm2, xmmword [rbp + 0x3a0]
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x60], xmm0
lea rcx, [rbp + 0x160]
lea rdx, [rbp - 0x60]
call fcn.1401bf930
lock inc qword [rdi]
jle 0x1401d88f1
movzx eax, byte [rbp + 0x188]
cmp al, 2
jae 0x1401d8840
mov rcx, qword [rbp + 0x170]
mov rdx, qword [rbp + 0x178]
lock inc qword [rcx]
jle 0x1401d88f1
movzx eax, byte [rbp + 0x188]
mov r8, qword [rbp + 0x180]
jmp 0x1401d8840
mov edi, 2
cmp byte [r8 + 0x18], 2
je 0x1401d883e
mov rax, qword [r8]
lock dec qword [rax]
jne 0x1401d883e
mov rcx, r8
call fcn.14003e620
jmp 0x1401d88b1
movaps xmm0, xmmword [rbp + 0x160]
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], r8
mov byte [rbp - 0x38], al
mov qword [rbp - 0x30], rdi
cmp al, 3
je 0x1401d887f
cmp al, 2
je 0x1401d887f
mov rax, qword [rbp + 0x170]
lock dec qword [rax]
jne 0x1401d887f
lea rcx, [rbp + 0x170]
call fcn.14003e620
lea rcx, [rbp + 0x190]
call fcn.1401c5a70
mov rdi, qword [rbp - 0x60]
movups xmm0, xmmword [rbp - 0x58]
movups xmm1, xmmword [rbp - 0x48]
mov rax, qword [rbp - 0x38]
movzx ecx, byte [rbp - 0x30]
mov edx, dword [rbp - 0x2f]
mov dword [rbp + 0x160], edx
mov edx, dword [rbp - 0x2c]
mov dword [rbp + 0x163], edx
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
mov qword [rsi + 0x30], rax
mov byte [rsi + 0x38], cl
mov eax, dword [rbp + 0x160]
mov ecx, dword [rbp + 0x163]
mov dword [rsi + 0x39], eax
mov dword [rsi + 0x3c], ecx
mov qword [rsi + 8], rdi
movabs rax, 0x8000000000000002
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x440
pop rdi
pop rsi
pop rbp
ret
ud2
Function at 0x140266a80
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, r8
sub rbx, rdx
movabs rax, 0x7ffffffffffffffc
cmp rbx, rax
ja 0x140266c45
mov rdi, rdx
mov rsi, rcx
cmp r8, rdx
je 0x140266b6d
movzx eax, byte [0x14049f3b5]
mov r14d, 4
mov edx, 4
mov rcx, rbx
call fcn.140061f20
test rax, rax
je 0x140266c48
mov rcx, rbx
shr rcx, 3
cmp rbx, 0x80
jae 0x140266b8c
xor edx, edx
mov r8, rdx
or r8, 1
test bl, 8
je 0x140266b19
mov r9d, dword [rdi + rdx*8]
mov r10d, dword [rdi + rdx*8 + 4]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + rdx*8], r11d
mov dword [rax + rdx*8 + 4], r10d
mov rdx, r8
cmp rcx, r8
je 0x140266b74
nop
mov r8d, dword [rdi + rdx*8]
mov r9d, dword [rdi + rdx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8], r10d
mov dword [rax + rdx*8 + 4], r9d
mov r8d, dword [rdi + rdx*8 + 8]
mov r9d, dword [rdi + rdx*8 + 0xc]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rdx*8 + 8], r10d
mov dword [rax + rdx*8 + 0xc], r9d
add rdx, 2
cmp rcx, rdx
jne 0x140266b20
jmp 0x140266b74
mov eax, 4
xor ecx, ecx
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea r8, [rax + rcx*8]
add r8, 0xfffffffffffffff8
xor edx, edx
cmp r8, rax
jb 0x140266aea
lea r8, [rax + rcx*8]
add r8, 0xfffffffffffffffc
mov r9, rax
add r9, 4
cmp r8, r9
jb 0x140266aea
lea r8, [rcx - 1]
shr r8, 0x3d
jne 0x140266aea
movabs rdx, 0xffffffffffffffe
and rdx, rcx
xor r8d, r8d
movdqa xmm0, xmmword [0x140353160]
nop dword [rax]
movdqu xmm1, xmmword [rdi + r8*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + r8*8], xmm2
add r8, 2
cmp rdx, r8
jne 0x140266be0
cmp rcx, rdx
jne 0x140266aea
jmp 0x140266b74
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.1402fb055
int3
Function at 0x14026e290
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x14049f3b5]
mov ecx, 0x1818
mov edx, 4
call fcn.140061f20
test rax, rax
je 0x14026e3ae
xor ecx, ecx
lea rdx, [0x1403c7c70]
movdqa xmm0, xmmword [0x140353160]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x1810
jne 0x14026e2e0
movabs rcx, 0xe01ef000e0100
mov qword [rax + 0x1810], rcx
mov rcx, rax
add rcx, 0x1818
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x303
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.1402639f0
mov rax, qword [rbp - 0x28]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.14026c450
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
mov ecx, 4
mov edx, 0x1818
call fcn.1402fb055
int3

Function at 0x14026e520
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
movzx eax, byte [0x14049f3b5]
mov ecx, 0x200
mov edx, 4
call fcn.140061f20
test rax, rax
je 0x14026e62d
xor ecx, ecx
lea rdx, [0x1403c94d8]
movdqa xmm0, xmmword [0x140353160]
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rcx], xmm2
add rcx, 0x10
cmp rcx, 0x200
jne 0x14026e570
mov rcx, rax
add rcx, 0x200
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 8], rcx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.1402639f0
mov rax, qword [rbp - 0x28]
test rax, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp - 0x20], xmm0
sete byte [rbp - 8]
lea rcx, [rbp - 0x20]
call fcn.14026c450
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
mov ecx, 4
mov edx, 0x200
call fcn.1402fb055
int3
Function at 0x14027a800
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 0x14027a872
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 0x14027a838
add rdi, rbx
sub rsi, rbx
je 0x14027a872
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 0x14027a830
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x14027a830
and ebp, 0x7fffffff
jmp 0x14027a874
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14027ee10
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 0x14027f02e
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 [0x14040acc0]
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 0x14027ee80
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
pmovzxdq xmm5, qword [0x14040ace0]
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 0x14027efaa
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 0x14027ef80
pmovzxdq xmm1, qword [0x14040ace0]
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 [0x14040acd0], 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 0x14027f04c
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.14027e8e0
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 0x140282390
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 0x1402823a0
test al, 1
je 0x1402823bf
test al, 2
jne 0x1402823d7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14040f948]
mov edx, 0x23
call fcn.1402fb3f0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14040f988]
mov edx, 0x25
call fcn.1402fb3f0
int3
Function at 0x1402883e0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1402a7510
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 0x1402a7548
xor eax, eax
add rsp, 0x38
ret
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1402883f0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1402a7560
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 0x1402a7595
xor eax, eax
add rsp, 0x38
ret
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140288400
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1402a74c0
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 0x1402a74f5
xor eax, eax
add rsp, 0x38
ret
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14028b7f0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14028b808
add rcx, 0x18
add rsp, 0x28
jmp 0x1402aacf0
lea rcx, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.40.0_srciopoll_evented.rs
call fcn.1402fb2d0
int3
jmp 0x1402bd6d0
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 0x1402bd70d
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 0x14029cfa0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x100
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov rax, qword [rcx]
nop dword [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14029cfc0
test al, 1
je 0x14029d08a
test al, 2
jne 0x14029d0a2
test al, 8
mov qword [rbp + 0x48], rcx
jne 0x14029cffc
add rcx, 0x20
mov dword [rbp - 0x58], 2
lea rdx, [rbp - 0x58]
call fcn.14029b090
jmp 0x14029d01e
test al, 0x10
je 0x14029d01e
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx + 0x88]
test rax, rax
je 0x14029d118
mov rcx, qword [rcx + 0x90]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx + 0x98]
test rax, rax
je 0x14029d053
mov r8, qword [rcx + 0xa0]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
lea rdx, [rbp + 0x57]
call qword [r8 + 0x28]
mov rcx, qword [rbp + 0x48]
mov qword [rbp + 0x40], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 0x40]
jb 0x14029d0ba
jne 0x14029d080
mov qword [rbp + 8], rcx
lea rcx, [rbp + 8]
call fcn.14029be80
nop
add rsp, 0x100
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14040f948]
mov edx, 0x23
call fcn.1402fb3f0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14040f988]
mov edx, 0x25
call fcn.1402fb3f0
mov qword [rbp + 0x38], rax
lea rax, [rbp + 0x38]
mov qword [rbp - 0x18], rax
lea rax, [fcn.1402e9710]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x40]
mov qword [rbp - 8], rcx
mov qword [rbp], rax
lea rax, str.current:___sub:
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 2
mov qword [rbp + 0x28], 0
lea rax, [rbp - 0x18]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], 2
lea rdx, [0x14040f9d0]
lea rcx, [rbp + 8]
call fcn.1402fb350
lea rax, str._6A_
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x48], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea rdx, [0x140413660]
lea rcx, [rbp - 0x58]
call fcn.1402fb350
ud2
Function at 0x14029d3a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xf0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
mov rax, qword [rcx]
nop dword [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14029d3c0
test al, 1
je 0x14029d481
test al, 2
jne 0x14029d499
test al, 8
mov qword [rbp + 0x38], rcx
jne 0x14029d3fc
add rcx, 0x20
mov dword [rbp - 0x58], 2
lea rdx, [rbp - 0x58]
call fcn.14029b2c0
jmp 0x14029d418
test al, 0x10
je 0x14029d418
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx + 0x68]
test rax, rax
je 0x14029d50f
mov rcx, qword [rcx + 0x70]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx + 0x78]
test rax, rax
je 0x14029d44a
mov r8, qword [rcx + 0x80]
mov rcx, qword [r8 + 0x10]
dec rcx
and rcx, 0xfffffffffffffff0
add rcx, rax
add rcx, 0x10
lea rdx, [rbp + 0x47]
call qword [r8 + 0x28]
mov rcx, qword [rbp + 0x38]
mov qword [rbp + 0x30], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 0x30]
jb 0x14029d4b1
jne 0x14029d477
mov qword [rbp - 8], rcx
lea rcx, [rbp - 8]
call fcn.14029bd10
nop
add rsp, 0xf0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14040f948]
mov edx, 0x23
call fcn.1402fb3f0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14040f988]
mov edx, 0x25
call fcn.1402fb3f0
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x28], rax
lea rax, [fcn.1402e9710]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:
mov qword [rbp - 8], rax
mov qword [rbp], 2
mov qword [rbp + 0x18], 0
lea rax, [rbp - 0x28]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 2
lea rdx, [0x14040f9d0]
lea rcx, [rbp - 8]
call fcn.1402fb350
lea rax, str._6A_
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x48], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea rdx, [0x140413660]
lea rcx, [rbp - 0x58]
call fcn.1402fb350
ud2

Function at 0x1402a7440
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 0x1402a746a
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x1402a7480
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 0x1402a74aa
xor eax, eax
add rsp, 0x28
ret
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret

Function at 0x1402a74c0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1402a74c0
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 0x1402a74f5
xor eax, eax
add rsp, 0x38
ret
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x1402a7510
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1402a7510
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 0x1402a7548
xor eax, eax
add rsp, 0x38
ret
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1402a7560
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1402a7560
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 0x1402a7595
xor eax, eax
add rsp, 0x38
ret
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1402a75b0
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 0x1402a76d7
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x1402a7638
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 0x1402a7679
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 0x1402a76d7
xor eax, eax
jmp 0x1402a76e4
call fcn.1402c7240
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret