Function at 0x140043aa0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, [0x1402d8928]
mov rsi, rdx
call fcn.1401b6880
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140043acf
call fcn.1400b0340
call fcn.1400acec0
mov rbx, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x140043b0c
lea rdx, str.CURL_initialization_failed
xor ecx, ecx
call fcn.140041b60
lea rcx, [0x1402d8928]
call fcn.1401b6e60
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp qword [rdi + 0x128], 0
jne 0x140043b38
mov edx, 1
mov ecx, 0x800
call qword [sym.imp.MSVCR120.dll_calloc]
mov qword [rdi + 0x120], 0x800
mov qword [rdi + 0x128], rax
mov rax, qword [rdi + 0x128]
lea rcx, [0x1402d8928]
mov byte [rax], 0
call fcn.1401b6e60
mov rcx, qword [rdi]
cmp rsi, rcx
je 0x140043b68
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll__strdup]
mov qword [rdi], rax
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.MSVCR120.dll_free]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140043b76
inc rcx
call qword [sym.imp.MSVCR120.dll_malloc]
lea rdx, [0x140249ed4]
mov rcx, rsi
mov qword [rdi + 0x10], rax
call qword [sym.imp.MSVCR120.dll_strstr]
mov rcx, qword [rdi + 0x10]
lea rdx, str.http_s
mov r8, rax
call qword [sym.imp.MSVCR120.dll_sprintf]
cmp dword [0x1402d4cd4], 0
je 0x140043bca
mov edx, 0x29
mov rcx, rbx
lea r8d, [rdx - 0x28]
call fcn.1400acfa0
mov r8, qword [rdi + 0x10]
mov edx, 0x2712
mov rcx, rbx
call fcn.1400acfa0
mov edx, 0x4a
mov rcx, rbx
lea r8d, [rdx - 0x49]
call fcn.1400acfa0
mov r8d, dword [0x140264cc8]
mov edx, 0x4e
mov rcx, rbx
call fcn.1400acfa0
lea r8, [rdi + 0x18]
mov edx, 0x271a
mov rcx, rbx
call fcn.1400acfa0
mov edx, 0x63
mov rcx, rbx
lea r8d, [rdx - 0x62]
call fcn.1400acfa0
mov edx, 0x79
mov rcx, rbx
lea r8d, [rdx - 0x78]
call fcn.1400acfa0
mov r8, qword [0x1402d50b8]
test r8, r8
je 0x140043c6b
cmp dword [0x1402d89d0], 0
je 0x140043c6b
mov edx, 0x2714
mov rcx, rbx
call fcn.1400acfa0
mov r8d, dword [0x1402d89d0]
mov edx, 0x65
mov rcx, rbx
call fcn.1400acfa0
jmp 0x140043cd9
lea rcx, [0x140249d10]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x140043cd9
lea rcx, [0x140249d20]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x140043ca1
lea rcx, [0x140249d20]
call qword [sym.imp.MSVCR120.dll_getenv]
mov r8, rax
jmp 0x140043ccc
lea rcx, [0x140249d30]
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x140043cc5
lea rcx, [0x140249d30]
call qword [sym.imp.MSVCR120.dll_getenv]
mov r8, rax
jmp 0x140043ccc
lea r8, [0x1401de1a2]
mov edx, 0x2714
mov rcx, rbx
call fcn.1400acfa0
lea r8, [0x140042340]
mov edx, 0x4eb4
mov rcx, rbx
call fcn.1400acfa0
lea r8, [0x140043a70]
mov edx, 0x4ec3
mov rcx, rbx
call fcn.1400acfa0
lea r8, [rdi + 0x118]
mov edx, 0x27b4
mov rcx, rbx
call fcn.1400acfa0
mov edx, 0x8d
mov r8d, 1
mov rcx, rbx
call fcn.1400acfa0
mov rcx, rbx
call fcn.1400ad180
test eax, eax
je 0x140043d68
lea r8, [rdi + 0x18]
lea rdx, str.Stratum_connection_failed:__s
xor ecx, ecx
call fcn.140041b60
mov rcx, rbx
call fcn.1400b0340
mov qword [rdi + 8], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rdi
ret