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

Disassembly:
push rbp
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x140267930]
xor rax, rsp
mov qword [rbp + 0x410], rax
xorps xmm0, xmm0
mov qword [rsp + 0x58], r8
xorps xmm1, xmm1
mov qword [rsp + 0x50], rdx
xor eax, eax
lea r9, [rsp + 0x70]
mov qword [rbp - 0x30], rax
xor r8d, r8d
lea rax, [rbp + 0x280]
mov dword [rbp - 0x30], 0x3f
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0x200]
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x180]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x100]
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x80]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x48], rax
lea rax, [rbp]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x38], rax
movups xmmword [rbp + 0x2c0], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rbp + 0x2d0], xmm0
mov dword [rbp - 0x80], 0x3f
movups xmmword [rbp + 0x2e0], xmm0
mov dword [rbp - 0x70], 0x3f
movups xmmword [rbp + 0x2f0], xmm0
mov dword [rbp - 0x60], 0x3f
movups xmmword [rbp + 0x240], xmm1
mov dword [rbp - 0x50], 0x3f
movups xmmword [rbp + 0x250], xmm1
mov dword [rbp - 0x40], 0x3f
movups xmmword [rbp + 0x260], xmm1
movups xmmword [rbp + 0x270], xmm1
movups xmmword [rbp + 0x1c0], xmm0
movups xmmword [rbp + 0x1d0], xmm0
movups xmmword [rbp + 0x1e0], xmm0
movups xmmword [rbp + 0x1f0], xmm0
movups xmmword [rbp + 0x140], xmm1
movups xmmword [rbp + 0x150], xmm1
movups xmmword [rbp + 0x160], xmm1
movups xmmword [rbp + 0x170], xmm1
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x40], xmm1
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x60], xmm1
movups xmmword [rbp + 0x70], xmm1
movups xmmword [rbp + 0x280], xmm0
movups xmmword [rbp + 0x290], xmm0
movups xmmword [rbp + 0x2a0], xmm0
movups xmmword [rbp + 0x2b0], xmm0
movups xmmword [rbp + 0x200], xmm1
movups xmmword [rbp + 0x210], xmm1
movups xmmword [rbp + 0x220], xmm1
movups xmmword [rbp + 0x230], xmm1
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x100], xmm1
movups xmmword [rbp + 0x110], xmm1
movups xmmword [rbp + 0x120], xmm1
movups xmmword [rbp + 0x130], xmm1
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
xor edx, edx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x140006eb4
mov qword [rsp + 0x578], rbx
lea rcx, str.Chrome
mov qword [rsp + 0x540], rdi
xor r9d, r9d
mov qword [rsp + 0x530], r13
xor r8d, r8d
xor r13d, r13d
mov qword [rsp + 0x528], r14
xor edx, edx
mov dword [rbp - 0x18], r13d
mov ebx, r13d
mov dword [rsp + 0x20], r13d
mov r14d, r13d
mov dword [rsp + 0x60], 0x800
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x40], rax
mov rdi, rax
test rax, rax
je 0x140006e92
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x100]
mov dword [rsp + 0x30], r13d
lea r9, [rbp + 0x180]
mov dword [rsp + 0x28], 3
lea rdx, [rbp + 0x200]
mov r8d, 0x1bb
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov qword [rsp + 0x548], rsi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x140006e81
lea rcx, [rbp]
mov qword [rsp + 0x520], r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x140006afe
lea rdx, [rbp]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov qword [rsp + 0x38], r13
lea r8, [rbp + 0x80]
mov dword [rsp + 0x30], 0x84ccb200
lea rdx, [0x140231f50]
mov qword [rsp + 0x28], r13
xor r9d, r9d
mov rcx, rsi
mov qword [rsp + 0x20], r13
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r15, rax
test rax, rax
je 0x140006e70
lea r9, [rbp - 0x14]
mov qword [rsp + 0x538], r12
lea r8, [rbp - 0x20]
mov dword [rbp - 0x20], r13d
mov edx, 0x1f
mov dword [rbp - 0x14], 4
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [rbp - 0x20], 0x80
lea r8, [rbp - 0x20]
mov r9d, 4
mov rcx, r15
lea edx, [r9 + 0x1b]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov ebx, eax
test eax, eax
jne 0x140006c24
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
jne 0x140006e5f
lea r9, [rbp - 0x10]
mov dword [rbp - 0x1c], r13d
lea r8, [rbp - 0x1c]
mov dword [rbp - 0x10], 4
lea edx, [rbx + 0x1f]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetQueryOptionW]
mov ebx, eax
test eax, eax
je 0x140006e5f
or dword [rbp - 0x1c], 0x100
lea r8, [rbp - 0x1c]
mov r9d, 4
mov rcx, r15
lea edx, [r9 + 0x1b]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov ebx, eax
test eax, eax
je 0x140006e5f
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov ebx, eax
test eax, eax
je 0x140006e5f
mov ecx, dword [rsp + 0x60]
call fcn.14000d380
mov rdi, rax
test rax, rax
je 0x140006e5a
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov rcx, rax
call fcn.1401ad230
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r13
mov r8, rdi
mov edx, 0x16
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ebx, eax
test eax, eax
jne 0x140006c76
mov rcx, rdi
call fcn.1400024e0
jmp 0x140006e5a
mov rbx, 0xffffffffffffffff
mov r9, rbx
inc r9
cmp word [rdi + r9*2], r13w
jne 0x140006c80
mov qword [rsp + 0x38], r13
mov r8, rdi
mov qword [rsp + 0x30], r13
xor edx, edx
mov dword [rsp + 0x28], r13d
mov ecx, 0xfde9
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
mov rcx, rsi
call fcn.1401b1570
mov r12, rax
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140006cc0
mov qword [rsp + 0x38], r13
mov r9, rbx
mov qword [rsp + 0x30], r13
mov r8, rdi
mov dword [rsp + 0x28], esi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor edx, edx
lea rcx, [rbp + 0x300]
mov r8d, 0x104
call fcn.1401ad230
lea rdx, str.Content_Length:
mov rcx, r12
call fcn.1401ac934
mov rcx, rax
test rax, rax
jne 0x140006d2b
mov ebx, r13d
mov rcx, rdi
call fcn.1400024e0
jmp 0x140006e55
movzx eax, byte [rcx + 0x10]
add rcx, 0x10
cmp al, 0x30
jl 0x140006d53
lea rdx, [rbp + 0x300]
nop
cmp al, 0x39
ja 0x140006d53
inc rcx
mov byte [rdx], al
inc rdx
movzx eax, byte [rcx]
cmp al, 0x30
jge 0x140006d40
lea rcx, [rbp + 0x300]
call fcn.1401b8280
mov r13d, eax
mov ebx, 1
test eax, eax
je 0x140006d1e
mov ecx, 0x10000
call fcn.14000d380
mov rsi, rax
test rax, rax
je 0x140006d1e
xor edx, edx
mov r8d, 0x10000
mov rcx, rax
call fcn.1401ad230
lea eax, [r13 + 4]
mov ecx, eax
mov qword [rbp - 0x10], rax
call fcn.14000d380
mov r12, rax
test rax, rax
je 0x140006e17
mov r8, qword [rbp - 0x10]
xor edx, edx
mov rcx, rax
call fcn.1401ad230
nop dword [rax]
nop word [rax + rax]
xor edx, edx
mov r8d, 0x10000
mov rcx, rsi
call fcn.1401ad230
lea r9, [rbp - 0x18]
mov r8d, 0x10000
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test eax, eax
je 0x140006e29
mov r8d, dword [rbp - 0x18]
mov rdx, rsi
mov ecx, r14d
add rcx, r12
call fcn.1401acb90
add r14d, dword [rbp - 0x18]
cmp r13d, r14d
ja 0x140006dc0
mov rax, qword [rsp + 0x50]
mov qword [rax], r12
mov rax, qword [rsp + 0x58]
mov dword [rax], r13d
mov rcx, rdi
call fcn.1400024e0
mov rcx, rsi
call fcn.1400024e0
jmp 0x140006e55
mov rcx, rdi
call fcn.1400024e0
mov rcx, rsi
call fcn.1400024e0
mov rcx, r12
call fcn.1400024e0
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov rax, qword [rsp + 0x58]
mov dword [rax], r13d
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r12, qword [rsp + 0x538]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r15, qword [rsp + 0x520]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x548]
mov r14, qword [rsp + 0x528]
mov eax, ebx
mov rbx, qword [rsp + 0x578]
mov r13, qword [rsp + 0x530]
mov rdi, qword [rsp + 0x540]
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1401aaa90
add rsp, 0x550
pop rbp
ret