joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064590
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rbp + 0xf], rax
movzx edi, r8b
mov rbx, rdx
mov rsi, rcx
xor r12d, r12d
mov r14d, dword [reloc.WS2_32.dll_closesocket]
test r14d, r14d
jg 0x1400645f0
call fcn.1400648e0
cmp al, 1
jne 0x1400645f0
mov dword [reloc.WS2_32.dll_closesocket], 6
lea r15, [0x1401a5a00]
mov qword [rbp - 0x59], r15
mov rcx, r15
call fcn.1400e91cc
test eax, eax
jne 0x1400647ac
mov eax, dword [0x1401a5a4c]
cmp eax, 0x7fffffff
je 0x140064799
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.140065730
nop
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
add r8, rdx
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.140067710
nop
lea rcx, [rbp - 0x31]
call fcn.14000e730
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14006466d
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x51]
call fcn.14001f890
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x11], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rcx, [rbp - 0x51]
call fcn.14000e6a0
test dil, dil
je 0x140064724
lea rbx, [rbp - 0x11]
movq rdi, xmm7
psrldq xmm6, 8
movq rsi, xmm6
cmp rsi, 8
cmovae rbx, rdi
call fcn.1400647c0
mov eax, dword [reloc.WS2_32.dll_closesocket]
test eax, eax
jle 0x14006472c
cmp eax, 3
jl 0x14006472c
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400646f0
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.14001e400
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x31]
call fcn.14000e6a0
mov rdi, qword [rbp - 0x11]
mov rsi, qword [rbp + 7]
lea rbx, [rbp - 0x11]
cmp rsi, 8
cmovae rbx, rdi
call fcn.1400647c0
mov rcx, rax
mov r8d, 3
mov rdx, rbx
call fcn.140066210
mov dword [reloc.WS2_32.dll_closesocket], r14d
lea rcx, [rbp - 0x11]
call fcn.14000e6a0
nop
mov rcx, r15
call fcn.1400e91f0
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14010a950
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
dec eax
mov dword [0x1401a5a4c], eax
mov ecx, 6
call fcn.1400e80d8
int3
mov ecx, 5
call fcn.1400e80d8
int3
Function at 0x1400648e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x850
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rsp + 0x840], rax
xor ebx, ebx
lea rcx, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov r8d, 0x800
call fcn.14010eb70
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x200
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREWOW6432NodeASUSArmourySDKMainSDK
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140064990
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.debug
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x14006498a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, word [rsp + 0x40]
sub ecx, 0x31
jne 0x1400649a4
movzx ecx, word [rsp + 0x42]
movzx eax, bx
sub ecx, eax
test ecx, ecx
sete al
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14010a950
add rsp, 0x850
pop rbx
ret
Function at 0x140065520
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r8d, [rbx + 7]
lea rdx, str.LogPath
lea rcx, [rsp + 0x70]
call fcn.14000e8b0
nop
lea rdx, [0x1401a58f0]
lea rcx, [rsp + 0x50]
call fcn.14000e560
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, vtable.dali::RegReader.0
mov qword [rbp - 0x70], rax
mov byte [rbp - 0x60], bl
movdqu xmmword [rbp - 0x58], xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
xor r8d, r8d
lea rdx, [0x14016111a]
mov rcx, rdi
call fcn.14000e8b0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x48], 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREASUSARMOURY_CRATE_Diagnosis
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400656de
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400656de
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140065657
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x14006568e
mov rsi, rdi
cmp rax, 0x10
jb 0x140065675
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.14010e4d0
mov byte [rsi + rbx], 0
jmp 0x14006569e
lea r9, [rbp - 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.14000eab0
nop
lea rcx, [rsp + 0x50]
call fcn.14000e730
nop
lea rcx, [rsp + 0x70]
call fcn.14000e730
mov rax, rdi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14010a950
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x14006569e
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rsp + 0x60]
cmp rbx, rax
ja 0x140065692
cmp rax, 0x10
mov rsi, rdi
jb 0x140065713
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.14010e4d0
mov byte [rbx + rsi], 0
jmp 0x14006569e
Function at 0x14006dff0
Capabilities:
Check if file exists
Compare security identifiers
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor esi, esi
mov rdi, rcx
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006e150
test al, 0x10
je 0x14006e150
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
mov edx, 1
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov r8d, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rsi
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x14006e150
lea rax, [rsp + 0x60]
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x50], rax
lea r8d, [rsi + 0x20]
mov dword [rsp + 0x48], esi
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x40], esi
mov r9d, 0x220
mov dword [rsp + 0x38], esi
mov dl, 2
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov word [rsp + 0x84], 0x500
mov qword [rsp + 0x60], rsi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14006e0e6
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_FreeSid]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x48], esi
xor r9d, r9d
mov dword [rsp + 0x40], esi
mov dl, 1
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
lea r8d, [r9 + 0x12]
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14006e145
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rcx, qword [rsp + 0x70]
or ebx, eax
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14010a950
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14006e180
Capabilities:
Check if file exists
Compare security identifiers
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006e32f
test al, 0x10
je 0x14006e32f
lea rax, [rbp + 0xf]
mov qword [rsp + 0xd0], rsi
xor esi, esi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
lea rcx, [rbp + 0x27]
mov dword [rsp + 0x40], esi
xor r9d, r9d
mov dword [rsp + 0x38], esi
xor r8d, r8d
mov dword [rsp + 0x30], esi
mov dl, 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov qword [rbp + 0xf], rsi
mov dword [rbp + 0x27], esi
mov word [rbp + 0x2b], 0x100
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14006e305
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0x2f]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
movups xmmword [rbp + 0x3f], xmm0
call qword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
lea rax, [rbp + 0x1f]
mov qword [rbp + 7], rsi
mov qword [rsp + 0x38], rax
lea edx, [rsi + 1]
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea r8d, [rsi + 4]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov qword [rbp + 0x1f], rsi
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x14006e2fb
mov rcx, qword [rbp + 7]
mov qword [rsp + 0xc8], rbx
mov ebx, esi
cmp si, word [rcx + 4]
jae 0x14006e2c4
nop dword [rax + rax]
lea r8, [rbp + 0x17]
mov qword [rbp + 0x17], rsi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x14006e2b6
mov rdx, qword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
add rdx, 8
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x14006e2b6
mov rcx, qword [rbp + 7]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_DeleteAce]
mov rcx, qword [rbp + 7]
inc ebx
movzx eax, word [rcx + 4]
cmp ebx, eax
jl 0x14006e280
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rcx
mov r8d, 0x80000004
mov rcx, rdi
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rsi, qword [rsp + 0xd0]
mov eax, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14010a950
mov rdi, qword [rsp + 0xd8]
add rsp, 0xb0
pop rbp
ret
mov eax, 1
jmp 0x14006e312
Function at 0x1400762f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x1401a5e64]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rbx, [rdi + 3]
xor esi, esi
shr rbx, 2
test rax, rax
je 0x140076353
mov rax, qword [rax + 8]
test rax, rax
je 0x140076353
mov rcx, qword [rax]
test rcx, rcx
je 0x140076353
mov qword [rax], rsi
movzx eax, byte [rcx]
cmp rax, rbx
jb 0x14007634e
mov byte [rcx + rdi], al
mov rax, rcx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
call fcn.14010a9e8
lea rcx, [rbx*4 + 1]
call fcn.14010a978
cmp rbx, 0xff
movzx ecx, bl
cmova ecx, esi
mov byte [rax + rdi], cl
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x140076380
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
mov ecx, dword [0x1401a5e64]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400763ad
mov r8, qword [rax + 8]
jmp 0x1400763b0
xor r8d, r8d
cmp rdi, 0x3fc
ja 0x1400763d4
test r8, r8
je 0x1400763d4
cmp qword [r8], 0
jne 0x1400763d4
movzx eax, byte [rbx + rdi]
mov byte [rbx], al
mov qword [r8], rbx
add rsp, 0x28
pop rdi
pop rbx
ret
mov rcx, rbx
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.14010a9e8

Function at 0x140077620
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov ecx, 0x38
call fcn.14010a978
mov rbx, rax
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rax
mov rcx, rbx
call fcn.1400763f0
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], 0
mov qword [rdi], rbx
mov eax, 1
lock xadd dword [0x1401a5db0], eax
inc eax
cmp eax, 1
jne 0x1400776ac
lea ecx, [rax + 1]
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1401a5db4], eax
xor ebx, ebx
lock xadd dword [0x1401a5db4], ebx
test ebx, ebx
jne 0x140077721
mov ecx, 0xa8
call fcn.14010a978
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0xa8
mov rcx, rax
call fcn.14010eb70
mov r8d, 0xffffffff
mov rdx, rdi
mov rcx, rbx
call fcn.140076910
nop
mov rdx, rax
mov rcx, rdi
call fcn.140077750
mov qword [rdi + 0x10], rax
mov rax, rdi
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14010a950
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rdi
ret
mov dword [rsp + 0x34], 0
call fcn.14010c950
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rax
lea rdx, str.winsock
lea rcx, [rsp + 0x30]
call fcn.1400152f0
int3
Function at 0x140077880
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
call fcn.14010c950
mov qword [rsp + 0x28], rax
mov rdi, qword [rdi + 0x10]
mov eax, ebx
lock xadd dword [rdi + 0x30], eax
test eax, eax
jne 0x1400778f0
mov rcx, rdi
call fcn.140076d90
mov dword [rsp + 0x20], ebx
call fcn.14010c950
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
jmp 0x1400779b1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rax, [rdi + 0x28]
test rdi, rdi
cmove rax, rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov ecx, dword [0x1401a5e64]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1401a5e64]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.140076fd0
test rax, rax
je 0x140077981
nop dword [rax]
nop dword [rax + rax]
lea rax, [rbx + 1]
cmp rbx, 0xffffffffffffffff
cmove rax, rbx
mov rbx, rax
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.140076fd0
test rax, rax
jne 0x140077960
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1401a5e64]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400779a2
call fcn.14010a9e8
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400779b1
call fcn.14010a9e8
cmp dword [rsp + 0x20], 0
jne 0x1400779d3
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010a950
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.1400762a0
int3
Function at 0x140077ab0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rsi, r9
mov rbp, rdx
mov r14, rcx
mov edi, r15d
cmp rcx, 0xffffffffffffffff
je 0x140077bed
test r8b, r8b
je 0x140077b3f
test byte [rdx], 8
je 0x140077b3f
mov dword [rsp + 0x40], r15d
call fcn.14010c950
or byte [rbp], 8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x80
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.14010c950
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x140077b3f
call fcn.14010c950
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
call fcn.14010c950
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
test edi, edi
je 0x140077bed
call fcn.14010c950
cmp qword [rsi + 8], rax
jne 0x140077b88
cmp dword [rsi], 0x2733
je 0x140077b9b
call fcn.14010c950
cmp qword [rsi + 8], rax
jne 0x140077c04
cmp dword [rsi], 0x4d5
jne 0x140077c04
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rbp], 0xfc
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
call fcn.14010c950
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
test edi, edi
jne 0x140077c04
mov dword [rsp + 0x30], r15d
call fcn.14010c950
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010a950
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140077c30
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x140077c74
mov dword [rsp + 0x20], 0x2719
call fcn.14010c950
mov qword [rsp + 0x28], rax
mov eax, ebx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
jmp 0x140077cc8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call fcn.14010c950
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
test esi, esi
jne 0x140077cc6
mov dword [rsp + 0x20], esi
call fcn.14010c950
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi], xmm0
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140077ce0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov edx, dword [rdx]
sub edx, 0x79
je 0x140077d27
sub edx, 0x450
je 0x140077d1d
sub edx, 6
je 0x140077d13
cmp edx, 1
jne 0x140077d41
mov dword [rsp + 0x30], 0x2751
jmp 0x140077d2f
mov dword [rsp + 0x30], 0x2743
jmp 0x140077d2f
mov dword [rsp + 0x30], 0x274d
jmp 0x140077d2f
mov dword [rsp + 0x30], 0x274c
call fcn.14010c950
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
cmp dword [rsi], 0
jne 0x140077dca
cmp rbx, 0xffffffffffffffff
jne 0x140077d5a
mov dword [rsp + 0x30], 0x2719
jmp 0x140077db8
xor ecx, ecx
mov qword [rsp + 0x50], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xffff
mov r8d, 0x7010
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.14010c950
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
test edi, edi
mov rdi, qword [rsp + 0x50]
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jne 0x140077dca
mov dword [rsp + 0x30], 0
call fcn.14010c950
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x140077e90
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, ecx
mov rbp, r9
xor ecx, ecx
mov edi, r8d
mov ebx, edx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov r8d, edi
mov dword [rsp + 0x20], 0
mov edx, ebx
mov ecx, esi
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
call fcn.14010c950
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x140077f08
mov rax, rdi
jmp 0x140077f50
cmp esi, 0x17
jne 0x140077f32
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
lea edx, [rsi + 0x12]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 4]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
call fcn.14010c950
mov qword [rsp + 0x38], rax
mov rax, rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010a950
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret