joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c760
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14003c7c7
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14003c7c7
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14003c7c7
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14003c7c7
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test rax, rax
je 0x14003c807
mov dword [rbp - 4], r9d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0xffff
mov r8d, 0x1006
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003c7f4
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x30
pop rbp
ret

Function at 0x14003c820
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x14003c887
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x14003c887
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x14003c887
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x14003c887
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test rax, rax
je 0x14003c8c7
mov dword [rbp - 4], r9d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0xffff
mov r8d, 0x1005
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003c8b4
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x30
pop rbp
ret

Function at 0x14003ca00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rcx, qword [rcx]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov r9d, 2
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x14003ca34
movsxd rdx, eax
xor ecx, ecx
jmp 0x14003ca57
call sub.WS2_32.dll_WSAGetLastError
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x14003ca57
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

Function at 0x14003ca60
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
xor esi, esi
xor eax, eax
cmp r8d, 0x3b9aca00
setne al
cmove edx, esi
mov word [rbp + 4], ax
mov word [rbp + 6], dx
mov dword [rsp + 0x20], 4
lea r9, [rbp + 4]
mov edx, 0xffff
mov r8d, pe_nt_image_headers64
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14003cab7
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x14003cb50
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003cb8c
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x14003cc10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rdx
mov rcx, qword [rcx]
mov rax, qword [rdx + 8]
mov rdi, qword [rdx + 0x10]
sub rax, rdi
cmp rax, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
mov rdx, qword [rdx]
add rdx, rdi
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x14003cc6c
cdqe
add rdi, rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 0x18]
cmp rax, rdi
cmova rdi, rax
mov qword [rsi + 0x18], rdi
xor eax, eax
jmp 0x14003cc84
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x14003cc7c
xor eax, eax
jmp 0x14003cc84
shl rax, 0x20
or rax, 2
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003cc90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rcx, qword [rcx]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 4]
call sub.WS2_32.dll_WSARecv
test eax, eax
je 0x14003cce5
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x14003ccf0
xor edx, edx
jmp 0x14003cce8
mov edx, dword [rbp - 4]
xor eax, eax
add rsp, 0x40
pop rbp
ret
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x40
pop rbp
ret

Function at 0x14003cd10
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rcx, qword [rcx]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp + 4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 4]
call sub.WS2_32.dll_WSASend
mov esi, eax
cmp esi, 0xffffffff
jne 0x14003cd5e
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rbp + 4]
cmove rdx, rax
mov rax, rcx
add rsp, 0x48
pop rsi
pop rbp
ret

Function at 0x14003cd80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x14003cdb4
movsxd rdx, eax
xor ecx, ecx
jmp 0x14003cdd7
call sub.WS2_32.dll_WSAGetLastError
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x14003cdd7
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret
Function at 0x14003cde0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rsi, rdx
mov rax, qword [rcx]
mov rcx, qword [rax]
mov rax, qword [rdx + 8]
mov rdi, qword [rdx + 0x10]
sub rax, rdi
cmp rax, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
mov rdx, qword [rdx]
add rdx, rdi
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x14003ce3f
cdqe
add rdi, rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 0x18]
cmp rax, rdi
cmova rdi, rax
mov qword [rsi + 0x18], rdi
xor eax, eax
jmp 0x14003ce57
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x14003ce4f
xor eax, eax
jmp 0x14003ce57
shl rax, 0x20
or rax, 2
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003ce60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov rax, qword [rcx]
mov rcx, qword [rax]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 4], 0
mov dword [rbp - 8], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 4]
call sub.WS2_32.dll_WSARecv
test eax, eax
je 0x14003ceb8
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x274a
jne 0x14003cec3
xor edx, edx
jmp 0x14003cebb
mov edx, dword [rbp - 4]
xor eax, eax
add rsp, 0x40
pop rbp
ret
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x40
pop rbp
ret

Function at 0x14003cee0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x14003cf18
movsxd rdx, eax
xor eax, eax
add rsp, 0x20
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14003cf40
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rax, qword [rcx]
mov rcx, qword [rax]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp + 4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 4]
call sub.WS2_32.dll_WSASend
mov esi, eax
cmp esi, 0xffffffff
jne 0x14003cf91
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rbp + 4]
cmove rdx, rax
mov rax, rcx
add rsp, 0x48
pop rsi
pop rbp
ret

Function at 0x14003d180
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
mov dword [rbp + 4], edx
mov dword [rsp + 0x20], 4
xor esi, esi
lea r9, [rbp + 4]
xor edx, edx
mov r8d, 4
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14003d1c0
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x14003d240
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0x29
mov r8d, 0x1b
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003d27c
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x14003d380
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
lea r8, [rbp - 4]
mov edx, 0x8004667e
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x14003d3ae
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x14003d5d0
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0xffff
mov r8d, 0x20
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003d60c
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x14003d690
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp + 4], eax
mov dword [rsp + 0x20], 4
xor esi, esi
lea r9, [rbp + 4]
xor edx, edx
mov r8d, 0xb
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14003d6d3
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret

Function at 0x14003d750
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
mov dword [rbp + 4], edx
mov dword [rsp + 0x20], 4
xor esi, esi
lea r9, [rbp + 4]
xor edx, edx
mov r8d, 0xa
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14003d790
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret

Function at 0x14003d810
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 0x29
mov r8d, 0xb
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003d84c
xor eax, eax
add rsp, 0x30
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x14003d8d0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
mov eax, dword [rdx]
mov edx, dword [r8]
shl rdx, 0x20
or rdx, rax
mov qword [rbp], rdx
mov dword [rsp + 0x20], 8
xor esi, esi
mov r9, rbp
xor edx, edx
mov r8d, 0xc
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14003d91c
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x14003d930
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov rcx, qword [rcx]
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], r8d
mov dword [rsp + 0x20], 0x14
lea r9, [rbp - 0x20]
mov edx, 0x29
mov r8d, 0xc
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003d971
xor eax, eax
add rsp, 0x50
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x50
pop rbp
ret

Function at 0x14003d990
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
mov eax, dword [rdx]
mov edx, dword [r8]
shl rdx, 0x20
or rdx, rax
mov qword [rbp], rdx
mov dword [rsp + 0x20], 8
xor esi, esi
mov r9, rbp
xor edx, edx
mov r8d, 0xd
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14003d9dc
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x38
pop rsi
pop rbp
ret

Function at 0x14003d9f0
Capabilities:
Set socket configuration

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov rcx, qword [rcx]
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], r8d
mov dword [rsp + 0x20], 0x14
lea r9, [rbp - 0x20]
mov edx, 0x29
mov r8d, 0xd
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14003da31
xor eax, eax
add rsp, 0x50
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x50
pop rbp
ret

Function at 0x14003da50
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rcx, qword [rcx]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x14003da85
movsxd rdx, eax
xor eax, eax
add rsp, 0x20
pop rbp
ret
call sub.WS2_32.dll_WSAGetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14003daa0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rcx, qword [rcx]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x14003dad1
movsxd rdx, eax
xor ecx, ecx
jmp 0x14003daf4
call sub.WS2_32.dll_WSAGetLastError
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x14003daf4
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

Function at 0x140042690
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rcx]
pop rbp
jmp sym.std::sys::pal::windows::handle::Handle::read_to_end::h59b7f973f1722ff2

Function at 0x1400426b0
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
pop rbp
jmp sym.std::sys::pal::windows::handle::Handle::read_to_end::h59b7f973f1722ff2
Function at 0x140042910
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 0xc], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0xc]
mov qword [rbp - 0x18], rax
mov rcx, qword [rcx]
lea rax, [sym.std::sys::pal::windows::pipe::AnonPipe::alertable_io_internal::callback::hf64253c2a258b517]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x140042997
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rbp - 0xc], 1
jne 0x140042960
mov ecx, dword [rbp - 8]
mov edx, dword [rbp - 4]
mov r8, rcx
shl r8, 0x20
or r8, 2
xor eax, eax
test ecx, ecx
setne al
cmovne rdx, r8
add rsp, 0x60
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x60
pop rbp
ret

Function at 0x1400429c0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov rax, qword [rcx]
mov dword [rbp - 0xc], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rcx, [rbp - 0xc]
mov qword [rbp - 0x18], rcx
mov rcx, qword [rax]
lea rax, [sym.std::sys::pal::windows::pipe::AnonPipe::alertable_io_internal::callback::hf64253c2a258b517]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x140042a57
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.KERNEL32.dll_SleepEx
cmp dword [rbp - 0xc], 1
jne 0x140042a20
mov ecx, dword [rbp - 8]
mov edx, dword [rbp - 4]
mov r8, rcx
shl r8, 0x20
or r8, 2
xor eax, eax
test ecx, ecx
setne al
cmovne rdx, r8
add rsp, 0x60
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x60
pop rbp
ret

Function at 0x140042b00
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
pop rbp
jmp sym.std::sys::pal::windows::pipe::AnonPipe::read::hd2c2e375469e23d2

Function at 0x140042b10
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
pop rbp
jmp sym.std::sys::pal::windows::pipe::AnonPipe::read_buf::hc52cc8772fc17230

Function at 0x140043480
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rsi, qword [rcx + 0x30]
mov rcx, rsi
mov edx, 1
call sub.KERNEL32.dll_TerminateProcess
test eax, eax
je 0x1400434a5
xor eax, eax
jmp 0x1400434f0
call sub.KERNEL32.dll_GetLastError
cmp eax, 5
jne 0x1400434e8
mov rdi, rax
mov rcx, rsi
xor edx, edx
call sub.KERNEL32.dll_WaitForSingleObject
test eax, eax
je 0x1400434c9
cmp eax, 0x102
je 0x1400434a1
jmp 0x1400434e0
mov dword [rbp - 4], 0
lea rdx, [rbp - 4]
mov rcx, rsi
call sub.KERNEL32.dll_GetExitCodeProcess
test eax, eax
jne 0x1400434a1
call sub.KERNEL32.dll_GetLastError
mov rax, rdi
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x140043980
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov ecx, dword [0x1400e11a0]
test ecx, ecx
je 0x140043a2f
dec ecx
call fcn.1400a4524
mov rsi, rax
cmp rax, 2
jbe 0x140043a4f
lock inc qword [rsi - 0x10]
jle 0x140043a9c
add rsi, 0xfffffffffffffff0
mov qword [rbp - 0x30], rsi
xor ecx, ecx
call sym.std::sync::mpmc::waker::current_thread_id::DUMMY::__u7b__u7b_closure_u7d__u7d_::hb975952bc2cfde6f
test rax, rax
je 0x140043a5f
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x20], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
mov rax, qword [0x1400cdcc8]
movzx eax, byte [rax]
mov ecx, 0x30
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140043a89
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400e1188]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.1400a4524
mov rsi, rax
cmp rax, 2
ja 0x1400439af
mov rcx, rsi
call sym.std::thread::current::init_current::h94edbd5403e72943
mov rsi, rax
jmp 0x1400439be
lea rax, str.std_src_threadlocal.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1400ae742]
lea r9, [0x1400ac7b8]
lea r8, [rbp + 7]
mov edx, 0x46
call sym.core::result::unwrap_failed::heaa9bd3985e144d1
jmp 0x140043a9c
lea rbx, [rbp - 0x20]
mov ecx, 8
mov edx, 0x30
call sym.alloc::alloc::handle_alloc_error::h5b2832badfdb0979
ud2
Function at 0x140043f60
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x1400440d9
mov byte [rbp + 7], 0
mov eax, dword [0x1400e10c8]
cmp eax, 3
jne 0x140043fc8
cmp byte [rbp + 7], 0
jne 0x1400440c0
mov ecx, dword [0x1400e1180]
test ecx, ecx
je 0x140043fdc
dec ecx
call fcn.1400a4524
test rax, rax
je 0x140043ff4
mov rcx, qword [0x1400e1090]
cmp rax, rcx
jne 0x140044005
mov eax, dword [0x1400e1098]
cmp eax, 0xffffffff
je 0x1400440c0
inc eax
jmp 0x140044026
lea rcx, [rbp + 7]
call sym.std::sync::once_lock::OnceLock_T_::initialize::h5ca406724af0b6ee
cmp byte [rbp + 7], 0
je 0x140043f93
jmp 0x1400440c0
lea rcx, [0x1400e1168]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
call fcn.1400a4524
test rax, rax
jne 0x140043fa9
call sym.std::thread::current::id::get_or_init::__u7b__u7b_closure_u7d__u7d_::hedc11dbc19db473f
mov rcx, qword [0x1400e1090]
cmp rax, rcx
je 0x140043fb5
mov rcx, rax
mov dl, 1
xor eax, eax
lock cmpxchg byte [0x1400e109c], dl
jne 0x1400440c0
mov qword [0x1400e1090], rcx
mov eax, 1
mov dword [0x1400e1098], eax
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 1
mov qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
mov byte [rbp - 3], 0
mov dword [rbp - 7], 0
cmp qword [0x1400e10a0], 0
jne 0x1400440e5
mov qword [0x1400e10a0], 0xffffffffffffffff
lea rcx, [0x1400e10a8]
call sym._ZN4core3ptr95drop_in_place_LT_std..io..buffered..linewriter..LineWriter_LT_std..io..stdio..StdoutRaw_GT__GT_17h52c2e677019eef
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [0x1400e10b8], xmm1
movups xmmword [0x1400e10a8], xmm0
inc qword [0x1400e10a0]
dec dword [0x1400e1098]
jne 0x1400440c0
mov qword [0x1400e1090], 0
xor eax, eax
xchg byte [0x1400e109c], al
cmp al, 2
jne 0x1400440c0
lea rcx, [0x1400e109c]
call fcn.1400624dc
mov eax, dword [0x1400e1138]
cmp eax, 3
jne 0x1400440d1
call qword [0x1400e1130]
nop
add rsp, 0x48
pop rsi
pop rbp
ret
lea rcx, str.std_src_synconce.rs
call sym.core::option::unwrap_failed::h9508d322d744588d
lea rcx, [0x1400ae618]
call sym.core::cell::panic_already_borrowed::h439a15d5ce72f317
ud2

Function at 0x140044400
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov rax, qword [rcx]
mov rdi, qword [rax]
mov qword [rax], 0
test rdi, rdi
je 0x140044463
lea rsi, [rbp - 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 [rbp + 0x16c], eax
test eax, eax
jne 0x14004446f
lea rax, [0x1400a491c]
mov qword [rdi], rax
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.std_src_synconce.rs
call sym.core::option::unwrap_failed::h9508d322d744588d
mov qword [rbp + 0x138], 0
lea rdx, [0x1400b0778]
lea r9, str.std_src_syspalwindows_net.rs
lea rcx, [rbp + 0x16c]
lea r8, [rbp + 0x138]
call sym.core::panicking::assert_failed::he2381c55c73c196a
int3
Function at 0x1400452c0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov r14, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call sym.__str_as_alloc::ffi::c_str::CString::new::SpecNewImpl_::spec_new_impl::ha32cd5f3c3df5e34
mov rdx, qword [rbp - 0x28]
mov rax, rdx
neg rax
jno 0x140045340
mov rdi, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call sub.WS2_32.dll_getaddrinfo
test eax, eax
je 0x140045370
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140045384
lea rax, [0x1400af548]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jae 0x1400453a4
mov rcx, qword [rbp - 0x20]
mov r8d, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp sym.__rust_dealloc
mov rcx, qword [r14]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test rbx, rbx
je 0x1400453a4
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call sym.__rust_dealloc
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret