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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1070]
mov eax, 0x1170
call fcn.14003fd30
sub rsp, rax
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rbp + 0x1060], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.MyUserAgent
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
je 0x140039e05
cmp qword [rbx + 0x18], 0x10
jb 0x140039dd5
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
jne 0x140039e1f
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r12b
jmp 0x140039fbd
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r12b
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp + 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140039ee5
nop word [rax + rax]
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140039ee5
mov edi, eax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140039eaf
lea rax, [rcx + rdi]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x38]
add rbx, rcx
mov r8d, edi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140039ec5
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14003e940
lea r9, [rsp + 0x58]
mov r8d, 0x1000
lea rdx, [rbp + 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140039e60
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rbx, [rsp + 0x38]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp r15, 0x10
cmovae rbx, r14
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x140039f87
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, str.__n_r_t
lea rdx, [0x140047e38]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x60], 1
inc rcx
cmp rcx, rdx
jne 0x140039f40
lea rax, [rdi - 1]
mov rcx, 0xffffffffffffffff
cmp rax, rcx
cmovb rcx, rax
add rcx, rbx
movzx eax, byte [rcx]
cmp byte [rsp + rax + 0x60], 0
je 0x140039f82
nop
cmp rcx, rbx
je 0x140039f87
dec rcx
movzx eax, byte [rcx]
cmp byte [rsp + rax + 0x60], 0
jne 0x140039f70
sub rcx, rbx
jmp 0x140039f8e
mov rcx, 0xffffffffffffffff
inc rcx
cmp rdi, rcx
jb 0x140039feb
lea rax, [rsp + 0x38]
cmp r15, 0x10
cmovae rax, r14
mov qword [rsp + 0x48], rcx
mov byte [rax + rcx], 0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp + 0x1060]
xor rcx, rsp
call fcn.14003ed20
lea r11, [rsp + 0x1170]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14003e920
nop
int3