Function at 0x1800029f0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2780]
mov eax, 0x2880
call fcn.18003ef20
sub rsp, rax
mov rax, qword [0x1800882a8]
xor rax, rsp
mov qword [rbp + 0x2770], rax
mov r15, r8
mov r12, rdx
test rdx, rdx
je 0x180002dd1
xor r13d, r13d
mov dword [r9], r13d
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180002a48
mov rax, qword [r8]
mov qword [r8 + 0x10], r13
mov byte [rax], r13b
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x68], 3
mov rsi, r13
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], 0xb
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [0x18006c380]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x18006c388]
mov word [rsp + 0x48], ax
movzx eax, byte [0x18006c38a]
mov byte [rsp + 0x4a], al
mov byte [rsp + 0x4b], 0
mov rdi, qword [0x180088258]
lea r9, [0x180088248]
cmp qword [0x180088260], 0x10
cmovae r9, qword [0x180088248]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x180002b23
lea rax, [r14 + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + r14]
mov r8, rdi
mov rdx, r9
call fcn.180040800
lea rax, [rdi + rbx]
mov byte [rax + r14], 0
jmp 0x180002b38
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180007290
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x180002b74
lea rax, [rcx + 4]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x40]
mov dword [rax + rcx], 0xa0d0a0d
mov byte [rax + rcx + 4], 0
jmp 0x180002b95
mov qword [rsp + 0x20], 4
lea r9, [0x18006c38c]
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x40]
call fcn.180007290
lea rcx, [0x180088248]
cmp qword [0x180088260], 0x10
cmovae rcx, qword [0x180088248]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + rsi*4 + 0x60]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x180002d85
mov dword [rsp + 0x38], 0x2710
mov r9d, 4
lea r8, [rsp + 0x38]
lea edx, [r9 - 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionA]
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r8, qword [rsp + 0x40]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80ff9200
mov r9d, dword [rsp + 0x50]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x180002c2d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
inc rsi
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180002c6d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002c68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002dfd
call fcn.18003e7a4
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
test rbx, rbx
jne 0x180002c94
cmp rsi, 3
jge 0x180002dd1
jmp 0x180002a70
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x34]
mov edx, 0x13
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov rcx, r13
lea rdx, [rsp + 0x34]
lea r8, [0x18006c344]
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x180002d71
cmp rcx, 4
jne 0x180002cd0
xor edx, edx
mov r8d, 0x2800
lea rcx, [rsp + 0x70]
call fcn.180040eb0
mov dword [rsp + 0x30], r13d
lea r9, [rsp + 0x30]
mov r8d, 0x2800
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x180002d58
mov r9d, eax
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, r15
call fcn.180013f20
mov dword [rsp + 0x30], r13d
lea r9, [rsp + 0x30]
mov r8d, 0x2800
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x180002d20
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x180002dd3
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x180002dd1
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180002dbe
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002dfd
call fcn.18003e7a4
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
xor eax, eax
mov rcx, qword [rbp + 0x2770]
xor rcx, rsp
call fcn.18003ef80
mov rbx, qword [rsp + 0x28c0]
add rsp, 0x2880
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180045270
int3