joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006543
Capabilities:
Delete file

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, rax
jmp 0x1400c75e0
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1400cfa40
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x1400c7640
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call fcn.1400d15a0
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x1400c764c
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1400c7676
test rdi, rdi
je 0x1400c76a2
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140006490
xor eax, eax
jmp 0x1400c7643
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x1400c7643
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.140006490
jmp 0x1400c7640
xor eax, eax
jmp 0x1400c7643

Function at 0x14003d39c
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r14, rdx
mov esi, edx
mov rsi, rcx
lea r15, [rsp + 0x58]
lea edi, [rsp + 0x58]
mov rcx, r15
mov rdx, r8
mov edx, eax
mov r8, r9
call fcn.14000269c
fcom dword [rdx - 4]
dec dword [rbp + rcx*4 + 0x64]
and al, 0x38
mov dword [r12], 0x800
lea rdi, [rsp + 0x3c]
and dword [rdi], 0
lea rbx, [rsp + 0x40]
lea ebx, [rsp + 0x40]
mov edx, 0x800
mov rcx, rbx
call fcn.140002376
cld
dec dword [rbp - 0x75]
invalid
mov r15, qword [r15 + 8]
mov r13, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, r15
xor r8d, r8d
mov r9, rdi
mov ecx, edi
call r13
cmp eax, 0xea
add byte [rax], al
jne 0x14003d42c
mov edx, dword [rsp + 0x38]
mov rcx, rbx
call fcn.14009d890
jmp 0x14003d3f9
test eax, eax
jne 0x14003d44e
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp al, 0x83
clc
or esi, dword [rsi + 0x31]
movabs rax, 0xde00000002
jmp case.0x14002f8aa.131
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
lea rcx, [rsp + 0x40]
and al, 0x40
call fcn.140001dfb
jmp 0x14003d487
invalid
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
invalid
lea rcx, [rsp + 0x58]
call fcn.140001e15
mov rax, rsi
add rsp, 0x70
invalid
jo 0x14003d4f4
pop rdi
pop rsi
pop r12
pop r13
pop rbp
pop r14
pop r15
ret
Function at 0x1400434a3
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x30]
mov rdx, qword [rdx + 0x48]
lea r8, [0x140152d50]
mov rcx, rbx
call fcn.140040d4d
mov r9, rdx
lea r14, [rsp + 0x78]
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005b4ec
lea r15, [rsp + 0x88]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14005b4ec
lea r12, [rsp + 0x68]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005b4ec
lea r13, [rsp + 0x50]
mov rcx, r13
xor edx, edx
xor r8d, r8d
call fcn.14005b4ec
movups xmm0, xmmword [r14]
movaps xmmword [r13 - 0x30], xmm0
movups xmm0, xmmword [r15]
movaps xmmword [r13 - 0x20], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [r13 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.14005b503
lea rcx, [rdi + 0xe8]
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140043646
test eax, eax
je 0x1400435d8
cmp eax, 0x90317
je 0x140043640
cmp eax, 0x90321
jne 0x14004365f
mov dword [rdi + 0xa0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xa4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14004297b
and qword [rdi + 0x108], 0
mov byte [rsi + 1], bl
jmp 0x14004366d
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi + 0x38]
mov r8d, dword [rsp + 0x30]
add r8, rdx
lea r14, [rdi + 0x10]
and qword [rdi + 0x20], 0
mov rcx, rbx
call fcn.1400403bb
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.14009d888
and qword [rdi + 0x28], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14004297b
xor eax, eax
cmp qword [rdi + 0x48], rbx
sete al
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x14004366d
mov byte [rsi + 1], 1
jmp 0x14004365b
cmp dword [rsp + 0x34], 4
cmove ebp, dword [rsp + 0x30]
mov qword [rdi + 0x108], rbp
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x14004366d
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140043686
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x158]
mov rdx, qword [rdx + 0x170]
lea r8, [0x140152d50]
mov rcx, rbx
call fcn.140040d4d
mov r9, rdx
lea r14, [rsp + 0x78]
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005b4ec
lea r15, [rsp + 0x88]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14005b4ec
lea r12, [rsp + 0x68]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005b4ec
lea r13, [rsp + 0x50]
mov rcx, r13
xor edx, edx
xor r8d, r8d
call fcn.14005b4ec
movups xmm0, xmmword [r14]
movaps xmmword [r13 - 0x30], xmm0
movups xmm0, xmmword [r15]
movaps xmmword [r13 - 0x20], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [r13 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.14005b503
lea rcx, [rdi + 0x1e8]
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140043844
test eax, eax
je 0x1400437c4
cmp eax, 0x90317
je 0x14004383e
cmp eax, 0x90321
jne 0x14004385d
mov dword [rdi + 0x1c8], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1cc], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400429d1
and qword [rdi + 0x208], 0
mov byte [rsi + 1], bl
jmp 0x14004386b
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi + 0x160]
mov r8d, dword [rsp + 0x30]
add r8, rdx
lea r14, [rdi + 0x138]
and qword [rdi + 0x148], 0
mov rcx, rbx
call fcn.1400403bb
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.14009d888
and qword [rdi + 0x150], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400429d1
xor eax, eax
cmp qword [rdi + 0x170], rbx
sete al
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x14004386b
mov byte [rsi + 1], 1
jmp 0x140043859
cmp dword [rsp + 0x34], 4
cmove ebp, dword [rsp + 0x30]
mov qword [rdi + 0x208], rbp
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x14004386b
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140043884
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x140043a25
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rbx, [r14 + r8]
add rdx, rbx
lea rdi, [rcx + 0x178]
cmp qword [rcx + 0x188], rdx
jae 0x1400438d3
mov rcx, rdi
xor r8d, r8d
call fcn.140025950
lea r9, [0x140152dd8]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140040d63
lea rcx, [0x140152df0]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.140006c9a
lea r8, [0x140152e08]
mov rcx, rdi
mov rdx, r14
call fcn.140040d4d
mov r9, rdx
lea r15, [rsp + 0x78]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.14005b4ec
lea r9, [0x140152e20]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140040d63
mov r9, rdx
lea r14, [rsp + 0x88]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005b4ec
lea r8, [0x140152e38]
mov rcx, rdi
mov rdx, rbx
call fcn.14004040a
mov r9, rdx
lea rbx, [rsp + 0x98]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.14005b4ec
lea r12, [rsp + 0x60]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005b4ec
movups xmm0, xmmword [r15]
movaps xmmword [r12 - 0x30], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [r12 - 0x20], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [r12 - 0x10], xmm0
lea rbx, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov rcx, rbx
call fcn.14005b503
lea rcx, [rsi + 0x1e8]
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1400439f6
shl rax, 0x20
or rax, 2
jmp 0x140043a14
mov edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x50]
mov rcx, rdi
call fcn.1400a6078
and qword [rsi + 0x190], 0
xor eax, eax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, [0x140152dc0]
mov edx, 0x3e
call fcn.1400ee5c0
int3
Function at 0x140043a3e
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x140043bd6
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rbx, [r14 + r8]
add rdx, rbx
lea rdi, [rcx + 0x50]
cmp qword [rcx + 0x60], rdx
jae 0x140043a87
mov rcx, rdi
xor r8d, r8d
call fcn.140025950
lea r9, [0x140152dd8]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140040d63
lea rcx, [0x140152df0]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.140006c9a
lea r8, [0x140152e08]
mov rcx, rdi
mov rdx, r14
call fcn.140040d4d
mov r9, rdx
lea r15, [rsp + 0x78]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.14005b4ec
lea r9, [0x140152e20]
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140040d63
mov r9, rdx
lea r14, [rsp + 0x88]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14005b4ec
lea r8, [0x140152e38]
mov rcx, rdi
mov rdx, rbx
call fcn.14004040a
mov r9, rdx
lea rbx, [rsp + 0x98]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.14005b4ec
lea r12, [rsp + 0x60]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14005b4ec
movups xmm0, xmmword [r15]
movaps xmmword [r12 - 0x30], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [r12 - 0x20], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [r12 - 0x10], xmm0
lea rbx, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov rcx, rbx
call fcn.14005b503
lea rcx, [rsi + 0xe8]
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140043baa
shl rax, 0x20
or rax, 2
jmp 0x140043bc5
mov edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x50]
mov rcx, rdi
call fcn.1400a6078
and qword [rsi + 0x68], 0
xor eax, eax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, [0x140152dc0]
mov edx, 0x3e
call fcn.1400ee5c0
int3
Function at 0x14005ae67
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
mov byte [rsp + 0x4f], dl
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x14005aedd
mov ecx, dword [rsi + 0x28]
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x98], rcx
cmp qword [rsi + 0x30], rax
je 0x14005af14
mov rax, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x40]
add rdx, rax
lea rcx, [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
lea rax, [rsp + 0x4f]
mov qword [rcx + 0x10], rax
xor edx, edx
call fcn.140059d6c
mov dword [rsp + 0xa0], eax
mov rdx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
lea r8, [rdx + rax*8]
lea rsi, [rsp + 0xb8]
mov rcx, rsi
call fcn.140059f6d
mov eax, dword [rsi + 0x10]
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov rax, qword [rsi + 8]
cmp byte [rsp + 0x4f], 1
mov qword [rcx + 8], rax
mov r8d, 2
sbb r8d, 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x14015b353]
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x14005af96
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
jmp 0x14005afba
movaps xmm6, xmmword [rsp + 0x50]
mov ecx, 0x20
call fcn.14005a366
mov rsi, rax
mov eax, 1
mov qword [rsi], rax
mov qword [rsi + 8], rax
movups xmmword [rsi + 0x10], xmm6
xor edi, edi
lea rcx, [rsp + 0xb8]
call fcn.14003f61b
mov rax, rdi
mov rdx, rsi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret

Function at 0x1400609a8
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x1400609ce
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x1400609b8
mov qword [rcx], rax
ret
Function at 0x14007076d
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor eax, eax
test rbx, rbx
setne al
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
call fcn.14005d51c
test rbx, rbx
je 0x1400707ae
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1400609a8
add rdi, 8
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1400709bd

Function at 0x140092bc7
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call fcn.140092ab9
mov rcx, rax
mov edx, ebx
add rsp, 0x20
pop rbx
jmp 0x14009c5af
jmp 0x1400bf370
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 0x1400bf3ad
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 0x140092f43
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400994a7
mov rcx, qword [rcx]
movzx r9d, dl
mov edx, 0xffff
mov r8d, 4
jmp 0x1400995e2
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r9d
mov dword [rsp + 0x20], 4
mov r9, rax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140099608
xor eax, eax
jmp 0x14009960d
call fcn.14001c9d8
nop
add rsp, 0x38
ret

Function at 0x140092f48
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1400994be
mov r9, rdx
mov rcx, qword [rcx]
mov edx, 0xffff
mov r8d, 0x1001
jmp 0x1400995e2

Function at 0x140092f4f
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140099491
mov r9, rdx
mov rcx, qword [rcx]
mov edx, 0xffff
mov r8d, 0x1002
jmp 0x1400995e2

Function at 0x1400963a7
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 0x1400963ae
test al, 1
je 0x1400963cd
test al, 2
jne 0x1400963e5
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140194f80]
mov edx, 0x23
call fcn.1400ee5c0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140194fc0]
mov edx, 0x25
call fcn.1400ee5c0
int3
Function at 0x140099421
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 0x140099442
add rsp, 0x28
jmp fcn.14001c9d8
xor eax, eax
add rsp, 0x28
ret

Function at 0x140099449
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
lea r8, [rsp + 0x24]
mov dword [r8], eax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x14009946f
xor eax, eax
jmp 0x140099474
call fcn.14001c9d8
nop
add rsp, 0x28
ret

Function at 0x14009947a
Capabilities:
Set socket configuration

Disassembly:
mov rcx, qword [rcx]
movzx r9d, dl
mov edx, 0xffff
mov r8d, 8
jmp 0x1400995e2

Function at 0x1400995e2
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400994a7
mov rcx, qword [rcx]
movzx r9d, dl
mov edx, 0xffff
mov r8d, 4
jmp 0x1400995e2
sub rsp, 0x38
lea rax, [rsp + 0x34]
mov dword [rax], r9d
mov dword [rsp + 0x20], 4
mov r9, rax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140099608
xor eax, eax
jmp 0x14009960d
call fcn.14001c9d8
nop
add rsp, 0x38
ret
Function at 0x1400b1274
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rsp + 0x20]
and qword [rdi], 0
mov rcx, rdx
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.shell32.dll_SHGetKnownFolderPath
mov rcx, qword [rdi]
test eax, eax
je 0x1400b12b1
call sub.ole32.dll_CoTaskMemFree
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x1400b12d0
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1400bf5b0
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400b16f3
Capabilities:
Enumerate process modules

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, rcx
lea rdi, [rsp + 0x40]
and qword [rdi], 0
mov qword [rdi + 8], 8
and qword [rdi + 0x10], 0
lea rbx, [rsp + 0x34]
and dword [rbx], 0
mov qword [rsp + 0x38], rdx
xor r8d, r8d
mov eax, 8
xor ebp, ebp
mov rcx, qword [rdx]
shl r8d, 3
mov dword [rsp + 0x20], 3
mov rdx, rax
mov r9, rbx
call sub.psapi.dll_EnumProcessModulesEx
test eax, eax
je 0x1400b1777
mov r14d, dword [rsp + 0x34]
cmp r14d, ebp
jbe 0x1400b178b
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.1400b151d
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
mov ebp, r14d
jmp 0x1400b172d
call fcn.14001c9d8
and qword [rsi], 0
mov qword [rsi + 8], rax
lea rcx, [rsp + 0x40]
jmp 0x1400b17ce
shr r14d, 3
mov rdx, qword [rsp + 0x50]
cmp rdx, r14
jb 0x1400b17e1
lea rdi, [rsp + 0x40]
mov rax, qword [rdi + 8]
lea rcx, [rax + r14*8]
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rax, [rsp + 0x38]
mov qword [rdx + 0x10], rax
lea rcx, [rsi + 8]
call fcn.1400b1359
mov qword [rsi], 4
mov rcx, rdi
call fcn.14003f61b
mov rax, rsi
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Users_sola.cargo_registry_srcmirrors.ustc.edu.cn_61ef6e0cd06fb9b8winproc_0.6.4_srcprocessmod.rs
mov rcx, r14
call fcn.1400ee990
int3

Function at 0x1400b2254
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 0x100
mov eax, 1
cmp rdx, 0x40
jb 0x1400b234c
test cl, 3
je 0x1400b227b
mov r8d, 0x400
jmp 0x1400b234c
cmp word [rcx], 0x5a4d
jne 0x1400b2346
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x1400b2270
cmp r9d, 0x1000000
jbe 0x1400b22a4
mov r8d, 0x700
jmp 0x1400b234c
lea r11, [r9 + 0x88]
cmp r11, rdx
ja 0x1400b234c
mov r9d, r9d
cmp dword [rcx + r9], 0x4550
jne 0x1400b2346
movzx esi, word [rcx + r9 + 0x18]
cmp esi, 0x20b
je 0x1400b22db
cmp esi, 0x10b
jne 0x1400b2346
mov edi, dword [rcx + r9 + 0x54]
cmp rdi, rdx
ja 0x1400b234c
mov r10d, dword [rcx + r9 + 0x50]
cmp edi, r10d
ja 0x1400b2299
cmp si, 0x20b
jne 0x1400b2352
mov esi, dword [rcx + r9 + 0x84]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
lea r11d, [r11 + rdi*8]
cmp r11, rdx
ja 0x1400b234c
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x1400b2299
imul r11, r11, 0x28
add r11, r9
movzx ecx, word [rcx + r9 + 0x14]
add rcx, r11
add rcx, 0x18
cmp rcx, rdx
ja 0x1400b234c
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x1400b234c
mov r8d, 0x500
or rax, r8
pop rdi
pop rsi
ret
mov r8d, 0x600
jmp 0x1400b234c
Function at 0x1400bbfc0
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 + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1400bc060
jmp 0x1400bc04f
jae 0x1400bc11f
cmp r8, 0x201
jae 0x1400bc060
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400bc0b7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1400bc08f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1400ece90
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1400bc0e0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400bc18b
mov r8d, r13d
cmp r12, r8
jne 0x1400bc040
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400bc1bf
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400bc04f
jmp 0x1400bc060
cmp r14, r8
jb 0x1400bc1d9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1400bf5b0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1400bc174
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140006490
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1400bc15f
jmp 0x1400bc174
lea rcx, str.internal_error:_entered_unreachable_code_
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400ee5c0
jmp 0x1400bc1ee
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1400ee990
ud2