Function at 0x18005ba60
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rbx, r8
mov r13, rcx
cmp qword [rcx], 0
jne 0x18005bc9f
xor esi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
lea rcx, str.ImGui_ImageLoader
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], r12
test r12, r12
je 0x18005bce2
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbp - 1], rax
mov qword [rbp + 7], r15
test r15, r15
je 0x18005bd03
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov edi, esi
mov qword [rbp - 0x51], rsi
movdqu xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rsi
mov ecx, 0x1027
call fcn.18009c6c4
test rax, rax
je 0x18005bcba
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rbp - 0x79], rbx
lea r14, [rbx + 0x1000]
mov qword [rbp - 0x69], r14
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x71], r14
mov dword [rbp + 0x67], esi
lea r9, [rbp + 0x67]
mov r8d, 0x1000
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18005bbb0
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x18005bbac
mov r9d, eax
mov r8, rbx
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x61]
call fcn.18005bdd0
lea r9, [rbp + 0x67]
mov r8d, 0x1000
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18005bb78
mov rdi, qword [rbp - 0x51]
mov qword [rbp - 0x49], 0xffffffffffffffff
mov qword [rbp - 0x41], 0xffffffffffffffff
mov qword [rbp - 0x39], 0xffffffffffffffff
mov qword [rbp - 0x31], 0xffffffffffffffff
mov dword [rbp - 0x29], 0xffffffff
mov qword [rbp - 0x25], 0xfffffffffffffffd
mov dword [rbp - 0x1d], 0xffffffff
mov qword [rbp - 0x19], rsi
mov r8, qword [rbp - 0x59]
mov rsi, qword [rbp - 0x61]
sub r8, rsi
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x49]
mov rdx, rsi
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
test eax, eax
js 0x18005bcc1
sub r14, rbx
cmp r14, 0x1000
jb 0x18005bc43
add r14, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x18005bcba
mov rbx, rcx
mov rdx, r14
mov rcx, rbx
call fcn.18009c4d0
nop
test rsi, rsi
je 0x18005bc8b
sub rdi, rsi
mov rax, rsi
cmp rdi, 0x1000
jb 0x18005bc7f
add rdi, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005bc7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, rsi
call fcn.18009c4d0
nop
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.D3DX11CreateShaderResourceViewFromMemory_failed
lea rcx, [rbp + 0xf]
call fcn.18005b9d0
lea rdx, [0x1803d5068]
lea rcx, [rbp + 0xf]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.InternetOpenA_failed
lea rcx, [rbp - 0x79]
call fcn.18005b9d0
lea rdx, [0x1803d5068]
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.InternetOpenUrl_failed
lea rcx, [rbp - 0x79]
call fcn.18005b9d0
lea rdx, [0x1803d5068]
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll__CxxThrowException
int3