joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400acf00
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
lea rdx, [rsp + 0x40]
movabs rcx, 0x206c28f7db570274
movabs rax, 0xa58c6cb809d2f986
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
movabs rax, 0x85b64cca66a08be3
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x20], rcx
lea rcx, [0x1404eb9f0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x38], rax
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400e2370
mov rcx, rax
mov rdx, rbx
call fcn.1400e2370
mov rcx, rax
call fcn.1400dc780
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400ad037
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400ad037
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400ad032
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400ad010
cmp r8d, 0x2fa62ca8
je 0x1400ad03c
test r9d, r9d
jne 0x1400acff0
mov rax, qword [rax]
jmp 0x1400acfc0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 1
add rax, r10
call rax
mov qword [0], 1
call fcn.140096980
call fcn.1400ab330
int3
Function at 0x1400ad080
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rcx, qword [0x1404edea8]
mov eax, dword [0x1404edea0]
mov dword [0x1404ede88], eax
test rcx, rcx
jne 0x1400ad222
mov rax, qword gs:[0x60]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
xor ebp, ebp
mov qword [r11 + 0x18], rsi
mov rcx, qword [rax + 0x18]
mov qword [r11 - 8], rdi
mov edi, 0xf4d8b55
mov qword [r11 - 0x18], r15
mov qword [r11 - 0x10], r14
mov r15, qword [rcx + 0x10]
mov rbx, r15
nop word [rax + rax]
movups xmm0, xmmword [rbx + 0x58]
movd eax, xmm0
movups xmmword [rsp + 0x20], xmm0
sub ax, 8
test ebp, ebp
je 0x1400ad13c
mov rcx, qword [rsp + 0x28]
mov edx, 0x811c9dc5
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x1400ad134
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1400ad120
cmp edx, ebp
jne 0x1400ad1e3
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r14, rcx
mov r10d, ecx
shr r14, 0x20
add r10, r9
cmp r10, r9
je 0x1400ad1e3
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1400ad1e3
mov esi, dword [r10 + 0x20]
nop
dec r8d
mov edx, 0x811c9dc5
lea rax, [rsi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1400ad1a7
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1400ad190
cmp edx, edi
je 0x1400ad1b2
test r8d, r8d
jne 0x1400ad170
jmp 0x1400ad1e3
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
cmp rcx, r10
jbe 0x1400ad1f4
lea rax, [r14 + r10]
cmp rcx, rax
jae 0x1400ad1f4
mov edi, 0x811c9dc5
mov rbx, r15
mov ebp, edi
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r15
jne 0x1400ad0f0
xor ecx, ecx
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov qword [0x1404edea8], rcx
call rcx
mov ecx, dword [0x1404ede88]
mov dword [0x1404edea0], eax
test ecx, ecx
je 0x1400ad23d
sub eax, ecx
cmp eax, 0x1770
ja 0x1400ad251
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140290870
add rsp, 0x78
ret
movabs rcx, 0x206c28f7db570274
movabs rax, 0x85b64cca03cde2b7
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
movabs rax, 0x85b64cca66a08be3
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x38], rax
pxor xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400acf00
int3
Function at 0x1400b06f0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1404ede48]
test rax, rax
jne 0x1400b08e9
xor r9d, r9d
mov dword [rsp + 0x28], r9d
mov eax, 0xfaba0065
mov dword [rsp + 0x24], eax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x48], rbx
mov r15, rbx
mov qword [rsp + 0x50], rbx
nop
movups xmm0, xmmword [rbx + 0x58]
movups xmmword [rsp + 0x58], xmm0
movd ecx, xmm0
sub cx, 8
mov word [rsp + 0x58], cx
test r9d, r9d
je 0x1400b0796
mov rdx, qword [rsp + 0x60]
movzx ecx, cx
shr rcx, 1
lea r10, [rdx + rcx*2]
mov r8d, 0x811c9dc5
mov qword [rsp + 0x38], rdx
cmp rdx, r10
je 0x1400b078d
movsx ecx, byte [rdx]
xor ecx, r8d
imul r8d, ecx, 0x1000193
add rdx, 2
jmp 0x1400b0770
cmp r8d, r9d
jne 0x1400b08c9
mov r11, qword [rbx + 0x30]
mov qword [rsp + 0x68], r11
movsxd rcx, dword [r11 + 0x3c]
mov rdi, qword [rcx + r11 + 0x88]
mov qword [rsp + 0xb8], rdi
mov r8d, edi
add r8, r11
mov qword [rsp + 0x70], r8
shr rdi, 0x20
mov dword [rsp + 0x78], edi
cmp r8, r11
je 0x1400b08c9
mov esi, dword [r8 + 0x18]
mov dword [rsp + 0x20], esi
nop word [rax + rax]
mov ecx, esi
dec esi
mov dword [rsp + 0x20], esi
test ecx, ecx
je 0x1400b08c9
mov edx, dword [r8 + 0x20]
add rdx, r11
mov ecx, dword [rdx + rsi*4]
add rcx, r11
mov qword [rsp + 0x40], rcx
mov r10d, 0x811c9dc5
nop dword [rax + rax]
movsx edx, byte [rcx]
inc rcx
mov qword [rsp + 0x40], rcx
test dl, dl
jne 0x1400b08ba
cmp r10d, eax
jne 0x1400b08b5
mov ecx, dword [r8 + 0x1c]
add rcx, r11
mov eax, dword [r8 + 0x24]
add rax, r11
movzx eax, word [rax + rsi*2]
mov edx, dword [rcx + rax*4]
add rdx, r11
cmp rdx, r8
jbe 0x1400b08df
lea rax, [r8 + rdi]
cmp rdx, rax
jae 0x1400b08df
mov r9d, 0x811c9dc5
mov dword [rsp + 0xb0], r9d
mov dword [rsp + 0xb4], r9d
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0x2e
je 0x1400b087f
inc rdx
jmp 0x1400b0870
inc rdx
mov qword [rsp + 0x30], rdx
cmp byte [rdx], 0
je 0x1400b088e
jmp 0x1400b087f
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
shr rax, 0x20
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], r9d
mov rbx, r15
mov qword [rsp + 0x48], rbx
jmp 0x1400b08c9
jmp 0x1400b07e0
xor edx, r10d
imul r10d, edx, 0x1000193
jmp 0x1400b0810
mov rcx, qword [rbx]
mov rbx, rcx
mov qword [rsp + 0x48], rcx
cmp rcx, r15
jne 0x1400b0740
xor edx, edx
mov qword [0x1404ede48], rdx
mov rax, rdx
mov ecx, 0x13333337
call rax
jmp 0x1400b08f4
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c7270
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, dword [0x1404eda3c]
xor edi, edi
mov edx, edi
cmp ecx, 0x7b
ja 0x1400c72a6
movsxd rax, ecx
lea rdx, [0x1404e3970]
mov rdx, qword [rdx + rax*8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
test rdx, rdx
jne 0x1400c72d0
lea r8d, [rdx + 0xa]
lea rdx, str.Select_Key
jmp 0x1400c72ea
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400c72e0
lea rcx, [rsp + 0x38]
call fcn.14008fde0
cmp ebx, 1
jne 0x1400c730e
lea r8d, [rbx + 0xc]
lea rdx, str.Press_the_Key
lea rcx, [rsp + 0x38]
call fcn.14008fde0
movss xmm0, dword [0x1403a86cc]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [0x1403a8674]
movss dword [rsp + 0x34], xmm1
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.14008b6e0
test al, al
je 0x1400c736b
test ebx, ebx
jne 0x1400c736b
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x1400c71b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400c73a4
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c739f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c73bc
call fcn.140290bfc
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140290870
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
call fcn.1402ad744
int3
Function at 0x1400d7c20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rbp + 0x60], rax
movabs rcx, 0xa3ee733960b687b6
movabs rax, 0xead222a311fcb1a0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x45185b8ea80b7103
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x97cfda88129b69a0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x85b64cca66a08be3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x206c28f7db570274
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x97bcbbe44ea95acd
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rcx
lea rcx, [rbp + 0x20]
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
vmovdqa ymmword [rbp + 0x20], ymm1
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400d7d0f
test al, 2
je 0x1400d7d0f
mov al, 1
jmp 0x1400d7d11
xor al, al
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140290870
add rsp, 0xb0
pop rbp
ret
Function at 0x14011b7d0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14011b83c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14013a440
jmp 0x14011b91a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14011b86c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14013a440
jmp 0x14011b91a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x14011b890
cmp ecx, 1
je 0x14011b87f
mov ebx, r14d
call fcn.14011c300
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x14011b895
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1403a425c]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, listen
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14012b7b0
lea rcx, [rsp + 0x58]
call fcn.14011b660
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.14011bf60
test al, al
je 0x14011b909
mov dword [r15], 1
jmp 0x14011b918
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140127870
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140290870
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x14011b7d0
Function at 0x14012b080
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x1404e8200], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14012b12f
test rdi, rdi
je 0x14012b12f
mov eax, dword [0x1404e8204]
test eax, eax
jne 0x14012b127
mov r8d, dword [rsp + 0x60]
lea rsi, str.recv
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.14012add0
mov ecx, 2
call fcn.1402a01a4
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.14012b780
mov rcx, qword [0x1404e81f8]
call fcn.1402a05fc
call fcn.1402b062c
mov dword [rax], listen
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1404e8204], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x14012b157
mov r8d, dword [rsp + 0x60]
lea rcx, str.RECV__s:_d_recv__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.14012add0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x1404e8200], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14012b27f
test rdi, rdi
je 0x14012b27f
mov eax, dword [0x1404e8204]
test eax, eax
jne 0x14012b277
mov r8d, dword [rsp + 0x60]
lea rsi, str.send
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.14012add0
mov ecx, 2
call fcn.1402a01a4
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.14012b780
mov rcx, qword [0x1404e81f8]
call fcn.1402a05fc
call fcn.1402b062c
mov dword [rax], listen
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1404e8204], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x14012b2a7
mov r8d, dword [rsp + 0x60]
lea rcx, str.SEND__s:_d_send__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.14012add0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14013a7c0
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14011b83c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14013a440
jmp 0x14011b91a
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14011b86c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14013a440
jmp 0x14011b91a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x14011b890
cmp ecx, 1
je 0x14011b87f
mov ebx, r14d
call fcn.14011c300
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x14011b895
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1403a425c]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, listen
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14012b7b0
lea rcx, [rsp + 0x58]
call fcn.14011b660
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.14011bf60
test al, al
je 0x14011b909
mov dword [r15], 1
jmp 0x14011b918
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140127870
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140290870
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x14011b7d0
Function at 0x14013e600
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x1404e84c0], 0
mov r14, rcx
jne 0x14013e639
call fcn.140177620
test eax, eax
je 0x14013e657
mov byte [0x1404e84c0], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140290870
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x14013e676
mov edx, 0x400
call fcn.1401786c0
call fcn.140177620
test eax, eax
jne 0x14013e639
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 [0x1402ed9c0]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14011b660
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.140127760
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.14011b660
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.14011b660
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.14011b660
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.14011b660
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 0x14013e6d0
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.140177350
call fcn.140177620
test eax, eax
je 0x14013e6c0
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.140178450
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 0x14013e80d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.1401786c0
call fcn.140177620
test eax, eax
jne 0x14013e639
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1401279f0
call fcn.140177620
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x14013e63b
Function at 0x1401435e0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1038
call fcn.140291700
sub rsp, rax
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
call fcn.1402b5b50
mov byte [rsp + 0x20], 0
test rax, rax
je 0x140143657
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x140143657
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759libgetenv.c
mov edx, Ordinal_45
lea rcx, [rsp + 0x20]
call fcn.14012b3b0
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140290870
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140290870
add rsp, 0x1038
ret

Function at 0x140149a80
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, 0xd0
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbp, qword [rcx + 0x260]
lea r8, [rsp + 0x30]
mov rsi, qword [rcx]
lea rdx, [rsp + 0x40]
mov rdi, rcx
mov dword [rsp + 0x30], 0x80
mov rcx, rbp
mov rbx, 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140149b0b
lea rax, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759lib_ftp.c
mov dword [rsp + 0x30], 0x80
mov r9d, 0x123
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call fcn.14012ab60
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.140128540
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x140149b30
lea rdx, str.Error_accept__ing_server_connect
call fcn.140127870
lea eax, [rbx + 0x1f]
jmp 0x140149ba9
lea rdx, str.Connection_accepted_from_server_n
call fcn.1401279f0
mov edx, 1
mov byte [rdi + 0x3f8], 0
mov rcx, rbx
mov qword [rdi + 0x260], rbx
call fcn.1401385d0
mov byte [rdi + 0x279], 1
cmp qword [rsi + 0x728], 0
je 0x140149ba7
mov dl, 1
mov rcx, rsi
call fcn.140116610
mov rcx, qword [rsi + 0x730]
mov r8d, 1
mov rdx, rbx
call qword [rsi + 0x728]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.140116610
test ebx, ebx
je 0x140149ba7
mov rcx, rdi
call fcn.14014a0c0
mov eax, Ordinal_45
jmp 0x140149ba9
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140290870
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add rcx, 0x798
cmp byte [rax + 0xe91], 0
jne 0x14014aca5
cmp dword [rax + 0x9f0], 0
je 0x14014acd1
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x14014acd1
lea rdx, str.MDTM__s
call fcn.1401618f0
test eax, eax
jne 0x14014acde
mov dword [rbx + 0x850], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14014bb50
add rsp, 0x20
pop rbx
ret