joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032780
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x110
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x20], rdx
mov rbx, rdx
mov rcx, qword [rcx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x14003280c
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400327e3
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.140028e10
jmp 0x1400327f0
call fcn.140033940
mov rcx, rbx
call fcn.140028ec0
mov rax, rbx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x110
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x30]
call fcn.14003bc64
int3

Function at 0x140032830
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x10]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
mov dword [rsp + 0x30], 0
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x140032859
call fcn.140033940
mov eax, dword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140032cc0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x140032d01
mov rbx, qword [rcx]
mov rcx, rdx
call fcn.140029120
mov edx, eax
mov rcx, rsi
call qword [rbx + 0x148]
mov rcx, rdi
call fcn.1400295e0
mov ebx, eax
mov rcx, rdi
call fcn.140029080
mov rdx, rax
mov r8d, ebx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140032d8e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140032d01
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140029730
nop
mov rdx, rax
mov ecx, ebx
call fcn.140033130
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140032d8e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032d89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032dab
call fcn.140039d90
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140039d70
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.14004979c
int3
Function at 0x140032dc0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x140032e0d
mov rbx, qword [rcx]
mov rcx, rdx
call fcn.140029120
mov edx, eax
mov rcx, rdi
call qword [rbx + 0x148]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x130]
nop
mov rcx, rsi
call fcn.1400295e0
mov ebx, eax
mov rcx, rsi
call fcn.140029080
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x140032f0c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea ecx, [rax - 0x2733]
cmp ecx, 1
jbe 0x140032eaf
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140029730
nop
mov rdx, rax
mov ecx, ebx
call fcn.140033130
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140032eaf
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032eaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032f3e
call fcn.140039d90
mov rax, qword [rdi]
mov r8d, 7
mov rdx, r14
mov rcx, rdi
call qword [rax + 0xc8]
test al, al
je 0x140032f44
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 4
mov rax, qword [rdi]
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1007
mov rcx, rdi
call qword [rax + 0x128]
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x140032f0c
call fcn.1400330a0
nop
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0x130]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140039d70
mov rbx, qword [rsp + 0x118]
add rsp, 0xe0
pop r14
pop rdi
pop rsi
ret
call fcn.14004979c
nop
lea rdx, str.connect_timed_out
lea rcx, [rsp + 0x40]
call fcn.1400085d0
nop
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140029730
nop
xor r9d, r9d
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.140015870
lea rdx, [0x1400dcc90]
lea rcx, [rsp + 0x80]
call fcn.14003bc64
int3
Function at 0x140032fa0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x140032fe1
mov rbx, qword [rcx]
mov rcx, rdx
call fcn.140029120
mov edx, eax
mov rcx, rdi
call qword [rbx + 0x148]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x130]
mov rcx, rsi
call fcn.1400295e0
mov ebx, eax
mov rcx, rsi
call fcn.140029080
mov rdx, rax
mov r8d, ebx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14003307a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea edx, [rax - 0x2733]
cmp edx, 1
jbe 0x14003307a
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140029730
nop
mov rdx, rax
mov ecx, ebx
call fcn.140033130
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003307a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033075
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033097
call fcn.140039d90
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140039d70
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.14004979c
int3

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [rcx]
mov ebp, r8d
mov rdi, rdx
xor esi, esi
mov rdx, r9
mov rbx, rcx
lea r8d, [rsi + 1]
call qword [rax + 0xc8]
test al, al
je 0x140033f7c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xc0]
movsxd rdx, eax
cmp qword [rdi + 8], rdx
jae 0x140033f10
mov r8b, 1
mov rcx, rdi
call fcn.140029c30
nop
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x140033f97
mov r8d, dword [rdi + 8]
mov r9d, ebp
mov rdx, qword [rdi + 0x10]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
test eax, eax
jns 0x140033f68
cmp byte [rbx + 0x28], 0
je 0x140033f45
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140033f10
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140033f5a
cmp byte [rbx + 0x28], 0
jne 0x140033fb5
jmp 0x140033f68
cmp eax, 0x274c
je 0x140033fb5
mov ecx, eax
call fcn.1400330a0
mov rdx, rsi
cmp rsi, qword [rdi + 8]
jae 0x140033f7c
mov r8b, 1
mov rcx, rdi
call fcn.140029c30
mov eax, esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x20]
call fcn.14003bc64
int3
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400158a0
lea rdx, [0x1400dcc90]
lea rcx, [rsp + 0x20]
call fcn.14003bc64
int3
Function at 0x140033fe0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rdx
mov ebp, r8d
mov edx, 1
mov rdi, rcx
call fcn.140032b60
xor r14d, r14d
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x1400340dd
mov rdx, qword [rsi]
lea r8, [rsp + 0x44]
mov rax, qword [rsi + 8]
lea r9, [rsp + 0x40]
sub rax, rdx
mov qword [rsp + 0x30], r14
sar rax, 4
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r8
mov r8d, eax
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], ebp
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x140034071
call fcn.140033940
cmp byte [rdi + 0x28], r14b
je 0x14003408b
cmp dword [rsp + 0x40], r14d
jge 0x1400340b5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140034020
cmp dword [rsp + 0x40], r14d
jge 0x1400340b5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400340a7
cmp byte [rdi + 0x28], r14b
jne 0x1400340fb
jmp 0x1400340b5
cmp eax, 0x274c
je 0x1400340fb
mov ecx, eax
call fcn.1400330a0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140039d70
mov rbp, qword [rsp + 0xe8]
add rsp, 0xb0
pop r14
pop rdi
pop rsi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x50]
call fcn.14003bc64
int3
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400158a0
lea rdx, [0x1400dcc90]
lea rcx, [rsp + 0x50]
call fcn.14003bc64
int3

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

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x88
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rdx
mov r14d, r9d
mov edx, 1
mov ebp, r8d
mov rbx, rcx
call fcn.140032b60
mov qword [rsp + 0x80], rdi
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x1400341d9
mov r9d, r14d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jns 0x1400341b5
cmp byte [rbx + 0x28], 0
je 0x140034192
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140034160
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400341a7
cmp byte [rbx + 0x28], 0
jne 0x1400341f7
jmp 0x1400341b5
cmp eax, 0x274c
je 0x1400341f7
mov ecx, eax
call fcn.1400330a0
mov eax, edi
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x88
pop r14
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x20]
call fcn.14003bc64
int3
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400158a0
lea rdx, [0x1400dcc90]
lea rcx, [rsp + 0x20]
call fcn.14003bc64
int3
Function at 0x140034220
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x148
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov ebp, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x54], 0x80
mov edx, 1
call fcn.140032b60
xor r15d, r15d
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x140034376
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x58], ebp
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rdx
sar rax, 4
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x54]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0xb0]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x50]
mov r8d, eax
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1400342d8
call fcn.140033940
mov ebx, dword [rsp + 0x50]
cmp byte [rdi + 0x28], r15b
je 0x1400342f7
test ebx, ebx
jns 0x140034326
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140034270
test ebx, ebx
jns 0x140034326
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140034314
cmp byte [rdi + 0x28], r15b
jne 0x140034394
jmp 0x140034322
cmp eax, 0x274c
je 0x140034394
mov ecx, eax
call fcn.1400330a0
test ebx, ebx
js 0x140034354
mov r8d, dword [rsp + 0x54]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x58]
call fcn.140028e10
nop
mov rdx, rax
mov rcx, r14
call fcn.140028f80
nop
lea rcx, [rsp + 0x58]
call fcn.140028390
mov eax, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x148
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x60]
call fcn.14003bc64
int3
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400158a0
lea rdx, [0x1400dcc90]
lea rcx, [rsp + 0x60]
call fcn.14003bc64
int3
Function at 0x1400343c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x128
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r15, r9
mov ebp, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x30], 0x80
mov edx, 1
call fcn.140032b60
mov r14d, dword [rsp + 0x180]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x1400344d6
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
test eax, eax
jns 0x140034486
cmp byte [rbx + 0x28], 0
je 0x14003445d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140034410
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140034476
cmp byte [rbx + 0x28], 0
jne 0x1400344f4
jmp 0x1400344b4
cmp eax, 0x274c
je 0x1400344f4
mov ecx, eax
call fcn.1400330a0
jmp 0x1400344b4
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.140028e10
nop
mov rdx, rax
mov rcx, r15
call fcn.140028f80
nop
lea rcx, [rsp + 0x38]
call fcn.140028390
mov eax, edi
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x128
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x40]
call fcn.14003bc64
int3
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400158a0
lea rdx, [0x1400dcc90]
lea rcx, [rsp + 0x40]
call fcn.14003bc64
int3

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

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rdx
mov ebp, r8d
mov edx, 2
mov rdi, rcx
call fcn.140032b60
xor r14d, r14d
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x1400345f2
mov rdx, qword [rsi]
lea r9, [rsp + 0x40]
mov r8, qword [rsi + 8]
sub r8, rdx
mov qword [rsp + 0x30], r14
sar r8, 4
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1400345a4
call fcn.140033940
cmp byte [rdi + 0x28], r14b
je 0x1400345be
cmp dword [rsp + 0x40], r14d
jge 0x1400345ca
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140034560
cmp dword [rsp + 0x40], r14d
jge 0x1400345ca
call fcn.140033940
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140039d70
mov rbp, qword [rsp + 0xe8]
add rsp, 0xb0
pop r14
pop rdi
pop rsi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x50]
call fcn.14003bc64
int3
Function at 0x140034610
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x88
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rdx
mov r14d, r9d
mov edx, 2
mov ebp, r8d
mov rbx, rcx
call fcn.140032b60
mov qword [rsp + 0x80], rdi
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x1400346ab
mov r9d, r14d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov edi, eax
test eax, eax
jns 0x140034687
cmp byte [rbx + 0x28], 0
je 0x140034682
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140034650
call fcn.140033940
mov eax, edi
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x88
pop r14
pop rsi
pop rbp
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x20]
call fcn.14003bc64
int3

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r12d, r9d
mov rbp, r8
mov r15, rdx
mov r14, rcx
xor r13d, r13d
cmp qword [r14 + 0x10], 0xffffffffffffffff
jne 0x14003471f
mov rbx, qword [r14]
mov rcx, rbp
call fcn.140029120
mov edx, eax
mov rcx, r14
call qword [rbx + 0x148]
mov dword [rsp + 0x50], r13d
mov rsi, qword [r15]
mov rdi, qword [r15 + 8]
sub rdi, rsi
sar rdi, 4
mov rcx, rbp
call fcn.1400295e0
mov ebx, eax
mov rcx, rbp
call fcn.140029080
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x50]
mov r8d, edi
mov rdx, rsi
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x1400347da
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
lea rdx, [rsp + 0x58]
mov ecx, eax
call fcn.140033130
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400347da
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400347d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034826
call fcn.140039d90
mov ebx, dword [rsp + 0x50]
cmp byte [r14 + 0x28], 0
je 0x1400347fa
test ebx, ebx
jns 0x140034803
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140034702
test ebx, ebx
jns 0x140034803
call fcn.140033940
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14004979c
int3
Function at 0x140034830
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15d, dword [rsp + 0x70]
mov rsi, r9
mov ebp, r8d
mov r14, rdx
mov rbx, rcx
nop dword [rax]
cmp qword [rbx + 0x10], 0xffffffffffffffff
jne 0x14003487d
mov rdi, qword [rbx]
mov rcx, rsi
call fcn.140029120
mov edx, eax
mov rcx, rbx
call qword [rdi + 0x148]
mov rcx, rsi
call fcn.1400295e0
mov rcx, rsi
mov edi, eax
call fcn.140029080
mov rcx, qword [rbx + 0x10]
mov r9d, r15d
mov r8d, ebp
mov dword [rsp + 0x28], edi
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
cmp byte [rbx + 0x28], 0
mov edi, eax
je 0x1400348c4
test eax, eax
jns 0x1400348cf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140034860
test edi, edi
jns 0x1400348cd
call fcn.140033940
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

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

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rcx, qword [rcx + 0x10]
mov byte [rsp + 0x20], dl
cmp rcx, 0xffffffffffffffff
je 0x14003494c
mov r9d, 1
lea rdx, [rsp + 0x20]
mov r8d, r9d
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140034934
call fcn.140033940
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x98
ret
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x30]
call fcn.14003bc64
int3

Function at 0x140034970
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ebx, dl
lea r8, [rsp + 0x38]
mov eax, ebx
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
xor eax, 1
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x1400349a6
call fcn.140033940
mov byte [rdi + 0x28], bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400349f0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rcx, qword [rcx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x140034a46
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140034a2e
call fcn.140033940
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x98
ret
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140024530
lea rdx, [0x1400dd420]
lea rcx, [rsp + 0x30]
call fcn.14003bc64
int3
Function at 0x14003aa84
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x14003aace
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003aace
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003aace
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003aace
cmp dword [rcx + 0x84], 0xe
jbe 0x14003aace
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003aad0
xor al, al
add rsp, 0x28
ret

Function at 0x140050e0c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140050c38
Function at 0x140066020
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.140065e00
nop
lea rax, vtable.Poco::MD5Engine.0
mov qword [rbx], rax
lea rcx, [rbx + 0x60]
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea edx, [rdi + 0x10]
call fcn.140065e50
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 8], xmm0
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x18], rdi
mov dword [rbx + 8], 0x67452301
mov dword [rbx + 0xc], 0xefcdab89
mov dword [rbx + 0x10], 0x98badcfe
mov dword [rbx + 0x14], 0x10325476
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400660b0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xorps xmm0, xmm0
lea rax, vtable.Poco::MD5Engine.0
mov qword [rcx], rax
xor edi, edi
movups xmmword [rcx + 0x20], xmm0
mov rbx, rcx
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
mov qword [rcx + 0x18], rdi
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov rcx, qword [rcx + 0x60]
test rcx, rcx
je 0x14006613e
mov rdx, qword [rbx + 0x70]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14006612d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140066150
mov rcx, r8
call fcn.140039d90
mov qword [rbx + 0x60], rdi
mov qword [rbx + 0x68], rdi
mov qword [rbx + 0x70], rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140065e10
call fcn.14004979c
int3

Function at 0x140067da0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.140065e00
nop
lea rax, vtable.Poco::MD4Engine.0
mov qword [rbx], rax
lea rcx, [rbx + 0x60]
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea edx, [rdi + 0x10]
call fcn.140065e50
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 8], xmm0
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x18], rdi
mov dword [rbx + 8], 0x67452301
mov dword [rbx + 0xc], 0xefcdab89
mov dword [rbx + 0x10], 0x98badcfe
mov dword [rbx + 0x14], 0x10325476
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret