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

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [rcx + 0x78]
mov dword [rsp + 0x20], 0
mov edx, 0xffff
mov r8d, 0x7010
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_setsockopt]
test byte [rsi + 0x74], 2
jne 0x14000c964
lea rcx, [rsi + 0x10]
mov rax, qword [rsi + 0x10]
call qword [rax + 0x40]
test al, 1
je 0x14000c964
lea rcx, [rsi + 0x20]
lea rdi, [0x1402da5d8]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rcx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + 0x18]
mov qword [rsp + 0x30], rdi
mov rcx, qword [rsp + 0x38]
call fcn.140006ee0
test byte [rsi + 0x74], 4
jne 0x14000c997
mov rax, qword [rsi + 0x10]
add rsi, 0x10
mov rcx, rsi
call qword [rax + 0x40]
test al, 2
je 0x14000c997
mov rax, qword [rsi]
mov edx, 2
mov rcx, rsi
call qword [rax + 0x28]
mov rcx, rax
mov edx, 2
call fcn.14026c310
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14000c9af
add rsp, 0x48
pop rdi
pop rsi
ret
call fcn.14029fd30
int3

Function at 0x140010630
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x28
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14001067e
movsxd rcx, eax
inc eax
lea rcx, [rcx*2 + 2]
mov esi, eax
call sym.dartaotruntime_product.exe_Dart_ScopeAllocate
mov rdi, rax
mov ecx, esi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, rdi
mov rdx, 0xffffffffffffffff
xor r8d, r8d
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140278b50
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140010690
Capabilities:
Set current directory

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
call fcn.1402790a0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400106ca
call fcn.14029f9fc
test esi, esi
setne al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x1400106e6
add rsp, 0x30
pop rsi
ret
call fcn.14029fd30
int3

Function at 0x140010cf0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x140010d28
add rsp, 0x58
ret
call fcn.14029fd30
int3
Function at 0x140011500
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400115c1
mov rsi, rax
xor r14d, r14d
mov rbx, rax
jmp 0x140011540
mov rcx, rbx
call fcn.1402c1174
lea rbx, [rbx + rax*2]
add rbx, 2
movzx eax, word [rbx]
cmp eax, 0x3d
je 0x140011530
test eax, eax
je 0x140011551
inc r14
jmp 0x140011530
mov qword [rdi], r14
lea rcx, [r14*8]
call sym.dartaotruntime_product.exe_Dart_ScopeAllocate
mov rdi, rax
test r14, r14
jle 0x1400115b6
xor r15d, r15d
mov rbx, rsi
jmp 0x140011595
mov rcx, rbx
call fcn.1402c1174
lea rbx, [rbx + rax*2]
add rbx, 2
cmp r15, r14
jge 0x1400115b6
cmp word [rbx], 0x3d
je 0x140011580
mov rcx, rbx
mov rdx, 0xffffffffffffffff
xor r8d, r8d
call fcn.140278b50
mov qword [rdi + r15*8], rax
inc r15
jmp 0x140011580
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400115c3
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140013770
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rsi, rcx
mov rax, qword [rcx + 8]
test rax, rax
je 0x140013799
add qword [rsi + 0x40], rax
mov r8, qword [rsi + 0x48]
sub r8, rax
mov qword [rsi + 0x48], r8
jmp 0x14001379d
mov r8, qword [rsi + 0x48]
mov byte [rsi + 0x50], 0
xorps xmm6, xmm6
mov rbx, qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
mov rax, qword [rsi + 0x28]
or rax, 1
mov qword [rsi + 0x18], rax
test r8, r8
je 0x1400137e0
mov rdi, qword [rsi + 0x38]
mov edx, 0x4000
sub rdx, r8
jmp 0x14001382b
mov ecx, reloc.WS2_32.dll_recv
call fcn.14029f9b8
mov rdi, rax
mov ecx, 0x4000
call fcn.14029fa30
mov qword [rdi], rax
mov qword [rdi + 8], 0
cmp qword [rsi + 0x30], 0
je 0x140013813
mov rax, qword [rsi + 0x38]
mov qword [rax + 8], rdi
jmp 0x140013817
mov qword [rsi + 0x30], rdi
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x48], 0x4000
mov r8d, 0x4000
xor edx, edx
add rdx, qword [rdi]
mov byte [rsi + 0x50], 1
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call rbx
test eax, eax
je 0x140013860
mov rax, qword [rsi + 8]
mov r8, qword [rsi + 0x48]
add qword [rsi + 0x40], rax
sub r8, rax
mov qword [rsi + 0x48], r8
mov byte [rsi + 0x50], 0
jmp 0x1400137b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
sete al
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x140013880
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [0x1404a9508]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [0x1404a9500]
test rax, rax
je 0x1400138bd
nop word cs:[rax + rax]
cmp dword [rax], esi
je 0x1400138e2
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x1400138b0
mov rcx, rdi
call fcn.140006ee0
xor edi, edi
mov ecx, 1
xor edx, edx
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400138ee
jmp 0x140013902
mov rsi, qword [rax + 8]
mov rcx, rdi
call fcn.140006ee0
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne dil
mov eax, edi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140013d90
Capabilities:
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], 0
test r8d, r8d
je 0x140013e7e
mov ebx, r8d
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 0x400
mov rcx, rdi
mov edx, 0x40000001
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x140013f10
xor eax, eax
cmp ebx, 1
lea r9, [rsp + 0x40]
cmovne r9, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40000100
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x40000000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rsi + 8], rax
mov al, 1
cmp rcx, 0xffffffffffffffff
je 0x140013f01
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x140013f3b
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 0x400
mov rcx, rdi
mov edx, 0x40000002
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rsi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x140013f10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40000080
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov rcx, rdi
mov edx, 0x80000000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rsi], rax
mov al, 1
cmp rcx, 0xffffffffffffffff
jne 0x140013e61
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateFile_failed__d_n
jmp 0x140013f1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateNamedPipe_failed__d_n
mov edx, eax
call fcn.140001240
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x140013e76
call fcn.14029fd30
int3

Function at 0x14001d510
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rbx
sub rsp, 0x1c8
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rsi, qword [0x1404a9568]
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov bl, 1
cmp byte [0x1404a9570], 0
jne 0x14001d578
lea rdx, [rsp + 0x28]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
sete bl
je 0x14001d571
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str.Unable_to_initialize_Winsock:__d_n
mov edx, eax
call fcn.140001240
jmp 0x14001d578
mov byte [0x1404a9570], 1
mov rcx, rsi
call fcn.140006ee0
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001d5a0
mov eax, ebx
add rsp, 0x1c8
pop rbx
pop rsi
ret
call fcn.14029fd30
int3
Function at 0x14001d690
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x2c], 0x80
mov rcx, qword [rcx + 0x78]
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14001d6f0
lea rcx, [rsp + 0x30]
call fcn.14001ce10
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001d706
add rsp, 0xb8
ret
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x14001d6e8
call fcn.14029fd30
int3
Function at 0x14001d8c0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1d0
mov rsi, r8
mov ebx, edx
mov rdi, rcx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov r14, qword [0x1404a9568]
mov rcx, r14
call sub.KERNEL32.dll_AcquireSRWLockExclusive
cmp byte [0x1404a9570], 0
jne 0x14001d934
lea rdx, [rsp + 0x30]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14001d92d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str.Unable_to_initialize_Winsock:__d_n
mov edx, eax
call fcn.140001240
jmp 0x14001d934
mov byte [0x1404a9570], 1
mov rcx, r14
call fcn.140006ee0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
mov ecx, ebx
call fcn.14001cd60
cwde
mov dword [rsp + 0x34], eax
movabs rax, 0x600000001
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14001d9f5
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14001d9f5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x18
call fcn.14029f9b8
mov rdi, rax
mov rcx, rax
call fcn.1402789a0
mov qword [rsi], rdi
xor esi, esi
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x14001db01
call fcn.14029fd30
int3
mov r12, qword [rsp + 0x28]
xor edi, edi
test r12, r12
je 0x14001da2b
mov rax, r12
jmp 0x14001da1c
inc rdi
mov rax, qword [rax + 0x28]
test rax, rax
je 0x14001da2b
mov ecx, dword [rax + 4]
cmp ecx, 0x17
je 0x14001da10
cmp ecx, 2
je 0x14001da10
jmp 0x14001da13
mov ecx, reloc.WS2_32.dll_recv
call fcn.14029f9b8
mov rsi, rax
mov qword [rax], rdi
mov rax, rdi
shr rax, 0x3d
shl rdi, 3
xor ebx, ebx
neg rax
mov ecx, 0
sbb rcx, rcx
or rcx, rdi
call fcn.14029fa30
mov qword [rsi + 8], rax
test r12, r12
je 0x14001dae0
mov rdi, rax
xor r13d, r13d
jmp 0x14001daa0
mov r15, rbx
add r15, 0x48
mov rcx, r14
xor edx, edx
call fcn.14001caa0
mov rcx, r15
mov rdx, r14
mov r8, rax
call fcn.1402a44e0
mov qword [rdi + r13*8], rbx
inc r13
mov r12, qword [r12 + 0x28]
test r12, r12
je 0x14001dadb
mov eax, dword [r12 + 4]
cmp eax, 0x17
je 0x14001daaf
cmp eax, 2
jne 0x14001da96
mov ecx, 0xc8
call fcn.14029f9b8
mov rbx, rax
mov r14, qword [r12 + 0x20]
mov rcx, r14
mov rdx, rax
mov r8d, 0x41
call fcn.14001d3e0
test al, al
je 0x14001da70
mov byte [rbx], 0
jmp 0x14001da70
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001d9ef
mov rax, rsi
add rsp, 0x1d0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14001db20
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
xor edx, edx
call fcn.14001caa0
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, r14
mov edx, eax
mov r8, rbx
mov r9d, edi
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov edi, eax
test eax, eax
je 0x14001db92
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x18
call fcn.14029f9b8
mov rbx, rax
mov rcx, rax
call fcn.1402789a0
mov qword [rsi], rbx
test edi, edi
sete al
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14001e200
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x30], rax
movzx eax, dl
mov dword [rsp + 0x2c], eax
mov rcx, qword [rcx + 0x78]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov edx, 6
mov r8d, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001e257
add rsp, 0x38
ret
call fcn.14029fd30
int3

Function at 0x14001e2e0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x30], rax
movzx eax, r8b
mov dword [rsp + 0x2c], eax
xor eax, eax
test rdx, rdx
mov edx, 0x29
cmove edx, eax
mov rcx, qword [rcx + 0x78]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov r8d, ntohs
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001e340
add rsp, 0x38
ret
call fcn.14029fd30
int3

Function at 0x14001e3d0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], r8d
xor eax, eax
test rdx, rdx
mov edx, 0x29
cmove edx, eax
mov rcx, qword [rcx + 0x78]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov r8d, 0xa
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001e42d
add rsp, 0x38
ret
call fcn.14029fd30
int3

Function at 0x14001e4c0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x30], rax
movzx eax, dl
mov dword [rsp + 0x2c], eax
mov rcx, qword [rcx + 0x78]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x2c]
mov edx, 0xffff
mov r8d, 0x20
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001e517
add rsp, 0x38
ret
call fcn.14029fd30
int3

Function at 0x14001e520
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov eax, dword [rsp + 0x50]
mov rcx, qword [rcx + 0x78]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
add rsp, 0x28
ret

Function at 0x14001e5a0
Capabilities:
Set socket configuration

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor eax, eax
cmp word [rdx], 2
mov ebx, 0x29
cmove ebx, eax
mov dword [rsp + 0x28], r9d
lea r14, [rsp + 0x30]
mov rcx, rdx
xor edx, edx
call fcn.14001caa0
mov rcx, r14
mov rdx, rsi
mov r8, rax
call fcn.1402a44e0
mov rcx, qword [rdi + 0x78]
mov dword [rsp + 0x20], 0x88
lea r9, [rsp + 0x28]
mov edx, ebx
mov r8d, 0x29
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001e639
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14029fd30
int3
Function at 0x14001e640
Capabilities:
Set socket configuration

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor eax, eax
cmp word [rdx], 2
mov ebx, 0x29
cmove ebx, eax
mov dword [rsp + 0x28], r9d
lea r14, [rsp + 0x30]
mov rcx, rdx
xor edx, edx
call fcn.14001caa0
mov rcx, r14
mov rdx, rsi
mov r8, rax
call fcn.1402a44e0
mov rcx, qword [rdi + 0x78]
mov dword [rsp + 0x20], 0x88
lea r9, [rsp + 0x28]
mov edx, ebx
mov r8d, 0x2a
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001e6d9
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14029fd30
int3

Function at 0x14001e840
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx ecx, cx
mov edx, 1
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x14001e922
mov rsi, rax
mov dword [rsp + 0x3c], 0xa0001
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x3c]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14001e940
mov ecx, 0xb0
call fcn.14029f9b8
mov rdi, rax
mov rcx, rax
mov rdx, rsi
mov r8d, 3
xor r9d, r9d
call fcn.14000aac0
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x80], 0
xorps xmm0, xmm0
movups xmmword [rdi + 0x90], xmm0
lea rcx, [0x1402da5e0]
mov qword [rdi], rcx
lea rcx, [0x1402da630]
mov qword [rdi + 0x10], rcx
mov word [rdi + 0xa0], 0
mov qword [rdi + 0xa8], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001e93a
mov rax, rdi
add rsp, 0x48
pop rdi
pop rsi
ret
mov rdi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x14001e918
call fcn.14029fd30
int3
lea rax, str..._.._runtime_bin_socket_win.cc
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x39
lea rdx, str.Failed_setting_SO_LINGER_on_socket
lea rcx, [rsp + 0x28]
call fcn.1402d94a0
int3
Function at 0x14001eb60
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov ebx, r9d
mov ebp, r8d
mov r14d, edx
mov rdi, rcx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx ecx, word [rcx]
mov edx, 2
mov r8d, send
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x14001ec86
mov rsi, rax
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x54]
mov rcx, rsi
mov edx, 0x9800000c
mov r9d, 4
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test r14b, r14b
je 0x14001ec1d
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x4c]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14001ec6d
test bpl, bpl
je 0x14001ec3b
lea rcx, str.Dart_Socket_ERROR:__s:_d:__reusePort__not_supported_for_Windows.
lea rdx, str..._.._runtime_bin_socket_win.cc
mov r8d, 0xb9
call fcn.140001240
mov dword [rsp + 0x4c], ebx
xor eax, eax
cmp word [rdi], 2
mov edx, 0x29
cmove edx, eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x4c]
mov rcx, rsi
mov r8d, 0xa
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14001ecad
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001ed33
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
xor edx, edx
call fcn.14001caa0
mov rcx, rsi
mov rdx, rdi
mov r8d, eax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14001ec6d
mov ecx, 0x98
call fcn.14029f9b8
mov rdi, rax
mov rcx, rax
mov rdx, rsi
mov r8d, 5
xor r9d, r9d
call fcn.14000aac0
mov rax, rdi
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x90], 0
lea rcx, [0x1402daae0]
mov qword [rdi], rcx
lea rcx, [0x1402dab30]
mov qword [rdi + 0x10], rcx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x14001eca2
call fcn.14029fd30
int3
Function at 0x14001ed40
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx ecx, word [rcx]
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x14001ef2d
mov rsi, rax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rax
mov edx, 0xffff
mov r8d, 0xfffffffb
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14001ef14
cmp word [r14], 0x17
jne 0x14001ede5
movzx eax, bl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rsi
mov edx, 0x29
mov r8d, 0x1b
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, r14
xor edx, edx
call fcn.14001caa0
mov rcx, rsi
mov rdx, r14
mov r8d, eax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14001ef14
mov ecx, 0xc0
call fcn.14029f9b8
mov r15, rax
mov rcx, rax
mov rdx, rsi
mov r8d, 4
xor r9d, r9d
call fcn.14000aac0
mov qword [r15 + 0x78], rsi
lea rax, method.icu_74::LanguageBreakEngine.virtual_0
mov qword [r15], rax
lea rax, method.icu_74::LanguageBreakEngine.virtual_0
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x80], 0
lea rcx, [r15 + 0x88]
lea rdx, [method.icu_74::SimpleFilteredSentenceBreakIterator.virtual_16]
mov r8d, 4
call fcn.140006a40
lea rax, [0x1402dab80]
mov qword [r15], rax
lea rax, [0x1402dabd0]
mov qword [r15 + 0x10], rax
mov dword [r15 + 0xa0], 0
xorps xmm0, xmm0
movups xmmword [r15 + 0xa8], xmm0
mov dword [r15 + 0xb8], 0
mov rcx, r14
call fcn.14001ce10
test rax, rax
jne 0x14001ef51
mov rcx, r15
call fcn.14001d690
cmp rax, 0xffff
jne 0x14001ef51
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.14001ed40
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lock dec qword [r15 + 8]
jne 0x14001eef6
mov rax, qword [r15]
mov rcx, r15
mov edx, 1
call qword [rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x14001ef45
jmp 0x14001ef7e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x14001ef7e
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rdi, rdi
mov edx, 0x7fffffff
cmovg edx, edi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x14001ef84
mov rax, r15
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x14001ef45
call fcn.14029fd30
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lock dec qword [r15 + 8]
jne 0x14001ef25
mov rax, qword [r15]
mov rcx, r15
mov edx, 1
call qword [rax]
jmp 0x14001ef25