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

Disassembly:
jmp 0x14015fc30
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x878
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x182
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x898]
mov rax, qword [0x1401fb840]
xor rax, rbp
mov qword [rbp + 0x838], rax
mov dword [rbp + 0x7f4], 0
lea rcx, [0x1402143c1]
call fcn.140003d73
nop
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140183cb0]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14015fcbb
xor eax, eax
jmp 0x14016007e
mov rcx, qword [rbp + 0x860]
call fcn.1400013e8
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14015fd08
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor eax, eax
jmp 0x14016007e
lea rcx, [rbp + 0x48]
call fcn.140003d46
nop
lea r9, [rbp + 0x2a4]
mov r8d, 0x200
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14015fd59
cmp dword [rbp + 0x2a4], 0
jbe 0x14015fd59
mov eax, dword [rbp + 0x2a4]
mov r8d, eax
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x48]
call fcn.140003fc6
nop
jmp 0x14015fd12
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x2d0]
call fcn.140002ddd
mov r9d, 1
mov r8d, 1
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x2d0]
call fcn.140001d07
nop
lea rcx, [rbp + 0x3d8]
call fcn.140003d46
nop
lea rdx, [rbp + 0x3d8]
lea rcx, [rbp + 0x2d0]
call fcn.1400028e7
mov qword [rbp + 0x678], rax
mov rax, qword [rbp + 0x678]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x678]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x140160049
xor r8d, r8d
lea rdx, [0x1401cad60]
lea rcx, [rbp + 0x3d8]
call fcn.14000203b
test rax, rax
jne 0x14015fe10
jmp 0x14015fdaa
lea r8, [0x1401a53f4]
mov rdx, qword [rbp + 0x868]
lea rcx, [rbp + 0x6b8]
call fcn.1400033be
mov qword [rbp + 0x808], rax
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x810], rax
mov eax, dword [rbp + 0x7f4]
or eax, 1
mov dword [rbp + 0x7f4], eax
xor r8d, r8d
mov rdx, qword [rbp + 0x810]
lea rcx, [rbp + 0x3d8]
call fcn.140001bcc
test rax, rax
je 0x14015ff03
mov r8, qword [rbp + 0x868]
lea rdx, [0x1401a53f4]
lea rcx, [rbp + 0x6f8]
call fcn.1400011bd
mov qword [rbp + 0x818], rax
mov rax, qword [rbp + 0x818]
mov qword [rbp + 0x820], rax
mov eax, dword [rbp + 0x7f4]
or eax, 2
mov dword [rbp + 0x7f4], eax
lea r8, [0x1401a53f4]
mov rdx, qword [rbp + 0x820]
lea rcx, [rbp + 0x738]
call fcn.140003990
mov qword [rbp + 0x828], rax
mov eax, dword [rbp + 0x7f4]
or eax, 4
mov dword [rbp + 0x7f4], eax
xor r8d, r8d
mov rdx, qword [rbp + 0x828]
lea rcx, [rbp + 0x3d8]
call fcn.140001bcc
cmp rax, 0xffffffffffffffff
jne 0x14015ff03
mov dword [rbp + 0x830], 0
jmp 0x14015ff0d
mov dword [rbp + 0x830], 1
movzx eax, byte [rbp + 0x830]
mov byte [rbp + 0x694], al
mov eax, dword [rbp + 0x7f4]
and eax, 4
test eax, eax
je 0x14015ff3b
and dword [rbp + 0x7f4], 0xfffffffb
lea rcx, [rbp + 0x738]
call fcn.140001857
nop
mov eax, dword [rbp + 0x7f4]
and eax, 2
test eax, eax
je 0x14015ff5c
and dword [rbp + 0x7f4], 0xfffffffd
lea rcx, [rbp + 0x6f8]
call fcn.140001857
nop
mov eax, dword [rbp + 0x7f4]
and eax, 1
test eax, eax
je 0x14015ff7d
and dword [rbp + 0x7f4], 0xfffffffe
lea rcx, [rbp + 0x6b8]
call fcn.140001857
nop
movzx eax, byte [rbp + 0x694]
test eax, eax
je 0x140160044
xor r8d, r8d
lea rdx, [0x1401cad64]
lea rcx, [rbp + 0x3d8]
call fcn.14000203b
mov qword [rbp + 0x418], rax
cmp qword [rbp + 0x418], 0xffffffffffffffff
je 0x140160044
mov rax, qword [rbp + 0x418]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rbp + 0x798]
lea rcx, [rbp + 0x3d8]
call fcn.140002699
mov qword [rbp + 0x808], rax
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x810], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x810]
call fcn.1400019a6
mov qword [rbp + 0x778], rax
lea rcx, [rbp + 0x798]
call fcn.140001857
nop
lea rcx, [rbp + 0x3d8]
call fcn.140001857
nop
lea rcx, [rbp + 0x2d0]
call fcn.140001b13
nop
lea rcx, [rbp + 0x48]
call fcn.140001857
mov rax, qword [rbp + 0x778]
jmp 0x14016007e
jmp 0x14015fdaa
mov qword [rbp + 0x7d8], 0
lea rcx, [rbp + 0x3d8]
call fcn.140001857
nop
lea rcx, [rbp + 0x2d0]
call fcn.140001b13
nop
lea rcx, [rbp + 0x48]
call fcn.140001857
mov rax, qword [rbp + 0x7d8]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1401c7a20]
call fcn.14000359e
mov rax, rdi
mov rcx, qword [rbp + 0x838]
xor rcx, rbp
call fcn.140002590
lea rsp, [rbp + 0x848]
pop rdi
pop rbp
ret