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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x18006e040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.ImGui_ImageLoader
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
jne 0x180055ea7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x180055e6f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180055e6a
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800560ca
mov rcx, r8
call fcn.18005904c
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180058c80
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x180055eb4
mov rdx, qword [rbx]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
jne 0x180055eec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x180055e30
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rbp, r13
mov qword [rsp + 0x50], r13
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], r13
mov ecx, 0x1027
call fcn.180058ca0
test rax, rax
je 0x1800560d1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov qword [rsp + 0x58], rdi
lea r14, [rdi + 0x1000]
mov qword [rsp + 0x68], r14
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x38], r13d
lea r9, [rsp + 0x38]
mov r8d, 0x1000
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180055fad
nop dword [rax]
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x180055fa8
mov r9d, eax
mov r8, rdi
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1800576b0
lea r9, [rsp + 0x38]
mov r8d, 0x1000
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180055f70
mov rbp, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
cmp rsi, r8
jne 0x180056043
sub r14, rdi
cmp r14, 0x1000
jb 0x180055ff6
mov rcx, qword [rdi - 8]
sub rdi, rcx
add r14, 0x27
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1800560d1
mov rdi, rcx
mov rdx, r14
mov rcx, rdi
call fcn.18005904c
nop
test rsi, rsi
je 0x180055e30
sub rbp, rsi
cmp rbp, 0x1000
mov rax, rsi
jb 0x180056033
add rbp, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800560c3
mov rdx, rbp
mov rcx, rsi
call fcn.18005904c
jmp 0x180055e30
sub r8d, esi
lea r9, [0x18011c578]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemory]
nop
sub r14, rdi
test eax, eax
js 0x180055fd1
cmp r14, 0x1000
jb 0x180056086
add r14, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1800560d1
mov rdi, rcx
mov rdx, r14
mov rcx, rdi
call fcn.18005904c
nop
test rsi, rsi
je 0x180055e30
sub rbp, rsi
mov rax, rsi
cmp rbp, 0x1000
jb 0x180056033
add rbp, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056033
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3