joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b0f80
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rdi
mov rax, qword [0x14036e3c8]
xor rax, rbp
mov qword [rbp], rax
cmp byte [rcx + 0x38], 0
mov rbx, rcx
je 0x1400b1071
cmp qword [rcx + 0x28], 0
je 0x1400b1071
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 1]
movsxd rax, r8d
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400b0fe0
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140243620
sub rsp, rcx
lea rdi, [rsp + 0x40]
test rdi, rdi
je 0x1400b1071
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
add rcx, 0x280
call fcn.14006b690
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x110]
mov rdx, qword [rbx + 0x28]
lea r8, str.textchanged
mov byte [rsp + 0x30], 1
mov rcx, rax
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], 0
call fcn.1400754f0
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x110]
mov rcx, rax
call fcn.140070de0
test al, al
je 0x1400b1071
mov rcx, qword [rbx + 0x28]
call fcn.14007ef30
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1402435c0
mov rbx, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x28]
lea rsp, [rbp + 0x10]
pop rbp
ret

Function at 0x1400b1a50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140082310
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x2a0]
test al, al
jne 0x1400b1a91
cmp qword [rbx + 0xd70], 0
je 0x1400b1a91
mov rcx, qword [rbx + 0xe0]
xor r9d, r9d
mov r8b, 1
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.140075890
add rsp, 0x20
pop rbx
ret

Function at 0x1400b1c10
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140082d50
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x2a0]
test al, al
jne 0x1400b1c51
cmp qword [rbx + 0xd70], 0
je 0x1400b1c51
mov rcx, qword [rbx + 0xe0]
xor r9d, r9d
mov r8b, 1
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.140075890
add rsp, 0x20
pop rbx
ret
Function at 0x1400bfd40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, edx
mov ecx, edx
and r10d, 7
je 0x1400bfda6
mov r8d, dword [rbx + 0x14]
cmp edx, r10d
jge 0x1400bfd94
mov r9, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r9
jb 0x1400bfd70
xor cl, cl
jmp 0x1400bfd79
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
mov ecx, edx
shl eax, cl
add edx, 8
or eax, r8d
mov dword [rbx + 0x10], edx
mov dword [rbx + 0x14], eax
mov r8d, eax
cmp edx, 0x18
jle 0x1400bfd64
mov ecx, r10d
shr r8d, cl
sub edx, r10d
mov dword [rbx + 0x14], r8d
mov dword [rbx + 0x10], edx
mov ecx, edx
xor r9d, r9d
test edx, edx
jle 0x1400bfdde
mov edx, dword [rbx + 0x14]
lea r8, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rbx + 0x14]
inc r9d
shr edx, 8
sub ecx, 8
mov byte [r8], al
lea r8, [r8 + 1]
mov dword [rbx + 0x14], edx
test ecx, ecx
jg 0x1400bfdc0
mov dword [rbx + 0x10], ecx
movsxd rcx, r9d
cmp rcx, 4
jge 0x1400bfe12
mov r8, qword [rbx + 8]
nop dword [rax + rax]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400bfdfc
xor dl, dl
jmp 0x1400bfe05
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1400bfdf0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
je 0x1400bfe55
lea rax, str.zlib_corrupt
mov qword [0x140373090], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x1400bfe84
lea rax, str.read_past_buffer
mov qword [0x140373090], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x1400bfe9e
mov rcx, rbx
call fcn.1400c3670
test eax, eax
je 0x1400bfe77
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.140245860
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1400caab0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x1400ca7eb
movzx ecx, byte [rbx]
call fcn.1400d7530
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400ca7d0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400caae6
call fcn.1400cae30
test al, al
jne 0x1400caae6
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400cad80
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1400ca7b0
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400d4800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x728], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1400d485e
mov dl, 1
call fcn.1400c6f80
mov rax, qword [rdi + 0x680]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x728]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1400c6f80
mov eax, ebx
jmp 0x1400d48ab
mov edx, ebx
test ebx, ebx
je 0x1400d486e
sub edx, 1
je 0x1400d486e
cmp edx, 1
jne 0x1400d48a9
mov r9, qword [rdi + 0x678]
lea rax, [0x1402a0eb0]
mov edx, 2
lea rcx, [rbx + rbx*2]
add rcx, rax
lea r8d, [rdx - 1]
call fcn.1402588c0
mov r9, qword [rdi + 0x678]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.1402588c0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1400d4bab
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov edx, 0x51
cmp eax, 0x2733
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, qword [rsp + 0x100]
mov rsi, r9
movsxd rax, edx
mov rdi, r8
mov r15, rcx
mov rbx, qword [rcx + rax*8 + 0x250]
call fcn.1400d52f0
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], 0
cmp rdi, 0xffffffffffffffff
jne 0x1400d4d92
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x1400d4d5e
mov dword [r14], 0x51
xor eax, eax
jmp 0x1400d4d95
mov r8d, Ordinal_133
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.1400ff630
mov rcx, qword [r15]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400d48c0
mov rcx, qword [r15]
mov dword [rcx + 0x10f0], ebx
mov dword [r14], gethostname
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d52f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
movsxd rcx, edx
mov rax, rcx
shl rax, 5
lea rbx, [rsi + 0x298]
add rbx, rax
mov rax, qword [rsi + 0x3f8]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x1400d53ea
lea rax, [0x1400d4c00]
cmp qword [rsi + rcx*8 + 0x278], rax
jne 0x1400d53ea
cmp qword [rbx], 0
je 0x1400d5353
test rdi, rdi
je 0x1400d53ea
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rbp
mov rbp, qword [rsi + rcx*8 + 0x250]
xor r9d, r9d
mov rcx, rbp
mov r8, rdx
call fcn.1400d4420
cmp eax, 0xffffffff
je 0x1400d53e5
test al, 1
je 0x1400d53e5
mov rax, qword [rbx]
test rax, rax
jne 0x1400d53ba
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb68]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [fcn.1402593c8]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
test rax, rax
je 0x1400d53dd
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1400d53e5
add qword [rbx + 0x10], rcx
jmp 0x1400d53e5
mov qword [rbx + 8], 0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
sub rsp, 0x28
test byte [rcx + 0x2e8], 1
je 0x1400d551d
call fcn.1400ce670
test eax, eax
jne 0x1400d5543
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x250]
cmp rcx, 0xffffffffffffffff
je 0x1400d5516
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400d5516
mov al, 1
add rsp, 0x28
ret
Function at 0x1400d6970
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rcx + 0xe7c]
lea r9, [rsp + 0x50]
mov rdi, rdx
shr eax, 0xb
and eax, 1
mov dword [rsp + 0x20], 4
mov rbx, rcx
mov dword [rsp + 0x50], eax
mov edx, 0xffff
mov r8d, 8
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1400d69db
mov r8, rdi
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
mov rcx, rbx
call fcn.1400d49d0
jmp 0x1400d6a6a
mov ecx, dword [rbx + 0xe04]
mov dword [rsp + 0x58], 1
call fcn.1400d6d20
imul ecx, eax, 0x3e8
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x5c], ecx
mov ecx, dword [rbx + 0xe08]
call fcn.1400d6d20
imul ecx, eax, 0x3e8
lea r8, [rsp + 0x58]
lea rax, [rsp + 0x54]
mov edx, 0x98000004
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x60], ecx
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
lea r9d, [rcx + 0xc]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1400d6a6a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, edi
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
mov r9d, eax
mov rcx, rbx
call fcn.1400d49d0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1402435c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret

Function at 0x1400d6a90
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx]
lea r9, [rsp + 0x30]
mov rax, rdx
mov dword [rsp + 0x30], 1
mov edx, 6
mov dword [rsp + 0x20], 4
mov rcx, rax
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1400d6b08
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, Ordinal_133
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1400ff630
mov r8, rax
lea rdx, str.Could_not_set_TCP_NODELAY:__s_n
mov rcx, rbx
call fcn.1400d49d0
jmp 0x1400d6b17
lea rdx, str.TCP_NODELAY_set_n
mov rcx, rbx
call fcn.1400d49d0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0xd0
pop rbx
ret

Function at 0x1400d6ce0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
mov rbx, rdx
mov rcx, r8
call fcn.1400d6d60
mov r8d, eax
mov rdx, rbx
mov ecx, edi
call fcn.1402659ec
mov rbx, qword [rsp + 0x30]
cdqe
add rsp, 0x20
pop rdi
ret
Function at 0x1400d7320
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
test cl, 2
je 0x1400d7386
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400d7369
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x1400d7363
shr ax, 8
cmp al, 2
je 0x1400d7386
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x1d8
ret
xor edx, edx
lea r9d, [rdx + 3]
lea r8d, [rdx + 2]
lea ecx, [rdx + 6]
call fcn.1400d71c0
test al, al
je 0x1400d73b2
lea rcx, [0x140378598]
mov byte [0x140378590], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x1400d73b9
mov byte [0x140378590], 0
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x1d8
ret
Function at 0x1400e46c0
Capabilities:
Resolve dns

Disassembly:
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
mov esi, r13d
lea r9, [rsp + 0x68]
mov r15d, r13d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r14d, eax
test eax, eax
jne 0x1400e485e
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1400e4843
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov eax, dword [rdi + 4]
cmp eax, 2
jne 0x1400e471d
lea ebp, [rax + 0xe]
jmp 0x1400e4729
cmp eax, 0x17
jne 0x1400e47d1
lea ebp, [rax + 5]
cmp qword [rdi + 0x20], r13
je 0x1400e47d1
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400e47d1
cmp rax, rbp
jb 0x1400e47d1
mov ecx, 0x30
call qword [fcn.1402593c8]
mov rbx, rax
test rax, rax
je 0x1400e480c
mov eax, dword [rdi]
mov rcx, rbp
mov dword [rbx], eax
mov eax, dword [rdi + 4]
mov dword [rbx + 4], eax
mov eax, dword [rdi + 8]
mov dword [rbx + 8], eax
mov eax, dword [rdi + 0xc]
mov dword [rbx + 0xc], eax
mov dword [rbx + 0x10], ebp
mov qword [rbx + 0x20], r13
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x28], r13
call qword [fcn.1402593c8]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x1400e47fb
mov rdx, qword [rdi + 0x20]
mov r8, rbp
mov rcx, rax
call fcn.140245860
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400e47be
call qword [str.h_a_]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x1400e47e0
test rsi, rsi
cmove rsi, rbx
test r15, r15
je 0x1400e47ce
mov qword [r15 + 0x28], rbx
mov r15, rbx
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x1400e4710
jmp 0x1400e4812
mov rcx, qword [rbx + 0x20]
mov r14d, 8
call qword [fcn.140255ce0]
mov rcx, rbx
call qword [fcn.140255ce0]
jmp 0x1400e4812
mov rcx, rbx
mov r14d, 8
call qword [fcn.140255ce0]
jmp 0x1400e4812
mov r14d, 8
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400e482c
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r14d, r14d
je 0x1400e483e
mov rcx, rsi
call fcn.1400e4670
mov rsi, r13
jmp 0x1400e4852
test rsi, rsi
jne 0x1400e4852
mov r14d, 0x2af9
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r14d
mov qword [r12], rsi
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x1400e5750
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x140373470], 0
mov r14, rcx
jne 0x1400e5789
call fcn.1400e88c0
test al, al
je 0x1400e57a7
mov byte [0x140373470], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x1400e57c6
mov edx, 0x400
call fcn.140122620
call fcn.1400e88c0
test al, al
jne 0x1400e5789
mov qword [rsp + 0x218], rbx
xor r15d, r15d
mov qword [rsp + 0x220], rbp
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x1f0], rdi
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm7
movsd xmm7, qword [0x1402a4e40]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400d7c30
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.1400d47b0
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400d7c30
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400d7c30
mov rdx, rbx
lea rcx, [rdi - 2]
add rdx, qword [rax]
movq rax, xmm6
imul rdx, rdi
imul rcx, rax
shl rdx, 8
xor rdx, rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
call fcn.1400d7c30
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400d7c30
mov ecx, dword [rbx + 8]
lea rbp, [rbp + 0x10]
add ecx, dword [rax]
lea eax, [rsi + 4]
imul ecx, eax
lea eax, [rsi + 2]
imul eax, dword [rsp + 0x28]
inc rsi
shl ecx, 0x10
xor ecx, eax
mov dword [rsp + 0x28], ecx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x10], xmm0
cmp rsi, 4
jb 0x1400e5820
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.1401212b0
call fcn.1400e88c0
test al, al
je 0x1400e5810
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.1401223b0
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x228]
mov rbp, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x218]
cmp byte [rsp + 0xc0], r15b
je 0x1400e595d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.140122620
call fcn.1400e88c0
test al, al
jne 0x1400e5789
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1400d49d0
call fcn.1400e88c0
test al, al
mov ecx, 0x23
cmovne ecx, r15d
mov eax, ecx
jmp 0x1400e578b

Function at 0x1400e9fe0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.1402598dc
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400ea046
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400ea046
lea rcx, [rsp + 0x20]
call qword [str.h_a_]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x148
ret
jmp 0x1400e9fe0
Function at 0x1400ea060
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.1402598dc
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400ea046
mov r8d, 0x104
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400ea046
lea rcx, [rsp + 0x20]
call qword [str.h_a_]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x148
ret
jmp 0x1400e9fe0

Function at 0x1400f01e0
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 [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbp, qword [rcx + 0x258]
lea r8, [rsp + 0x20]
mov rsi, qword [rcx]
lea rdx, [rsp + 0x30]
mov rdi, rcx
mov dword [rsp + 0x20], Ordinal_133
mov rcx, rbp
mov rbx, 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400f025a
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_133
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.1400d5400
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400f027f
lea rdx, str.Error_accept__ing_server_connect
call fcn.1400d48c0
lea eax, [rbx + 0x1f]
jmp 0x1400f02fb
lea rdx, str.Connection_accepted_from_server_n
call fcn.1400d49d0
and dword [rdi + 0x3d4], 0xfffff7ff
mov edx, 1
mov rcx, rbx
mov qword [rdi + 0x258], rbx
call fcn.140100070
mov byte [rdi + 0x271], 1
cmp qword [rsi + 0x738], 0
je 0x1400f02f9
mov dl, 1
mov rcx, rsi
call fcn.1400c6f80
mov rcx, qword [rsi + 0x740]
mov r8d, 1
mov rdx, rbx
call qword [rsi + 0x738]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.1400c6f80
test ebx, ebx
je 0x1400f02f9
mov rcx, rdi
call fcn.1400f07c0
mov eax, Ordinal_46
jmp 0x1400f02fb
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1402435c0
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 0x1400f13c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x5d2], 0
mov rbx, rcx
jne 0x1400f1467
xor edx, edx
mov dword [rcx + 0x5f4], edx
mov eax, edx
mov rcx, qword [rcx]
cmp dword [rcx + 0xba4], 2
sete al
mov dword [rbx + 0x5f8], eax
cmp dword [rcx + 0xb98], 2
jne 0x1400f1404
cmp dword [rbx + 0x5d4], edx
je 0x1400f1464
test byte [rbx + 0x3d4], 2
je 0x1400f1421
mov r8, qword [rbx + 0x5b0]
test r8, r8
je 0x1400f1421
mov dword [rbx + 0x5d4], edx
jmp 0x1400f143d
cmp dword [rbx + 0x5c0], edx
je 0x1400f1464
mov r8, qword [rbx + 0x5b8]
mov dword [rbx + 0x5d4], 1
mov r8, qword [r8]
lea rdx, str.CWD__s
lea rcx, [rbx + 0x540]
call fcn.1401049b0
test eax, eax
jne 0x1400f1471
lea edx, [rax + 0x10]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400f07b0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400f1870
add rsp, 0x20
pop rbx
ret
Function at 0x1400f1870
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add rcx, 0x540
test dword [rax + 0xe78], 0x200
jne 0x1400f1898
cmp dword [rax + 0xa00], 0
je 0x1400f18c4
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1400f18c4
lea rdx, str.MDTM__s
call fcn.1401049b0
test eax, eax
jne 0x1400f18d1
lea edx, [rax + 0x12]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400f07b0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400f2920
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
lea eax, [rdx - 0xc8]
mov rbx, rcx
mov rcx, qword [rcx]
cmp eax, 0x64
jb 0x1400f20a2
mov eax, dword [rbx + 0x5f0]
mov qword [rsp + 0x30], rdi
lea edi, [rax + 1]
test eax, eax
jne 0x1400f2083
lea rdx, str.disabling_EPRT_usage_n
call fcn.1400d49d0
and dword [rbx + 0x3d4], 0xfffbffff
mov edx, edi
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp 0x1400f2cf0
cmp edi, 2
jne 0x1400f206f
lea rdx, str.Failed_to_do_PORT
call fcn.1400d48c0
lea eax, [rdi + 0x1c]
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rdx, str.Connect_data_stream_actively_n
call fcn.1400d49d0
xor edx, edx
mov rcx, rbx
call fcn.1400f07b0
add rsp, 0x20
pop rbx
jmp fcn.1400f0920
Function at 0x1400f23f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
mov rdx, qword [rax + 0x1f8]
cmp dword [rdx + 0x20], 0
je 0x1400f243d
cmp qword [rcx + 0x5c8], 0
je 0x1400f243d
add rcx, 0x540
lea rdx, str.REST__d
xor r8d, r8d
call fcn.1401049b0
test eax, eax
jne 0x1400f2447
lea edx, [rax + 0x1a]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400f07b0
add rsp, 0x20
pop rbx
jmp fcn.1400f20d0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x540
mov rax, qword [rbx]
mov rdx, qword [rax + 0x1f8]
cmp dword [rdx + 0x20], 1
jne 0x1400f272c
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1400f272c
lea rdx, str.SIZE__s
call fcn.1401049b0
test eax, eax
jne 0x1400f2739
lea edx, [rax + 0x17]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400f07b0
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400f23f0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
mov r10, qword [rcx]
mov r9, rcx
mov eax, dword [r10 + 0xe78]
bt eax, 0x1c
jae 0x1400f297f
cmp qword [rcx + 0x5c8], 0
je 0x1400f297f
shr eax, 0xb
and al, 1
movzx edx, al
call fcn.1400f0b70
test eax, eax
je 0x1400f297f
mov rax, qword [r10 + 0x1f8]
mov r8d, reloc.WS2_32.dll_send
mov rcx, r9
mov dword [rax + 0x20], 1
mov edx, dword [r10 + 0xe78]
shr edx, 0xb
and dl, 1
add rsp, 0x28
jmp fcn.1400f0ae0
mov rcx, r9
add rsp, 0x28
jmp fcn.1400f26e0