Function at 0x140034a90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbp, rdx
add rcx, 0x30
call fcn.1400c6570
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140034ac1
call fcn.1400c9bd0
call fcn.1400c9c10
mov qword [rdi + 8], rax
mov rsi, rax
test rax, rax
jne 0x140034af0
lea rdx, str.CURL_initialization_failed
xor ecx, ecx
call fcn.140033450
lea rcx, [rdi + 0x30]
call fcn.1400c6b50
xor al, al
jmp 0x140034daa
cmp qword [rdi + 0x28], 0
jne 0x140034b1c
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 0x140034dbf
mov qword [rdi + 0x20], 0x800
mov rax, qword [rdi + 0x28]
lea rcx, [rdi + 0x30]
mov byte [rax], 0
call fcn.1400c6b50
mov rcx, qword [rdi]
cmp rbp, rcx
je 0x140034b46
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
inc rcx
cmp byte [rcx + rbp], 0
jne 0x140034b57
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140034dd8
lea rdx, [0x14016d7cc]
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.140029280
cmp byte [0x140190371], 0
je 0x140034bb0
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rsi
lea r8d, [rdx - 0x28]
call fcn.1400c9da0
mov r8, qword [rdi + 0x10]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400c9da0
test eax, eax
je 0x140034c12
lea rbp, [0x140190470]
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140034bd0
test rbx, rbx
je 0x140034be3
mov r8, rbp
jmp 0x140034bed
mov ecx, eax
call fcn.1400cabd0
mov r8, rax
lea rdx, str.CURLOPT_URL_error:__s
xor ecx, ecx
call fcn.140033450
mov rcx, rsi
call fcn.1400c9bd0
xor al, al
mov qword [rdi + 8], 0
jmp 0x140034daa
mov edx, 0x4a
mov rcx, rsi
lea r8d, [rdx - 0x49]
call fcn.1400c9da0
mov r8d, dword [0x14017f948]
mov edx, Ordinal_79
mov rcx, rsi
call fcn.1400c9da0
lea rbp, [0x140190470]
mov edx, 0x271a
mov r8, rbp
mov rcx, rsi
call fcn.1400c9da0
mov edx, 0x63
mov rcx, rsi
lea r8d, [rdx - 0x62]
call fcn.1400c9da0
mov edx, 0x79
mov rcx, rsi
lea r8d, [rdx - 0x78]
call fcn.1400c9da0
mov r8, qword [0x14018ff98]
test r8, r8
je 0x140034ca8
cmp dword [0x14018ff8c], 0
je 0x140034ca8
mov edx, 0x2714
mov rcx, rsi
call fcn.1400c9da0
mov r8d, dword [0x14018ff8c]
mov edx, 0x65
mov rcx, rsi
call fcn.1400c9da0
jmp 0x140034d16
lea rcx, str.http_proxy
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140034d16
lea rcx, str.all_proxy
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140034cde
lea rcx, str.all_proxy
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, rax
jmp 0x140034d09
lea rcx, str.ALL_PROXY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140034d02
lea rcx, str.ALL_PROXY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, rax
jmp 0x140034d09
lea r8, [0x14012d6f2]
mov edx, 0x2714
mov rcx, rsi
call fcn.1400c9da0
lea r8, [0x1400339a0]
mov edx, 0x4eb4
mov rcx, rsi
call fcn.1400c9da0
lea r8, [0x140034a60]
mov edx, 0x4ec3
mov rcx, rsi
call fcn.1400c9da0
lea r8, [rdi + 0x18]
mov edx, 0x27b4
mov rcx, rsi
call fcn.1400c9da0
mov edx, Ordinal_143
mov r8d, 1
mov rcx, rsi
call fcn.1400c9da0
mov rcx, rsi
mov byte [0x140190470], 0
call fcn.1400c9cd0
test eax, eax
je 0x140034da8
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140034d75
test rbx, rbx
je 0x140034d92
mov r8, rbp
lea rdx, str.Stratum_connect_failed:__s
jmp 0x140034bf4
mov ecx, eax
call fcn.1400cabd0
mov r8, rax
lea rdx, str.Stratum_connect_failed:__s
jmp 0x140034bf4
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3
lea rdx, str.Out_of_memory_
xor ecx, ecx
call fcn.140033450
mov ecx, 2
call fcn.1400293c0
int3