Function at 0x1800e7750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, rcx
mov rsi, r9
xor ecx, ecx
movzx r14d, r8w
mov rbx, rdx
call fcn.1801a1c35
test byte [rdi + 0x10], 1
je 0x1800e77c5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
test eax, eax
je 0x1800e77c5
mov rax, qword [sym.JS0GROUP.dll_int____ptr64___ptr64_HttpActif]
cmp dword [rax], 0
je 0x1800e77af
call fcn.1801a1bed
mov ecx, dword [sym.JS0GROUP.dll_int_Httpfd]
lea r8, str.CATHttpClient::Connect____closesocket__d
mov r9d, eax
mov edx, 2
call sym.JS0GROUP.dll_traprint
mov eax, 0x80072ee4
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
test rbx, rbx
jne 0x1800e77df
lea rax, [rbx - 1]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rcx, qword [0x1802e7c08]
test rsi, rsi
mov qword [rsp + 0x78], rbp
mov rbp, rsi
mov qword [rsp + 0x80], r15
cmove rbp, rbx
movzx r15d, word [rsp + 0x90]
cmove r15w, r14w
call qword [0x1801a52d0]
mov rcx, rbp
call fcn.1801a1c2f
mov rcx, qword [sym.JS0GROUP.dll_int____ptr64___ptr64_HttpActif]
mov r14, rax
mov esi, 2
cmp dword [rcx], 0
je 0x1800e7850
mov ecx, dword [sym.JS0GROUP.dll_int_Httpfd]
lea r8, str.gethostbyname__s____hostnm__x_n
mov r9, rbp
mov qword [rsp + 0x20], rax
mov edx, esi
call sym.JS0GROUP.dll_traprint
mov rcx, qword [sym.JS0GROUP.dll_int____ptr64___ptr64_HttpActif]
test r14, r14
jne 0x1800e788d
cmp dword [rcx], r14d
je 0x1800e7876
call fcn.1801a1bed
mov ecx, dword [sym.JS0GROUP.dll_int_Httpfd]
lea r8, str.CATHttpClient::Connect___:_error__d_n
mov r9d, eax
mov edx, esi
call sym.JS0GROUP.dll_traprint
mov rcx, qword [0x1802e7c08]
call qword [0x1801a52d8]
mov eax, 0x80072ee7
jmp 0x1800e7a3d
mov rax, qword [r14 + 0x18]
mov rcx, qword [rax]
mov r14d, dword [rcx]
mov rcx, qword [0x1802e7c08]
call qword [0x1801a52d8]
xor r8d, r8d
mov ecx, esi
lea edx, [r8 + 1]
call fcn.1801a1c29
mov edx, 6
mov dword [rsp + 0x30], 1
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 4
mov rcx, rax
mov rbp, rax
lea r8d, [rdx - 5]
call fcn.1801a1c23
mov ecx, dword [rdi + 0x18]
mov dword [rsp + 0x70], ecx
test ecx, ecx
je 0x1800e7932
lea r9, [rsp + 0x70]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1006
mov rcx, rbp
call fcn.1801a1c23
test eax, eax
jns 0x1800e7932
mov rax, qword [sym.JS0GROUP.dll_int____ptr64___ptr64_HttpActif]
cmp dword [rax], 0
je 0x1800e7932
call fcn.1801a1bed
mov ecx, dword [sym.JS0GROUP.dll_int_Httpfd]
lea r8, str._tCATHttpClient::Connect_____SO_RCVTIMEO__d
mov r9d, eax
mov edx, esi
call sym.JS0GROUP.dll_traprint
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x70], eax
test eax, eax
je 0x1800e7989
lea r9, [rsp + 0x70]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1005
mov rcx, rbp
call fcn.1801a1c23
test eax, eax
jns 0x1800e7989
mov rax, qword [sym.JS0GROUP.dll_int____ptr64___ptr64_HttpActif]
cmp dword [rax], 0
je 0x1800e7989
call fcn.1801a1bed
mov ecx, dword [sym.JS0GROUP.dll_int_Httpfd]
lea r8, str._tCATHttpClient::Connect_____SO_SNDTIMEO__d
mov r9d, eax
mov edx, esi
call sym.JS0GROUP.dll_traprint
movzx ecx, r15w
mov word [rsp + 0x38], si
call fcn.1801a1c0b
mov r8d, 0x10
mov word [rsp + 0x3a], ax
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x3c], r14d
mov rcx, rbp
call fcn.1801a1bff
test eax, eax
jns 0x1800e79ef
mov rax, qword [sym.JS0GROUP.dll_int____ptr64___ptr64_HttpActif]
cmp dword [rax], 0
je 0x1800e79e0
call fcn.1801a1bed
mov ecx, dword [sym.JS0GROUP.dll_int_Httpfd]
lea r8, str.CATHttpClient::Connect____connect__d
mov r9d, eax
mov edx, esi
call sym.JS0GROUP.dll_traprint
mov rcx, rbp
call fcn.1801a1bf9
mov eax, 0x80072efd
jmp 0x1800e7a3d
mov qword [rdi + 0x20], rbp
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1800e7a00
inc rcx
call fcn.1801a2110
mov qword [rdi + 8], rax
nop word [rax + rax]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x1800e7a20
and word [rdi + 0x10], 0xfffd
or word [rdi + 0x10], 1
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov r15, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret