joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005d7d0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x14005d81a
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x14005d8b5
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x14005d83d
jmp 0x14005d7ff
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
je 0x14005d8b0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
xor r9d, r9d
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.14005cc80
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14005d7ff
add rsp, 0x48
ret
Function at 0x14005da30
Capabilities:
Access pe header
Enumerate gui resources

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xc8
mov eax, dword [rsp + 0xd0]
mov edx, eax
lea rcx, [0x14005d9e0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x28]
mov rcx, qword [0x14045d5b0]
call fcn.14005d8c0
cmp dword [rsp + 0xd0], 0
je 0x14005da7d
cmp dword [rsp + 0x28], 0
jne 0x14005da84
xor eax, eax
jmp 0x14005dc90
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14005daa3
mov eax, 1
jmp 0x14005dc90
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14005dac5
mov eax, 2
jmp 0x14005dc90
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x50]
xor ecx, ecx
call fcn.14005cd60
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14005daeb
mov eax, 3
jmp 0x14005dc90
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x14005db23
movzx r8d, byte [rsp + 0x20]
lea rdx, str.allocate_base_0x_llX_n
lea rcx, [rsp + 0x5a]
call fcn.14006a5f0
mov rcx, rax
call fcn.1400c5100
mov rdx, qword [rsp + 0x38]
mov rcx, rax
call fcn.1400da700
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.14005d360
test eax, eax
jne 0x14005db45
mov eax, 4
jmp 0x14005dc90
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x14005db78
movzx r8d, byte [rsp + 0x21]
lea rdx, str.relocate_sucess_n
lea rcx, [rsp + 0x48]
call fcn.14006e510
mov rcx, rax
call fcn.1400c4e40
mov rcx, rax
call fcn.1400da700
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x28]
call fcn.14005d560
test eax, eax
jne 0x14005db99
mov eax, 5
jmp 0x14005dc90
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x14005dbcf
movzx r8d, byte [rsp + 0x22]
lea rdx, str.resolve_imports_sucess_n
lea rcx, [rsp + 0xa0]
call fcn.140069f10
mov rcx, rax
call fcn.1400c5260
mov rcx, rax
call fcn.1400da700
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.14005d720
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x14005dc16
movzx r8d, byte [rsp + 0x23]
lea rdx, str.write_section_sucess_n
lea rcx, [rsp + 0x71]
call fcn.14006af80
mov rcx, rax
call fcn.1400c5100
mov rcx, rax
call fcn.1400da700
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x28]
call fcn.14005d080
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x14005dc5f
movzx r8d, byte [rsp + 0x24]
lea rdx, str.call_dll_main_success_n
lea rcx, [rsp + 0x88]
call fcn.14006a290
mov rcx, rax
call fcn.1400c51b0
mov rcx, rax
call fcn.1400da700
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.14005d7d0
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x38]
call fcn.14005ce50
mov eax, 6
add rsp, 0xc8
ret

Function at 0x140068050
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.1400da700
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14009c460
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
cmp eax, 1
je 0x14009c494
movsx eax, byte [rsp + 0x28]
cmp eax, 0x41
jl 0x14009c494
movsx eax, byte [rsp + 0x28]
cmp eax, 0x5a
jg 0x14009c494
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x14009c49c
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
add rsp, 0x18
ret

Function at 0x1400b4eb0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400b4f2b
mov dword [rsp + 0x30], 0x130
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400b4f2b
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x5c]
call fcn.1402926dc
test eax, eax
jne 0x1400b4f18
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
jmp 0x1400b4f2b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400b4ef8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
add rsp, 0x168
ret

Function at 0x1400b6bb0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400b6bf0
xor eax, eax
jmp 0x1400b6c12
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x1400cb670
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x20]
lea rcx, [0x1400ca9a0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop rdi
ret

Function at 0x1400cbdb0
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3c0
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x58]
call fcn.1400a5a00
nop
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
cmp qword [rsp + 0x40], 0xffffffffffffffff
jne 0x1400cbe29
mov rcx, qword [rsp + 0x3d0]
call fcn.1400a5a00
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x58]
call fcn.1400aa450
mov rax, qword [rsp + 0x3d0]
jmp 0x1400cbfc1
mov dword [rsp + 0x70], 0x130
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400cbf92
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x48], rax
mov r9d, 0x104
lea r8, [rsp + 0x2b0]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_K32GetModuleFileNameExA
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x78]
call fcn.1400cb670
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400cbeb3
mov r8d, 0x104
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x2b0]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x58]
call fcn.140095de0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1400cbf92
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x50], rax
mov r9d, 0x104
lea r8, [rsp + 0x2b0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_K32GetModuleFileNameExA
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x78]
call fcn.1400cb670
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400cbf8d
mov r8d, 0x104
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x2b0]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x58]
call fcn.140095de0
jmp 0x1400cbedf
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x3d0]
call fcn.1400a5b60
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x58]
call fcn.1400aa450
mov rax, qword [rsp + 0x3d0]
add rsp, 0x3c0
pop rdi
ret
Function at 0x1400d4310
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x88]
call fcn.1400a5a00
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400d4384
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x1400d4377
and dword [rsp + 0x34], 0xfffffffe
mov rcx, qword [rsp + 0x88]
call fcn.1400aa470
mov rax, qword [rsp + 0x88]
jmp 0x1400d4460
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
xor eax, eax
mov word [rsp + 0x30], ax
jmp 0x1400d43c0
movzx eax, word [rsp + 0x30]
inc ax
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x38], rax
movzx eax, word [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x1400d443b
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
jne 0x1400d4436
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx]
mov rdx, qword [rsp + 0x38]
mov edx, dword [rdx + 8]
mov r8, qword [rsp + 0x38]
mov r8d, dword [r8 + 0x24]
mov qword [rsp + 0x20], r8
mov r9d, edx
mov r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400a89a0
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call fcn.1400d3630
jmp 0x1400d43a5
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x1400d4458
and dword [rsp + 0x34], 0xfffffffe
mov rcx, qword [rsp + 0x88]
call fcn.1400aa470
mov rax, qword [rsp + 0x88]
add rsp, 0x78
ret
Function at 0x140100da0
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 [0x140459900]
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 0x140100e0c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14011fa20
jmp 0x140100eea
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 0x140100e3c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14011fa20
jmp 0x140100eea
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x140100e60
cmp ecx, 1
je 0x140100e4f
mov ebx, r14d
call fcn.1401018d0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x140100e65
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1402cbd44]
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.14011d8c0
lea rcx, [rsp + 0x58]
call fcn.140100c30
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.140101530
test al, al
je 0x140100ed9
mov dword [r15], 1
jmp 0x140100ee8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.14010ce40
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140273e20
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x140100da0
Function at 0x140110660
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 [0x14045ec50], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14011070f
test rdi, rdi
je 0x14011070f
mov eax, dword [0x14045ec54]
test eax, eax
jne 0x140110707
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.1401103b0
mov ecx, 2
call fcn.140285b20
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.14011d890
mov rcx, qword [0x14045ec48]
call fcn.140286134
call fcn.14028cf98
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 [0x14045ec54], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x140110737
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.1401103b0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1401107b0
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 [0x14045ec50], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14011085f
test rdi, rdi
je 0x14011085f
mov eax, dword [0x14045ec54]
test eax, eax
jne 0x140110857
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.1401103b0
mov ecx, 2
call fcn.140285b20
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.14011d890
mov rcx, qword [0x14045ec48]
call fcn.140286134
call fcn.14028cf98
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 [0x14045ec54], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x140110887
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.1401103b0
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14011fda0
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 [0x140459900]
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 0x140100e0c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14011fa20
jmp 0x140100eea
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 0x140100e3c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14011fa20
jmp 0x140100eea
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x140100e60
cmp ecx, 1
je 0x140100e4f
mov ebx, r14d
call fcn.1401018d0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x140100e65
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1402cbd44]
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.14011d8c0
lea rcx, [rsp + 0x58]
call fcn.140100c30
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.140101530
test al, al
je 0x140100ed9
mov dword [r15], 1
jmp 0x140100ee8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.14010ce40
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140273e20
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x140100da0
Function at 0x140123be0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x140459900]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x14045ef10], 0
mov r14, rcx
jne 0x140123c19
call fcn.14015df50
test eax, eax
je 0x140123c37
mov byte [0x14045ef10], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140273e20
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x140123c56
mov edx, 0x400
call fcn.14015eff0
call fcn.14015df50
test eax, eax
jne 0x140123c19
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 [0x1402d2ac8]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.140100c30
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.14010cd30
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.140100c30
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.140100c30
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.140100c30
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.140100c30
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 0x140123cb0
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.14015dc80
call fcn.14015df50
test eax, eax
je 0x140123ca0
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.14015ed80
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 0x140123ded
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.14015eff0
call fcn.14015df50
test eax, eax
jne 0x140123c19
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.14010cfc0
call fcn.14015df50
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x140123c1b
Function at 0x140128bc0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1038
call fcn.1402738e0
sub rsp, rax
mov rax, qword [0x140459900]
xor rax, rsp
mov qword [rsp + 0x1020], rax
call fcn.14029a618
mov byte [rsp + 0x20], 0
test rax, rax
je 0x140128c37
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x140128c37
lea r8, [0x1402d2ad0]
mov edx, Ordinal_46
lea rcx, [rsp + 0x20]
call fcn.140110990
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140273e20
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140273e20
add rsp, 0x1038
ret

Function at 0x14012f060
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 [0x140459900]
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 0x14012f0eb
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.140110140
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.14010db10
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x14012f110
lea rdx, str.Error_accept__ing_server_connect
call fcn.14010ce40
lea eax, [rbx + 0x1f]
jmp 0x14012f189
lea rdx, str.Connection_accepted_from_server_n
call fcn.14010cfc0
mov edx, 1
mov byte [rdi + 0x3f8], 0
mov rcx, rbx
mov qword [rdi + 0x260], rbx
call fcn.14011c650
mov byte [rdi + 0x279], 1
cmp qword [rsi + 0x728], 0
je 0x14012f187
mov dl, 1
mov rcx, rsi
call fcn.1400fbb70
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.1400fbb70
test ebx, ebx
je 0x14012f187
mov rcx, rdi
call fcn.14012f6a0
mov eax, Ordinal_46
jmp 0x14012f189
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140273e20
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 0x140130260
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 0x140130285
cmp dword [rax + 0x9f0], 0
je 0x1401302b1
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1401302b1
lea rdx, str.MDTM__s
call fcn.1401481c0
test eax, eax
jne 0x1401302be
mov dword [rbx + 0x850], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140131130
add rsp, 0x20
pop rbx
ret