joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a7146
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x140109fc0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, WSACleanup
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x1402837e0]
call fcn.1400a8dd4
nop
mov rax, qword [rbp + 0x2a0]
mov byte [rax], 0
lea rdx, [rbp + 0x10]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14010a030
mov rax, qword [rbp + 0x2a0]
mov byte [rax], 1
mov rax, qword [rbp + 0x2a0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret

Function at 0x1400a7191
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401ba910
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401ba930
xor al, al
jmp 0x1401ba9b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401ba943
xor al, al
jmp 0x1401ba9b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1401ba96d
xor al, al
jmp 0x1401ba9b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401ba981
xor al, al
jmp 0x1401ba9b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401ba993
xor al, al
jmp 0x1401ba9b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401ba9af
xor al, al
jmp 0x1401ba9b1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400a742f
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x1400c55c0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x198], rax
mov byte [rbp + 0x154], 0
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400a8dd4
nop
mov dword [rbp + 4], reloc.WS2_32.dll_recv
mov dword [rbp + 0x24], 0
cmp qword [rbp + 0x1c8], 0
je 0x1400c5645
lea rax, [rbp + 4]
mov qword [rbp + 0x188], rax
jmp 0x1400c5650
mov qword [rbp + 0x188], 0
cmp qword [rbp + 0x1c8], 0
je 0x1400c566e
mov byte [rbp + 0x154], 1
lea rax, [rbp + 0x68]
mov qword [rbp + 0x190], rax
jmp 0x1400c5679
mov qword [rbp + 0x190], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x1d8]
mov rdx, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1400c5701
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0x184], eax
cmp dword [rbp + 0x184], 0x2733
je 0x1400c56f6
cmp dword [rbp + 0x184], 0x2746
je 0x1400c56f6
jmp 0x1400c56fa
xor eax, eax
jmp 0x1400c5758
mov eax, 0xffffffff
jmp 0x1400c5758
mov eax, dword [rbp + 0x24]
and eax, 0x8000
test eax, eax
je 0x1400c5714
mov eax, 0xffffffff
jmp 0x1400c5758
cmp qword [rbp + 0x1c8], 0
je 0x1400c5755
mov rax, qword [rbp + 0x1c8]
mov ecx, dword [rbp + 0x6c]
mov dword [rax], ecx
cmp byte [rbp + 0x154], 0
jne 0x1400c5740
lea rcx, [0x140201b60]
call fcn.1400a3f00
nop
movzx ecx, word [rbp + 0x6a]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rbp + 0x1c8]
mov word [rcx + 4], ax
mov eax, dword [rbp + 0x44]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.WS2_32.dll_connect
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x1400a751f
Capabilities:
Resolve dns

Disassembly:
jmp 0x1400c49a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400a8dd4
nop
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400c49ea
mov rax, qword [rbp + 8]
movsx eax, word [rax + 0x10]
cmp eax, 2
je 0x1400c49ff
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call fcn.1400a59ae
jmp 0x1400c4a21
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 8]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rax + rcx]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rax]
mov dword [rcx], eax
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400a7664
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x14015ef60
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x140283783]
call fcn.1400a8dd4
nop
mov r8, qword [rbp + 0x158]
xor edx, edx
mov rcx, qword [rbp + 0x140]
call fcn.1400a5328
nop
xor r9d, r9d
mov r8d, dword [rbp + 0x150]
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
jne 0x14015f002
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14015f002
xor r9d, r9d
mov r8d, dword [rbp + 0x150]
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 4], eax
jmp 0x14015efc9
cmp dword [rbp + 4], 0xffffffff
jne 0x14015f04d
call fcn.1400a97bb
mov qword [rbp + 0x118], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_read_data
mov rcx, qword [rbp + 0x118]
mov r8, rcx
mov edx, eax
lea rcx, [rbp + 0xe8]
call fcn.1400a77e0
lea rdx, [0x140256708]
lea rcx, [rbp + 0xe8]
call fcn.1400a96e9
nop
movsxd rax, dword [rbp + 4]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400a791b
Capabilities:
Connect socket
Set socket configuration

Disassembly:
jmp 0x14011b3a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x1402837e0]
call fcn.1400a8dd4
nop
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
call fcn.1400a4572
movzx eax, al
mov dl, 1
mov rcx, qword [rbp + 0x158]
call fcn.1400a7f10
nop
mov rax, qword [rbp + 0x160]
mov r8d, dword [rax + 0x10]
mov rax, qword [rbp + 0x160]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14011b4b1
call fcn.1400a5f03
movzx eax, al
test eax, eax
je 0x14011b465
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 8]
mov dword [rax], 2
xor al, al
jmp 0x14011b59f
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x10]
mov r8, qword [rax]
mov rdx, qword [rcx]
mov rcx, qword [rbp + 0x158]
call fcn.1400a8f05
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 8]
mov dword [rcx], eax
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 8]
cmp dword [rax], 0
je 0x14011b4b1
xor al, al
jmp 0x14011b59f
xor edx, edx
mov rcx, qword [rbp + 0x158]
call fcn.1400a7f10
nop
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 0x20]
imul rax, qword [rax], 0x3e8
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x118]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x24], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x24]
mov r8d, 0x1006
mov edx, 0xffff
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 0x30]
imul rax, qword [rax], 0x3e8
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x118]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x44], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x44]
mov r8d, 0x1005
mov edx, 0xffff
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 8]
mov dword [rax], 0
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400a8780
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140155440
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1402836b4]
call fcn.1400a8dd4
nop
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x14015548a
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
jmp 0x1401554d1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xf0]
movsx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0xf8]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rbp + 0xf0]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.1400a8780
mov dword [rbp + 0xc0], eax
mov eax, dword [rbp + 0xc0]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x1400a8974
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1400c4cd0
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400a8dd4
nop
mov eax, 0x101
mov word [rbp + 4], ax
lea rdx, [rbp + 0x30]
movzx ecx, word [rbp + 4]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400c4d30
mov eax, 0xffffffff
jmp 0x1400c4d74
movzx eax, word [rbp + 0x30]
and rax, 0xff
movzx eax, al
cmp eax, 1
jne 0x1400c4d58
movzx eax, word [rbp + 0x30]
shr rax, 8
and rax, 0xff
movzx eax, al
cmp eax, 1
je 0x1400c4d66
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov eax, 0xffffffff
jmp 0x1400c4d74
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret
Function at 0x1400a8a41
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x140164c90
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x140283783]
call fcn.1400a8dd4
nop
mov r8, qword [rbp + 0x158]
mov edx, 1
mov rcx, qword [rbp + 0x140]
call fcn.1400a5328
nop
xor r9d, r9d
mov r8d, dword [rbp + 0x150]
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
jne 0x140164d35
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140164d35
xor r9d, r9d
mov r8d, dword [rbp + 0x150]
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 4], eax
jmp 0x140164cfc
cmp dword [rbp + 4], 0xffffffff
jne 0x140164d80
call fcn.1400a97bb
mov qword [rbp + 0x118], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_send_data
mov rcx, qword [rbp + 0x118]
mov r8, rcx
mov edx, eax
lea rcx, [rbp + 0xe8]
call fcn.1400a77e0
lea rdx, [0x140256708]
lea rcx, [rbp + 0xe8]
call fcn.1400a96e9
nop
movsxd rax, dword [rbp + 4]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400a8c85
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401935d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x140283b89]
call fcn.1400a8dd4
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140193637
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14019363e
mov al, 1
jmp 0x14019378e
call fcn.1400a4a13
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.1400a4a13
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1400a7a60
movzx eax, al
test eax, eax
je 0x14019368f
xor al, al
jmp 0x14019378e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x1401936f4
cmp dword [rbp + 0x154], 1
je 0x1401936ff
cmp dword [rbp + 0x154], 3
je 0x14019377d
jmp 0x14019378c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14019374f
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14019374f
xor al, al
jmp 0x14019378e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14019376a
mov dword [rbp + 0x154], 1
jmp 0x140193774
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14019378e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14019378e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1400a8e56
Capabilities:
Connect socket

Disassembly:
jmp 0x140148530
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x200], rax
lea rcx, [0x140283783]
call fcn.1400a8dd4
nop
mov r8d, dword [rbp + 0x240]
mov rdx, qword [rbp + 0x238]
mov rax, qword [rbp + 0x230]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
jne 0x1401485e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x1401485e0
mov r8d, dword [rbp + 0x240]
mov rdx, qword [rbp + 0x238]
mov rax, qword [rbp + 0x230]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rbp + 4], eax
jmp 0x1401485aa
cmp dword [rbp + 4], 0xffffffff
jne 0x140148720
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1401486db
mov r8, qword [rbp + 0x248]
mov edx, 1
mov rcx, qword [rbp + 0x230]
call fcn.1400a5328
nop
mov dword [rbp + 0x44], 4
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x24]
mov r8d, 0x1007
mov edx, 0xffff
mov rax, qword [rbp + 0x230]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
jne 0x14014868d
call fcn.1400a97bb
mov qword [rbp + 0x1f8], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_get_socket_option
mov rcx, qword [rbp + 0x1f8]
mov r8, rcx
mov edx, eax
lea rcx, [rbp + 0x148]
call fcn.1400a77e0
lea rdx, [0x140256708]
lea rcx, [rbp + 0x148]
call fcn.1400a96e9
nop
mov r8d, 4
lea rdx, [rbp + 0x24]
lea rcx, [rbp + 0x64]
call fcn.1400a5daa
nop
cmp dword [rbp + 0x64], 0
je 0x1401486d9
call fcn.1400a97bb
lea r9, str.Failed_to_connect
mov r8, rax
mov edx, dword [rbp + 0x64]
lea rcx, [rbp + 0x188]
call fcn.1400a77e0
lea rdx, [0x140256708]
lea rcx, [rbp + 0x188]
call fcn.1400a96e9
nop
jmp 0x140148720
call fcn.1400a97bb
mov qword [rbp + 0x1f8], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_connect
mov rcx, qword [rbp + 0x1f8]
mov r8, rcx
mov edx, eax
lea rcx, [rbp + 0x1c8]
call fcn.1400a77e0
lea rdx, [0x140256708]
lea rcx, [rbp + 0x1c8]
call fcn.1400a96e9
nop
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1400a7dda
mov rcx, qword [rbp + 0x200]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret
Function at 0x1400a9112
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x1400c5800
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400a8dd4
nop
cmp qword [rbp + 0x148], 0
je 0x1400c589f
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
lea rcx, [rbp + 8]
call fcn.1400a76c8
nop
mov eax, 2
mov word [rbp + 8], ax
mov rax, qword [rbp + 0x148]
movzx ecx, word [rax + 4]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xa], ax
mov rax, qword [rbp + 0x148]
mov eax, dword [rax]
mov dword [rbp + 0xc], eax
cmp qword [rbp + 0x148], 0
je 0x1400c58b6
mov qword [rbp + reloc.WS2_32.dll_recv8], 0x10
jmp 0x1400c58c1
mov qword [rbp + 0x108], 0
cmp qword [rbp + 0x148], 0
je 0x1400c58d8
lea rax, [rbp + 8]
mov qword [rbp + 0x110], rax
jmp 0x1400c58e3
mov qword [rbp + 0x110], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r9, [rbp + 0x34]
mov r8d, dword [rbp + 0x158]
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x1400c594f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400c5948
xor eax, eax
jmp 0x1400c5952
mov eax, 0xffffffff
jmp 0x1400c5952
mov eax, dword [rbp + 0x34]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400a9180
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x1400c52e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_shutdown
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400a8dd4
nop
mov dword [rbp + 0x34], reloc.WS2_32.dll_recv
lea r8, [rbp + 0x34]
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1400c5357
mov eax, 0xffffffff
jmp 0x1400c537a
mov rax, qword [rbp + 0x138]
mov ecx, dword [rbp + 0xc]
mov dword [rax], ecx
movzx ecx, word [rbp + 0xa]
call qword [sym.imp.WS2_32.dll_ntohs]
mov rcx, qword [rbp + 0x138]
mov word [rcx + 4], ax
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1400a921b
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14011bfa0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1402837e0]
call fcn.1400a8dd4
nop
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 8]
mov r8, qword [rbp + 0xf0]
mov r8, qword [r8]
mov qword [rbp + 0xc0], r8
mov r9d, dword [rax]
mov r8d, dword [rcx]
mov rdx, qword [rdx]
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_send]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x1400a9301
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x14019bc80
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
mov rax, qword [0x1402571c0]
xor rax, rbp
mov qword [rbp + 0x200], rax
lea rcx, [0x140283beb]
call fcn.1400a8dd4
nop
mov rax, qword [rbp + 0x230]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x230]
call qword [rax + reloc.WS2_32.dll_htonl]
movzx eax, al
test eax, eax
jne 0x14019bcfe
mov eax, 0xffffffff
jmp 0x14019be1c
lea rax, [rbp + 0x188]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x230]
add rax, 0x3e0
mov rdx, rax
mov rcx, qword [rbp + 0x1e8]
call fcn.1400a33fc
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x248]
mov r8d, dword [rbp + 0x240]
mov rdx, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x230]
call fcn.1400a6101
mov rcx, qword [rbp + 0x230]
add rcx, 0x48
mov rdx, rax
call fcn.1400a88ed
nop
mov rax, qword [rbp + 0x230]
add rax, 0x48
mov rcx, rax
call fcn.1400a6e58
cmp rax, 0xffffffffffffffff
jne 0x14019bd93
mov eax, 0xffffffff
jmp 0x14019be1c
cmp dword [rbp + 0x240], 0
jne 0x14019be16
mov dword [rbp + 0xa4], 0x80
mov rax, qword [rbp + 0x230]
add rax, 0x48
mov rcx, rax
call fcn.1400a6e58
lea r8, [rbp + 0xa4]
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x14019bdd9
mov eax, 0xffffffff
jmp 0x14019be1c
movzx eax, word [rbp + 0x10]
cmp eax, 2
jne 0x14019bdf3
movzx ecx, word [rbp + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
jmp 0x14019be1c
movzx eax, word [rbp + 0x10]
cmp eax, 0x17
jne 0x14019be0d
movzx ecx, word [rbp + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
jmp 0x14019be1c
mov eax, 0xffffffff
jmp 0x14019be1c
mov eax, dword [rbp + 0x240]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400a7dda
mov rax, rdi
mov rcx, qword [rbp + 0x200]
xor rcx, rbp
call fcn.1400a5d78
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret
Function at 0x1400ba540
Capabilities:
Hash data using crc32b

Disassembly:
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400a8dd4
nop
mov dword [rbp + 4], 0
jmp 0x1400ba56d
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x100
jge 0x1400ba5e2
mov edx, 8
mov ecx, dword [rbp + 4]
call fcn.1400ba630
shl eax, 0x18
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x44], 0
jmp 0x1400ba59a
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 8
jge 0x1400ba5c5
mov eax, dword [rbp + 0x24]
and eax, 0x80000000
test eax, eax
je 0x1400ba5bb
mov eax, dword [rbp + 0x24]
shl eax, 1
xor eax, 0x4c11db7
mov dword [rbp + 0x24], eax
jmp 0x1400ba5c3
mov eax, dword [rbp + 0x24]
shl eax, 1
mov dword [rbp + 0x24], eax
jmp 0x1400ba592
mov edx, 0x20
mov ecx, dword [rbp + 0x24]
call fcn.1400ba630
movsxd rcx, dword [rbp + 4]
lea rdx, [0x140261a70]
mov dword [rdx + rcx*4], eax
jmp 0x1400ba565
mov dword [0x140261a60], 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret