Function at 0x140053290
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 [0x1400a9010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rdx
mov r14, rcx
mov qword [rbp + 0x10], rcx
xor esi, esi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rdi, [0x1400ace40]
mov eax, dword [rdx + rcx]
cmp dword [0x1400ace38], eax
jle 0x1400534a6
lea rcx, [0x1400ace38]
call fcn.1400573d0
cmp dword [0x1400ace38], 0xffffffff
jne 0x1400534a6
movabs rax, 0x99435fa8553e6b1a
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
movabs rax, 0xe1fe71827339b694
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
movabs rax, 0xa9931b4b7bd4cdd9
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
movabs rax, 0xa7bbe3c534c66112
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
movabs rax, 0x4fd7121c50614bb0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
movabs rcx, 0xd4fb6631d89d6904
mov qword [rsp + 0x78], rcx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
movabs rax, 0xb9792bd8305d085b
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x20], rax
movabs rax, 0x8c8a19ad0741d3e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x18], rax
movabs rax, 0x86e7632e0ff4f6b5
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x10], rax
movabs rax, 0x8d9bd8ab5da70d62
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp - 8], rax
movabs rax, 0x4fd7121c5061619f
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp], rax
mov qword [rsp + 0x78], rcx
mov rax, qword [rsp + 0x78]
mov qword [rbp + 8], rax
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [0x1400ace40], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400ace50], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140053476
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14002b520
lea rcx, [0x140089ee0]
call fcn.1400571f4
nop
lea rcx, [0x1400ace38]
call fcn.140057370
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 r12, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x1400534e4
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov r15d, send
mov qword [r14 + 0x18], r15
mov byte [r14], al
jmp 0x140053826
cmp qword [0x1400ace58], 0x10
cmovae rdi, qword [0x1400ace40]
cmp qword [rbx + 0x18], 0x10
jb 0x1400534fe
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x84880100
mov r9d, dword [0x1400ace50]
mov r8, rdi
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140053557
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov r15d, send
mov qword [r14 + 0x18], r15
mov byte [r14], al
mov rcx, r12
mov rax, qword [0x14009c0e0]
call rax
nop
jmp 0x140053826
mov qword [rbp + 0x10], rsi
mov dword [rbp - 0x60], 8
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x10]
mov edx, reloc.WS2_32.dll_send
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
mov r15d, send
test eax, eax
jne 0x1400535b8
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], r15
mov byte [r14], al
mov rcx, r13
mov rax, qword [0x14009c0e0]
call rax
nop
mov rcx, r12
mov rax, qword [0x14009c0e0]
call rax
nop
jmp 0x140053826
movups xmmword [rbp - 0x50], xmm0
mov r12, rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r15
mov byte [rbp - 0x50], r12b
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp - 0x5c], 0x40
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x5c]
lea r8, [rbp + 0x20]
mov edx, 5
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140053629
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp + 0x20]
call fcn.140062320
mov edx, eax
cmp rdx, 0xf
jbe 0x140053629
lea rcx, [rbp - 0x50]
call fcn.14002b3d0
mov qword [rbp - 0x40], rsi
mov r15, qword [rbp - 0x38]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1400537f9
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
mov r8d, dword [rbp - 0x80]
test r8d, r8d
je 0x1400537f9
xorps xmm0, xmm0
xor eax, eax
mov esi, r8d
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
test r8d, r8d
je 0x1400536d1
cmp r8, 0x1000
jb 0x1400536a8
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x140053856
call fcn.140056eb0
mov rcx, rax
test rax, rax
je 0x140053850
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400536b0
mov rcx, rsi
call fcn.140056eb0
mov qword [rbp - 0x78], rax
lea rdi, [rax + rsi]
mov qword [rbp - 0x68], rdi
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400591d0
mov qword [rbp - 0x70], rdi
mov r8d, dword [rbp - 0x80]
lea r9, [rbp - 0x58]
mov rdx, qword [rbp - 0x78]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400537b5
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x1400537b5
mov esi, eax
mov rax, r15
sub rax, r12
cmp rsi, rax
ja 0x14005372f
lea rax, [rsi + r12]
mov qword [rbp - 0x40], rax
lea rdi, [rbp - 0x50]
cmp r15, 0x10
cmovae rdi, qword [rbp - 0x50]
add rdi, r12
mov r8d, esi
mov rdx, qword [rbp - 0x78]
mov rcx, rdi
call fcn.14005cd60
mov byte [rsi + rdi], 0
jmp 0x140053749
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp - 0x78]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14002bda0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140053791
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005377e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053850
call fcn.140057214
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor esi, esi
mov qword [rbp - 0x68], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x1400537f9
mov r15, qword [rbp - 0x38]
mov r12, qword [rbp - 0x40]
jmp 0x140053650
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400537f9
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400537e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053850
call fcn.140057214
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor esi, esi
mov qword [rbp - 0x68], rsi
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [r14 + 0x10], xmm1
mov rcx, r13
mov rax, qword [0x14009c0e0]
call rax
nop
mov rcx, qword [rsp + 0x78]
mov rax, qword [0x14009c0e0]
call rax
nop
mov rax, r14
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140056e90
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.14005d7e8
nop
call fcn.140025390
int3