joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140082500
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140401ac0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebx, ecx
lea rcx, str.reg_add_HKLMSOFTWAREKNOXUI__f
call fcn.14023d5c0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREKnoxUI
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp ebx, 1
jne 0x1400825e8
mov rbx, 0xffffffffffffffff
lea rcx, [0x14040d4a0]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140082570
inc eax
lea rdx, str.Username
mov dword [rsp + 0x28], eax
mov r9d, 1
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rax, [0x14040d5a0]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400825a6
mov rcx, qword [rsp + 0x30]
lea rdx, str.Password
inc ebx
mov r9d, 1
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140222c70
add rsp, 0x50
pop rbx
ret
cmp ebx, 2
jne 0x140082659
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], Ordinal_32
lea rcx, [0x14040d4a0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rdx, str.Username
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x3c], Ordinal_32
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rdx, str.Password
lea rax, [0x14040d5a0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140222c70
add rsp, 0x50
pop rbx
ret
Function at 0x140082980
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140401ac0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp + 0xf], rcx
mov qword [rbp + 7], rdx
xor r14d, r14d
call fcn.1400a6120
mov rsi, rax
xorps xmm0, xmm0
test rax, rax
jne 0x1400829f5
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea r8d, [r14 + 4]
lea rdx, str.null
mov rcx, rbx
call fcn.14005ccb0
nop
mov rcx, rdi
call fcn.14006a100
jmp 0x140082b78
movups xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x14026eb10]
movdqu xmmword [rbp + 0x27], xmm1
mov byte [rbp + 0x17], 0
movdqa xmm0, xmmword [0x14026ecc0]
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x19], 0xedafa9c8
mov dword [rbp - 0x15], 0xe9acb4a2
mov dword [rbp - 0x11], 0xe5f9e6f6
mov word [rbp - 0xd], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx - 0x51]
xor byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0x1c
jb 0x140082a40
mov byte [rbp - 0xc], 0
lea r8, [rbp - 0x29]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400a8ec0
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rsi
call fcn.1400a8ec0
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rsi
call fcn.1400a8ec0
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140082a90
mov r8, qword [rdi]
mov edx, 0x271f
mov rcx, rsi
call fcn.1400a8ec0
lea r8, [0x140086960]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.1400a8ec0
lea r8, [rbp + 0x17]
mov edx, 0x2711
mov rcx, rsi
call fcn.1400a8ec0
mov rcx, rsi
call fcn.1400a61f0
test eax, eax
je 0x140082ae9
mov ecx, eax
call fcn.1400a57f0
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.1400a60d0
mov dword [rbp + 0xf], r14d
lea r8, [rbp + 0xf]
mov edx, 0x200002
mov rcx, rsi
call fcn.1400a60f0
cmp dword [rbp + 0xf], 0x1ad
je 0x140082b9f
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x14026eb10]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140082b69
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140082b64
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140082bb8
mov rcx, r8
call fcn.140222bac
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140222c70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, str.Youre_connecting_too_fast_to_loader__slow_down.
lea rcx, [rbp - 0x29]
call fcn.140067400
mov rcx, rax
call fcn.140079780
nop
call fcn.140238238
int3
Function at 0x140086990
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 0x1400869b2
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 0x140086a2c
mov rdi, r14
mov rcx, rbx
call fcn.140071b60
test rax, rax
jle 0x140086a04
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.140264170
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 0x140086a1c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140086a24
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400869c6
sub r14, rdi
jmp 0x140086b0f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140086a43
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140086a45
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140086a77
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140264170
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 0x140086b0c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140086ab2
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 0x140086aed
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14023e2d8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140086b0c
cmp rbp, rax
ja 0x140086ac0
test rbp, rbp
je 0x140086b0c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14023e2d8
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 0x1400b04c0
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 [0x140401ac0]
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 0x1400b052c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400ce6d0
jmp 0x1400b060a
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 0x1400b055c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400ce6d0
jmp 0x1400b060a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400b0580
cmp ecx, 1
je 0x1400b056f
mov ebx, r14d
call fcn.1400b0ff0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400b0585
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140273dc4]
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.1400a90c0
lea rcx, [rsp + 0x58]
call fcn.1400b0350
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400b0c50
test al, al
je 0x1400b05f9
mov dword [r15], 1
jmp 0x1400b0608
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400bce50
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140222c70
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400b04c0
Function at 0x1400c0730
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 [0x14040ed90], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400c07df
test rdi, rdi
je 0x1400c07df
mov eax, dword [0x14040ed94]
test eax, eax
jne 0x1400c07d7
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.1400c0480
mov ecx, 2
call fcn.140232720
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.1400a9090
mov rcx, qword [0x14040ed88]
call fcn.14023dc4c
call fcn.140238440
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 [0x14040ed94], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1400c0807
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.1400c0480
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400c0880
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 [0x14040ed90], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400c092f
test rdi, rdi
je 0x1400c092f
mov eax, dword [0x14040ed94]
test eax, eax
jne 0x1400c0927
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.1400c0480
mov ecx, 2
call fcn.140232720
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.1400a9090
mov rcx, qword [0x14040ed88]
call fcn.14023dc4c
call fcn.140238440
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 [0x14040ed94], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x1400c0957
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.1400c0480
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400cea50
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 [0x140401ac0]
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 0x1400b052c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400ce6d0
jmp 0x1400b060a
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 0x1400b055c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400ce6d0
jmp 0x1400b060a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400b0580
cmp ecx, 1
je 0x1400b056f
mov ebx, r14d
call fcn.1400b0ff0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400b0585
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140273dc4]
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.1400a90c0
lea rcx, [rsp + 0x58]
call fcn.1400b0350
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400b0c50
test al, al
je 0x1400b05f9
mov dword [r15], 1
jmp 0x1400b0608
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400bce50
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140222c70
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400b04c0
Function at 0x1400d2890
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x140401ac0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x14040f050], 0
mov r14, rcx
jne 0x1400d28c9
call fcn.14010b770
test eax, eax
je 0x1400d28e7
mov byte [0x14040f050], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140222c70
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x1400d2906
mov edx, 0x400
call fcn.14010c810
call fcn.14010b770
test eax, eax
jne 0x1400d28c9
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 [0x14027aa98]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400b0350
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.1400bcd40
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400b0350
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400b0350
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.1400b0350
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400b0350
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 0x1400d2960
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.14010b4a0
call fcn.14010b770
test eax, eax
je 0x1400d2950
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.14010c5a0
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 0x1400d2a9d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.14010c810
call fcn.14010b770
test eax, eax
jne 0x1400d28c9
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1400bcfd0
call fcn.14010b770
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x1400d28cb
Function at 0x1400d7870
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1038
call fcn.140223490
sub rsp, rax
mov rax, qword [0x140401ac0]
xor rax, rsp
mov qword [rsp + 0x1020], rax
call fcn.14023d5b8
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1400d78e7
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1400d78e7
lea r8, [0x14027aaa0]
mov edx, Ordinal_46
lea rcx, [rsp + 0x20]
call fcn.1400c0a60
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140222c70
add rsp, 0x1038
ret
xor eax, eax
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140222c70
add rsp, 0x1038
ret

Function at 0x1400ddd10
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 [0x140401ac0]
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 0x1400ddd9b
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.1400c0210
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.1400bdb20
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1400dddc0
lea rdx, str.Error_accept__ing_server_connect
call fcn.1400bce50
lea eax, [rbx + 0x1f]
jmp 0x1400dde39
lea rdx, str.Connection_accepted_from_server_n
call fcn.1400bcfd0
mov edx, 1
mov byte [rdi + 0x3f8], 0
mov rcx, rbx
mov qword [rdi + 0x260], rbx
call fcn.1400cc860
mov byte [rdi + 0x279], 1
cmp qword [rsi + 0x728], 0
je 0x1400dde37
mov dl, 1
mov rcx, rsi
call fcn.1400ab1a0
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.1400ab1a0
test ebx, ebx
je 0x1400dde37
mov rcx, rdi
call fcn.1400de350
mov eax, Ordinal_46
jmp 0x1400dde39
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140222c70
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 0x1400def10
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 0x1400def35
cmp dword [rax + 0x9f0], 0
je 0x1400def61
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1400def61
lea rdx, str.MDTM__s
call fcn.1400f5a40
test eax, eax
jne 0x1400def6e
mov dword [rbx + 0x850], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400dfde0
add rsp, 0x20
pop rbx
ret
Function at 0x1400df760
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x1e0]
cmp dword [rax + 0x20], 0
je 0x1400df798
mov r8d, reloc.WS2_32.dll_listen
mov dword [rbx + 0x850], 0xd
mov dl, 1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400df8b0
cmp byte [rcx + 0xe96], 0
je 0x1400df7b0
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400e02c0
cmp byte [rcx + 0xe99], 0
je 0x1400df851
mov r8, qword [rbx + 0x820]
test r8, r8
jne 0x1400df80b
mov r8, qword [rcx + 0xc00]
test r8, r8
jne 0x1400df7ee
cmp byte [rcx + 0xe95], 0
lea rax, str.NLST
lea r8, [0x14027ae94]
cmovne r8, rax
lea rcx, [rbx + 0x798]
lea rdx, str.PRET__s
call fcn.1400f5a40
test eax, eax
je 0x1400df841
add rsp, 0x20
pop rbx
ret
cmp byte [rcx + 0xea5], 0
lea rcx, [rbx + 0x798]
je 0x1400df831
lea rdx, str.PRET_STOR__s
call fcn.1400f5a40
test eax, eax
je 0x1400df841
add rsp, 0x20
pop rbx
ret
lea rdx, str.PRET_RETR__s
call fcn.1400f5a40
test eax, eax
jne 0x1400df85e
mov dword [rbx + 0x850], 0x1d
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400e0230
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
mov rdx, qword [rax + 0x1e0]
cmp dword [rdx + 0x20], 0
je 0x1400dfbed
cmp qword [rcx + 0x820], 0
je 0x1400dfbed
add rcx, 0x798
lea rdx, str.REST__d
xor r8d, r8d
call fcn.1400f5a40
test eax, eax
jne 0x1400dfbf7
mov dword [rbx + 0x850], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.1400df760
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x798
mov rax, qword [rbx]
mov rdx, qword [rax + 0x1e0]
cmp dword [rdx + 0x20], 1
jne 0x1400dfdcc
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x1400dfdcc
lea rdx, str.SIZE__s
call fcn.1400f5a40
test eax, eax
jne 0x1400dfdd9
mov dword [rbx + 0x850], 0x17
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400dfba0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov r9, qword [rcx]
cmp byte [r9 + 0xea4], 0
je 0x1400dfe38
cmp qword [rcx + 0x820], 0
je 0x1400dfe38
cmp byte [r9 + 0xe93], 0
mov eax, 0x41
mov edx, 0x49
cmovne edx, eax
movsx eax, byte [rcx + 0x840]
cmp eax, edx
je 0x1400dfe38
mov rax, qword [r9 + 0x1e0]
mov r8d, reloc.WS2_32.dll_send
mov dword [rax + 0x20], 1
movzx edx, byte [r9 + 0xe93]
jmp fcn.1400de590
jmp fcn.1400dfd80
Function at 0x1400dfe40
Capabilities:
Check http status code

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rdi, rcx
mov rcx, qword [rcx]
mov esi, r8d
cmp eax, 0x64
jb 0x1400dfe75
lea rdx, str.Couldnt_set_desired_mode
call fcn.1400bce50
lea eax, [rbx + 0x11]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp edx, 0xc8
je 0x1400dfe8c
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.1400bcfd0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
cmp esi, 0x13
jne 0x1400dfea8
mov rcx, rdi
call fcn.1400dfd80
jmp 0x1400e0001
cmp esi, 0x14
jne 0x1400dffe3
mov rsi, qword [rdi]
mov rbp, rbx
cmp dword [rsi + 0xb98], 2
jne 0x1400dff35
mov rax, qword [rsi + 0x1e0]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1400dff35
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call fcn.1400d79a0
test eax, eax
jne 0x1400e0001
mov rcx, qword [rsp + 0x50]
lea edx, [rax + 0x2f]
call fcn.140225634
test rax, rax
je 0x1400dff1f
mov rbp, qword [rsp + 0x50]
mov ecx, 1
sub rax, rbp
cmovne rcx, rax
mov byte [rcx + rbp], bl
jmp 0x1400dff35
mov rcx, qword [rsp + 0x50]
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759lib_ftp.c
mov edx, 0x5c0
call fcn.1400c0430
mov rdx, qword [rsi + 0xc00]
test rdx, rdx
jne 0x1400dff59
cmp byte [rsi + 0xe95], bl
lea rax, str.NLST
lea rdx, [0x14027ae94]
cmovne rdx, rax
lea r8, [0x14026a005]
test rbp, rbp
mov r9, r8
lea rax, reloc.WLDAP32.dll_Ordinal_32
cmovne r9, rbp
lea rcx, [0x140274df8]
cmovne r8, rax
call fcn.1400a8fe0
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759lib_ftp.c
mov edx, 0x5c9
mov rcx, rbp
mov r14, rax
call fcn.1400c0430
test r14, r14
jne 0x1400dffa3
lea ebx, [r14 + 0x1b]
jmp 0x1400e0003
lea rcx, [rdi + 0x798]
mov r8, r14
lea rdx, [0x14027a67c]
call fcn.1400f5a40
lea r8, str.C:Users_riskuDownloads_vcpkg_master_buildtreescurl_srcurl_7_68_0_cd669cc759lib_ftp.c
mov edx, 0x5cf
mov rcx, r14
mov esi, eax
call fcn.1400c0430
test esi, esi
je 0x1400dffd7
mov ebx, esi
jmp 0x1400e0003
mov dword [rdi + 0x850], 0x1f
jmp 0x1400e0003
cmp esi, 0x15
jne 0x1400dffee
lea r8d, [rsi - 8]
jmp 0x1400dfff7
cmp esi, 0x16
jne 0x1400e0003
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rdi
call fcn.1400df8b0
mov ebx, eax
mov r14, qword [rsp + 0x60]
mov eax, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret