joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1407946a8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rbx, qword [rcx]
xor r14d, r14d
mov esi, r14d
mov rdi, rdx
mov r12, rcx
call fcn.140794620
mov rcx, rbx
call fcn.1407948e8
mov rcx, rdi
mov rbx, rax
call fcn.1407948e8
xor edx, edx
mov qword [rbp - 0x41], rax
lea r8d, [r14 + 0x58]
mov r13, rax
lea rcx, [rbp - 0x39]
call fcn.14078bd4c
lea r8, [rbp - 0x39]
mov rcx, rbx
lea edx, [r14 + 5]
call fcn.140794418
mov r15d, eax
cmp eax, 5
jb 0x1407948b6
mov r8, qword [rbp - 0x31]
mov rcx, rbx
mov rdx, qword [rbp - 0x39]
call fcn.140794940
mov rsi, rax
test rax, rax
je 0x1407948b6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [r14 + 0x40]
mov dword [rbp + 0x7f], r14d
mov rdi, rax
mov dword [rbp + 0x77], r14d
lea rax, [rbp + 0x7f]
mov rcx, rdi
mov r8d, r15d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140794897
lea rax, [rbp + 0x77]
mov rdx, rsi
lea r9d, [r14 + 0x40]
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14079486c
lea r12, [rsi + 0x38]
test r15d, r15d
je 0x1407947c6
mov rdx, rbx
mov r8, rsi
sub rdx, r12
mov rcx, r12
sub r8, r12
mov r9d, r15d
mov al, byte [rdx + rcx]
mov byte [rcx], al
mov byte [r8 + rcx + 0x58], al
inc rcx
sub r9, 1
jne 0x1407947b3
lea rdx, [r15 + rbx]
lea rcx, [r15 + r12]
call fcn.1407945dc
lea r8, [rbp - 0x39]
mov rdx, rbx
mov rcx, r12
call fcn.14079466c
mov rcx, rbx
mov rax, r13
sub rcx, r13
sub rax, rbx
cmp r13, rbx
cmovb rax, rcx
cmp rax, 0x7fff0000
jbe 0x140794820
mov rdx, qword [rbp - 0x41]
lea r13, [rsi + 0x18]
mov rcx, r13
call fcn.1407945dc
sub rax, rsi
mov rdx, r13
mov rcx, rdi
lea r8, [rax - 0x18]
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rdx, r13
mov rcx, rbx
call fcn.1407945dc
mov rax, qword [rbp - 0x41]
mov r8, r15
mov rdx, r12
mov qword [rsi + 0x10], rax
mov rcx, rdi
mov dword [rsi + 8], r15d
mov qword [rsi], rbx
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r9d, dword [rbp + 0x77]
lea rax, [rbp + 0x77]
mov r8d, 0x78
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r12, qword [rbp + 0x67]
mov r8, r15
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r9d, dword [rbp + 0x7f]
lea rax, [rbp + 0x7f]
mov r8, r15
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp qword [rsi], r14
je 0x1407948a6
lea rax, [rsi + 0x38]
mov qword [r12], rax
jmp 0x1407948b6
mov edx, 1
mov rcx, rsi
call fcn.140794a90
mov rsi, r14
lea rcx, [0x14079c648]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0xe8]
test rsi, rsi
setne r14b
mov eax, r14d
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140794940
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x80
xor edi, edi
cmp dword [0x14079c634], 0x40
jae 0x140794a6c
lea rbx, [rcx + rdx]
mov rbp, 0xfffffffffff80000
add rcx, r8
lea r8d, [rdi + 0x30]
cmp rcx, 0xffffffff80000000
lea rax, [rcx + 0x7ff80000]
cmovb rbp, rax
lea rcx, [r11 - 0x38]
xor edx, edx
call fcn.14078bd4c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 0x80000000
lea rsi, [rbx - 0x7fff0000]
cmp rbx, rax
lea r14d, [rdi + 1]
cmovb rsi, r14
cmp rsi, rbp
jae 0x140794a6c
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140794a3c
cmp dword [rsp + 0x40], 0x10000
jne 0x140794a2a
mov rax, qword [rsp + 0x38]
cmp rax, 0x78
jb 0x140794a2f
mov edx, dword [rsp + 0x78]
mov ecx, edx
cmp rax, rdx
jb 0x140794a2f
lea eax, [rdx - 1]
mov r8d, 0x3000
xor edx, edx
add rax, rsi
div rcx
mov edx, 0x78
imul rcx, rax
lea r9d, [rdx - 0x58]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140794a41
mov rax, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x20]
add rsi, rax
cmp rsi, rbp
jb 0x1407949c5
test rdi, rdi
je 0x140794a6c
lea rdx, [0x14079c670]
xor eax, eax
mov rcx, rdx
cmp qword [rcx], 0
je 0x140794a61
add eax, r14d
add rcx, 8
cmp eax, 0x40
jb 0x140794a4d
jmp 0x140794a6c
add dword [0x14079c634], r14d
mov qword [rdx + rax*8], rdi
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14079afe8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rdi, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rdi, rax
mov rbx, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14079b0e2
mov rcx, qword [rcx + 8]
mov r8, qword [rbx + 0x18]
mov r9, qword [rbx + 0x20]
mov rax, r8
mov rdx, qword [rbx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rax, 1
add r10, rax
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
movabs rcx, 0x85ebca77c2b2ae63
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rcx, r10
add rcx, rsi
jmp 0x14079b0ed
mov rcx, qword [rcx + 0x18]
lea rax, [rsi + r15]
add rcx, rax
add rbx, 0x30
jmp 0x14079b118
mov rax, qword [r11]
add r11, 8
imul rax, r14
rol rax, 0x1f
imul rax, rbp
xor rcx, rax
rol rcx, 0x1b
imul rcx, rbp
sub rcx, r12
add rbx, 8
cmp rbx, rdi
jbe 0x14079b0f3
lea rdx, [r11 + 4]
movabs r9, 0x165667b19e3779f9
cmp rdx, rdi
ja 0x14079b148
mov eax, dword [r11]
mov r11, rdx
imul rax, rbp
xor rcx, rax
rol rcx, 0x17
imul rcx, r14
add rcx, r9
xor r8d, r8d
mov rdx, rdi
sub rdx, r11
cmp r11, rdi
cmova rdx, r8
test rdx, rdx
je 0x14079b17b
movzx eax, byte [r11]
inc r8
imul rax, r15
inc r11
xor rcx, rax
rol rcx, 0xb
imul rcx, rbp
cmp r8, rdx
jb 0x14079b15d
mov rbx, qword [rsp + 0x20]
mov rax, rcx
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rax, 0x21
xor rax, rcx
imul rax, r14
mov rcx, rax
shr rcx, 0x1d
xor rcx, rax
imul rcx, r9
mov rax, rcx
shr rax, 0x20
xor rax, rcx
pop r15
pop r14
pop r12
ret
Function at 0x140003820
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov ebp, edi
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140003874
xor eax, eax
jmp 0x1400039c3
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400039b8
lea r15, [0x140484d90]
mov rbx, qword [rsp + 0x38]
nop dword [rax]
mov r8d, 0xffffffff
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x30]
call fcn.1400ba830
mov rcx, rax
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rcx], r15
or edi, 5
mov dword [rsp + 0x20], edi
test dil, 2
je 0x140003907
and edi, 0xfffffffd
mov dword [rsp + 0x20], edi
mov eax, dword [rbx]
test eax, eax
je 0x1400038f0
cmp eax, 0xffffffff
je 0x140003903
mov eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x140003903
mov edx, 2
mov r8d, 8
mov rcx, rbx
call fcn.1400affb0
mov edi, dword [rsp + 0x20]
test dil, 1
je 0x14000394c
and edi, 0xfffffffe
mov dword [rsp + 0x20], edi
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x140003937
cmp ecx, 0xffffffff
je 0x14000394c
mov rax, qword [rsp + 0x30]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14000394c
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.1400affb0
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x28]
call fcn.1400b8dd0
mov edi, eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x140003981
cmp ecx, 0xffffffff
je 0x140003996
mov rax, qword [rsp + 0x28]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140003996
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1400affb0
test edi, edi
je 0x1400039b4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1400039b8
mov edi, dword [rsp + 0x20]
jmp 0x1400038a0
mov ebp, dword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140229fa0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14002dab0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, rdx
mov rsi, rdx
call fcn.1400127e0
movsxd rbx, eax
mov rcx, rsi
shl rbx, 8
call fcn.1400125e0
movsxd rdi, eax
mov rcx, rsi
or rdi, rbx
shl rdi, 8
call fcn.1400128c0
mov rbx, qword [rsp + 0x30]
movabs r10, 0x100000001b3
mov rsi, qword [rsp + 0x38]
movabs rcx, 0xcbf29ce484222325
movsxd r9, eax
or r9, rdi
mov rax, r9
shr rax, 8
movzx r8d, al
movzx eax, r9b
xor rax, rcx
imul rax, r10
xor r8, rax
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
imul r8, r10
xor r8, rcx
movzx ecx, al
imul r8, r10
mov rax, r9
shr rax, 0x20
xor r8, rcx
movzx ecx, al
mov rax, r9
shr rax, 0x28
movzx eax, al
imul r8, r10
xor r8, rcx
mov rcx, r9
imul r8, r10
shr rcx, 0x30
xor rax, r8
shr r9, 0x38
imul rax, r10
movzx edx, cl
xor rax, rdx
imul rax, r10
xor rax, r9
imul rax, r10
add rsp, 0x20
pop rdi
ret
Function at 0x14006f5b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x14006f600
lea rdx, str.QNativeSocketEngine::bytesAvailable___was_called_on_an_uninitialized_socket_device
lea rax, [0x140265bd0]
mov qword [rsp + 0x20], 2
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
mov rax, 0xffffffffffffffff
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x68], 0
jne 0x14006f60f
lea rdx, str.QNativeSocketEngine::bytesAvailable___was_called_in_QAbstractSocket::UnconnectedState
jmp 0x14006f5cb
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp 0x1400823a0
mov r11, rsp
push rbx
push rdi
sub rsp, 0x78
xor edi, edi
lea rax, [r11 + 0x18]
mov qword [r11 - 0x48], rdi
lea r8, [r11 + 0x20]
mov qword [r11 - 0x50], rdi
mov rbx, rcx
mov rcx, qword [rcx + 0xa8]
mov r9d, 4
mov qword [r11 - 0x58], rax
mov edx, 0x4004667f
lea rax, [r11 + 0x10]
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x68], rax
mov dword [r11 + 0x10], edi
mov dword [r11 + 0x20], edi
mov dword [r11 + 0x18], edi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x14008240f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rax, 0xffffffffffffffff
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x98]
cmp eax, 1
jne 0x1400824b2
cmp dword [rbx + 0x6c], eax
jne 0x1400824b2
mov rcx, qword [rbx + 0xa8]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x54]
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8d, 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 2
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1400824ae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bc
test eax, 0xfffffffd
je 0x1400824a0
xor eax, eax
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x98]
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x54]
add rsp, 0x78
pop rdi
pop rbx
ret
Function at 0x14006fc00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x14006fc4b
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140265bd0]
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_on_an_uninitialized_socket_device
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x68], 0
jne 0x14006fc88
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140265bd0]
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_in_QAbstractSocket::UnconnectedState
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x6c], 1
je 0x14006fcc5
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140265bd0]
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_by_a_socket_other_than_QAbstractSocket::UdpSocket
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
xor al, al
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp 0x140082830
mov r11, rsp
push rbx
sub rsp, 0xa0
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, qword [rcx + 0xa8]
lea r9, [r11 - 0x4c]
xor eax, eax
mov dword [rsp + 0x54], 0x1c
xorps xmm0, xmm0
mov dword [rsp + 0x58], 2
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x28], rax
lea rdx, [r11 - 0x48]
mov dword [r11 - 0x20], eax
mov r8d, 1
lea rax, [r11 - 0x58]
mov qword [r11 - 0x40], rax
xor eax, eax
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x70], rax
mov dword [rsp + 0x5c], eax
lea rax, [r11 - 0x54]
mov qword [r11 - 0x78], rax
lea rax, [r11 - 0x38]
mov qword [r11 - 0x80], rax
lea rax, [r11 - 0x50]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 1
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp ebx, 0xffffffff
jne 0x1400828e4
cmp eax, 0x2738
je 0x1400828e4
add eax, 0xffffd8bc
test eax, 0xfffffffd
sete al
jmp 0x1400828e6
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140229fa0
add rsp, 0xa0
pop rbx
ret
Function at 0x1400709b0
Capabilities:
Set socket configuration

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400842d0
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x60
mov rdi, rcx
mov ebx, edx
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
call qword [rax + 0x70]
test al, al
je 0x140084355
test ebx, ebx
je 0x140084362
cmp ebx, 0xe
ja 0x140084305
mov eax, 0x4808
bt eax, ebx
jb 0x140084355
mov edx, dword [rdi + 0x70]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x88]
mov ecx, ebx
call fcn.140081430
mov r8d, dword [rsp + 0x70]
cmp r8d, 0xffffffff
je 0x140084355
mov edx, dword [rsp + 0x88]
lea r9, [rsp + 0x80]
mov rcx, qword [rdi + 0xa8]
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1400843c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
xor al, al
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov eax, dword [rsp + 0x80]
lea r8, [rsp + 0x88]
mov rcx, qword [rdi + 0xa8]
mov r9d, 4
mov dword [rsp + 0x88], eax
mov edx, 0x8004667e
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x14008434f
mov rbx, qword [rsp + 0x78]
mov al, 1
add rsp, 0x60
pop rdi
ret
Function at 0x140071090
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov rdi, r8
mov rbx, qword [rcx + 8]
mov rsi, rdx
call qword [rax + 0x70]
test al, al
jne 0x1400710f9
lea rdx, str.QNativeSocketEngine::write___was_called_on_an_uninitialized_socket_device
lea rax, [0x140265bd0]
mov qword [rsp + 0x20], 2
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
mov rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rbx + 0x68], 3
je 0x140071108
lea rdx, str.QNativeSocketEngine::write___was_not_called_in_QAbstractSocket::ConnectedState
jmp 0x1400710ba
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x140083c30
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14, qword [rcx + 8]
xor r13d, r13d
mov edi, r13d
mov rsi, r8
mov r15, rdx
mov rbp, rcx
mov rbx, r8
mov r12d, 0xc000
nop dword [rax + rax]
mov rcx, qword [rbp + 0xa8]
lea rax, [rdi + r15]
mov qword [rsp + 0x30], r13
lea r9, [rsp + 0x80]
mov qword [rsp + 0x28], r13
lea rdx, [rsp + 0x40]
mov r8d, 1
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x80], r13d
call qword [sym.imp.WS2_32.dll_WSASend]
mov ecx, dword [rsp + 0x80]
add rdi, rcx
cmp eax, 0xffffffff
je 0x140083cee
cmp rdi, rsi
je 0x140083ccd
cmp rbx, rcx
je 0x140083d04
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
cmp eax, 0x2733
je 0x140083ccd
cmp eax, 0x2747
jne 0x140083d16
mov rbx, rsi
sub rbx, rdi
cmp rbx, r12
cmovg rbx, r12
jmp 0x140083c70
sub ecx, 0x2745
je 0x140083d23
cmp ecx, 1
jne 0x140083ccd
mov edx, 7
mov r8d, setsockopt
mov rcx, rbp
call fcn.140070600
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0xa0]
mov rax, 0xffffffffffffffff
jmp 0x140083cd0
Function at 0x1400823a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x14006f600
lea rdx, str.QNativeSocketEngine::bytesAvailable___was_called_on_an_uninitialized_socket_device
lea rax, [0x140265bd0]
mov qword [rsp + 0x20], 2
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
mov rax, 0xffffffffffffffff
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x68], 0
jne 0x14006f60f
lea rdx, str.QNativeSocketEngine::bytesAvailable___was_called_in_QAbstractSocket::UnconnectedState
jmp 0x14006f5cb
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp 0x1400823a0
mov r11, rsp
push rbx
push rdi
sub rsp, 0x78
xor edi, edi
lea rax, [r11 + 0x18]
mov qword [r11 - 0x48], rdi
lea r8, [r11 + 0x20]
mov qword [r11 - 0x50], rdi
mov rbx, rcx
mov rcx, qword [rcx + 0xa8]
mov r9d, 4
mov qword [r11 - 0x58], rax
mov edx, 0x4004667f
lea rax, [r11 + 0x10]
mov dword [rsp + 0x28], 4
mov qword [r11 - 0x68], rax
mov dword [r11 + 0x10], edi
mov dword [r11 + 0x20], edi
mov dword [r11 + 0x18], edi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x14008240f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rax, 0xffffffffffffffff
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x98]
cmp eax, 1
jne 0x1400824b2
cmp dword [rbx + 0x6c], eax
jne 0x1400824b2
mov rcx, qword [rbx + 0xa8]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rdi
lea r9, [rsp + 0x54]
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8d, 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 2
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1400824ae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bc
test eax, 0xfffffffd
je 0x1400824a0
xor eax, eax
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x98]
add rsp, 0x78
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x54]
add rsp, 0x78
pop rdi
pop rbx
ret
Function at 0x140082830
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx]
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x14006fc4b
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140265bd0]
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_on_an_uninitialized_socket_device
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x68], 0
jne 0x14006fc88
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140265bd0]
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_in_QAbstractSocket::UnconnectedState
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
xor al, al
add rsp, 0x40
pop rbx
ret
cmp dword [rbx + 0x6c], 1
je 0x14006fcc5
xorps xmm0, xmm0
mov qword [rsp + 0x20], 2
lea rax, [0x140265bd0]
lea rdx, str.QNativeSocketEngine::hasPendingDatagrams___was_called_by_a_socket_other_than_QAbstractSocket::UdpSocket
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x28], xmm0
call fcn.1400afb60
xor al, al
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp 0x140082830
mov r11, rsp
push rbx
sub rsp, 0xa0
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, qword [rcx + 0xa8]
lea r9, [r11 - 0x4c]
xor eax, eax
mov dword [rsp + 0x54], 0x1c
xorps xmm0, xmm0
mov dword [rsp + 0x58], 2
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x28], rax
lea rdx, [r11 - 0x48]
mov dword [r11 - 0x20], eax
mov r8d, 1
lea rax, [r11 - 0x58]
mov qword [r11 - 0x40], rax
xor eax, eax
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x70], rax
mov dword [rsp + 0x5c], eax
lea rax, [r11 - 0x54]
mov qword [r11 - 0x78], rax
lea rax, [r11 - 0x38]
mov qword [r11 - 0x80], rax
lea rax, [r11 - 0x50]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x60], 1
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp ebx, 0xffffffff
jne 0x1400828e4
cmp eax, 0x2738
je 0x1400828e4
add eax, 0xffffd8bc
test eax, 0xfffffffd
sete al
jmp 0x1400828e6
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140229fa0
add rsp, 0xa0
pop rbx
ret
Function at 0x140083000
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x50
mov rcx, qword [rcx + 0xa8]
lea rax, [r11 + 0x10]
xor ebx, ebx
mov qword [r11 - 0x10], rdx
mov qword [r11 - 0x28], rbx
lea r9, [r11 + 8]
mov dword [r11 - 0x18], r8d
lea rdx, [r11 - 0x18]
mov qword [r11 - 0x30], rbx
mov r8d, 1
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x140083084
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
je 0x140083077
sub eax, 0x12
je 0x14008306e
cmp eax, 1
je 0x14008306e
mov rax, 0xffffffffffffffff
add rsp, 0x50
pop rbx
ret
mov rax, rbx
add rsp, 0x50
pop rbx
ret
mov rax, 0xfffffffffffffffe
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov rax, 0xfffffffffffffffe
je 0x14008309c
mov eax, dword [rsp + 0x60]
add rsp, 0x50
pop rbx
ret