Function at 0x140035380
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov rbp, rdx
add rcx, 0x30
call fcn.1400ca5e0
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400353b2
call fcn.1400cdc40
call fcn.1400cdc80
mov qword [rdi + 8], rax
mov rsi, rax
test rax, rax
jne 0x1400353e1
lea rdx, str.CURL_initialization_failed
xor ecx, ecx
call fcn.140033bd0
lea rcx, [rdi + 0x30]
call fcn.1400cabc0
xor al, al
jmp 0x1400356ac
cmp qword [rdi + 0x28], 0
jne 0x14003540d
mov edx, 1
mov ecx, 0x800
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rdi + 0x28], rax
test rax, rax
je 0x1400356c2
mov qword [rdi + 0x20], 0x800
mov rax, qword [rdi + 0x28]
lea rcx, [rdi + 0x30]
mov qword [rsp + 0x30], rbx
mov byte [rax], 0
call fcn.1400cabc0
mov rcx, qword [rdi]
cmp rbp, rcx
je 0x14003543c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rdi], rax
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
or rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax]
inc rcx
cmp byte [rcx + rbp], 0
jne 0x140035450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1400356db
lea rdx, [0x14017341c]
mov rcx, rbp
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rcx, qword [rdi + 0x10]
lea rdx, str.http_s
mov r8, rax
call fcn.140029290
lea rbp, [0x1401966c0]
mov edx, 0x271a
mov r8, rbp
mov rcx, rsi
call fcn.1400cde10
cmp byte [0x1401965d9], 0
je 0x1400354c0
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rsi
lea r8d, [rdx - 0x28]
call fcn.1400cde10
mov r8, qword [rdi + 0x10]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400cde10
test eax, eax
je 0x140035508
inc rbx
cmp byte [rbx + rbp], 0
jne 0x1400354d5
test rbx, rbx
je 0x1400354f2
mov r8, rbp
lea rdx, str.CURLOPT_URL_error:__s
jmp 0x140035678
mov ecx, eax
call fcn.1400cec40
mov r8, rax
lea rdx, str.CURLOPT_URL_error:__s
jmp 0x140035678
mov edx, 0x4a
mov rcx, rsi
lea r8d, [rdx - 0x49]
call fcn.1400cde10
mov r8d, dword [0x140185948]
mov edx, Ordinal_79
mov rcx, rsi
call fcn.1400cde10
mov edx, 0x63
mov rcx, rsi
lea r8d, [rdx - 0x62]
call fcn.1400cde10
mov edx, 0x79
mov rcx, rsi
lea r8d, [rdx - 0x78]
call fcn.1400cde10
mov r8, qword [0x140196118]
test r8, r8
je 0x140035587
cmp dword [0x14019610c], 0
je 0x140035587
mov edx, 0x2714
mov rcx, rsi
call fcn.1400cde10
mov r8d, dword [0x14019610c]
mov edx, 0x65
mov rcx, rsi
call fcn.1400cde10
jmp 0x1400355f5
lea rcx, str.http_proxy
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400355f5
lea rcx, str.all_proxy
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400355bd
lea rcx, str.all_proxy
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, rax
jmp 0x1400355e8
lea rcx, str.ALL_PROXY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400355e1
lea rcx, str.ALL_PROXY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, rax
jmp 0x1400355e8
lea r8, [0x1401332a2]
mov edx, 0x2714
mov rcx, rsi
call fcn.1400cde10
lea r8, [0x140034250]
mov edx, 0x4eb4
mov rcx, rsi
call fcn.1400cde10
lea r8, [0x140035350]
mov edx, 0x4ec3
mov rcx, rsi
call fcn.1400cde10
lea r8, [rdi + 0x18]
mov edx, 0x27b4
mov rcx, rsi
call fcn.1400cde10
mov edx, Ordinal_143
mov r8d, 1
mov rcx, rsi
call fcn.1400cde10
mov rcx, rsi
mov byte [0x1401966c0], 0
call fcn.1400cdd40
test eax, eax
je 0x14003569c
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140035654
test rbx, rbx
je 0x140035667
mov r8, rbp
jmp 0x140035671
mov ecx, eax
call fcn.1400cec40
mov r8, rax
lea rdx, str.Stratum_connect_failed:__s
xor ecx, ecx
call fcn.140033bd0
mov rcx, rsi
call fcn.1400cdc40
lea rcx, [rdi + 0x30]
mov qword [rdi + 8], 0
call fcn.1400cabc0
xor al, al
jmp 0x1400356a7
lea rcx, [rdi + 0x30]
call fcn.1400cabc0
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033bd0
mov ecx, 2
call fcn.1400293d0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033bd0
lea rcx, [rdi + 0x30]
call fcn.1400cabc0
mov ecx, 2
call fcn.1400293d0
int3