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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx], 0
je 0x1400d13dd
lea rdx, [rdi + 8]
cmp qword [rdi + 0x38], 0xffffffffffffffff
mov r8, qword [rdi + 0x48]
mov r9, qword [rdi + 0x50]
mov rax, qword [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
je 0x1400d14c3
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x1400d14d2
mov bpl, byte [rdi + 0x1a]
mov rbx, qword [rdi + 8]
mov r15, qword [rdi + 0x48]
mov r14, qword [rdi + 0x50]
mov r13b, byte [rdi + 0x18]
xor r12d, r12d
test bpl, bpl
jne 0x1400d14f8
mov eax, r13d
xor al, 1
mov byte [rdi + 0x18], al
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.140002812
test rax, rax
je 0x1400d150c
test rdx, rdx
je 0x1400d14dc
mov r8b, byte [rax]
movzx ecx, r8b
test cl, cl
jns 0x1400d147e
mov edx, ecx
and edx, 0x1f
movzx r9d, byte [rax + 1]
and r9d, 0x3f
cmp cl, 0xdf
jbe 0x1400d146f
movzx ecx, byte [rax + 2]
shl r9d, 6
and ecx, 0x3f
or ecx, r9d
cmp r8b, 0xf0
jb 0x1400d1479
movzx eax, byte [rax + 3]
and edx, 7
shl edx, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or eax, edx
mov ecx, eax
jmp 0x1400d147e
shl edx, 6
or edx, r9d
mov ecx, edx
jmp 0x1400d147e
shl edx, 0xc
or ecx, edx
test r13b, r13b
jne 0x1400d14e1
cmp ecx, 0x110000
je 0x1400d14f1
mov eax, 1
cmp ecx, 0x80
jb 0x1400d14b4
mov eax, 2
cmp ecx, 0x800
jb 0x1400d14b4
cmp ecx, 0x10000
mov eax, 4
sbb rax, 0
add rbx, rax
mov qword [rdi + 8], rbx
mov r13b, 1
jmp 0x1400d13f4
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
mov rcx, rsi
call fcn.1400d152b
jmp 0x1400d14fb
test r13b, r13b
je 0x1400d14f1
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov r12d, 1
jmp 0x1400d14f8
mov byte [rdi + 0x1a], 1
xor r12d, r12d
mov qword [rsi], r12
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str._rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, r14
mov r8, rbx
mov r9, r14
call fcn.140124f20
ud2

Function at 0x1400db250
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14002fa30
cmp rax, rcx
je 0x1400db275
cmp rdx, 4
jae 0x1400db278
xor eax, eax
xor r8d, r8d
jmp 0x1400db310
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14012b870]
movdqa xmm3, xmmword [0x14012b880]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400db2a0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400db327
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400db310
ret
Function at 0x1400e0772
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x1400e078e
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x1400e079a
Capabilities:
Hash data using sha256

Disassembly:
mov rcx, qword [rcx]
mov r8d, 1
jmp 0x1400def6e
Function at 0x1400e0c37
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov rsi, qword [rsp + 0x58]
mov eax, dword [rdx]
mov edi, r8d
rol edi, 0x19
mov r10d, dword [rdx + 4]
mov ebx, eax
rol ebx, 0x19
mov r11d, dword [rdx + 8]
mov ebp, r10d
rol ebp, 0x19
mov r14d, r11d
rol r14d, 0x19
mov r15d, r8d
rol r15d, 0xe
xor r15d, edi
mov edi, eax
rol edi, 0xe
xor edi, ebx
mov ebx, r10d
rol ebx, 0xe
xor ebx, ebp
mov ebp, r11d
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, eax
shr eax, 3
xor eax, edi
add eax, r10d
shr r10d, 3
xor r10d, ebx
add r10d, r11d
shr r11d, 3
xor r11d, ebp
add r11d, dword [rdx + 0xc]
add r8d, dword [rsi + 0xc]
add eax, dword [r9]
add r10d, dword [r9 + 4]
add r11d, dword [r9 + 8]
mov edx, dword [rsi + 4]
mov edi, edx
rol edi, 0xf
mov r9d, dword [rsi]
mov esi, edx
rol esi, 0xd
xor esi, edi
shr edx, 0xa
xor edx, esi
add edx, r11d
mov r11d, r9d
rol r11d, 0xf
mov esi, r9d
rol esi, 0xd
xor esi, r11d
shr r9d, 0xa
xor r9d, esi
mov r11d, edx
rol r11d, 0xf
add r9d, r10d
mov r10d, edx
rol r10d, 0xd
xor r10d, r11d
mov r11d, edx
shr r11d, 0xa
xor r11d, r10d
add r11d, eax
mov eax, r9d
rol eax, 0xf
mov r10d, r9d
rol r10d, 0xd
xor r10d, eax
mov eax, r9d
shr eax, 0xa
xor eax, r10d
add eax, r8d
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400e0e6c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x70], 0xfffffffffffffffe
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x1400e1313
lea rsi, str.127.0.0.1:34254
lea rcx, [rbp + 0x40]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
call fcn.140031210
mov rdi, rax
test dil, 1
je 0x1400e0f38
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x1400e0f09
mov rax, qword [rbp + 0x40]
lea rcx, [rbx - 1]
mov dl, byte [rax]
inc rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rcx
cmp dl, 0x3a
jne 0x1400e0f09
lea rdx, [rbp - 0x10]
mov dword [rdx + 0x10], 0xa
and qword [rdx], 0
mov byte [rdx + 0x14], 1
lea rcx, [rbp + 0x40]
call fcn.140031af0
cmp ax, 1
jne 0x1400e0f0b
jmp 0x1400e0f14
xor eax, eax
mov qword [rbp + 0x48], rbx
test ax, ax
je 0x1400e0f38
movabs rax, 0xffffffff00
and rdi, rax
shr rdi, 8
movzx eax, dx
shl rax, 0x30
shl rdi, 0x10
or rdi, rax
push 1
pop rax
jmp 0x1400e0f3c
xor edi, edi
xor eax, eax
or rax, rdi
test ax, ax
je 0x1400e1188
movzx eax, ax
cmp eax, 1
jne 0x1400e1194
cmp qword [rbp + 0x48], 0
jne 0x1400e1194
mov eax, dword [rbp - 8]
mov dword [rbp - 0x20], eax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x28], rax
mov al, byte [0x1401a7368]
push 0x20
pop rcx
push 4
pop rdx
call fcn.140008570
test rax, rax
je 0x1400e132b
and word [rax], 0
mov rcx, rdi
shr rcx, 0x10
and rcx, 0xffffffffffffff00
mov edx, edi
shr edx, 0x10
movzx edx, dl
or rdx, rcx
shr rdi, 0x30
mov word [rax + 6], di
mov dword [rax + 2], edx
mov rcx, qword [rbp - 0x28]
mov qword [rax + 8], rcx
mov ecx, dword [rbp - 0x20]
mov dword [rax + 0x10], ecx
and dword [rax + 0x14], 0
mov rcx, rax
add rcx, 0x20
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 1
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], 0xf
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
and qword [rbp], 0
mov qword [rbp + 0x10], 1
add byte [rax - 0x48], cl
cmp al, byte [rax]
add byte [rax], al
cmp al, byte [rax]
add byte [rax], al
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
lea r8, str._rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_synconce.rs
push 0x2b
pop rdx
call fcn.140124950
ud2
push 4
pop rcx
push 0x20
pop rdx
call fcn.140124460
ud2

Function at 0x1400e13c3
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400e13f0
xor eax, eax
jmp 0x1400e13f5
call fcn.1400e0e3b
nop
add rsp, 0x38
ret

Function at 0x1400e1420
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400e143e
add rsp, 0x28
jmp fcn.1400e0e3b
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400e34d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
sub esp, 0xa8
in al, dx
test al, 0
add byte [rax], al

Function at 0x1400e55c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx

Function at 0x1400ea3e0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
add byte [rax], al
add byte [rax - 0x77], cl
xlatb
mov rsi, rcx
mov esi, ecx
movups xmm0, xmmword [0x1401569a8]
invalid
add byte [rdi], cl
sub dword [rsp + 0x60], eax
invalid
mov eax, 0xffffffff
cmp r9, rax
ror dword [rcx + 0xf], 0x42
cmovb rax, r9
xorps xmm0, xmm0
ror byte [rdi], 0x11
movups xmmword [rsp + 0x38], xmm0
and al, 0x38
and al, 0x38
mov dword [rsp + 0x30], eax
and al, 0x30
and al, 0x30
mov qword [rsp + 0x28], r8
and al, 0x28
lea rax, [rsp + 0x60]
invalid
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x20], eax
and byte [rax - 0x77], cl
sal dword [rcx], 1
xor edx, edx
xor r8d, r8d
xor eax, eax
xor r9d, r9d
leave
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
add dword [rax], eax
add byte [rbp + 0x12], dh
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
adc eax, 0x40fe0
mov eax, dword [rsp + 0x60]
and al, 0x60
cmp eax, 0xc0000011
jne 0x1400ea45b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
adc dword [rsi], eax
jmp 0x1400ea493
cmp eax, 0x103
je case.0x140008760.2739
test eax, eax
js 0x1400ea478
invalid
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
or byte [rax - 0x39], r9b
or byte [rax - 0x39], cl
invalid
add byte [rax], al
add byte [rax], al
add bl, ch
jmp 0x1400ea493
invalid
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
add al, 0
shl rax, 0x20
shl eax, 0x20
loopne 0x1400ea4a4
or rax, 2
enter 0x4802, 0xffffffffffffff89
or byte [rax - 0x39], r9b
invalid
add dword [rax], eax
add byte [rax], al
invalid
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
and al, 0x5c
add byte [rax - 0x73], cl
lea rax, [0x140156a10]
add eax, 0x6c55f
invalid
invalid
add byte [rax - 0x77], cl
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x78], eax
and al, 0x78
mov qword [rsp + 0x80], 1
test byte [rax + rax*4], ah
add byte [rax], al
add byte [rcx], al
add byte [rax], al
add byte [rax - 0x73], cl
and al, 0x50
and al, 0x50
push rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x88], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
test byte [rax + rdx*4], ah
and al, 0x90
nop
add byte [rax], al
add byte [rax - 0x73], cl
lea rcx, [rsp + 0x58]
lea ecx, [rsp + 0x58]
and al, 0x58
lea rdx, [rsp + 0x78]
and al, 0x78
call fcn.1400e2940
test bh, bh
dec dword [rax - 0x77]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x70], eax
and al, 0x70
jo 0x1400ea537
lea ecx, [rsp + 0x70]
and al, 0x70
call fcn.1400e1d30
js case.0x14000e26c.2720
invalid
invalid
mov ecx, 7
invalid
add byte [rax], al
add byte [rax], al
add ch, cl
sub dword [rdi], ecx
invalid
Function at 0x1400ee2c0
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 [0x1401a7298]
cmp rax, 3
jne 0x1400ee48d
cmp rbx, 0x17f
ja case.0x1400e5a4e.410
call fcn.140127e30
cmp rbx, 0x17f

Function at 0x1400ef640
Capabilities:
Create process on windows
Encode data using base64
Get common file path
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x6a8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x610], xmm6
mov qword [rbp + 0x608], 0xfffffffffffffffe
mov qword [rbp + 0x448], r8
mov r14, rdx
mov qword [rbp + 0x500], rcx
movzx eax, byte [rdx + 0x68]
mov rbx, qword [rdx + 0x60]
test al, al
mov qword [rbp + 0x590], rdx
jne 0x1400ef6aa
test rbx, rbx
jne 0x1400ef6aa
mov qword [rbp + 0x418], 0
xor r12d, r12d
jmp 0x1400f0314
mov qword [rbp + 0x4e0], 0
mov qword [rbp + 0x4f0], 0
test al, al
jne 0x1400ef8f2
mov qword [rbp + 0x5d8], rbx
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400f2b32
lea rsi, [rbp + 0x460]
lea rdi, [rbp - 0x10]
lea r14, [rbp + 0x598]
mov qword [rbp + 0x580], rax
mov rbx, rax
nop word [rax + rax]
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x598], rax
lea rax, [rbp + 0x598]
mov qword [rbp + 0x460], rax
lea rax, [fcn.1400e8ae0]
mov qword [rbp + 0x468], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp + 0x10], 0
lea rax, [rbp + 0x460]
mov qword [rbp], rax
mov qword [rbp + 8], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rbp - 0x10]
call fcn.140124790
jmp 0x1400f2c5f

Function at 0x1400f6110
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
in al, dx
mov byte [rax], al
add byte [rax], al
invalid

Function at 0x1400f75f0
Capabilities:
Create pipe
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
in al, dx
add qword [rax], rax
add byte [rax - 0x73], cl
lodsb al, byte [rsi]
and al, 0x80
add byte [rax], al
add byte [rdi], cl
sub dword [rbp + 0xb0], esi
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov dword [rbp + 0xa8], 0xfffffffe
invalid
invalid
dec dword [rax - 0x77]
push 0xa59588
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov dh, 0xc2
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
xor edi, edi
mov r15d, 8
mov sil, 1
mov dh, 1
xorps xmm6, xmm6
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
and eax, 0x33b0f
xor eax, eax
mov qword [rbp - 8], rax
nop
Function at 0x1400f8410
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1401a7368]
mov ecx, 0x10
mov edx, 8
call fcn.140008570
test rax, rax
je case.0x1400e60b3.459
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400f85d0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov edx, esi
Function at 0x1400f9010
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x1400f9053
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1400e8ae0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140124790
ud2

Function at 0x1400faee0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1400fb02d
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1400faf18
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1400fb016
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x1400faff8
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1400faf79
mov ecx, dword [rsp + 0x2c]
mov eax, 2
test rcx, rcx
je 0x1400fafab
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov byte [rsi + 1], 1
jmp 0x1400fafaf
call qword [sym.imp.kernel32.dll_GetLastError]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x40], rcx
cmp eax, 0x3e5
je 0x1400fafb3
cmp eax, 0x6d
jne 0x1400fafde
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
jmp 0x1400fafb8
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x1400fafe4
lea rax, [rsp + 0x30]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.1400e1c70
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x1400fafee
cmp rax, 1
je 0x1400faf62
mov qword [rsi + 8], rcx
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov eax, 1
jmp 0x1400faf6c
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140127b80
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x1400faf25
mov r8d, 0x10
mov rcx, rbx
call fcn.140127b80
mov rax, qword [rbx + 8]
jmp 0x1400faf18
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140127fe0
ud2

Function at 0x1400fea00
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400fea35
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400fea3a
call fcn.1400f9010
nop
add rsp, 0x38
ret
Function at 0x140105a25
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
add byte [rax], al
add byte [rax - 0x73], cl
lodsb al, byte [rsi]
and al, 0x80
add byte [rax], al
add byte [rax - 0x39], cl
adc r14b, r15b
invalid
invalid
dec dword [rax - 0x77]
ror dword [rcx - 0x77], cl
invalid
lea r12, [rbp - 0x56]
lea rsi, [rbp - 0xe]
lea r15, [rcx + 0x18]
xor eax, eax
cmp qword [rcx + 0x18], 0xffffffffffffffff
cmove r15, rax
mov r13, qword [r8 + 8]
mov rdi, qword [r8 + 0x10]
js 0x140105a7d

Function at 0x140105d5d
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rbp - 0x10], rcx
mov rax, qword [rbp + 0x70]
lea rsi, [rbp - 0x26]
lea r13, [rbp - 0x36]
lea r15, [rdx + 0x18]
xor ecx, ecx
cmp qword [rdx + 0x18], 0xffffffffffffffff
cmove r15, rcx
mov r12d, 0x7fffffff
cmp rax, r12
cmovb r12, rax
mov qword [rbp - 0x20], r15

Function at 0x14010fd14
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14010fd1b
test al, 1
je 0x14010fd3a
test al, 2
jne 0x14010fd4f
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14015acf0]
mov edx, 0x23
jmp 0x14010fd62
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14015ad30]
mov edx, 0x25
call fcn.140124950
ud2

Function at 0x140117270
Capabilities:
Get session user name

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, rcx
lea rdx, [rbp - 0x10]
and dword [rdx], 0
and al, byte [rax]

Function at 0x140123b80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140123bca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140123bca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140123bca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140123bca
cmp dword [rcx + 0x84], 0xe
jbe 0x140123bca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140123bcc
xor al, al
add rsp, 0x28
ret
Function at 0x140126097
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401260fd
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401260fd
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401260fd
mov qword [rbp - 0x10], rax
xor eax, eax
mov qword [rbp - 8], rax
jmp 0x140126187
lea rcx, [0x14014b730]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x1401261dd
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401261dd
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401261dd
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401261dd
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1401261dd
mov qword [rbp - 8], rbx
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
push 0x18
pop rcx
call fcn.14006bcc6
mov rdx, rax
mov rax, qword [rbp - 8]
mov qword [rdx], rax
mov qword [rdx + 8], rsi
mov rax, qword [rbp - 0x10]
mov qword [rdx + 0x10], rax
xor eax, eax
lock cmpxchg qword [0x1401a71b0], rdx
je 0x1401261d1
mov rsi, rax
mov rcx, qword [rdx]
mov qword [rbp - 8], rdx
mov rdx, qword [rdx + 0x10]
call fcn.140060be4
mov rcx, qword [rbp - 8]
call fcn.140055a5f
mov rdx, rsi
mov rax, rdx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Userschaos.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x14014b838]
push 0x5b
pop rdx
call fcn.140126241
ud2