joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400064f0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
add r8, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], r8
mov word [rsp + 0x88], 0
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x78]
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17h4fc94da291
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [rsp + 0x48]
jne 0x140006541
lea rcx, [rsp + 0x40]
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h6987eab8ec6ba832
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x40]
mov word [rax + rdx*2], 0
inc qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileW
mov rbx, rax
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400065a2
mov rcx, qword [rsp + 0x40]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
cmp rbx, 0xffffffffffffffff
je 0x140006643
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingW
mov rdi, rax
mov rcx, rbx
call fcn.1400db2c4
test rdi, rdi
je 0x140006643
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
test rax, rax
je 0x140006669
mov rbx, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov r8d, 0x30
mov rcx, rax
call sub.KERNEL32.dll_VirtualQuery
mov rax, qword [rsp + 0x58]
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdi
mov qword [rsi], 0
jmp 0x14000665b
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rdi
call fcn.1400db2c4
mov qword [rsi + 8], rbx
jmp 0x140006654

Function at 0x140006ab0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov r14, qword [rdx + 8]
cmp r14, 2
jb 0x140006b1e
mov ebp, dword [rdx + 0x10]
mov r15, qword [rdx]
lea rdi, sym._ZN4core3ptr55drop_in_place_LT_pelite..rich_structure..RichRecord_GT_17h042b4e83893bc71dE.llvm.15863272394429201045
lea rbx, [rsp + 0x20]
nop dword [rax + rax]
mov eax, dword [r15]
xor eax, ebp
movzx ecx, ax
and eax, 0xffff0000
mov edx, dword [r15 + 4]
xor edx, ebp
shl rdx, 0x20
or rax, rdx
or rcx, rax
add r14, 0xfffffffffffffffe
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call sym.core::fmt::builders::DebugSet::entry::h81fb8ea589ff478a
add r15, 8
cmp r14, 1
ja 0x140006ae0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000a430
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, rcx
test r9, r9
je 0x14000a47e
mov ecx, dword [rdx + 0x3c]
lea r11, [rdx + rcx]
sub r9, qword [r11 + 0x30]
jb 0x14000a519
mov r10d, dword [r11 + 0x50]
cmp r9, r10
ja 0x14000a519
mov r10, qword [rsp + 0x70]
mov esi, r9d
add rsi, rdx
dec r10
test rsi, r10
je 0x14000a487
mov byte [rax + 8], 4
jmp 0x14000a51d
mov byte [rax + 8], 0
jmp 0x14000a51d
mov r10, qword [rsp + 0x68]
lea r12, [rdx + rcx]
add r12, 0x18
movzx ebx, word [r11 + 0x14]
add r12, rbx
movzx r11d, word [r11 + 6]
shl r11, 3
lea r15, [r11 + r11*4]
xor r14d, r14d
nop dword [rax]
cmp r15, r14
je 0x14000a519
lea r13, [r12 + 0x28]
mov esi, dword [r12 + 8]
mov ebp, dword [r12 + 0xc]
mov r11d, dword [r12 + 0x10]
cmp esi, r11d
cmovbe esi, r11d
add r14, 0x28
mov edi, r9d
mov r12, r13
sub edi, ebp
jb 0x14000a4b0
add esi, ebp
mov r12, r13
sub esi, r9d
jbe 0x14000a4b0
add rcx, rbx
add rcx, rdx
mov ecx, dword [r14 + rcx + 4]
add r11d, ecx
jb 0x14000a531
cmp r11, r8
ja 0x14000a531
sub r11, rcx
sub r11, rdi
jb 0x14000a537
cmp r11, r10
jb 0x14000a537
add rdx, rcx
add rdx, rdi
mov qword [rax], rdx
mov qword [rax + 8], r11
jmp 0x14000a524
mov byte [rax + 8], 1
mov qword [rax], 0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rax + 8], 8
jmp 0x14000a51d
cmp rsi, r10
mov cl, 2
sbb cl, 0
mov byte [rax + 8], cl
jmp 0x14000a51d

Function at 0x14000a550
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 0x100
mov eax, 1
cmp rdx, 0x40
jb 0x14000a652
test cl, 3
je 0x14000a577
mov r8d, 0x400
jmp 0x14000a652
movzx r9d, word [rcx]
cmp r9d, 0x5a4d
jne 0x14000a64c
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x14000a56c
cmp r9d, 0x1000000
jbe 0x14000a5a6
mov r8d, 0x700
jmp 0x14000a652
lea r11, [r9 + 0x88]
cmp r11, rdx
ja 0x14000a652
cmp dword [rcx + r9], 0x4550
jne 0x14000a64c
movzx esi, word [rcx + r9 + 0x18]
cmp esi, 0x20b
je 0x14000a5da
cmp esi, 0x10b
jne 0x14000a64c
mov edi, dword [rcx + r9 + 0x54]
cmp rdi, rdx
ja 0x14000a652
mov r10d, dword [rcx + r9 + 0x50]
cmp edi, r10d
ja 0x14000a59b
movzx esi, si
cmp esi, 0x20b
jne 0x14000a658
mov esi, dword [rcx + r9 + 0x84]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
shl edi, 3
add r11, rdi
cmp r11, rdx
ja 0x14000a652
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x14000a59b
lea r11, [r11 + r11*4]
lea r11, [r9 + r11*8]
movzx ecx, word [rcx + r9 + 0x14]
add rcx, r11
add rcx, 0x18
cmp rcx, rdx
ja 0x14000a652
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x14000a652
mov r8d, 0x500
or rax, r8
pop rdi
pop rsi
ret
mov r8d, 0x600
jmp 0x14000a652
Function at 0x14000a930
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, rcx
test r9d, r9d
je 0x14000a960
mov rcx, qword [rsp + 0x70]
mov r10d, r9d
add r10, rdx
dec rcx
test rcx, r10
je 0x14000a969
mov byte [rax + 8], 4
jmp 0x14000aa21
mov byte [rax + 8], 0
jmp 0x14000aa21
mov rcx, qword [rsp + 0x68]
mov esi, dword [rdx + 0x3c]
lea r10, [rdx + rsi]
movzx ebx, word [rdx + rsi + 0x14]
lea r12, [rbx + r10]
add r12, 0x18
movzx r10d, word [rdx + rsi + 6]
shl r10, 3
lea r15, [r10 + r10*4]
xor r14d, r14d
nop word cs:[rax + rax]
cmp r15, r14
je 0x14000aa0a
lea r13, [r12 + 0x28]
mov r11d, dword [r12 + 8]
mov ebp, dword [r12 + 0xc]
mov r10d, dword [r12 + 0x10]
cmp r11d, r10d
cmovbe r11d, r10d
add r14, 0x28
mov edi, r9d
mov r12, r13
sub edi, ebp
jb 0x14000a9a0
add r11d, ebp
mov r12, r13
sub r11d, r9d
jbe 0x14000a9a0
add rsi, rbx
add rsi, rdx
mov r9d, dword [r14 + rsi + 4]
add r10d, r9d
jb 0x14000aa10
cmp r10, r8
ja 0x14000aa10
sub r10, r9
sub r10, rdi
jb 0x14000aa16
cmp r10, rcx
jb 0x14000aa16
add rdx, r9
add rdx, rdi
mov qword [rax], rdx
mov qword [rax + 8], r10
jmp 0x14000aa28
mov byte [rax + 8], 1
jmp 0x14000aa21
mov byte [rax + 8], 8
jmp 0x14000aa21
cmp r11, rcx
mov cl, 2
sbb cl, 0
mov byte [rax + 8], cl
mov qword [rax], 0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14000aa40
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, rcx
test r9d, r9d
je 0x14000aa8c
mov r10d, dword [rdx + 0x3c]
lea r11, [rdx + r10]
sub r9d, dword [r11 + 0x34]
jb 0x14000ab29
cmp r9d, dword [r11 + 0x50]
ja 0x14000ab29
mov rcx, qword [rsp + 0x70]
mov esi, r9d
add rsi, rdx
dec rcx
test rsi, rcx
je 0x14000aa95
mov byte [rax + 8], 4
jmp 0x14000ab2d
mov byte [rax + 8], 0
jmp 0x14000ab2d
mov rcx, qword [rsp + 0x68]
lea r12, [rdx + r10]
add r12, 0x18
movzx ebx, word [r11 + 0x14]
add r12, rbx
movzx r11d, word [r11 + 6]
shl r11, 3
lea r15, [r11 + r11*4]
xor r14d, r14d
nop word [rax + rax]
cmp r15, r14
je 0x14000ab29
lea r13, [r12 + 0x28]
mov esi, dword [r12 + 8]
mov ebp, dword [r12 + 0xc]
mov r11d, dword [r12 + 0x10]
cmp esi, r11d
cmovbe esi, r11d
add r14, 0x28
mov edi, r9d
mov r12, r13
sub edi, ebp
jb 0x14000aac0
add esi, ebp
mov r12, r13
sub esi, r9d
jbe 0x14000aac0
add r10, rbx
add r10, rdx
mov r9d, dword [r14 + r10 + 4]
add r11d, r9d
jb 0x14000ab41
cmp r11, r8
ja 0x14000ab41
sub r11, r9
sub r11, rdi
jb 0x14000ab47
cmp r11, rcx
jb 0x14000ab47
add rdx, r9
add rdx, rdi
mov qword [rax], rdx
mov qword [rax + 8], r11
jmp 0x14000ab34
mov byte [rax + 8], 1
mov qword [rax], 0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rax + 8], 8
jmp 0x14000ab2d
cmp rsi, rcx
mov cl, 2
sbb cl, 0
mov byte [rax + 8], cl
jmp 0x14000ab2d
Function at 0x14000ab60
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
push rbx
mov r8d, 0x100
mov eax, 1
cmp rdx, 0x40
jb 0x14000ac6d
test cl, 3
je 0x14000ab88
mov r8d, 0x400
jmp 0x14000ac6d
movzx r9d, word [rcx]
cmp r9d, 0x5a4d
jne 0x14000ac67
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x14000ab7d
cmp r9d, 0x1000000
jbe 0x14000abb7
mov r8d, 0x700
jmp 0x14000ac6d
lea r11, [r9 + 0x78]
cmp r11, rdx
ja 0x14000ac6d
cmp dword [rcx + r9], 0x4550
jne 0x14000ac67
movzx edi, word [rcx + r9 + 0x18]
cmp edi, 0x20b
je 0x14000abe8
cmp edi, 0x10b
jne 0x14000ac67
mov esi, dword [rcx + r9 + 0x54]
cmp rsi, rdx
ja 0x14000ac6d
mov r10d, dword [rcx + r9 + 0x50]
xor ebx, ebx
cmp esi, r10d
seta bl
movzx edi, di
or rbx, 6
shl rbx, 8
cmp edi, 0x10b
jne 0x14000ac74
cmp esi, r10d
ja 0x14000ac74
mov esi, dword [rcx + r9 + 0x74]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
shl edi, 3
add r11, rdi
cmp r11, rdx
ja 0x14000ac6d
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x14000abac
lea r11, [r11 + r11*4]
lea r11, [r9 + r11*8]
movzx ecx, word [rcx + r9 + 0x14]
add rcx, r11
add rcx, 0x18
cmp rcx, rdx
ja 0x14000ac6d
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x14000ac6d
mov r8d, 0x500
or rax, r8
pop rbx
pop rdi
pop rsi
ret
mov r8, rbx
jmp 0x14000ac6d

Function at 0x140016320
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdx, qword [rcx + 0x18]
lea rax, [rdx - 2]
cmp rax, 4
jb 0x14001644a
cmp rdx, 2
jb 0x140016460
mov rsi, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea r11, [rdx - 6]
mov r10d, dword [r9 + 4]
lea eax, [rsi*4]
test rsi, rsi
je 0x1400163c2
mov rdi, qword [rcx]
shl rsi, 2
xor r8d, r8d
jmp 0x1400163b1
movaps xmmword [rsp + 0x20], xmm0
movzx ebx, byte [rsp + 0x20]
mov ecx, r8d
rol ebx, cl
movzx ebp, byte [rsp + 0x21]
lea ecx, [r8 + 1]
rol ebp, cl
add eax, ebx
movzx ebx, byte [rsp + 0x22]
lea ecx, [r8 + 2]
rol ebx, cl
add ebx, ebp
add ebx, eax
movzx eax, byte [rsp + 0x23]
lea ecx, [r8 + 3]
rol eax, cl
add eax, ebx
add r8, 4
cmp rsi, r8
je 0x1400163c2
xorps xmm0, xmm0
cmp r8d, 0x3c
je 0x140016370
movss xmm0, dword [rdi + r8]
jmp 0x140016370
cmp r11, 2
jb 0x140016441
test dl, 2
jne 0x1400163f5
mov r8d, dword [r9 + 0x10]
xor r8d, r10d
mov ecx, dword [r9 + 0x14]
xor ecx, r10d
lea r11, [rdx - 8]
add r9, 0x18
rol r8d, cl
add eax, r8d
and rdx, 0xfffffffffffffffe
cmp rdx, 8
jne 0x140016410
jmp 0x140016441
add r9, 0x10
and rdx, 0xfffffffffffffffe
cmp rdx, 8
je 0x140016441
nop word cs:[rax + rax]
mov edx, dword [r9]
xor edx, r10d
mov ecx, dword [r9 + 4]
xor ecx, r10d
rol edx, cl
add edx, eax
mov eax, dword [r9 + 8]
xor eax, r10d
mov ecx, dword [r9 + 0xc]
xor ecx, r10d
rol eax, cl
add r11, 0xfffffffffffffffc
add eax, edx
add r9, 0x10
cmp r11, 1
ja 0x140016410
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea r8, str._home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_pelite_0.9.2_src_rich_structure.rs
mov ecx, 4
mov rdx, rax
call dbg.slice_index_order_fail
ud2
lea r8, str._home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_pelite_0.9.2_src_rich_structure.rs
mov rcx, rax
call dbg.slice_end_index_len_fail
ud2
Function at 0x140016ad0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
lea rcx, [rsp + 0x28]
call sym.core::fmt::Formatter::debug_list::h5118bd811ac986dd
mov r14, qword [rsi + 8]
cmp r14, 2
jb 0x140016b4e
mov ebp, dword [rsi + 0x10]
mov r15, qword [rsi]
lea rsi, sym._ZN4core3ptr55drop_in_place_LT_pelite..rich_structure..RichRecord_GT_17h042b4e83893bc71dE.llvm.15863272394429201045
lea rdi, [rsp + 0x28]
lea rbx, [rsp + 0x20]
nop word [rax + rax]
mov eax, dword [r15]
xor eax, ebp
movzx ecx, ax
and eax, 0xffff0000
mov edx, dword [r15 + 4]
xor edx, ebp
shl rdx, 0x20
or rax, rdx
or rcx, rax
add r14, 0xfffffffffffffffe
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call sym.core::fmt::builders::DebugSet::entry::h81fb8ea589ff478a
add r15, 8
cmp r14, 1
ja 0x140016b10
lea rcx, [rsp + 0x28]
call sym.core::fmt::builders::DebugList::finish::h771ee0ef0966e46c
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14001b8e0
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rdx]
mov edx, r8d
call sub.KERNEL32.dll_TerminateProcess
mov ecx, 4
test eax, eax
jne 0x14001b90f
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
xor ecx, ecx
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14001ba30
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x2c], 0
mov r14, qword [rdx]
mov edi, 8
lea r15, [rsp + 0x2c]
xor esi, esi
xor r12d, r12d
jmp 0x14001ba8e
mov r13, rbp
mov qword [rsp + 0x48], r13
mov rsi, r13
mov r12d, ebp
lea r8d, [rsi*8]
mov dword [rsp + 0x20], 3
mov rcx, r14
mov rdx, rdi
mov r9, r15
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x14001bb37
mov ebp, dword [rsp + 0x2c]
cmp ebp, r12d
jbe 0x14001bb96
mov r12, rbp
sub r12, rsi
jbe 0x14001ba80
mov rax, qword [rsp + 0x40]
sub rax, rsi
mov r13, rsi
cmp rax, r12
jae 0x14001baf3
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov r8, r12
call sym._ZN5alloc7raw_vec19RawVec_LT_T_C_A_GT_7reserve21do_reserve_and_handle17hfdc07705d3736f66E.llvm.18265070951098541085
mov rdi, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
lea rcx, [rdi + r13*8]
cmp r12, 2
jb 0x14001bb28
mov r8, rsi
not r8
add r8, rbp
shl r8, 3
xor edx, edx
call sub.msvcrt.dll_memset
mov rax, r13
add rax, rbp
sub rax, rsi
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, r12
dec r13
mov qword [rcx], 0
inc r13
jmp 0x14001ba83
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x30]
mov qword [rsi + 8], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x20], rax
mov qword [rsi], 0
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14001bb82
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, ebp
shr r14d, 3
cmp rsi, r14
jb 0x14001bc75
cmp ebp, 8
jae 0x14001bbbc
mov eax, 8
xor ecx, ecx
mov rsi, qword [rsp + 0x30]
jmp 0x14001bc4f
mov r15, r14
shl r15, 4
mov rax, qword [0x140135888]
movzx eax, byte [rax]
mov edx, 8
mov rcx, r15
call sym.__rust_alloc
test rax, rax
je 0x14001bc89
cmp r14d, 1
jne 0x14001bbf2
xor ecx, ecx
mov rsi, qword [rsp + 0x30]
jmp 0x14001bc35
mov edx, r14d
and edx, 0xfffffffe
lea r8, [rax + 0x18]
xor ecx, ecx
mov rsi, qword [rsp + 0x30]
nop word cs:[rax + rax]
mov r9, qword [rdi + rcx*8]
mov qword [r8 - 0x18], rbx
mov qword [r8 - 0x10], r9
mov r9, qword [rdi + rcx*8 + 8]
mov qword [r8 - 8], rbx
mov qword [r8], r9
add rcx, 2
add r8, 0x20
cmp rdx, rcx
jne 0x14001bc10
test r14b, 1
je 0x14001bc4c
mov rdx, qword [rdi + rcx*8]
shl rcx, 4
mov qword [rax + rcx], rbx
mov qword [rax + rcx + 8], rdx
mov rcx, r14
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rcx
mov qword [rsi], 4
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x14001bb70
jmp 0x14001bb82
lea r8, str._home_kali_.cargo_registry_src_index.crates.io_6f17d22bba15001f_winproc_0.6.4_src_process_mod.rs
mov rcx, r14
mov rdx, rsi
call dbg.slice_end_index_len_fail
jmp 0x14001bc96
mov ecx, 8
mov rdx, r15
call dbg.handle_alloc_error
ud2
Function at 0x14001cdd0
Capabilities:
Suspend thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rdx]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
je 0x14001cdef
mov dword [rsi + 8], eax
mov eax, 4
jmp 0x14001ce02
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x14001ce10
Capabilities:
Resume thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rdx]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x14001ce2f
mov dword [rsi + 8], eax
mov eax, 4
jmp 0x14001ce42
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
xor eax, eax
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x14001ce50
Capabilities:
Terminate thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rdx]
mov edx, r8d
call sub.KERNEL32.dll_TerminateThread
mov ecx, 4
test eax, eax
jne 0x14001ce7f
call sym.std::sys::windows::os::errno::h92e81c83b4bbfeb7
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
xor ecx, ecx
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x14001ec00
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
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_GetNativeSystemInfo
movsx r9, word [rsp + 0x20]
mov eax, dword [rsp + 0x24]
movups xmm0, xmmword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x4c]
mov r10b, 0xf
cmp r9, 0xe
ja 0x14001ec5c
lea r10, [0x14010543a]
movzx r10d, byte [r9 + r10]
mov byte [rsi + 0x28], r10b
mov dword [rsi + 0x18], eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rcx
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x20], r8d
movss dword [rsi + 0x24], xmm1
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x140020e90
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140020ee8
lea rsi, [rsp + 0x60]
mov r8d, 0x198
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov cx, 0x202
mov rdx, rsi
call sub.WS2_32.dll_WSAStartup
mov dword [rsp + 0x2c], eax
test eax, eax
jne 0x140020f02
lea rax, [0x1400db3fc]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, [0x140108120]
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x14010d480]
lea r9, str.library_std_src_syswindows_net.rs
lea rcx, [rsp + 0x2c]
lea r8, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2
Function at 0x140040e80
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
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]
test rax, rax
je 0x140040eb5
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140040ec5
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x50
pop rsi
ret
Function at 0x1400428a0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor esi, esi
mov r14d, 0xffffffff
xor edi, edi
xor r15d, r15d
cmp r8, 0x201
jae 0x140042920
jmp 0x14004290f
jae 0x1400429c4
cmp r8, 0x201
jae 0x140042920
mov r12d, 0x200
lea r13, [rsp + 0x68]
mov rbp, r8
jmp 0x140042967
sub r8, r15
sub rdi, r15
cmp rdi, r8
jae 0x140042947
lea rcx, [rsp + 0x30]
mov rdx, r15
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h2bdf9a6d8105bb54
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rsi, qword [rsp + 0x38]
cmp rsi, r14
mov r15d, 0xffffffff
cmovb r15, rsi
mov qword [rsp + 0x40], r15
mov rdi, rsi
mov r12, r15
mov r13, qword [rsp + 0x20]
mov rbp, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebp
mov rdx, r13
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebx, eax
test eax, eax
jne 0x14004298b
call fcn.1400db174
test eax, eax
jne 0x140042a22
mov r8d, ebx
cmp rbp, r8
jne 0x140042900
call fcn.1400db174
cmp eax, 0x7a
jne 0x140042a42
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x14004290f
jmp 0x140042920
cmp r12, r8
jb 0x140042a5c
lea rcx, [rsp + 0x48]
mov rdx, r13
call dbg.from_wide
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rdi, qword [rsp + 0x28]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
test rsi, rsi
je 0x140042a0b
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400db174
shl rax, 0x20
or rax, 2
mov rdi, qword [rsp + 0x28]
mov qword [rdi], rax
mov byte [rdi + 0x18], 2
test rsi, rsi
jne 0x1400429f5
jmp 0x140042a0b
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x140042a71
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r12
mov r8, rax
call dbg.slice_end_index_len_fail
ud2

Function at 0x140042ab0
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x70
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x140042ac8
mov rdx, rax
add rsp, 0x70
pop rsi
ret
call fcn.1400db174
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::h777c0ce01dc2e028]
mov qword [rsp + 0x38], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x40]
call dbg.panic_fmt
ud2
Function at 0x140043490
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov r14, r9
mov r15, r8
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r9
lea rsi, [rsp + 0x28]
mov rcx, rsi
call sym.std::sys::windows::to_u16s::inner::h36a8adcb91ede8d9
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
test rbx, rbx
je 0x140043514
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, r14
call sym.std::sys::windows::to_u16s::inner::h36a8adcb91ede8d9
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
test r12, r12
je 0x140043519
mov rcx, rbx
mov rdx, r12
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
je 0x14004351e
xor r14d, r14d
test r15, r15
jne 0x140043533
jmp 0x140043547
mov r14, rdi
jmp 0x140043560
mov r14, r15
jmp 0x140043547
call fcn.1400db174
mov r14d, eax
shl r14, 0x20
or r14, 2
test r15, r15
je 0x140043547
add r15, r15
mov r8d, 2
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
test rdi, rdi
je 0x140043560
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test r14, r14
jne 0x140043576
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [rsp + 0x20], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [sym.__std::path::Display_as_core::fmt::Debug_::fmt::h7e2d7c98dd80582f]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::h777c0ce01dc2e028]
mov qword [rsp + 0x50], rax
lea rax, [0x14010a078]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 3
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], 3
lea rdx, [0x14010a0a8]
lea rcx, [rsp + 0x78]
call dbg.panic_fmt
ud2