joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001070
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea rcx, str..PhysicalDrive0
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400010e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140003380]
call fcn.140001010
lea eax, [rsi + 1]
jmp 0x140001231
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x48]
mov dword [rsp + 0x28], 8
mov r9d, 0xc
mov edx, 0x2d1400
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov qword [rsp + 0x4c], rsi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000114e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400033a8]
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001231
mov ecx, dword [rsp + 0x44]
mov qword [rsp + 0xf0], rdi
call fcn.140001298
mov r8d, dword [rsp + 0x44]
xor edx, edx
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [rsp + 0x44]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov r9d, 0xc
mov qword [rsp + 0x30], rsi
mov edx, 0x2d1400
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400011bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400033a8]
call fcn.140001010
jmp 0x1400011e2
mov r8d, dword [rdi + 0x18]
lea rcx, [rsp + 0x60]
add r8, rdi
mov edx, 0x64
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
test eax, eax
je 0x1400011fa
lea rcx, [0x1400033e0]
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140001290
mov eax, 1
jmp 0x140001229
lea rdx, [rsp + 0x60]
lea rcx, [0x140003410]
call fcn.140001010
mov ecx, 0x2b67
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140001290
xor eax, eax
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140001270
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rsi
ret

Function at 0x140001b84
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001bce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001bce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.KERNEL32.dll_GetSystemTimeAsFileTime
jne 0x140001bce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001bce
cmp dword [rcx + 0x84], 0xe
jbe 0x140001bce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001bd0
xor al, al
add rsp, 0x28
ret
Function at 0x1400292ec
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c9b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c9b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002943c
cmp rax, 0xffffffffffffffff
je 0x14002943c
xor edi, edi
test rbp, rbp
jle 0x1400293e7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f2e0
mov rbx, rax
test rax, rax
jne 0x140029374
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400293dd
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a2e8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d690
cmp eax, 0xffffffff
je 0x1400293bd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029384
mov edx, r15d
mov ecx, r14d
call fcn.14001a2e8
jmp 0x1400293dd
cmp byte [rsi + 0x38], dil
je 0x1400293d4
cmp dword [rsi + 0x34], 5
jne 0x1400293d4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400293dd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b07c
jmp 0x140029450
jns 0x140029450
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c9b4
cmp rax, 0xffffffffffffffff
jne 0x140029408
cmp byte [rsi + 0x30], dil
je 0x140029450
mov edi, dword [rsi + 0x2c]
jmp 0x140029450
mov ecx, r14d
call fcn.1400187a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029450
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029450
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029449
mov eax, dword [rsi + 0x2c]
jmp 0x14002944e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c9b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140012160
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140018098]
test rax, rax
je 0x1400121aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400121aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400121aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400121aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400121aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400121ac
xor al, al
add rsp, 0x28
ret
Function at 0x45fbb0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x45fbbd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x45fbcd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x45fbb5
lea eax, [rcx + 1]
jmp 0x45fbdb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x45fbee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x45fbd4
sub eax, 3
jb 0x45fc0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x45fc5d
sar eax, 1
movsxd rbp, eax
jb 0x45fc44
jmp 0x45fc1c
add ebx, ebx
jne 0x45fc1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x45fc44
inc ecx
add ebx, ebx
jne 0x45fc2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x45fc44
call r11
adc ecx, ecx
add ebx, ebx
jne 0x45fc3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x45fc2c
add ecx, 2
jmp 0x45fc49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0045fb72
jmp 0x45fbbd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x47e00
mov dl, 0xb
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x45fcad
cmp rsi, rcx
jae 0x45fcb5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x45fc94
cmp al, 0x8f
ja 0x45fc94
cmp byte [rsi - 2], 0xf
je 0x45fc9a
sub al, 0xe8
cmp al, 1
ja 0x45fc7e
cmp rsi, rcx
jae 0x45fcb5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x45fc84
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x45fcb5
lodsb al, byte [rsi]
jmp 0x45fc94
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5d000]
mov eax, dword [rdi]
or eax, eax
je 0x45fd12
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5f000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x45fcc2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x45fd0c
mov qword [rbx], rax
add rbx, 8
jmp 0x45fce2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0045fd95], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0045fd95
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x45fd85
sub rsp, 0xffffffffffffff80
jmp 0x401500
Function at 0x14000a050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
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 0x14000a0e0
cmp r11, r10
ja 0x14000a156
cmp r10, rdx
ja 0x14000a16a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000a0e2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000a0c0
jmp 0x14000a144
ja 0x14000a0ea
mov r11, r10
cmp rax, r8
jne 0x14000a084
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 0x14000a120
mov rdi, r8
sub ecx, edx
jns 0x14000a13b
jmp 0x14000a146
cmp r8, rsi
je 0x14000a17b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000a146
xor al, 1
cmp rdi, rsi
jne 0x14000a100
jmp 0x14000a146
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140096980
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400966f0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140096770
ud2

Function at 0x14000c313
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.14000c35e
test rbx, rbx
je 0x14000c34c
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14000c389
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14000c381

Function at 0x14000c389
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14000c3af
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14000c399
mov qword [rcx], rax
ret
Function at 0x140037692
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1ea8
call fcn.1400959e0
sub rsp, rax
movaps xmmword [rsp + 0x1e90], xmm9
movaps xmmword [rsp + 0x1e80], xmm8
movaps xmmword [rsp + 0x1e70], xmm7
movaps xmmword [rsp + 0x1e60], xmm6
mov rbx, rdx
mov r12, rcx
lea r15, [rcx + 0x1b0]
lea rbp, [rcx + 0x1d1]
lea r14, [rsp + 0x91]
lea rdi, [rcx + 0x180]
lea rax, [rcx + 0xd8]
mov qword [rsp + 0x2b8], rax
xorps xmm6, xmm6
movss xmm7, dword [0x14009a620]
lea rax, [rcx + 0x158]
mov qword [rsp + 0x180], rax
lea rax, [rcx + 0x18]
mov qword [rsp + 0x2b0], rax
lea rax, [rcx + 8]
mov qword [rsp + 0x2a8], rax
lea r13, [rsp + 0x11e0]
lea rsi, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xf8], rax
Function at 0x1400437c8
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x98]
mov rcx, qword [rdx + 0x80]
mov rdx, qword [rdx + 0x90]
lea r9, [0x1400c9808]
call fcn.140043548
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xc0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400438a6
test eax, eax
je 0x1400438c2
cmp eax, 0x90317
je 0x14004393b
cmp eax, 0x90321
jne 0x140043943
mov dword [rdi + 0x40], 0x10000
xor ebx, ebx
mov byte [rdi + 0x44], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140043768
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x140043951
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x14004393f
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x80]
mov rdx, qword [rdi + 0x90]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x60]
and qword [rdi + 0x70], 0
call fcn.140043965
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14002bc0e
and qword [rdi + 0x78], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140043768
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140043951
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140043951
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140043c00
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x198]
mov rcx, qword [rdx + 0x180]
mov rdx, qword [rdx + 0x190]
lea r9, [0x1400c9808]
call fcn.140043548
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1c0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140043ce4
test eax, eax
je 0x140043d03
cmp eax, 0x90317
je 0x140043d85
cmp eax, 0x90321
jne 0x140043d8d
mov dword [rdi + 0x140], 0x10000
xor ebx, ebx
mov byte [rdi + 0x144], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140043ba0
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x140043d9b
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140043d89
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x190]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x160]
and qword [rdi + 0x170], 0
call fcn.140043965
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14002bc0e
and qword [rdi + 0x178], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140043ba0
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140043d9b
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140043d9b
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x140043da5
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140043db7
add rcx, 8
jmp fcn.14008c34a
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.140043f49
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.140044020
test rdx, rdx
jne 0x140043e5a
mov rcx, r15
mov rdx, rsi
call fcn.1400428dc
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x140043ee9
test eax, eax
je 0x140043e5a
cmp qword [rsi + 0xf8], 0
je 0x140043e3d
mov rcx, r15
mov rdx, rsi
call fcn.1400435a3
cmp qword [rsp + 0x28], 0
jne 0x140043ee9
cmp qword [rsp + 0x30], 0
je 0x140043e5a
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.1400437c8
cmp byte [rsp + 0x28], 0
jne 0x140043ee9
cmp byte [rsp + 0x29], 0
je 0x140043de3
mov rcx, rsi
call fcn.140044020
mov r15, rdx
test rax, rax
je 0x140043eee
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, [0x1400c9038]
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140043559
mov rbx, rax
mov r14, rdx
lea r9, [0x1400c9050]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.14001bfd5
mov r9, rdx
lea rcx, [0x1400c9068]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.14002a799
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x140043f2f
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.140043fb6
xor r15d, r15d
jmp 0x140043f15
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.14000e995
cmp al, 0xd
jne 0x140043f15
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.14001e39f
mov eax, 1
jmp 0x140043f1c
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400c91ae]
lea r8, [0x1400c91f0]
mov edx, 0x3b
call fcn.140096770
ud2

Function at 0x1400473b6
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
mov rbx, rdx
mov qword [rsp + 0x50], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
mov qword [rsp + 0x58], r8
je 0x140047407
cmp eax, 3
jne case.default.0x140047405
mov r15, r8
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x1400f8748]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
and qword [rbx + 0x20], 0
mov qword [rbx + 0x40], rax
jmp 0x140047434
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.28_srcclientconnecthttp.rs
jmp 0x140047e08
Function at 0x14004bfe8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6b8
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x80], rcx
mov rdx, qword [rdx + 0x400]
add rdx, 0x10
lea rsi, [rsp + 0x1c0]
mov rcx, rsi
call fcn.14000b7cf
lea rdx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srcproto_streams_streams.rs
mov rcx, rsi
call fcn.140033a1a
mov rcx, qword [rax + 0x28]
or rcx, qword [rax + 0x38]
je 0x14004c047
mov rcx, rax
call fcn.140089502
jmp 0x14004c073
mov rsi, qword [rax + 0x230]
mov rcx, rax
call fcn.140089502
cmp rsi, 1
ja 0x14004c073
mov rdx, qword [rdi + 0x400]
add rdx, 0x10
lea rcx, [rdi + 0x3a0]
call fcn.140054e00
mov rax, qword [rdi + 0x378]
cmp rax, 2
jne 0x14004c08e
mov qword [rsp + 0x1c0], 2
jmp 0x14004c0ee
lea rsi, [rdi + 0x378]
lea rdx, [rdi + 0x390]
test rax, rax
je 0x14004c0c3
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x14004c0d1
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x1c0]
mov rcx, r15
mov rdx, rsi
call fcn.14008e315
mov qword [r15 + 0x18], r14
mov rax, qword [rdi + 0x398]
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
movups xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x450], xmm0
mov qword [rsp + 0x440], rcx
mov qword [rsp + 0x448], rdx
mov qword [rsp + 0x460], rax
cmp dword [rsp + 0x440], 2
je 0x14004c14c
lea rdx, [rsp + 0x458]
lea rcx, [rsp + 0x440]
call fcn.14008e392
mov qword [rsp + 0x5c8], 2
and qword [rsp + 0x5e8], 0
lea r15, [rdi + 0x48]
lea rax, [rdi + 0x3a0]
mov qword [rsp + 0x1a8], rax
lea rax, [rdi + 0x410]
mov qword [rsp + 0x1a0], rax
lea r13, [rsp + 0xd8]
lea r14, [rsp + 0x1c0]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x88], r15
Function at 0x14006ed83
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.14006eeb1
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.14002bdf9
mov rbx, rax
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x14006ee25
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14002bc51
mov rbx, qword [rsp + 0x38]
jmp 0x14006edf3
test eax, eax
jne 0x14006ee47
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14006ee65
movabs rax, 0xde00000002
jmp 0x14006ee4f
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400262a6
jmp 0x14006ee79
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.14004074c
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140074b70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.1400051a0
cmp rax, rcx
je 0x140074b95
cmp rdx, 4
jae 0x140074b98
xor eax, eax
xor r8d, r8d
jmp 0x140074c30
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14009a5a0]
movdqa xmm3, xmmword [0x14009a5b0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140074bc0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140074c47
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140074c30
ret