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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, r8
mov r15, rdx
mov r14, rcx
cmp qword [rcx], 0
jne 0x7ff6051de2c7
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, [0x7ff605631448]
call qword [sym.imp.wininet.dll_InternetOpenA]
mov rsi, rax
mov rax, qword [sym.imp.wininet.dll_InternetCloseHandle]
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rsi
test rsi, rsi
je 0x7ff6051de308
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.wininet.dll_InternetOpenUrlA]
mov rdi, rax
mov rax, qword [sym.imp.wininet.dll_InternetCloseHandle]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rdi
test rdi, rdi
je 0x7ff6051de329
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x61], xmm1
mov qword [rbp - 0x51], r12
movdqu xmmword [rbp - 0x79], xmm1
mov qword [rbp - 0x69], r12
mov edx, 0x1000
lea rcx, [rbp - 0x79]
call fcn.7ff6051d97e0
mov rcx, qword [rbp - 0x79]
lea rbx, [rcx + 0x1000]
xor edx, edx
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x71], rbx
mov dword [rsp + 0x58], r12d
lea r9, [rsp + 0x58]
mov r8d, 0x1000
mov rdx, qword [rbp - 0x79]
mov rcx, rdi
call qword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
je 0x7ff6051de1b8
nop dword [rax + rax]
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x7ff6051de1b8
mov r9d, eax
mov r8, qword [rbp - 0x79]
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x61]
call fcn.7ff6051de370
lea r9, [rsp + 0x58]
mov r8d, 0x1000
mov rdx, qword [rbp - 0x79]
mov rcx, rdi
call qword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
jne 0x7ff6051de180
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], r12
mov r8, qword [rbp - 0x59]
mov rdx, qword [rbp - 0x61]
sub r8, rdx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov rcx, r15
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
test eax, eax
js 0x7ff6051de2e5
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x7ff6051de26a
mov rdx, qword [rbp - 0x69]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6051de259
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6051de259
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff60542acd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r12
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x7ff6051de2b3
mov rdx, qword [rbp - 0x51]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6051de2a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6051de2a2
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff60542acd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], r12
mov rcx, rdi
call qword [sym.imp.wininet.dll_InternetCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.wininet.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.7ff60542acb0
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [0x7ff605631460]
lea rcx, [rsp + 0x40]
call fcn.7ff605166f40
lea rdx, [0x7ff605663248]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [0x7ff605631430]
lea rcx, [rbp - 0x11]
call fcn.7ff605166f40
lea rdx, [0x7ff605663248]
lea rcx, [rbp - 0x11]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [0x7ff605631490]
lea rcx, [rsp + 0x40]
call fcn.7ff605166f40
lea rdx, [0x7ff605663248]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3