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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rax, r8
lea r8, [rsp + 0x40]
and dword [r8], 0
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [r8 + 8], xmm0
mov dword [r8 + 0x18], 7
and qword [r8 + 0x1c], 0
and word [r8 + 0x24], 0
mov byte [r8 + 0x20], 1
mov rcx, rdx
mov rdx, rax
call fcn.1400d4950
mov rcx, rax
call fcn.140043723
test rax, rax
je 0x140043511
mov rdi, rdx
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400d50f0
cmp dword [rbx], 2
jne 0x14004351a
mov rcx, qword [rsp + 0x48]
call fcn.14002e89f
and qword [rsi], 0
mov rcx, rdi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.kernel32.dll_CloseHandle
and qword [rsi], 0
jmp 0x140043604
mov r12, qword [rsp + 0x78]
test rdi, rdi
je 0x140043560
lea rbx, [rsp + 0x40]
and qword [rbx], 0
call sub.kernel32.dll_GetCurrentProcess
and dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 2
and dword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rdi
mov r8, rax
mov r9, rbx
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x140043566
mov rdx, qword [rsp + 0x40]
jmp 0x140043562
xor edx, edx
xor ecx, ecx
jmp 0x14004357a
call sub.kernel32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ecx, 1
call fcn.140043723
test rax, rax
je 0x1400435f8
mov rbx, rdx
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov rcx, rdx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingA
test rax, rax
je 0x1400435ea
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.kernel32.dll_CloseHandle
test r15, r15
je 0x1400435ea
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400435fc
and qword [rsi], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x1400435fc
and qword [rsi], 0
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400488a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140048920
cmp r10, r11
jb 0x140048997
cmp r10, rdx
ja 0x1400489a9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140048922
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140048900
jmp 0x140048984
ja 0x14004892a
mov r11, r10
cmp rax, r8
jne 0x1400488ce
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140048960
mov rdi, r8
sub ecx, edx
jns 0x14004897b
jmp 0x140048986
cmp r8, rsi
je 0x1400489b8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140048986
xor al, 1
cmp rdi, rsi
jne 0x140048940
jmp 0x140048986
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140046bc0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140045760
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140046c30
int3
Function at 0x14004a264
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x140130320]
mov ebx, 0xff
lea rsi, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.0_src_baseline.rs
cmp r9, 0x40
jb 0x14004a394
mov r14d, 4
sub r14, 1
jb 0x14004a289
cmp r9, 0xf
jbe 0x14004a3c1
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.14004a8a7
mov r9, rdx
mov ecx, ebp
jmp 0x14004a299
xor edx, edx
cmp r9, rdx
je 0x14004a3b2
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x14004a396
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.4.0_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.140044e90
int3
Function at 0x1400643b1
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r14, r9
mov rdi, r8
mov r12, rdx
movabs r10, 0x100000001b3
mov rbx, qword [r9 + 8]
mov rsi, qword [r9 + 0x10]
lea rdx, [rsi*8]
movabs rax, 0xcbf29ce484222325
mov r8, rbx
test rdx, rdx
je 0x140064425
movzx r11d, byte [r8 + 4]
xor rax, r11
imul rax, r10
movzx r11d, byte [r8 + 5]
xor r11, rax
mov eax, dword [r8]
add r8, 8
imul r11, r10
xor rax, r11
imul rax, r10
add rdx, 0xfffffffffffffff8
jmp 0x1400643f4
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x14006457e
xor edx, edx
div r8
mov r13, rdx
mov rax, qword [rdi + 8]
mov rbp, rdx
shl rbp, 5
movzx edx, word [rax + rbp + 0x1c]
cmp dx, word [rdi + 0x20]
jne 0x140064491
add rax, rbp
cmp qword [rax + 0x10], rsi
jne 0x140064491
mov r10, qword [rax + 8]
xor edx, edx
cmp rsi, rdx
je 0x140064569
mov r8b, byte [r10 + rdx*8 + 4]
cmp r8b, byte [rbx + rdx*8 + 4]
jne 0x140064491
mov r8b, byte [r10 + rdx*8 + 5]
cmp r8b, byte [rbx + rdx*8 + 5]
jne 0x140064491
mov r8d, dword [r10 + rdx*8]
lea r11, [rdx + 1]
cmp r8d, dword [rbx + rdx*8]
mov rdx, r11
je 0x14006445f
mov r15, rcx
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8, rsi
call fcn.1400645bc
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x20]
mov rdx, r12
call fcn.140063eb7
movabs rcx, 0x8000000000000008
mov rax, qword [rsp + 0x38]
mov r12d, dword [rsp + 0x40]
cmp rax, rcx
jne 0x140064534
mov r14, qword [r14]
mov rdx, qword [rdi + 0x10]
cmp rdx, r13
jbe 0x14006458c
movzx r13d, word [rdi + 0x20]
mov rdi, qword [rdi + 8]
mov rcx, qword [rdi + rbp]
mov rdx, qword [rdi + rbp + 8]
call fcn.140063d9e
mov qword [rdi + rbp], r14
mov qword [rdi + rbp + 8], rbx
mov qword [rdi + rbp + 0x10], rsi
mov dword [rdi + rbp + 0x18], r12d
mov word [rdi + rbp + 0x1c], r13w
mov dword [r15 + 8], r12d
movabs rax, 0x8000000000000008
mov qword [r15], rax
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x44]
lea rdi, [r15 + 0xc]
mov ecx, 0x1d
rep movsd dword [rdi], dword [rsi]
mov qword [r15], rax
mov dword [r15 + 8], r12d
mov rcx, qword [r14]
mov rdx, rbx
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140063d9e
mov eax, dword [rax + 0x18]
mov dword [rcx + 8], eax
movabs rax, 0x8000000000000008
mov qword [rcx], rax
jmp 0x14006454b
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.6_src_nfa_thompsonmap.rs
call fcn.140049a40
jmp 0x14006459b
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.6_src_nfa_thompsonmap.rs
mov rcx, r13
call fcn.140044e90
ud2
Function at 0x1400b0060
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400b0073
pop rbp
jmp fcn.140048dd0
nop
pop rbp
jmp fcn.1400452f0
Function at 0x1400b0f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x1400b0ff1
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1400b0ff1
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x1400b100a
cmp eax, 0x42
jne 0x1400b0ff1
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
cmp rsi, r11
jae 0x1400b10bc
cmp byte [r10 + rsi], 0x5f
jne 0x1400b10bc
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x1400b113b
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x1400b1198
mov sil, 1
xor r9d, r9d
jmp 0x1400b1140
xor edx, edx
call fcn.1400acc50
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.1400acc50
test al, al
jne 0x1400b117e
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400b1049
lea rdx, [0x1401965d3]
mov r8d, 1
call fcn.1400457d0
mov rdx, rbx
test al, al
jne 0x1400b117e
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x1400b0ffd
xor r14d, r14d
lea rdi, [0x140196929]
nop
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x1400b1074
cmp byte [rax + rcx], 0x45
je 0x1400b11d1
sub r14, 1
jb 0x1400b109c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400b109c
mov r8d, 2
mov rdx, rdi
call fcn.1400457d0
mov rdx, rbx
test al, al
jne 0x1400b117e
mov rcx, rdx
call fcn.1400ae460
test al, al
jne 0x1400b117e
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x1400b1060
jmp 0x1400b0ffd
xor eax, eax
mov edi, 0x3e
nop word cs:[rax + rax]
mov r9b, 1
cmp rsi, r11
jae 0x1400b113e
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x1400b1122
lea r14d, [rdx - 0x30]
cmp r14b, 0xa
jb 0x1400b110b
lea r14d, [rdx - 0x61]
cmp r14b, 0x1a
jae 0x1400b10fb
add dl, 0xa9
jmp 0x1400b1108
lea r14d, [rdx - 0x41]
cmp r14b, 0x1a
jae 0x1400b113e
add dl, 0xe3
mov r14d, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul rdi
jo 0x1400b113e
movzx edx, r14b
add rax, rdx
jae 0x1400b10d0
jmp 0x1400b113e
inc rsi
mov qword [rcx + 0x10], rsi
cmp rax, 0xffffffffffffffff
je 0x1400b113e
inc rax
cmp rax, r8
jb 0x1400b0fd5
mov r9b, 1
xor esi, esi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400b1186
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x140196908]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.1400457d0
mov rcx, rbx
test al, al
je 0x1400b1186
mov sil, 2
jmp 0x1400b0ffd
mov qword [rcx], 0
mov byte [rcx + 8], sil
xor esi, esi
jmp 0x1400b0ffd
cmp qword [rcx + 0x20], 0
je 0x1400b1191
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.1400b0f70
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400b0fff
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x1400b0ffd
Function at 0x1400b5090
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx

Function at 0x1400b5310
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
Function at 0x1400b5a20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, dword [0x1400de0f8]
test esi, esi
je 0x1400b5aaa
dec esi
lea rcx, [0x1400de0e0]

Function at 0x1400b68f0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
lea rbp, [rsp + 0x80]
add byte [rax], al
add byte [rax - 0x77], cl
invalid
enter 3, 0
mov qword [rbp + 0x3d0], 0
rol byte [rbx], 1
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x1400b88e0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov rax, r8
mov rsi, rcx
mov dword [rbp - 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 7
mov qword [rbp - 0x2c], 0
mov word [rbp - 0x24], 0
mov byte [rbp - 0x28], 1
lea r8, [rbp - 0x48]
mov rcx, rdx
mov rdx, rax
call fcn.1400d4950
mov rdi, rdx
test rax, rax
je 0x1400b8951
mov rcx, rdi
call fcn.1400b40d0
mov qword [rsi], 0
jmp 0x1400b8a77
lea rcx, [rbp - 0x48]
mov rdx, rdi
call fcn.1400d50f0
cmp dword [rbp - 0x48], 2
jne 0x1400b898c
mov rcx, qword [rbp - 0x40]
call fcn.1400b40d0
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
jmp sub.kernel32.dll_CloseHandle
mov r12, qword [rbp - 0x10]
test rdi, rdi
je 0x1400b89da
mov qword [rbp - 0x48], 0
call sub.kernel32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp - 0x48]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x1400b8a56
mov rbx, qword [rbp - 0x48]
jmp 0x1400b89dc
xor ebx, ebx
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_CreateFileMappingA
test rax, rax
je 0x1400b8a45
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.kernel32.dll_CloseHandle
test r15, r15
je 0x1400b8a45
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x1400b8a6f
mov qword [rsi], 0
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
jmp 0x1400b8a6f
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.1400b40d0
mov qword [rsi], 0
mov rcx, rdi
call sub.kernel32.dll_CloseHandle
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
Function at 0x1400ce370
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xd0], xmm15
movaps xmmword [rbp + 0xc0], xmm14
movaps xmmword [rbp + 0xb0], xmm13
movaps xmmword [rbp + 0xa0], xmm12
movaps xmmword [rbp + 0x90], xmm11
movaps xmmword [rbp + 0x80], xmm10
movaps xmmword [rbp + 0x70], xmm9
movaps xmmword [rbp + 0x60], xmm8
movaps xmmword [rbp + 0x50], xmm7
movaps xmmword [rbp + 0x40], xmm6
mov rsi, r8
mov rbx, rdx
cmp rdx, 0x21
jb 0x1400ce847
mov r15, r9
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x30], rax
mov edi, dword [rbp + 0x150]
lea rax, [rsi - 0x20]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r9
Function at 0x1400d6400
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov esi, dword [0x1400de118]
test esi, esi
je 0x1400d64a0
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1400d6497
je 0x1400d6495
movzx eax, byte [0x1401b00f0]
mov edx, 0x10
xor ecx, ecx
call fcn.1400d69a0
test rax, rax
je 0x1400d64b3
mov qword [rax], 0
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x1400d6490
mov rax, qword [rdi]
test rax, rax
je 0x1400d6483
lock dec qword [rax]
jne 0x1400d6483
mov rcx, qword [rdi]
call fcn.1400d64d0
mov edx, 8
mov rcx, rdi
call fcn.14000af70
invalid
invalid
invalid
mov rax, rsi
jmp 0x1400d6497
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str._e_r_
call fcn.1400b5310
mov esi, eax
jmp 0x1400d641d
mov ecx, 8
mov edx, 0x10
call fcn.14002d890
int3

Function at 0x1400d8c50
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
mov r9, rcx
mov ecx, 0xfffffff4
pop rbp
jmp fcn.1400b44e0
Function at 0x1400dae66
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov qword [rsp + 0x50], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea rax, [rsp + 0x68]
and qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x140199838]
lea r9, [0x140199848]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1400daf49
lea rcx, [rsp + 0x68]
mov r14, qword [rcx]
mov qword [rsp + 0x58], r14
and qword [rsp + 0x48], 0
lea rdx, [0x1401997f7]
mov r8d, 0xa
call fcn.1400da60e
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
movabs rcx, 0x8000000000000000
mov rdi, qword [rsp + 0x78]
cmp rax, rcx
jne 0x1400daf55
test r14, r14
je 0x1400db021
mov rax, qword [r14]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x1400daf7e
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0x60], r14
mov rcx, rbx
mov rdx, rdi
call fcn.1400db092
jmp 0x1400dafa2
mov ecx, eax
call fcn.1400dac88
jmp 0x1400daff3
lea rcx, [rsp + 0x68]
mov rdx, qword [rcx + 0x18]
mov qword [rcx], rax
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdx
call fcn.1400dab12
mov r14, rax
lea rax, fcn.1400dabc6
jmp 0x1400daf9a
mov ecx, eax
call fcn.1400dac88
mov r14, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400db092
lea rax, [0x140199568]
test r14, r14
jne 0x1400daffd
xor r14d, r14d
mov rcx, r14
call fcn.1400db0ac
mov eax, 3
mov dword [rsp + 0x28], eax
and dword [rsp + 0x38], 0
mov dword [rsp + 0x20], eax
and qword [rsp + 0x30], 0
mov rcx, r14
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x1400dafec
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
jmp 0x1400db013
mov ecx, eax
call fcn.1400dac88
mov r14, rax
lea rax, [0x140199568]
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rax
and qword [rsi], 0
lea rcx, [rsp + 0x50]
call fcn.1400db05a
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fwmi_0.4.6_srcconnection.rsROOTCIMV2
call fcn.140046c30
ud2

Function at 0x1400dc140
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400dcfd0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400dcfd0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400dc1b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1401b0164]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x1400dc340
mov rax, qword [0x1401b0168]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1400dc1fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400dc285
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400dc1e0
mov rcx, rdi
call fcn.1400dcd10
test rax, rax
mov r12, rax
je 0x1400dc392
mov rax, qword [0x1401b0168]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.1400dce50
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1401b0168]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400dc375
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400dc27e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400dc2f0
add dword [0x1401b0164], 1
cmp ebx, 8
jae 0x1400dc2b1
test bl, 4
jne 0x1400dc350
test ebx, ebx
je 0x1400dc2a6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400dc364
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400dc2a6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400dc2ca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1401b0168]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400dc27e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400dc140
xor esi, esi
jmp 0x1400dc207
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400dc2a6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400dc2a6
mov rax, qword [0x1401b0168]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.1400dc140
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.1400dc140
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x1400dc960
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1401b01c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401b01a0]
test rbx, rbx
je 0x1400dc9b4
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400dc9ab
test rsi, rsi
je 0x1400dc9ab
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400dc990
lea rcx, [0x1401b01c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400dcd10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14019a7c0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400dcd7f
mov rcx, r9
call fcn.1400dcbe0
test eax, eax
je 0x1400dcd7f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400dcd7d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400dcd74
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400dcd7f
add rdx, 0x28
cmp rdx, r9
jne 0x1400dcd60
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret