joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011285
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x140011d50
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140023016]
call fcn.140011393
lea rcx, str.SeDebugPrivilege
call fcn.140011244
test eax, eax
jne 0x140011d8a
mov eax, 0xffffffff
jmp 0x140011d9c
call fcn.140011145
test eax, eax
jne 0x140011d9a
mov eax, 0xffffffff
jmp 0x140011d9c
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014640
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014660
xor al, al
jmp 0x1400146e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014673
xor al, al
jmp 0x1400146e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001469d
xor al, al
jmp 0x1400146e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400146b1
xor al, al
jmp 0x1400146e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400146c3
xor al, al
jmp 0x1400146e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400146df
xor al, al
jmp 0x1400146e1
mov al, 1
add rsp, 0x38
ret

Function at 0x1400112c1
Capabilities:
Create process memory minidump

Disassembly:
jmp 0x140011eea
jmp qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
Function at 0x6da906a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6dab15e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6da90828
mov rax, qword [0x6dab15e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6da906ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6da90775
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6da906d0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6da9085d
mov rax, qword [0x6dab15e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6dab15e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6da90840
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6da9076e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6da907d0
add dword [0x6dab15e4], 1
cmp edi, 8
jae 0x6da907a3
test dil, 4
jne 0x6da90814
test edi, edi
je 0x6da90798
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6da9082f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6da90798
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6da907bc
jmp 0x6da90798
add rsi, qword [0x6dab15e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6da9076e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6da90798
xor esi, esi
jmp 0x6da906f7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6da90798
mov rax, qword [0x6dab15e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6da90fb0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6dab18c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6dab18a0]
test rbx, rbx
je 0x6da91004
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6da90ffb
test rsi, rsi
je 0x6da90ffb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6da90fe0
lea rcx, [0x6dab18c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6da91240
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6da91250
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6da91260
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6da912a1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6da91298
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6da912a3
add rax, 0x28
cmp rax, r9
jne 0x6da91284
xor eax, eax
ret

Function at 0x6da91340
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6daae1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6da913ad
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da913ad
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6da913ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6da913a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6da913af
add rax, 0x28
cmp rax, r9
jne 0x6da91390
xor eax, eax
add rsp, 0x28
ret

Function at 0x6da914b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6daae1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6da914d0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da914c8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6da9152d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6da91524
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6da91534
add rax, 0x28
cmp rax, r9
jne 0x6da91510
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6da91550
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6daae1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6da915be
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6da915be
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6da915be
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6da915be
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6da915b5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6da915c5
add rcx, 0x28
cmp rcx, rax
jne 0x6da915a0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6da915d8
jmp 0x6da915be
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6da915e6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6da915be
test r9d, r9d
jg 0x6da915d0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6da91920
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140062e30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x4a], 0
je 0x140062e53
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x27]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x49
jb 0x140062e40
mov byte [rdx + 0x4a], 0
call fcn.14006e380
lea rax, [0x140332a50]
add rsp, 0x28
ret
Function at 0x1400643e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x15], 0
je 0x140064403
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x27]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x14
jb 0x1400643f0
mov byte [rdx + 0x15], 0
call fcn.14006e380
lea rax, [0x140332a50]
add rsp, 0x28
ret
Function at 0x1400695c0
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, 0x70
mov rax, qword [0x14032a5b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x30], rdx
call fcn.14009c580
mov r14, rax
xor esi, esi
test rax, rax
jne 0x140069697
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], sil
lea r8d, [rax + 4]
lea rdx, str.null
mov rcx, rdi
call fcn.14006d370
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140069664
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14006965f
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1400697ee
mov rcx, rax
call fcn.14021ad70
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov rax, rdi
mov byte [rbx], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14021ad50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
movdqa xmm0, xmmword [0x140300eb0]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x15575140
mov dword [rbp - 0x3c], 0x11544c5a
mov dword [rbp - 0x38], 0x6d716e0e
mov word [rbp - 0x34], 0x100
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x27]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x1c
jb 0x1400696e0
mov byte [rbp - 0x33], sil
lea r8, [rbp - 0x50]
mov edx, 0x2712
mov rcx, r14
call fcn.1400a0610
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, r14
call fcn.1400a0610
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, r14
call fcn.1400a0610
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140069730
mov r8, qword [rbx]
mov edx, 0x271f
mov rcx, r14
call fcn.1400a0610
lea r8, [0x140069590]
mov edx, 0x4e2b
mov rcx, r14
call fcn.1400a0610
lea r8, [rbp - 0x28]
mov edx, 0x2711
mov rcx, r14
call fcn.1400a0610
mov rcx, r14
call fcn.14009c650
test eax, eax
je 0x140069789
mov ecx, eax
call fcn.14009d6b0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call fcn.14009c560
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], sil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140069664
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14006965f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400697ee
mov rcx, r8
jmp 0x14006965f
call fcn.14022f310
int3
Function at 0x14006a740
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x26], 0
je 0x14006a763
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x27]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x25
jb 0x14006a750
mov byte [rdx + 0x26], 0
call fcn.14006e380
lea rax, [0x140332a50]
add rsp, 0x28
ret
Function at 0x1400a6560
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 [0x14032a5b0]
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 0x1400a65cc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400c5240
jmp 0x1400a66aa
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 0x1400a65fc
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400c5240
jmp 0x1400a66aa
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400a6620
cmp ecx, 1
je 0x1400a660f
mov ebx, r14d
call fcn.1400a7090
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400a6625
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140266844]
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, ntohl
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400b6550
lea rcx, [rsp + 0x58]
call fcn.1400a63f0
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400a6cf0
test al, al
je 0x1400a6699
mov dword [r15], 1
jmp 0x1400a66a8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400b2610
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14021ad50
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400a6560
Function at 0x1400b5e20
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 [0x14032f260], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400b5ecf
test rdi, rdi
je 0x1400b5ecf
mov eax, dword [0x14032f264]
test eax, eax
jne 0x1400b5ec7
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.1400b5b70
mov ecx, 2
call fcn.140237c34
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.1400b6520
mov rcx, qword [0x14032f258]
call fcn.14023d76c
call fcn.14022f5d8
mov dword [rax], ntohl
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x14032f264], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1400b5ef7
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.1400b5b70
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b5f70
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 [0x14032f260], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400b601f
test rdi, rdi
je 0x1400b601f
mov eax, dword [0x14032f264]
test eax, eax
jne 0x1400b6017
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.1400b5b70
mov ecx, 2
call fcn.140237c34
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.1400b6520
mov rcx, qword [0x14032f258]
call fcn.14023d76c
call fcn.14022f5d8
mov dword [rax], ntohl
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x14032f264], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x1400b6047
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.1400b5b70
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c55c0
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 [0x14032a5b0]
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 0x1400a65cc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400c5240
jmp 0x1400a66aa
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 0x1400a65fc
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400c5240
jmp 0x1400a66aa
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400a6620
cmp ecx, 1
je 0x1400a660f
mov ebx, r14d
call fcn.1400a7090
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400a6625
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140266844]
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, ntohl
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400b6550
lea rcx, [rsp + 0x58]
call fcn.1400a63f0
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400a6cf0
test al, al
je 0x1400a6699
mov dword [r15], 1
jmp 0x1400a66a8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400b2610
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14021ad50
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400a6560
Function at 0x1400c9400
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x14032a5b0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x14032f520], 0
mov r14, rcx
jne 0x1400c9439
call fcn.140102420
test eax, eax
je 0x1400c9457
mov byte [0x14032f520], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14021ad50
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x1400c9476
mov edx, 0x400
call fcn.1401034c0
call fcn.140102420
test eax, eax
jne 0x1400c9439
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 [0x14026d578]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400a63f0
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.1400b2500
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400a63f0
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400a63f0
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.1400a63f0
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400a63f0
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 0x1400c94d0
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.140102150
call fcn.140102420
test eax, eax
je 0x1400c94c0
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.140103250
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 0x1400c960d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.1401034c0
call fcn.140102420
test eax, eax
jne 0x1400c9439
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1400b2790
call fcn.140102420
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x1400c943b
Function at 0x1400ce3e0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1038
call fcn.14021ba70
sub rsp, rax
mov rax, qword [0x14032a5b0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
call fcn.14023e804
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400ce457
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400ce457
lea r8, [0x14026d580]
mov edx, Ordinal_45
lea rcx, [rsp + 0x20]
call fcn.1400b6150
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14021ad50
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14021ad50
add rsp, 0x1038
ret

Function at 0x1400d4880
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 [0x14032a5b0]
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 0x1400d490b
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.1400b5900
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.1400b32e0
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400d4930
lea rdx, str.Error_accept__ing_server_connect
call fcn.1400b2610
lea eax, [rbx + 0x1f]
jmp 0x1400d49a9
lea rdx, str.Connection_accepted_from_server_n
call fcn.1400b2790
mov edx, 1
mov byte [rdi + 0x3f8], 0
mov rcx, rbx
mov qword [rdi + 0x260], rbx
call fcn.1400c33d0
mov byte [rdi + 0x279], 1
cmp qword [rsi + 0x728], 0
je 0x1400d49a7
mov dl, 1
mov rcx, rsi
call fcn.1400a1330
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.1400a1330
test ebx, ebx
je 0x1400d49a7
mov rcx, rdi
call fcn.1400d4ec0
mov eax, Ordinal_45
jmp 0x1400d49a9
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14021ad50
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 0x1400d5a80
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 0x1400d5aa5
cmp dword [rax + 0x9f0], 0
je 0x1400d5ad1
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1400d5ad1
lea rdx, str.MDTM__s
call fcn.1400ec6f0
test eax, eax
jne 0x1400d5ade
mov dword [rbx + 0x850], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400d6950
add rsp, 0x20
pop rbx
ret