Function at 0x18000e0d0
Capabilities:
Create http request
Delete file
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x18004f040]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r14, r8
mov qword [rbp - 0x28], r8
xor r15d, r15d
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [r15 + 2]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000e1bb
cmp r13, rax
je 0x18000e1b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.wininet.dll
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], r15
mov r9d, 0x400
mov rdx, rax
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x38]
mov r8d, ebx
mov ecx, 0x1900
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r9, qword [rbp - 0x38]
lea r8, str.CreateFile
lea rdx, str.__s___s_r_n
lea rcx, [0x180052d40]
call fcn.18000e4f0
lea rdx, [0x180052d40]
mov rcx, r13
call fcn.18000caf0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0xffffffff
jmp 0x18000e4a8
mov qword [rsp + 0xc8], rdi
lea rcx, str.Googlebot
xor r9d, r9d
mov qword [rsp + 0x70], r12
xor r8d, r8d
mov dword [rsp + 0x20], r15d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp - 0x38], rax
mov rdi, rax
test rax, rax
jne 0x18000e277
cmp r13, 0xffffffffffffffff
je 0x18000e484
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.wininet.dll
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], r15
mov r9d, 0x400
mov rdx, rax
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x38]
mov r8d, ebx
mov ecx, 0x1900
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r9, qword [rbp - 0x38]
lea r8, str.InternetOpen
lea rdx, str.__s___s_r_n
lea rcx, [0x180052d40]
call fcn.18000e4f0
lea rdx, [0x180052d40]
mov rcx, r13
call fcn.18000caf0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x18000e484
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x8000800
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
jne 0x18000e327
cmp r13, 0xffffffffffffffff
je 0x18000e47b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.wininet.dll
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], r15
mov r9d, 0x400
mov rdx, rax
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x38]
mov r8d, ebx
mov ecx, 0x1900
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r9, qword [rbp - 0x38]
lea r8, str.InternetOpenUrl
lea rdx, str.__s___s_r_n
lea rcx, [0x180052d40]
call fcn.18000e4f0
lea rdx, [0x180052d40]
mov rcx, r13
call fcn.18000caf0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x18000e47b
xor r9d, r9d
lea rdx, [rbp - 0x30]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x18000e3f5
mov eax, dword [rbp - 0x30]
test eax, eax
je 0x18000e4cf
mov ecx, eax
call fcn.180011164
mov ecx, dword [rbp - 0x30]
mov r14, rax
test ecx, ecx
je 0x18000e3ca
nop
mov r8d, ecx
lea r9, [rbp - 0x20]
mov rcx, r12
mov rdx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000e4c2
mov ebx, dword [rbp - 0x20]
mov rdi, r14
mov dword [rbp - 0x2c], 0
test ebx, ebx
je 0x18000e3bd
nop dword [rax]
lea r9, [rbp - 0x2c]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x18000e3ba
mov ecx, dword [rbp - 0x2c]
add rdi, rcx
sub ebx, ecx
jne 0x18000e390
mov ebx, dword [rbp - 0x20]
mov ecx, dword [rbp - 0x30]
add r15d, ebx
sub ecx, ebx
mov dword [rbp - 0x30], ecx
jne 0x18000e360
mov rcx, r14
call fcn.18001115c
xor r9d, r9d
lea rdx, [rbp - 0x30]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x18000e342
mov r14, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x38]
cmp r13, 0xffffffffffffffff
je 0x18000e472
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.wininet.dll
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9d, 0x400
mov r8d, ebx
mov rdx, rax
mov ecx, 0x1900
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r9, qword [rbp - 0x28]
lea r8, str.InternetDownloadFile
lea rdx, str.__s___s_r_n
lea rcx, [0x180052d40]
call fcn.18000e4f0
lea rdx, [0x180052d40]
mov rcx, r13
call fcn.18000caf0
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0xffffffff
mov rdi, qword [rsp + 0xc8]
mov r12, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.180011100
add rsp, 0x78
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
mov rcx, r14
call fcn.18001115c
jmp 0x18000e3ed
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
jmp 0x18000e49b