Function at 0x14006e050
Capabilities:
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1400dabf0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x78], rcx
xor esi, esi
mov dword [rsp + 0x38], esi
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rdi, [0x1400de630]
mov eax, dword [rcx + rax]
cmp dword [0x1400de590], eax
jle 0x14006e270
lea rcx, [0x1400de590]
call fcn.14009c0c0
cmp dword [0x1400de590], 0xffffffff
jne 0x14006e270
movabs rax, 0xb849b83369aedd0c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x2bb967c5f7a68b92
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x2749d81c92af0033
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x611bd6cea4428638
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x50164d4fbd8e625e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rcx, 0x599cac86b96b102a
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x9873cc430ccdbe4d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0x46cd0fea83deeee6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x83da079e68f3b5f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0x4b3beda0cd23ea48
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0x50164d4fbd8e4871
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [0x1400de630], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400de640], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006e240
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14002fa10
lea rcx, [0x1400b5f50]
call fcn.14009c47c
nop
lea rcx, [0x1400de590]
call fcn.14009c054
mov qword [rbp - 0x30], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14006e2b7
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x38], 1
jmp 0x14006e641
mov qword [rbp - 0x28], rsi
cmp qword [0x1400de648], 0x10
cmovae rdi, qword [0x1400de630]
cmp qword [rbx + 0x18], 0x10
jb 0x14006e2d5
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x84880100
mov r9d, dword [0x1400de640]
mov r8, rdi
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x14006e32a
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x38], 1
mov rcx, r15
jmp 0x14006e638
mov qword [rbp + 0x10], rsi
mov dword [rbp - 0x40], 8
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x40]
lea r8, [rbp + 0x10]
mov edx, reloc.WS2_32.dll_send
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
test eax, eax
jne 0x14006e387
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x38], 1
mov rcx, r12
mov rax, qword [0x1400c5bb0]
call rax
nop
mov rcx, r15
jmp 0x14006e638
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov r15, rsi
mov qword [rbp - 0x50], rsi
mov r13d, send
mov qword [rbp - 0x48], r13
mov byte [rbp - 0x60], r15b
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp - 0x3c], 0x40
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x3c]
lea r8, [rbp + 0x20]
lea edx, [r13 - 0xa]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x14006e404
xor edx, edx
lea r8d, [r13 - 5]
lea rcx, [rbp + 0x20]
call fcn.1400827a0
mov edx, eax
cmp eax, r13d
jbe 0x14006e404
lea rcx, [rbp - 0x60]
call fcn.1400433a0
mov qword [rbp - 0x50], rsi
mov r13, qword [rbp - 0x48]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x14006e5ee
movzx ebx, byte [rsp + 0x3c]
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x14006e5ee
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rcx
mov edi, eax
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
test eax, eax
je 0x14006e4bc
cmp rax, 0x1000
jb 0x14006e47f
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x14006e671
call fcn.14009c138
mov rcx, rax
test rax, rax
je 0x14006e66b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14006e487
mov rcx, rdi
call fcn.14009c138
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
add rax, rdi
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x70], rax
mov rcx, qword [rbp - 0x78]
lea rsi, [rdi + rcx]
mov r8, rdi
xor edx, edx
call fcn.14009e150
mov qword [rbp - 0x70], rsi
xor esi, esi
mov qword [rsp + 0x70], rsi
lea r9, [rbp - 0x38]
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14006e5a8
mov eax, dword [rbp - 0x38]
test eax, eax
je 0x14006e5a8
mov esi, eax
mov rax, r13
sub rax, r15
cmp rsi, rax
ja 0x14006e51e
lea rax, [rsi + r15]
mov qword [rbp - 0x50], rax
lea rdi, [rbp - 0x60]
cmp r13, 0x10
cmovae rdi, qword [rbp - 0x60]
add rdi, r15
mov r8d, esi
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call fcn.14009e510
mov byte [rsi + rdi], 0
jmp 0x14006e538
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp - 0x78]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140043f40
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14006e582
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e56d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006e66b
call fcn.14009c010
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor esi, esi
mov qword [rbp - 0x68], rsi
jmp 0x14006e584
xor esi, esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x14006e5ee
mov r13, qword [rbp - 0x48]
mov r15, qword [rbp - 0x50]
jmp 0x14006e424
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14006e5ee
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006e5dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006e66b
call fcn.14009c010
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov dword [rsp + 0x38], 1
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov rcx, r12
mov rax, qword [0x1400c5bb0]
call rax
nop
mov rcx, qword [rbp - 0x30]
mov rax, qword [0x1400c5bb0]
call rax
mov rax, r14
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14009bff0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14007e4a8
int3
call fcn.14002b260
int3