joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a5d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6010], 0
lea rbx, [rcx + 0x6018]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a677
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a62a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ce20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400049a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6010]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6020]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140087280]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a67f
mov rcx, rbx
call fcn.1400049a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001a9a0
Capabilities:
Write 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 [0x140087288]
xor ebp, ebp
cmp byte [rbx + 0x5f68], bpl
jne 0x14001aa7f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001aa78
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140004240
mov rsi, rax
test rax, rax
je 0x14001aa78
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001aa04
mov rcx, rax
call fcn.14001abd0
mov r8, qword [0x140087288]
test r8, r8
je 0x14001aa6f
movsx rdx, word [r8 + 0x60f0]
lea rcx, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001aa64
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rcx, [r8 + 0x60f4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60ec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f68], 1
movss xmm0, dword [rbx + 0x5f6c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001ab0e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f6c], xmm0
jb 0x14001ab0e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001ab01
mov rax, qword [0x140087288]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f6c], ebp
call fcn.14001ae30
lea rdx, [0x140051184]
mov rcx, rdi
mov rsi, rax
call fcn.140004150
mov rdi, rax
test rax, rax
je 0x14001ab08
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001ab08
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f6c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001ab30
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140087288]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001ab93
mov qword [rsp], rbx
lea rbx, [0x140053a60]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001ab73
cmp byte [r8], r9b
jne 0x14001ab73
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14001ab60
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f80]
not eax
mov r8, qword [r10 + 0x5f88]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001abbf
cmp dword [r8 + 8], eax
je 0x14001abc6
add r8, 0x48
cmp r8, rcx
jne 0x14001abb0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002f550
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140076040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140087288]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002f76e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002f76e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140087288]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14002f624
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14002f619
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x14002f641
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14002f644
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14002f687
mov rsi, qword [r8 + 0x90]
jmp 0x14002f68a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14002f6b5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140087288]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002f72e
inc rbx
cmp rbx, 5
jl 0x14002f710
jmp 0x14002f75a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14002f770
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004d090
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14004a070
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 8
call fcn.140049980
call fcn.14002f030
call fcn.14002f4d0
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004a0b2
call qword [sym.imp.USER32.dll_DestroyWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, [0x14006da20]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x14004dab0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004dafa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004dafa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004dafa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004dafa
cmp dword [rcx + 0x84], 0xe
jbe 0x14004dafa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004dafc
xor al, al
add rsp, 0x28
ret
Function at 0x140062d80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x4a], 0
je 0x140062da3
xor eax, eax
nop dword [rax]
lea ecx, [rax - 0x71]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x49
jb 0x140062d90
mov byte [rdx + 0x4a], 0
call fcn.14006dd80
lea rax, [0x140330a30]
add rsp, 0x28
ret
Function at 0x140064220
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x15], 0
je 0x140064243
xor eax, eax
nop dword [rax]
lea ecx, [rax - 0x71]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x14
jb 0x140064230
mov byte [rdx + 0x15], 0
call fcn.14006dd80
lea rax, [0x140330a30]
add rsp, 0x28
ret
Function at 0x140068f50
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 [0x1403285c0]
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.14009c190
mov rsi, rax
xorps xmm0, xmm0
test rax, rax
jne 0x14006902a
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.14006ee20
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140068ff4
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140068fef
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140069146
mov rcx, r8
call fcn.14021a750
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.14021a730
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 [0x1402fef50]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
movdqa xmm0, xmmword [0x1402ff010]
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0x8dcfc9e8
mov dword [rbp - 0x4c], 0x89ccd4c2
mov dword [rbp - 0x48], 0x85998696
mov word [rbp - 0x44], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x71]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x1c
jb 0x140069070
mov byte [rbp - 0x43], 0
lea r8, [rbp - 0x60]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400a0220
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rsi
call fcn.1400a0220
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rsi
call fcn.1400a0220
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400690c0
mov r8, qword [rbx]
mov edx, 0x271f
mov rcx, rsi
call fcn.1400a0220
lea r8, [0x140068f20]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.1400a0220
lea r8, [rbp - 0x30]
mov edx, 0x2711
mov rcx, rsi
call fcn.1400a0220
mov rcx, rsi
call fcn.14009c260
test eax, eax
je 0x140069119
mov ecx, eax
call fcn.14009d2c0
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, rsi
call fcn.14009c170
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1402fef50]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
jmp 0x140068fba
call fcn.14022f5b0
int3
Function at 0x14006a160
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x26], 0
je 0x14006a183
xor eax, eax
nop dword [rax]
lea ecx, [rax - 0x71]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x25
jb 0x14006a170
mov byte [rdx + 0x26], 0
call fcn.14006dd80
lea rax, [0x140330a30]
add rsp, 0x28
ret
Function at 0x1400a6170
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 [0x1403285c0]
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 0x1400a61dc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400c4e50
jmp 0x1400a62ba
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 0x1400a620c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400c4e50
jmp 0x1400a62ba
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400a6230
cmp ecx, 1
je 0x1400a621f
mov ebx, r14d
call fcn.1400a6ca0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400a6235
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140265894]
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.1400b6160
lea rcx, [rsp + 0x58]
call fcn.1400a6000
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400a6900
test al, al
je 0x1400a62a9
mov dword [r15], 1
jmp 0x1400a62b8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400b2220
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14021a730
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400a6170
Function at 0x1400b5a30
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 [0x14032d240], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400b5adf
test rdi, rdi
je 0x1400b5adf
mov eax, dword [0x14032d244]
test eax, eax
jne 0x1400b5ad7
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.1400b5780
mov ecx, 2
call fcn.140237d74
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.1400b6130
mov rcx, qword [0x14032d238]
call fcn.14023d8ac
call fcn.14022f878
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 [0x14032d244], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1400b5b07
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.1400b5780
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b5b80
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 [0x14032d240], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400b5c2f
test rdi, rdi
je 0x1400b5c2f
mov eax, dword [0x14032d244]
test eax, eax
jne 0x1400b5c27
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.1400b5780
mov ecx, 2
call fcn.140237d74
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.1400b6130
mov rcx, qword [0x14032d238]
call fcn.14023d8ac
call fcn.14022f878
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 [0x14032d244], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x1400b5c57
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.1400b5780
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c51d0
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 [0x1403285c0]
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 0x1400a61dc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400c4e50
jmp 0x1400a62ba
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 0x1400a620c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400c4e50
jmp 0x1400a62ba
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400a6230
cmp ecx, 1
je 0x1400a621f
mov ebx, r14d
call fcn.1400a6ca0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400a6235
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140265894]
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.1400b6160
lea rcx, [rsp + 0x58]
call fcn.1400a6000
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400a6900
test al, al
je 0x1400a62a9
mov dword [r15], 1
jmp 0x1400a62b8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400b2220
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14021a730
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400a6170
Function at 0x1400c9010
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x1403285c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x14032d500], 0
mov r14, rcx
jne 0x1400c9049
call fcn.140102030
test eax, eax
je 0x1400c9067
mov byte [0x14032d500], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14021a730
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x1400c9086
mov edx, 0x400
call fcn.1401030d0
call fcn.140102030
test eax, eax
jne 0x1400c9049
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 [0x14026c5c8]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400a6000
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.1400b2110
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400a6000
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400a6000
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.1400a6000
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400a6000
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 0x1400c90e0
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.140101d60
call fcn.140102030
test eax, eax
je 0x1400c90d0
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.140102e60
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 0x1400c921d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.1401030d0
call fcn.140102030
test eax, eax
jne 0x1400c9049
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1400b23a0
call fcn.140102030
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x1400c904b
Function at 0x1400cdff0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1038
call fcn.14021b2c0
sub rsp, rax
mov rax, qword [0x1403285c0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
call fcn.14023e944
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400ce067
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400ce067
lea r8, [0x14026c5d0]
mov edx, Ordinal_45
lea rcx, [rsp + 0x20]
call fcn.1400b5d60
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14021a730
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14021a730
add rsp, 0x1038
ret

Function at 0x1400d4490
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 [0x1403285c0]
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 0x1400d451b
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.1400b5510
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.1400b2ef0
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400d4540
lea rdx, str.Error_accept__ing_server_connect
call fcn.1400b2220
lea eax, [rbx + 0x1f]
jmp 0x1400d45b9
lea rdx, str.Connection_accepted_from_server_n
call fcn.1400b23a0
mov edx, 1
mov byte [rdi + 0x3f8], 0
mov rcx, rbx
mov qword [rdi + 0x260], rbx
call fcn.1400c2fe0
mov byte [rdi + 0x279], 1
cmp qword [rsi + 0x728], 0
je 0x1400d45b7
mov dl, 1
mov rcx, rsi
call fcn.1400a0f40
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.1400a0f40
test ebx, ebx
je 0x1400d45b7
mov rcx, rdi
call fcn.1400d4ad0
mov eax, Ordinal_45
jmp 0x1400d45b9
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14021a730
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 0x1400d5690
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 0x1400d56b5
cmp dword [rax + 0x9f0], 0
je 0x1400d56e1
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1400d56e1
lea rdx, str.MDTM__s
call fcn.1400ec300
test eax, eax
jne 0x1400d56ee
mov dword [rbx + 0x850], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400d6560
add rsp, 0x20
pop rbx
ret