Function at 0x1400da6d1
Capabilities:
Query environment variable

Disassembly:
jmp 0x1402807f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x298
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, WSAGetLastError
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2b8]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400dabe5
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rax, [rbp + 0x128]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov dword [rbp + 0x154], 0
mov qword [rbp + 0x178], 0
call qword [sym.imp.libcurl_d.dll_curl_easy_init]
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x198], 0
jne 0x140280891
lea rdx, str.Remote_config_init_failed_
xor ecx, ecx
call fcn.1400da4f1
xor eax, eax
jmp 0x140280ab2
mov r8, qword [rbp + 0x290]
mov edx, 0x2712
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
mov r8d, 1
mov edx, 0x4a
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
mov r8d, recv
mov edx, 0x4e
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
lea r8, [rbp + 0x10]
mov edx, 0x271a
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
mov r8d, 1
mov edx, 0x63
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
mov r8d, 1
mov edx, 0x79
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
lea r8, [0x14027e200]
mov edx, 0x4e2b
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
lea r8, [rbp + 0x128]
mov edx, 0x2711
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
cmp qword [0x1402b2940], 0
je 0x140280993
mov r8, qword [0x1402b2940]
mov edx, 0x2714
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
mov r8d, dword [0x1402b2938]
mov edx, 0x65
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
jmp 0x140280a2e
lea rcx, str.http_proxy
call qword [sym.imp.ucrtbased.dll_getenv]
test rax, rax
je 0x140280a2e
lea rcx, str.all_proxy
call qword [sym.imp.ucrtbased.dll_getenv]
test rax, rax
je 0x1402809df
lea rcx, str.all_proxy
call qword [sym.imp.ucrtbased.dll_getenv]
mov r8, rax
mov edx, 0x2714
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
jmp 0x140280a2e
lea rcx, str.ALL_PROXY
call qword [sym.imp.ucrtbased.dll_getenv]
test rax, rax
je 0x140280a15
lea rcx, str.ALL_PROXY
call qword [sym.imp.ucrtbased.dll_getenv]
mov r8, rax
mov edx, 0x2714
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
jmp 0x140280a2e
lea r8, [0x14029149e]
mov edx, 0x2714
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_setopt]
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_perform]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140280a5e
lea r8, [rbp + 0x10]
lea rdx, str.Remote_config_read_failed:__s
xor ecx, ecx
call fcn.1400da4f1
jmp 0x140280a9e
cmp qword [rbp + 0x128], 0
je 0x140280a72
cmp qword [rbp + 0x130], 0
jne 0x140280a82
lea rdx, str.Empty_data_received_for_config
xor ecx, ecx
call fcn.1400da4f1
jmp 0x140280a9e
mov r8, qword [rbp + 0x298]
xor edx, edx
mov rcx, qword [rbp + 0x128]
call fcn.1400dac58
mov qword [rbp + 0x178], rax
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.libcurl_d.dll_curl_easy_cleanup]
mov rax, qword [rbp + 0x178]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400daa05
mov rax, rdi
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret