joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008fa0
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_iter17h3fb5cf38fa
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [rsp + 0x48]
jne 0x140008ff1
lea rcx, [rsp + 0x40]
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h5774332822844069
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 0x140009052
mov rcx, qword [rsp + 0x40]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
cmp rbx, 0xffffffffffffffff
je 0x1400090f3
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.1400dbfec
test rdi, rdi
je 0x1400090f3
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 0x140009119
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 0x14000910b
call sym.std::sys::windows::os::errno::h9e3145d8b0e67214
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::h9e3145d8b0e67214
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rdi
call fcn.1400dbfec
mov qword [rsi + 8], rbx
jmp 0x140009104

Function at 0x140009960
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 0x1400099ce
mov ebp, dword [rdx + 0x10]
mov r15, qword [rdx]
lea rdi, sym._ZN4core3ptr55drop_in_place_LT_pelite..rich_structure..RichRecord_GT_17hce0fdbea64b3cf25E.llvm.6550888983866682471
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::h2395081cdd153eb1
add r15, 8
cmp r14, 1
ja 0x140009990
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000a470
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 0x14000a4be
mov ecx, dword [rdx + 0x3c]
lea r11, [rdx + rcx]
sub r9, qword [r11 + 0x30]
jb 0x14000a559
mov r10d, dword [r11 + 0x50]
cmp r9, r10
ja 0x14000a559
mov r10, qword [rsp + 0x70]
mov esi, r9d
add rsi, rdx
dec r10
test rsi, r10
je 0x14000a4c7
mov byte [rax + 8], 4
jmp 0x14000a55d
mov byte [rax + 8], 0
jmp 0x14000a55d
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 0x14000a559
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 0x14000a4f0
add esi, ebp
mov r12, r13
sub esi, r9d
jbe 0x14000a4f0
add rcx, rbx
add rcx, rdx
mov ecx, dword [r14 + rcx + 4]
add r11d, ecx
jb 0x14000a571
cmp r11, r8
ja 0x14000a571
sub r11, rcx
sub r11, rdi
jb 0x14000a577
cmp r11, r10
jb 0x14000a577
add rdx, rcx
add rdx, rdi
mov qword [rax], rdx
mov qword [rax + 8], r11
jmp 0x14000a564
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 0x14000a55d
cmp rsi, r10
mov cl, 2
sbb cl, 0
mov byte [rax + 8], cl
jmp 0x14000a55d

Function at 0x14000a590
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 0x100
mov eax, 1
cmp rdx, 0x40
jb 0x14000a692
test cl, 3
je 0x14000a5b7
mov r8d, 0x400
jmp 0x14000a692
movzx r9d, word [rcx]
cmp r9d, 0x5a4d
jne 0x14000a68c
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x14000a5ac
cmp r9d, 0x1000000
jbe 0x14000a5e6
mov r8d, 0x700
jmp 0x14000a692
lea r11, [r9 + 0x88]
cmp r11, rdx
ja 0x14000a692
cmp dword [rcx + r9], 0x4550
jne 0x14000a68c
movzx esi, word [rcx + r9 + 0x18]
cmp esi, 0x20b
je 0x14000a61a
cmp esi, 0x10b
jne 0x14000a68c
mov edi, dword [rcx + r9 + 0x54]
cmp rdi, rdx
ja 0x14000a692
mov r10d, dword [rcx + r9 + 0x50]
cmp edi, r10d
ja 0x14000a5db
movzx esi, si
cmp esi, 0x20b
jne 0x14000a698
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 0x14000a692
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x14000a5db
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 0x14000a692
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x14000a692
mov r8d, 0x500
or rax, r8
pop rdi
pop rsi
ret
mov r8d, 0x600
jmp 0x14000a692
Function at 0x14000a830
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 0x14000a860
mov rcx, qword [rsp + 0x70]
mov r10d, r9d
add r10, rdx
dec rcx
test rcx, r10
je 0x14000a869
mov byte [rax + 8], 4
jmp 0x14000a921
mov byte [rax + 8], 0
jmp 0x14000a921
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 0x14000a90a
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 0x14000a8a0
add r11d, ebp
mov r12, r13
sub r11d, r9d
jbe 0x14000a8a0
add rsi, rbx
add rsi, rdx
mov r9d, dword [r14 + rsi + 4]
add r10d, r9d
jb 0x14000a910
cmp r10, r8
ja 0x14000a910
sub r10, r9
sub r10, rdi
jb 0x14000a916
cmp r10, rcx
jb 0x14000a916
add rdx, r9
add rdx, rdi
mov qword [rax], rdx
mov qword [rax + 8], r10
jmp 0x14000a928
mov byte [rax + 8], 1
jmp 0x14000a921
mov byte [rax + 8], 8
jmp 0x14000a921
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 0x14000a940
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 0x14000a98c
mov r10d, dword [rdx + 0x3c]
lea r11, [rdx + r10]
sub r9d, dword [r11 + 0x34]
jb 0x14000aa29
cmp r9d, dword [r11 + 0x50]
ja 0x14000aa29
mov rcx, qword [rsp + 0x70]
mov esi, r9d
add rsi, rdx
dec rcx
test rsi, rcx
je 0x14000a995
mov byte [rax + 8], 4
jmp 0x14000aa2d
mov byte [rax + 8], 0
jmp 0x14000aa2d
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 0x14000aa29
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 0x14000a9c0
add esi, ebp
mov r12, r13
sub esi, r9d
jbe 0x14000a9c0
add r10, rbx
add r10, rdx
mov r9d, dword [r14 + r10 + 4]
add r11d, r9d
jb 0x14000aa41
cmp r11, r8
ja 0x14000aa41
sub r11, r9
sub r11, rdi
jb 0x14000aa47
cmp r11, rcx
jb 0x14000aa47
add rdx, r9
add rdx, rdi
mov qword [rax], rdx
mov qword [rax + 8], r11
jmp 0x14000aa34
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 0x14000aa2d
cmp rsi, rcx
mov cl, 2
sbb cl, 0
mov byte [rax + 8], cl
jmp 0x14000aa2d
Function at 0x14000aa60
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 0x100
mov eax, 1
cmp rdx, 0x40
jb 0x14000ab5c
test cl, 3
je 0x14000aa87
mov r8d, 0x400
jmp 0x14000ab5c
movzx r9d, word [rcx]
cmp r9d, 0x5a4d
jne 0x14000ab56
mov r9d, dword [rcx + 0x3c]
test r9b, 3
jne 0x14000aa7c
cmp r9d, 0x1000000
jbe 0x14000aab6
mov r8d, 0x700
jmp 0x14000ab5c
lea r11, [r9 + 0x78]
cmp r11, rdx
ja 0x14000ab5c
cmp dword [rcx + r9], 0x4550
jne 0x14000ab56
movzx esi, word [rcx + r9 + 0x18]
cmp esi, 0x20b
je 0x14000aae7
cmp esi, 0x10b
jne 0x14000ab56
mov edi, dword [rcx + r9 + 0x54]
cmp rdi, rdx
ja 0x14000ab5c
mov r10d, dword [rcx + r9 + 0x50]
cmp edi, r10d
ja 0x14000aaab
movzx esi, si
cmp esi, 0x10b
jne 0x14000ab62
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 0x14000ab5c
movzx r11d, word [rcx + r9 + 6]
cmp r11, 0x60
ja 0x14000aaab
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 0x14000ab5c
shl r10, 0x20
xor eax, eax
mov r8, r10
jmp 0x14000ab5c
mov r8d, 0x500
or rax, r8
pop rdi
pop rsi
ret
mov r8d, 0x600
jmp 0x14000ab5c

Function at 0x1400163b0
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 0x1400164da
cmp rdx, 2
jb 0x1400164f0
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 0x140016452
mov rdi, qword [rcx]
shl rsi, 2
xor r8d, r8d
jmp 0x140016441
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 0x140016452
xorps xmm0, xmm0
cmp r8d, 0x3c
je 0x140016400
movss xmm0, dword [rdi + r8]
jmp 0x140016400
cmp r11, 2
jb 0x1400164d1
test dl, 2
jne 0x140016485
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 0x1400164a0
jmp 0x1400164d1
add r9, 0x10
and rdx, 0xfffffffffffffffe
cmp rdx, 8
je 0x1400164d1
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 0x1400164a0
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea r8, str._root_.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._root_.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 0x140016b60
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::h653457ff6f53ba72
mov r14, qword [rsi + 8]
cmp r14, 2
jb 0x140016bde
mov ebp, dword [rsi + 0x10]
mov r15, qword [rsi]
lea rsi, sym._ZN4core3ptr55drop_in_place_LT_pelite..rich_structure..RichRecord_GT_17hce0fdbea64b3cf25E.llvm.6550888983866682471
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::h2395081cdd153eb1
add r15, 8
cmp r14, 1
ja 0x140016ba0
lea rcx, [rsp + 0x28]
call sym.core::fmt::builders::DebugList::finish::hd1b98754eed693c9
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14001e270
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 0x14001e29f
call sym.std::sys::windows::os::errno::h9e3145d8b0e67214
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 0x14001e3c0
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 0x14001e41e
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 0x14001e4c7
mov ebp, dword [rsp + 0x2c]
cmp ebp, r12d
jbe 0x14001e526
mov r12, rbp
sub r12, rsi
jbe 0x14001e410
mov rax, qword [rsp + 0x40]
sub rax, rsi
mov r13, rsi
cmp rax, r12
jae 0x14001e483
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov r8, r12
call sym._ZN5alloc7raw_vec19RawVec_LT_T_C_A_GT_7reserve21do_reserve_and_handle17h1f988fd6ec5e7322E.llvm.3320866965723938272
mov rdi, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
lea rcx, [rdi + r13*8]
cmp r12, 2
jb 0x14001e4b8
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 0x14001e413
call sym.std::sys::windows::os::errno::h9e3145d8b0e67214
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 0x14001e512
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 0x14001e605
cmp ebp, 8
jae 0x14001e54c
mov eax, 8
xor ecx, ecx
mov rsi, qword [rsp + 0x30]
jmp 0x14001e5df
mov r15, r14
shl r15, 4
mov rax, qword [0x1401595c8]
movzx eax, byte [rax]
mov edx, 8
mov rcx, r15
call sym.__rust_alloc
test rax, rax
je 0x14001e619
cmp r14d, 1
jne 0x14001e582
xor ecx, ecx
mov rsi, qword [rsp + 0x30]
jmp 0x14001e5c5
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 0x14001e5a0
test r14b, 1
je 0x14001e5dc
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 0x14001e500
jmp 0x14001e512
lea r8, str._root_.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 0x14001e626
mov ecx, 8
mov rdx, r15
call dbg.handle_alloc_error
ud2
Function at 0x14001f760
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 0x14001f77f
mov dword [rsi + 8], eax
mov eax, 4
jmp 0x14001f792
call sym.std::sys::windows::os::errno::h9e3145d8b0e67214
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 0x14001f7a0
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 0x14001f7bf
mov dword [rsi + 8], eax
mov eax, 4
jmp 0x14001f7d2
call sym.std::sys::windows::os::errno::h9e3145d8b0e67214
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 0x14001f7e0
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 0x14001f80f
call sym.std::sys::windows::os::errno::h9e3145d8b0e67214
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 0x140021590
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 0x1400215ec
lea r10, [0x14012a7f2]
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 0x140023610
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 0x140023668
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 0x140023682
lea rax, [0x1400dc124]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, [0x14012c960]
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rdx, [0x140131b78]
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 0x140043300
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 0x140043335
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140043345
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 0x140044d20
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 0x140044da0
jmp 0x140044d8f
jae 0x140044e44
cmp r8, 0x201
jae 0x140044da0
mov r12d, 0x200
lea r13, [rsp + 0x68]
mov rbp, r8
jmp 0x140044de7
sub r8, r15
sub rdi, r15
cmp rdi, r8
jae 0x140044dc7
lea rcx, [rsp + 0x30]
mov rdx, r15
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h90367b25ac15f38e
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 0x140044e0b
call fcn.1400dbe94
test eax, eax
jne 0x140044ea2
mov r8d, ebx
cmp rbp, r8
jne 0x140044d80
call fcn.1400dbe94
cmp eax, 0x7a
jne 0x140044ec2
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x140044d8f
jmp 0x140044da0
cmp r12, r8
jb 0x140044edc
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 0x140044e8b
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.1400dbe94
shl rax, 0x20
or rax, 2
mov rdi, qword [rsp + 0x28]
mov qword [rdi], rax
mov byte [rdi + 0x18], 2
test rsi, rsi
jne 0x140044e75
jmp 0x140044e8b
lea rcx, [0x14012d770]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x140044ef1
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 0x140044f30
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x70
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x140044f48
mov rdx, rax
add rsp, 0x70
pop rsi
ret
call fcn.1400dbe94
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::h9825ea4f4d1e9fc3]
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 0x140045910
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::heef13dde5237a2e1
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
test rbx, rbx
je 0x140045994
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, r14
call sym.std::sys::windows::to_u16s::inner::heef13dde5237a2e1
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
test r12, r12
je 0x140045999
mov rcx, rbx
mov rdx, r12
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
je 0x14004599e
xor r14d, r14d
test r15, r15
jne 0x1400459b3
jmp 0x1400459c7
mov r14, rdi
jmp 0x1400459e0
mov r14, r15
jmp 0x1400459c7
call fcn.1400dbe94
mov r14d, eax
shl r14, 0x20
or r14, 2
test r15, r15
je 0x1400459c7
add r15, r15
mov r8d, 2
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
test rdi, rdi
je 0x1400459e0
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
test r14, r14
jne 0x1400459f6
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::hdcc802b712c7dc88]
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::h9825ea4f4d1e9fc3]
mov qword [rsp + 0x50], rax
lea rax, [0x14012e898]
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, [0x14012e8c8]
lea rcx, [rsp + 0x78]
call dbg.panic_fmt
ud2