joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072de0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1403d81d0]
cmp byte [rbx + 0x2fb8], 0
jne 0x140072f22
cmp dword [rbx + 0x2fe0], 0
je 0x140072e2a
mov r8d, 0x2975
lea rdx, str.C:Users_adminDocuments_inister_spoofer_mainimgui_dockingimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call fcn.14027fd58
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140072f1b
lea rdx, [0x14034a370]
call fcn.14005cc20
mov rdi, rax
test rax, rax
je 0x140072f1b
mov rcx, rax
call fcn.140272070
mov ebp, eax
cmp eax, 0xffffffff
je 0x140072f13
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140272dbc
test eax, eax
jne 0x140072f13
mov rcx, rdi
call fcn.140272070
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140072f13
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call fcn.140272dbc
test eax, eax
jne 0x140072f13
cmp rsi, 0xffffffffffffffff
je 0x140072f13
mov rax, qword [0x1403d81d0]
test rax, rax
je 0x140072eb5
inc dword [rax + 0x3b0]
mov rcx, rsi
call fcn.14027fe64
mov rbp, rax
test rax, rax
je 0x140072f13
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call fcn.140279f8c
mov rcx, rdi
cmp rax, rsi
je 0x140072ee7
call fcn.140272a08
jmp 0x140072ef7
call fcn.140272a08
mov rdx, rsi
mov rcx, rbp
call fcn.140073230
mov rax, qword [0x1403d81d0]
test rax, rax
je 0x140072f09
dec dword [rax + 0x3b0]
mov rcx, rbp
call fcn.140279d18
jmp 0x140072f1b
mov rcx, rdi
call fcn.140272a08
mov byte [rbx + 0x2fb8], 1
movss xmm0, dword [rbx + 0x2fbc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140072faf
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x2fbc], xmm0
jb 0x140072faf
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x140072fa2
mov rax, qword [0x1403d81d0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x2fbc], ebp
call fcn.140073720
lea rdx, [0x14034a374]
mov rcx, rdi
mov rsi, rax
call fcn.14005cc20
mov rdi, rax
test rax, rax
je 0x140072fa9
mov r8, qword [rsp + 0x30]
lea edx, [rbp + 1]
mov r9, rax
mov rcx, rsi
call fcn.1402737f0
mov rcx, rdi
call fcn.140272a08
jmp 0x140072fa9
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x2fbc], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400731b0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rbx]
lea r8, [rbx + 1]
test r9b, r9b
je 0x140073206
lea r11, [0x14034c4c0]
cmp r9b, 0x23
jne 0x1400731e9
cmp byte [r8], r9b
jne 0x1400731e9
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400731d6
not ecx
call fcn.1400730c0
test rax, rax
jne 0x14007321f
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140072fd0
add rsp, 0x20
pop rbx
ret
Function at 0x1400779d0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140077c0b
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1403ce5a0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14034c4c0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140077bd3
mov rcx, rbp
call fcn.140076c70
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140077aa1
movsxd rdx, dword [rbp + 0x2f80]
mov r8, qword [rbp + 0x2f88]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140077a91
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140077a89
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140077a8c
mov rdx, rcx
test rdx, rdx
jne 0x140077a60
cmp r8, r10
je 0x140077aa1
cmp dword [r8], r9d
jne 0x140077aa1
mov rcx, qword [r8 + 8]
jmp 0x140077aa3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb0]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb0], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140077b37
cmp qword [rcx + 0x18], 0
jne 0x140077b2c
mov qword [rcx + 0x18], rbx
jmp 0x140077b37
cmp qword [rcx + 0x20], 0
jne 0x140077b37
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xa8], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140077b6c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140077b60
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.14005caf0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140077bc8
cmp r9b, 0x23
jne 0x140077bab
cmp byte [r8], r9b
jne 0x140077bab
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140077b98
not ecx
call fcn.140064bf0
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x140077a20
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402614e0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400b01c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1403ce5a0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x38], rdx
xor r14d, r14d
call fcn.1400e6270
mov rsi, rax
xorps xmm0, xmm0
test rax, rax
jne 0x1400b029a
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea r8d, [r14 + 4]
lea rdx, str.null
mov rcx, rdi
call fcn.1400b90d0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400b0264
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400b025f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400b03bf
mov rcx, r8
call fcn.1402615d0
mov rax, rdi
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1402614e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x14039fb00]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
movdqa xmm0, xmmword [0x14039fc30]
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0x84c4c0df
mov dword [rbp - 0x4c], 0x809e839d
mov word [rbp - 0x48], 0x100
mov rcx, r14
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x68]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x18
jb 0x1400b02e0
mov byte [rbp - 0x47], 0
lea r8, [rbp - 0x60]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400ea300
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rsi
call fcn.1400ea300
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rsi
call fcn.1400ea300
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400b0330
mov r8, qword [rbx]
mov edx, 0x271f
mov rcx, rsi
call fcn.1400ea300
lea r8, [0x1400b0190]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.1400ea300
lea r8, [rbp - 0x30]
mov edx, 0x2711
mov rcx, rsi
call fcn.1400ea300
mov edx, 0x34
lea r8d, [rdx - 0x33]
mov rcx, rsi
call fcn.1400ea300
mov rcx, rsi
call fcn.1400e6340
test eax, eax
je 0x1400b039a
mov ecx, eax
call fcn.1400e73a0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x14039fb00]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
jmp 0x1400b022a
call fcn.14028270c
int3
Function at 0x1400c7bf0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400c7c12
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400c7c8c
mov rdi, r14
mov rcx, rbx
call fcn.1400c8b90
test rax, rax
jle 0x1400c7c64
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140264d60
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400c7c7c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x1400c7c84
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400c7c26
sub r14, rdi
jmp 0x1400c7d6f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400c7ca3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400c7ca5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400c7cd7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140264d60
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400c7d6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400c7d12
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400c7d4d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140279f8c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400c7d6c
cmp rbp, rax
ja 0x1400c7d20
test rbp, rbp
je 0x1400c7d6c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140279f8c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400f01e0
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 [0x1403ce5a0]
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 0x1400f024c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14010ee50
jmp 0x1400f032a
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 0x1400f027c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14010ee50
jmp 0x1400f032a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400f02a0
cmp ecx, 1
je 0x1400f028f
mov ebx, r14d
call fcn.1400f0d10
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400f02a5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14034c1dc]
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, ntohs
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1401001c0
lea rcx, [rsp + 0x58]
call fcn.1400f0070
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400f0970
test al, al
je 0x1400f0319
mov dword [r15], 1
jmp 0x1400f0328
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400fc280
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402614e0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400f01e0
Function at 0x1400ffa90
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 [0x1403d32c0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400ffb3f
test rdi, rdi
je 0x1400ffb3f
mov eax, dword [0x1403d32c4]
test eax, eax
jne 0x1400ffb37
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.1400ff7e0
mov ecx, 2
call fcn.140272424
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.140100190
mov rcx, qword [0x1403d32b8]
call fcn.14027287c
call fcn.1402829d4
mov dword [rax], ntohs
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1403d32c4], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1400ffb67
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.1400ff7e0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400ffbe0
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 [0x1403d32c0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400ffc8f
test rdi, rdi
je 0x1400ffc8f
mov eax, dword [0x1403d32c4]
test eax, eax
jne 0x1400ffc87
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.1400ff7e0
mov ecx, 2
call fcn.140272424
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.140100190
mov rcx, qword [0x1403d32b8]
call fcn.14027287c
call fcn.1402829d4
mov dword [rax], ntohs
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1403d32c4], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x1400ffcb7
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.1400ff7e0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14010f1d0
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 [0x1403ce5a0]
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 0x1400f024c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14010ee50
jmp 0x1400f032a
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 0x1400f027c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14010ee50
jmp 0x1400f032a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400f02a0
cmp ecx, 1
je 0x1400f028f
mov ebx, r14d
call fcn.1400f0d10
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400f02a5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14034c1dc]
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, ntohs
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1401001c0
lea rcx, [rsp + 0x58]
call fcn.1400f0070
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400f0970
test al, al
je 0x1400f0319
mov dword [r15], 1
jmp 0x1400f0328
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400fc280
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402614e0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400f01e0
Function at 0x140113010
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x1403ce5a0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x1403d3580], 0
mov r14, rcx
jne 0x140113049
call fcn.14014c030
test eax, eax
je 0x140113067
mov byte [0x1403d3580], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1402614e0
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x140113086
mov edx, 0x400
call fcn.14014d0d0
call fcn.14014c030
test eax, eax
jne 0x140113049
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 [0x1402b5708]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400f0070
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.1400fc170
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400f0070
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400f0070
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.1400f0070
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400f0070
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 0x1401130e0
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.14014bd60
call fcn.14014c030
test eax, eax
je 0x1401130d0
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.14014ce60
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 0x14011321d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.14014d0d0
call fcn.14014c030
test eax, eax
jne 0x140113049
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1400fc400
call fcn.14014c030
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x14011304b
Function at 0x140117ff0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1038
call fcn.1402621c0
sub rsp, rax
mov rax, qword [0x1403ce5a0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
call fcn.140287db0
mov byte [rsp + 0x20], 0
test rax, rax
je 0x140118067
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x140118067
lea r8, [0x1402b5710]
mov edx, Ordinal_45
lea rcx, [rsp + 0x20]
call fcn.1400ffdc0
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1402614e0
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1402614e0
add rsp, 0x1038
ret

Function at 0x14011e490
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 [0x1403ce5a0]
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 0x14011e51b
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.1400ff570
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.1400fcf50
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x14011e540
lea rdx, str.Error_accept__ing_server_connect
call fcn.1400fc280
lea eax, [rbx + 0x1f]
jmp 0x14011e5b9
lea rdx, str.Connection_accepted_from_server_n
call fcn.1400fc400
mov edx, 1
mov byte [rdi + 0x3f8], 0
mov rcx, rbx
mov qword [rdi + 0x260], rbx
call fcn.14010cfe0
mov byte [rdi + 0x279], 1
cmp qword [rsi + 0x728], 0
je 0x14011e5b7
mov dl, 1
mov rcx, rsi
call fcn.1400eb020
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.1400eb020
test ebx, ebx
je 0x14011e5b7
mov rcx, rdi
call fcn.14011ead0
mov eax, Ordinal_45
jmp 0x14011e5b9
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1402614e0
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 0x14011f690
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 0x14011f6b5
cmp dword [rax + 0x9f0], 0
je 0x14011f6e1
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x14011f6e1
lea rdx, str.MDTM__s
call fcn.140136300
test eax, eax
jne 0x14011f6ee
mov dword [rbx + 0x850], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140120560
add rsp, 0x20
pop rbx
ret