joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007da80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd r9, r8d
lea rbx, [rdx + 0x230]
mov rax, r9
mov rbp, rcx
shl rax, 5
add rbx, rax
mov rax, qword [rdx + 0x3e0]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x14007db6d
lea rax, [0x14007d4c0]
cmp qword [rdx + r9*8 + 0x210], rax
jne 0x14007db6d
cmp qword [rbx], 0
je 0x14007daeb
test rdi, rdi
je 0x14007db6d
mov rsi, qword [rdx + r9*8 + 0x1e8]
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor r9d, r9d
mov rcx, rsi
call fcn.14008d260
cmp eax, 0xffffffff
je 0x14007db6d
test al, 1
je 0x14007db6d
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14007db4c
mov eax, dword [rbp + 0x724]
add eax, eax
movsxd rcx, eax
mov qword [rbx + 8], rcx
call qword [section..data]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x14007db3e
lea eax, [rcx + 0x1b]
jmp 0x14007db6f
mov rdi, qword [rbx + 8]
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x14007db6d
add qword [rbx + 0x10], rcx
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x278], 0
jne 0x14007dd6a
mov rcx, qword [rcx + 0x1e8]
cmp rcx, 0xffffffffffffffff
je 0x14007dd6a
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x14007dd6a
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x14007df90
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], pe_nt_image_headers64
mov rax, rdx
mov rbx, r8
mov rsi, rcx
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, r9
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14007e035
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.14006b6b0
mov r8d, ebx
lea rdx, str.getsockname___failed_with_errno__d:__s
jmp 0x14007e07b
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.14007db90
test al, al
jne 0x14007e086
call fcn.140161540
mov ebx, dword [rax]
call fcn.140161540
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.14006b6b0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14007d230
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140149a30
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14007f600
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor esi, esi
mov dword [rsp + 0x20], 4
mov eax, esi
lea r9, [rsp + 0x50]
cmp byte [rcx + 0xb2b], al
mov rdi, rdx
mov rbx, rcx
mov edx, 0xffff
setne al
lea r8d, [rsi + 8]
mov rcx, rdi
mov dword [rsp + 0x50], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x14007f66f
mov r8, rdi
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__d
mov rcx, rbx
call fcn.14007d310
jmp 0x14007f6fe
mov ecx, dword [rbx + 0xa8c]
mov dword [rsp + 0x58], 1
call fcn.14007f930
imul ecx, eax, 0x3e8
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x5c], ecx
mov ecx, dword [rbx + 0xa90]
call fcn.14007f930
imul ecx, eax, 0x3e8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rsi
mov r9d, reloc.WS2_32.dll_inet_ntoa
mov qword [rsp + 0x30], rax
mov edx, 0x98000004
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x60], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x14007f6fe
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, edi
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d
mov r9d, eax
mov rcx, rbx
call fcn.14007d310
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140149a30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14007f720
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, rdx
mov dword [rsp + 0x30], 1
mov edx, 6
mov dword [rsp + 0x20], 4
mov rbx, rcx
lea r9, [rsp + 0x30]
mov rcx, rax
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x14007f796
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.14006b6b0
mov r8, rax
lea rdx, str.Could_not_set_TCP_NODELAY:__s
mov rcx, rbx
call fcn.14007d310
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140149a30
add rsp, 0x150
pop rbx
ret
Function at 0x14007fde0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
test cl, 2
je 0x14007fe46
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14007fe29
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x14007fe23
shr ax, 8
cmp al, 2
je 0x14007fe46
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140149a30
add rsp, 0x1d8
ret
lea rcx, str.iphlpapi.dll
call fcn.14007fc40
mov qword [0x1401e27c8], rax
test rax, rax
je 0x14007fe83
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401e27c0]
test rax, rax
cmovne rcx, rax
mov qword [0x1401e27c0], rcx
xor edx, edx
lea r9d, [rdx + 3]
lea r8d, [rdx + 2]
lea ecx, [rdx + 6]
call fcn.1400a7740
test al, al
lea rcx, [0x1401e5d38]
setne byte [0x1401e5d30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140149a30
add rsp, 0x1d8
ret
Function at 0x14008d420
Capabilities:
Get socket status

Disassembly:
push rdi
sub rsp, 0x30
mov r11, qword [rsp + 0x60]
mov r10, rdx
mov rdi, rcx
test rdx, rdx
je 0x14008d43b
cmp dword [rdx], 0
jne 0x14008d459
test r8, r8
je 0x14008d446
cmp dword [r8], 0
jne 0x14008d459
test r9, r9
je 0x14008d501
cmp dword [r9], 0
je 0x14008d501
mov qword [rsp + 0x40], rbx
lea rbx, [rsp + 0x48]
test r11, r11
jns 0x14008d46c
xor ebx, ebx
jmp 0x14008d4bb
jle 0x14008d4b2
mov rcx, r11
movabs rax, 0x624dd2f1a9fbe77
mul r11
sub rcx, rdx
shr rcx, 1
add rcx, rdx
mov edx, 0x7fffffff
shr rcx, 9
imul rax, rcx, 0x3e8
sub r11, rax
imul rax, r11, 0x3e8
cmp rcx, rdx
mov dword [rsp + 0x4c], eax
cmovg rcx, rdx
mov dword [rsp + 0x48], ecx
jmp 0x14008d4bb
mov qword [rsp + 0x48], 0
test r9, r9
je 0x14008d4c6
cmp dword [r9], 0
jne 0x14008d4c9
xor r9d, r9d
test r8, r8
je 0x14008d4d4
cmp dword [r8], 0
jne 0x14008d4d7
xor r8d, r8d
test r10, r10
je 0x14008d4e2
cmp dword [r10], 0
jne 0x14008d4e5
xor r10d, r10d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rbx
mov rdx, r10
call qword [sym.imp.WS2_32.dll_select]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, r11
call fcn.14008d3d0
add rsp, 0x30
pop rdi
ret
Function at 0x140090570
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.1400835a0
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.14008f710
mov rcx, rdi
mov rsi, rax
call fcn.14008f710
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140090620
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1400835a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140083630
cmp rax, 0x3e8
ja 0x140090651
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400905d0
test rsi, rsi
je 0x14009062d
mov rcx, rsi
call fcn.140152a38
test rbx, rbx
je 0x14009063a
mov rcx, rbx
call fcn.140152a38
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x14009065e
mov rcx, rsi
call fcn.140152a38
test rbx, rbx
je 0x14009066b
mov rcx, rbx
call fcn.140152a38
mov eax, 1
jmp 0x14009063c
Function at 0x140090680
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rbp - 8], rax
mov edx, 1
mov dword [rbp - 0x40], reloc.WS2_32.dll_recv
mov esi, 2
mov dword [rbp - 0x3c], 1
mov ecx, esi
mov rdi, r9
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400906d2
jmp 0x14009089b
mov qword [rsp + 0x90], r14
mov ecx, 0x7f000001
xor r14d, r14d
mov word [rbp - 0x38], si
mov qword [rbp - 0x30], r14
call qword [sym.imp.WS2_32.dll_htonl]
lea r9, [rbp - 0x3c]
mov word [rbp - 0x36], r14w
mov edx, 0xffff
mov dword [rbp - 0x34], eax
lea r8d, [r14 + 4]
mov qword [rdi + 8], 0xffffffffffffffff
mov rcx, rbx
mov qword [rdi], 0xffffffffffffffff
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140090872
lea r8d, [r14 + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x38]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x140090872
lea r8, [rbp - 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x38]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140090872
cmp dword [rbp - 0x40], 0x10
jl 0x140090872
lea edx, [r14 + 1]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x140090872
xor r8d, r8d
lea edx, [r14 + 1]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x140090872
lea r8d, [r14 + 0x10]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140090872
lea edx, [r14 + 1]
mov rcx, rbx
call fcn.1400a7000
test eax, eax
js 0x140090872
lea edx, [r14 + 1]
mov qword [rbp - 0x18], rbx
mov r8d, 0x2710
mov dword [rbp - 0x10], 0x300
lea rcx, [rbp - 0x18]
call fcn.14008cf30
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x140090872
mov rcx, qword [rdi]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x40], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140090872
cmp dword [rbp - 0x40], 0x10
jl 0x140090872
mov rcx, qword [rdi + 8]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov dword [rbp - 0x40], reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x140090872
cmp dword [rbp - 0x40], 0x10
jl 0x140090872
movzx eax, word [rbp - 0x28]
cmp word [rbp - 0x38], ax
jne 0x140090872
mov eax, dword [rbp - 0x24]
cmp dword [rbp - 0x34], eax
jne 0x140090872
movzx eax, word [rbp - 0x26]
cmp word [rbp - 0x36], ax
jne 0x140090872
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x140090893
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0xffffffff
mov r14, qword [rsp + 0x90]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140149a30
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400908f0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor ebp, ebp
mov qword [r9], rbp
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x140090a79
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x140090a5e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14009095e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140090950
inc rbx
jmp 0x140090960
xor ebx, ebx
mov eax, dword [rdi + 4]
cmp eax, 2
jne 0x14009096e
lea r14d, [rax + 0xe]
jmp 0x14009097b
cmp eax, 0x17
jne 0x140090a14
lea r14d, [rax + 5]
cmp qword [rdi + 0x20], 0
je 0x140090a14
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140090a14
cmp rax, r14
jb 0x140090a14
lea rcx, [rbx + 0x30]
add rcx, r14
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x140090a23
mov ecx, dword [rdi]
mov r8, r14
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rsi + 0x30]
mov dword [rax + 0x10], r14d
xor eax, eax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x20], rcx
mov rdx, qword [rdi + 0x20]
call fcn.14014e4d0
test rbx, rbx
je 0x140090a01
mov rcx, qword [rsi + 0x20]
mov r8, rbx
add rcx, r14
mov qword [rsi + 0x18], rcx
mov rdx, qword [rdi + 0x18]
call fcn.14014e4d0
test rbp, rbp
cmove rbp, rsi
test r15, r15
je 0x140090a11
mov qword [r15 + 0x28], rsi
mov r15, rsi
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140090940
jmp 0x140090a29
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rcx, rcx
je 0x140090a48
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x140090a59
mov rcx, rbp
call fcn.1400908c0
xor ebp, ebp
jmp 0x140090a6d
test rbp, rbp
jne 0x140090a6d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r12d
mov qword [r13], rbp
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
Function at 0x140096f10
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x18]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov rbp, qword [rsi + 0x1f0]
mov rcx, rbp
mov dword [rsp + 0x20], pe_nt_image_headers64
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140096f8b
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], pe_nt_image_headers64
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call fcn.14007dc30
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x140096fb3
lea rdx, str.Error_accept__ing_server_connect
call fcn.14007d230
lea eax, [rbx + 0x1f]
jmp 0x14009702f
lea rdx, str.Connection_accepted_from_server
call fcn.14007d310
mov edx, 1
mov byte [rsi + 0x3a2], 0
mov rcx, rbx
mov qword [rsi + 0x1f0], rbx
call fcn.1400a7000
mov byte [rsi + 0x3b5], 1
cmp qword [rdi + 0x288], 0
je 0x14009702d
mov dl, 1
mov rcx, rdi
call fcn.14006f9d0
mov rcx, qword [rdi + 0x290]
mov r8d, 1
mov rdx, rbx
call qword [rdi + 0x288]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.14006f9d0
test ebx, ebx
je 0x14009702d
mov rdx, rsi
mov rcx, rdi
call fcn.1400974e0
mov eax, Ordinal_46
jmp 0x14009702f
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140149a30
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov r8, rdx
mov rbx, rcx
add rdx, 0x498
cmp byte [rdx + 0xa6], 0
jne 0x14009813d
xor r10d, r10d
mov dword [rdx + 0xc8], r10d
mov eax, r10d
cmp dword [rcx + 0x75c], 2
sete al
mov dword [rdx + 0xcc], eax
cmp byte [r8 + 0x39a], r10b
je 0x1400980f6
mov r9, qword [rdx + 0x88]
test r9, r9
je 0x1400980f6
cmp dword [rdx + 0xa0], r10d
je 0x1400980ea
mov rax, qword [rdx + 0x98]
mov rcx, qword [rax]
cmp byte [rcx], 0x2f
je 0x1400980f6
mov dword [rdx + 0xa8], r10d
mov rcx, rbx
jmp 0x140098116
mov rcx, rbx
cmp dword [rdx + 0xa0], r10d
je 0x14009813d
mov r9, qword [rdx + 0x98]
mov dword [rdx + 0xa8], 1
mov r9, qword [r9]
lea r8, str.CWD__s
call fcn.1400aca60
mov r8d, eax
test eax, eax
jne 0x140098147
lea edx, [rax + 0x10]
mov rcx, rbx
call fcn.1400974d0
mov eax, r8d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.140098520
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x18]
mov rbx, rcx
add rdx, 0x498
cmp byte [rcx + 0xb09], 0
jne 0x140098546
cmp dword [rcx + 0x570], 0
je 0x140098579
mov r9, qword [rdx + 0x90]
test r9, r9
je 0x140098579
lea r8, str.MDTM__s
call fcn.1400aca60
mov r8d, eax
test eax, eax
jne 0x140098583
lea edx, [rax + 0x12]
mov rcx, rbx
call fcn.1400974d0
mov eax, r8d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1400996e0
add rsp, 0x20
pop rbx
ret
Function at 0x140098d40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
lea eax, [rdx - 0xc8]
mov rbx, rcx
cmp eax, 0x64
jb 0x140098dbf
mov qword [rsp + 0x30], rsi
mov rsi, qword [rcx + 0x18]
mov qword [rsp + 0x38], rdi
mov eax, dword [rsi + 0x55c]
lea edi, [rax + 1]
test eax, eax
jne 0x140098d9b
lea rdx, str.disabling_EPRT_usage
call fcn.14007d310
mov byte [rsi + 0x3a8], 0
mov edx, edi
mov rcx, rbx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x140099ac0
cmp edi, 2
jne 0x140098d82
lea rdx, str.Failed_to_do_PORT
call fcn.14007d230
mov rsi, qword [rsp + 0x30]
lea eax, [rdi + 0x1c]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
lea rdx, str.Connect_data_stream_actively
call fcn.14007d310
xor edx, edx
mov rcx, rbx
call fcn.1400974d0
add rsp, 0x20
pop rbx
jmp fcn.140097680
Function at 0x140099110
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
add rdx, 0x498
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x140099161
cmp qword [rdx + 0x90], 0
je 0x140099161
xor r9d, r9d
lea r8, str.REST__d
call fcn.1400aca60
mov r8d, eax
test eax, eax
jne 0x14009916b
lea edx, [rax + 0x1a]
mov rcx, rbx
call fcn.1400974d0
mov eax, r8d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.140098de0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b0]
mov rbx, rcx
cmp dword [rax + 0x10], 1
jne 0x140099480
mov r9, qword [rdx + 0x528]
test r9, r9
je 0x140099480
lea r8, str.SIZE__s
add rdx, 0x498
call fcn.1400aca60
mov r8d, eax
test eax, eax
jne 0x14009948a
lea edx, [rax + 0x17]
mov rcx, rbx
call fcn.1400974d0
mov eax, r8d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.140099110
add rsp, 0x20
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xb1c], 0
mov r10, rcx
mov r11, qword [rcx + 0x18]
je 0x14009973c
cmp qword [r11 + 0x528], 0
je 0x14009973c
movzx edx, byte [rcx + 0x1310]
mov rcx, r11
call fcn.1400978e0
test eax, eax
je 0x14009973c
mov rax, qword [r10 + 0x1b0]
mov r9d, reloc.WS2_32.dll_send
mov rdx, r11
mov rcx, r10
mov dword [rax + 0x10], 1
movzx r8d, byte [r10 + 0x1310]
add rsp, 0x28
jmp fcn.140097840
mov rdx, r11
mov rcx, r10
add rsp, 0x28
jmp fcn.140099430

Function at 0x140099750
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
mov esi, r8d
mov rbx, rcx
cmp eax, 0x64
jb 0x14009978c
lea rdx, str.Couldnt_set_desired_mode
call fcn.14007d230
lea eax, [rdi + 0x11]
jmp 0x1400997e4
cmp edx, 0xc8
je 0x1400997a3
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.14007d310
cmp esi, 0x13
jne 0x1400997b5
mov rdx, rbp
mov rcx, rbx
call fcn.140099430
jmp 0x1400997e0
cmp esi, 0x14
jne 0x1400997c4
mov rcx, rbx
call fcn.140098380
jmp 0x1400997e0
cmp esi, 0x15
jne 0x1400997d3
mov rcx, rbx
call fcn.140099420
jmp 0x1400997e0
cmp esi, 0x16
jne 0x1400997e2
mov rcx, rbx
call fcn.140099630
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a0080
Capabilities:
Send data
Send data on socket

Disassembly:
mov r9, qword [rcx + 0x1b0]
mov r11, rcx
movsxd r10, edx
mov r8d, dword [r9 + r10*4 + 8]
sub r8d, 1
je 0x1400a0101
sub r8d, 1
je 0x1400a00d8
cmp r8d, 1
jne 0x1400a0115
mov ecx, dword [r9 + r10*4 + 0x408]
test ecx, ecx
je 0x1400a00f9
cmp ecx, r8d
jne 0x1400a0115
xor eax, eax
mov dword [r9 + r10*4 + 8], 2
mov r8d, edx
mov dword [r9 + r10*4 + 0x408], eax
mov edx, 0xfb
mov rcx, r11
jmp fcn.1400a02a0
mov ecx, dword [r9 + r10*4 + 0x408]
test ecx, ecx
je 0x1400a00f9
cmp ecx, 1
jne 0x1400a0115
xor eax, eax
mov dword [r9 + r10*4 + 8], eax
mov dword [r9 + r10*4 + 0x408], eax
ret
xor eax, eax
mov dword [r9 + r10*4 + 8], eax
ret
xor eax, eax
mov r8d, edx
mov edx, 0xfc
mov dword [r9 + r10*4 + 8], eax
jmp fcn.1400a02a0
ret

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

Disassembly:
mov r9, qword [rcx + 0x1b0]
mov r11, rcx
movsxd r10, edx
mov r8d, dword [r9 + r10*4 + 0xc08]
test r8d, r8d
je 0x1400a01c4
sub r8d, 2
je 0x1400a017d
cmp r8d, 1
jne 0x1400a01b6
mov ecx, dword [r9 + r10*4 + 0x1008]
test ecx, ecx
je 0x1400a0170
cmp ecx, r8d
jne 0x1400a01b6
mov dword [r9 + r10*4 + 0xc08], r8d
mov dword [r9 + r10*4 + 0x1008], 0
ret
mov dword [r9 + r10*4 + 0xc08], 0
ret
mov ecx, dword [r9 + r10*4 + 0x1008]
test ecx, ecx
je 0x1400a01b7
cmp ecx, 1
jne 0x1400a01b6
mov dword [r9 + r10*4 + 0xc08], 3
mov rcx, r11
mov dword [r9 + r10*4 + 0x1008], 0
mov r8d, edx
mov edx, 0xfe
jmp fcn.1400a02a0
ret
mov dword [r9 + r10*4 + 0xc08], 1
ret
cmp dword [r9 + r10*4 + 0x1408], 1
jne 0x1400a01a9
mov r8d, edx
mov dword [r9 + r10*4 + 0xc08], 1
mov edx, 0xfd
jmp fcn.1400a02a0

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

Disassembly:
mov r9, qword [rcx + 0x1b0]
mov r11, rcx
movsxd r10, edx
mov r8d, dword [r9 + r10*4 + 0xc08]
sub r8d, 1
je 0x1400a027d
sub r8d, 1
je 0x1400a024e
cmp r8d, 1
jne 0x1400a0294
mov ecx, dword [r9 + r10*4 + 0x1008]
test ecx, ecx
je 0x1400a0272
cmp ecx, r8d
jne 0x1400a0294
xor eax, eax
mov dword [r9 + r10*4 + 0xc08], 2
mov r8d, edx
mov dword [r9 + r10*4 + 0x1008], eax
mov edx, 0xfd
mov rcx, r11
jmp fcn.1400a02a0
mov ecx, dword [r9 + r10*4 + 0x1008]
test ecx, ecx
je 0x1400a0272
cmp ecx, 1
jne 0x1400a0294
xor eax, eax
mov dword [r9 + r10*4 + 0xc08], eax
mov dword [r9 + r10*4 + 0x1008], eax
ret
xor eax, eax
mov dword [r9 + r10*4 + 0xc08], eax
ret
xor eax, eax
mov r8d, edx
mov edx, 0xfe
mov dword [r9 + r10*4 + 0xc08], eax
jmp fcn.1400a02a0
ret
Function at 0x1400a02a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov byte [rsp + 0x38], 0xff
mov rcx, qword [rcx + 0x18]
mov edi, r8d
mov esi, edx
mov byte [rsp + 0x3a], dil
xor r9d, r9d
mov byte [rsp + 0x39], sil
lea rdx, [rsp + 0x38]
mov rcx, qword [rcx + 0x1e8]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400a02ff
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbx
mov r8d, eax
call fcn.14007d230
mov r9d, edi
lea rdx, str.SENT
mov r8d, esi
mov rcx, rbx
call fcn.14009fa90
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret