joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005c749
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x14005c75b
add rcx, 8
jmp fcn.14009d74d
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 + 0xe0], rdx
mov rcx, r8
call fcn.14005c8f5
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.14005c9c9
test rdx, rdx
jne 0x14005c801
mov rcx, r15
mov rdx, rsi
call fcn.14005b206
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x14005c890
test eax, eax
je 0x14005c801
cmp qword [rsi + 0x108], 0
je 0x14005c7e4
mov rcx, r15
mov rdx, rsi
call fcn.14005bf78
cmp qword [rsp + 0x28], 0
jne 0x14005c890
cmp qword [rsp + 0x30], 0
je 0x14005c801
and qword [rsi + 0x108], 0
mov rcx, r15
mov rdx, rsi
call fcn.14005c181
cmp byte [rsp + 0x28], 0
jne 0x14005c890
cmp byte [rsp + 0x29], 0
je 0x14005c78a
mov rcx, rsi
call fcn.14005c9c9
mov r15, rdx
test rax, rax
je 0x14005c895
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, [0x1400db4c8]
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.14005bf2f
mov rbx, rax
mov r14, rdx
lea r9, [0x1400db4e0]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.140043ef6
mov r9, rdx
lea rcx, [0x1400db4f8]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.140030511
mov rax, qword [rsi + 0x28]
add rax, r12
cmp rax, qword [rsi + 0x20]
ja 0x14005c8dc
mov qword [rsi + 0x28], rax
mov rcx, rdi
mov rdx, r12
call fcn.14005c962
xor r15d, r15d
jmp 0x14005c8bf
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.14001470a
cmp al, 0xd
jne 0x14005c8bf
and qword [rsi + 0xe0], 0
lea rcx, [rsp + 0x28]
call fcn.14002428e
mov eax, 1
jmp 0x14005c8c9
and qword [rsi + 0xe0], 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, [0x1400db636]
lea r8, [0x1400db678]
mov edx, 0x3b
call fcn.1400a7ee0
int3
Function at 0x14006012e
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, 0x328
add byte [rax], al
mov rbx, rdx
mov qword [rsp + 0x50], rcx
movzx eax, byte [rdx + 0x348]
test eax, eax
mov qword [rsp + 0x58], r8
je 0x14006017f
cmp eax, 3
jne case.default.0x14006017d
mov r15, r8
lea r12, [rbx + 0x1d8]
movabs dword [0x6083b60f000001d8], eax
add al, byte [rax]
add byte [rax - 0x73], cl
or eax, 0xada4e
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 0x1400601b1
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_ferre.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Users_ferre.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.28_srcclientconnecthttp.rs
Function at 0x1400733f3
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]
lea edi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.14007353a
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.1400a66c9
mov rbx, rdx
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi + 8]
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 0x140073496
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.1400a647e
mov rbx, qword [rsp + 0x40]
jmp 0x140073464
test eax, eax
jne 0x1400734b8
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400734e0
movabs rax, 0xde00000002
jmp 0x1400734c0
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call fcn.14009903d
jmp 0x1400734f4
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 rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400590bb
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140077580
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14000acc0
cmp rax, rcx
je 0x1400775a5
cmp rdx, 4
jae 0x1400775a8
xor eax, eax
xor r8d, r8d
jmp 0x140077640
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400ac7c0]
movdqa xmm3, xmmword [0x1400ac7d0]
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 0x1400775d0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140077657
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140077640
ret
Function at 0x14007b13b
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x14007b1af
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x14007b1ea
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x14007b1e1
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14010cac8]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x14007b1ce
jmp 0x14007b1e3
xor edx, edx
mov dword [rsp + 0x98], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x14007b23c
mov rax, r15
shr rax, 0x3c
jne 0x14007b2f1
mov rbx, qword [rcx + 8]
mov ecx, 8
mov rdx, rsi
call fcn.14009f5d9
test rax, rax
je 0x14007b2f6
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x14007b227
mov eax, r15d
jmp 0x14007b243
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x60]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1400e0dbb]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x14007b29a
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x14007b2bf
movaps xmm6, xmmword [rsp + 0x50]
mov ecx, 0x20
call fcn.14002ff9b
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x10], xmm6
xor r14d, r14d
test r15, r15
je 0x14007b2d4
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.140002b33
mov rax, r14
mov rdx, rbx
movaps xmm6, xmmword [rsp + 0xb0]
and al, 0xb0
add byte [rax], al
add byte [rax - 0x7f], cl
invalid
rol byte [rax], 0
add byte [rbx + 0x5f], bl
pop rsi
pop r14
pop r15
ret
call fcn.140007ee0
mov ecx, 8
mov rdx, rsi
call fcn.1400a79d0
mov byte [rdx], 0
int3

Function at 0x14007b946
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and al, 0x20
Function at 0x14007d5e5
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14007d612
xor eax, eax
jmp 0x14007d617
call fcn.140030a84
nop
add rsp, 0x38
ret
Function at 0x140084080
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
Function at 0x140088440
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x1401161d0]
cmp rax, 3
jne 0x14008860d
cmp rbx, 0x17f
ja 0x14008861f
call fcn.1400aa640
Function at 0x1400901f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
lea rcx, [rsp + 0x40]
lea ecx, [rsp + 0x40]

Function at 0x1400916a0
Capabilities:
Create pipe
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x68], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x64], ecx
xor edi, edi
mov r15d, 8
add byte [rax], al
mov sil, 1
xorps xmm6, xmm6
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
xor eax, eax
mov qword [rbp - 8], rax
nop

Function at 0x140092380
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140116278]
mov edx, 0x10
xor ecx, ecx
call fcn.140095cb0
test rax, rax
je 0x140092454
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140092540]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140092446
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x140092423
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140007e10
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140007e10
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
jge 0x14009244c
Function at 0x140092f40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140092f83
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140084c50]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syspalwindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400a7d20
ud2

Function at 0x140095700
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14009584b
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x140095737
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x140095835
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140095818
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x2c], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x2c]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x140095799
mov ecx, dword [rsp + 0x2c]
mov eax, 2
test rcx, rcx
je 0x1400957cb
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov byte [rsi + 1], 1
jmp 0x1400957cf
call qword [sym.imp.kernel32.dll_GetLastError]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
mov qword [rsp + 0x40], rcx
cmp eax, 0x3e5
je 0x1400957d3
cmp eax, 0x6d
jne 0x1400957fe
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
jmp 0x1400957d8
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x140095804
lea rax, [rsp + 0x30]
mov qword [rax], 0
lea rcx, [rsp + 0x40]
call fcn.14007dbc0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x14009580e
cmp rax, 1
je 0x140095782
mov qword [rsi + 8], rcx
mov al, 1
mov byte [rsi], al
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov eax, 1
jmp 0x14009578c
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1400aa4b0
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x140095744
mov r8d, 0x10
mov rcx, rbx
call fcn.1400aa4b0
mov rax, qword [rbx]
jmp 0x140095737
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400aa7f0
int3

Function at 0x140098eb0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140098ee5
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140098eea
call fcn.140092f40
nop
add rsp, 0x38
ret
Function at 0x14009cda4
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14009cdab
test al, 1
je 0x14009cdca
test al, 2
jne 0x14009cde2
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1400e7038]
mov edx, 0x23
call fcn.1400a7ee0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1400e7078]
mov edx, 0x25
call fcn.1400a7ee0
int3

Function at 0x14009d6fd
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.14009ccdb
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14009d739
xor eax, eax
jmp 0x14009d747
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x14009d9ae
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r15, [rsp + 0x3a]
lea r13, [rsp + 0x52]
mov rbp, qword [rdx + 8]
mov r12, qword [rdx + 0x10]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], rbp
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.14009d6f5
mov al, byte [rsp + 0x39]
cmp al, 3
je 0x14009db22
mov rcx, qword [rsp + 0x30]
cmp al, 2
je 0x14009db30
mov dl, byte [rsp + 0x38]
movzx r8d, word [r15 + 4]
mov word [r13 + 4], r8w
mov r8d, dword [r15]
mov dword [r13], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
cmp r12, 0xffffffffffffffff
je 0x14009db74
mov rcx, r12
mov rdx, rdi
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14009db42
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.14001470a
cmp al, 0xd
jne 0x14009daf2
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14009daf2
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14009db80
mov rbp, r12
mov r12, r14
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.1400313ba
mov r14, rax
xor ecx, ecx
call fcn.14002f955
test r14, r14
je 0x14009dae7
mov ecx, 1
mov rdx, rsi
call fcn.14003157c
mov rsi, r14
mov r14, r12
mov r12, rbp
mov rbp, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140099ca5
cmp al, 0xd
jne 0x14009db53
mov qword [rsp + 0x30], rsi
mov rcx, r14
lea rdx, [rsp + 0x48]
call fcn.14009d426
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140099f29
jmp 0x14009da0a
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x14009db63
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x14009db63
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x14009db63
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:Users_ferre.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_srciopoll_evented.rs
call fcn.1400a82d0
ud2
Function at 0x1400a69c8
Capabilities:
Get disk size

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rax, [r11 + 0x20]
xor ecx, ecx
mov qword [r11 - 0x18], rax
lea r9, [r11 + 0x18]
lea r8, [r11 + 0x10]
lea rdx, [r11 + 8]
call qword [sym.imp.kernel32.dll_GetDiskFreeSpaceA]
xor edx, edx
test eax, eax
je 0x1400a6a8c
mov eax, dword [rsp + 0x40]
xorps xmm0, xmm0
imul eax, dword [rsp + 0x48]
xorps xmm2, xmm2
movsd xmm3, qword [0x14010eeb8]
xor ecx, ecx
movsd xmm1, qword [0x14010eec0]
movabs rdx, 0x8000000000000000
cvtsi2sd xmm2, rax
mov eax, dword [rsp + 0x50]
cvtsi2sd xmm0, rax
mulsd xmm0, xmm2
mulsd xmm0, xmm3
comisd xmm0, xmm1
jb 0x1400a6a4d
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400a6a4d
mov rcx, rdx
cvttsd2si rax, xmm0
xorps xmm0, xmm0
add rax, rcx
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x58]
cvtsi2sd xmm0, rax
xor eax, eax
mulsd xmm0, xmm2
mulsd xmm0, xmm3
comisd xmm0, xmm1
jb 0x1400a6a82
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400a6a82
mov rax, rdx
cvttsd2si rdx, xmm0
add rdx, rax
jmp 0x1400a6a90
mov qword [rbx + 8], rdx
mov qword [rbx], rdx
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400a6a9c
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401160a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
xor ecx, ecx
test eax, eax
je 0x1400a6b21
mov rax, qword [rsp + 0x28]
shr rax, 0xa
mov qword [rbx], rax
mov rax, qword [rsp + 0x30]
shr rax, 0xa
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x30]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x18], rcx
mov rcx, qword [rsp + 0x38]
sub rcx, qword [rsp + 0x28]
shr rax, 0xa
shr rcx, 0xa
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x30], rax
cmp rax, rcx
jbe 0x1400a6b2f
mov qword [rbx + 0x30], rcx
jmp 0x1400a6b2f
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x38]
call sub.VCRUNTIME140.dll_memset
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a6ee0
add rsp, 0x70
pop rbx
ret

Function at 0x1400a73c8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a7412
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a7412
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a7412
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a7412
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a7412
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a7414
xor al, al
add rsp, 0x28
ret
Function at 0x9ecee0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x9eceed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x9ecefd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x9ecee5
lea eax, [rcx + 1]
jmp 0x9ecf0b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x9ecf1e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x9ecf04
sub eax, 3
jb 0x9ecf3e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x9ecf8d
sar eax, 1
movsxd rbp, eax
jb 0x9ecf74
jmp 0x9ecf4c
add ebx, ebx
jne 0x9ecf4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9ecf74
inc ecx
add ebx, ebx
jne 0x9ecf5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9ecf74
call r11
adc ecx, ecx
add ebx, ebx
jne 0x9ecf6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x9ecf5c
add ecx, 2
jmp 0x9ecf79
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.009ecea2
jmp 0x9eceed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x283600
mov dl, 0x62
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x9ecfd9
cmp rsi, rcx
jae 0x9ecfe1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x9ecfc0
cmp al, 0x8f
ja 0x9ecfc0
cmp byte [rsi - 2], 0xf
je 0x9ecfc6
sub al, 0xe8
cmp al, 1
ja 0x9ecfaa
cmp rsi, rcx
jae 0x9ecfe1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x9ecfb0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x9ecfe1
lodsb al, byte [rsi]
jmp 0x9ecfc0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5e3000]
mov eax, dword [rdi]
or eax, eax
je 0x9ed03e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5ed000]
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 0x9ecfee
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 0x9ed038
mov qword [rbx], rax
add rbx, 8
jmp 0x9ed00e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x9ed082
cmp al, 0xef
ja 0x9ed06a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x9ed04a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x9ed059
mov eax, dword [rdi]
add rdi, 4
jmp 0x9ed059
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x9ed0d6
sub rsp, 0xffffffffffffff80
jmp 0x46ebc0