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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x480
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, qword [rsp + 0x4d0]
lea rcx, [0x140004598]
xor r12d, r12d
mov r14, r9
mov esi, edx
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
jne 0x14000158e
lea eax, [rdi + 1]
jmp 0x14000174c
mov qword [rsp + 0x38], r12
lea rdx, str.192.168.56.1
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov dword [rsp + 0x28], 3
movzx r8d, si
mov rcx, rdi
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x4b0], rbp
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbp, rax
test rax, rax
jne 0x1400015dd
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [rbp + 2]
jmp 0x140001744
mov qword [rsp + 0x38], r12
lea rax, str.text_
mov qword [rsp + 0x48], rax
lea r8, str._ressources_05acfd6534736a8e01a76f965c20d7b0
lea rax, [rsp + 0x48]
mov dword [rsp + 0x30], 0x4000000
mov qword [rsp + 0x28], rax
lea rdx, [0x1400045a4]
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov rcx, rbp
mov qword [rsp + 0x50], r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
jne 0x140001646
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [rsi + 3]
jmp 0x140001744
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x140001685
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 4
jmp 0x140001744
mov ecx, 1
mov qword [rsp + 0x478], r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, 0xffffffff
mov qword [rsp + 0x470], r15
mov qword [r14], rax
mov r13, 0xffffffffffffffff
mov qword [rbx], r12
mov dword [rsp + 0x40], ecx
test ecx, ecx
je 0x140001717
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edx, dword [rsp + 0x40]
mov r15d, eax
add rdx, qword [rbx]
mov rcx, qword [r14]
add rdx, 1
cmovb rdx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14000176b
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov qword [r14], rax
mov rcx, qword [rbx]
add rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsp + 0x40]
add qword [rbx], rcx
test r15d, r15d
jne 0x1400016b6
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov r15, qword [rsp + 0x470]
mov r13, qword [rsp + 0x478]
mov rbp, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400024f0
add rsp, 0x480
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rsi
mov qword [rbx], r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 5
jmp 0x140001734