Function at 0x180002c30
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 - 0x2790]
mov eax, 0x2890
call fcn.18001c580
sub rsp, rax
mov rax, qword [0x180055538]
xor rax, rsp
mov qword [rbp + 0x2780], rax
mov r13, r9
mov r14, r8
mov rsi, rdx
mov r9, qword [rbp + 0x27f0]
test rdx, rdx
jne 0x180002c82
xor eax, eax
jmp 0x180003013
xor ecx, ecx
mov dword [r13], ecx
mov rax, r14
cmp qword [r8 + 0x18], 0x10
jb 0x180002c95
mov rax, qword [r8]
mov qword [r8 + 0x10], rcx
mov byte [rax], cl
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 3
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x60], 0xf
movsd xmm0, qword [0x18003bd40]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x18003bd48]
mov word [rsp + 0x50], ax
movzx eax, byte [0x18003bd4a]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x53], cl
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x180002d06
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180002d54
lea rax, [rcx + rdi]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.18001de70
mov byte [rbx + rdi], 0
jmp 0x180002d6c
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180009390
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x180002da8
lea rax, [rcx + 4]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x48]
mov dword [rax + rcx], 0xa0d0a0d
mov byte [rax + rcx + 4], 0
jmp 0x180002dcd
mov qword [rsp + 0x20], 4
lea r9, [0x18003bd4c]
movzx r8d, byte [rsp + 0x30]
mov edx, 4
lea rcx, [rsp + 0x48]
call fcn.180009390
mov dword [rsp + 0x3c], 0x2710
lea rbx, [rsp + 0x68]
xor edi, edi
nop dword [rax]
lea rcx, [0x1800552a8]
cmp qword [0x1800552c0], 0x10
cmovae rcx, qword [0x1800552a8]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbx]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
je 0x180002e69
mov r9d, 4
lea r8, [rsp + 0x3c]
lea edx, [r9 - 2]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetSetOptionA]
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r8, qword [rsp + 0x48]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
mov r9d, dword [rsp + 0x58]
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
jne 0x180002e7b
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
add rbx, 4
lea rax, [rsp + 0x74]
cmp rbx, rax
jne 0x180002de0
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov edx, 0x13
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov rcx, rdi
lea rdx, [rsp + 0x38]
lea r8, [0x18003bc44]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x180002fb1
cmp rcx, 4
jne 0x180002eb3
xor edx, edx
mov r8d, 0x2800
lea rcx, [rbp - 0x80]
call fcn.18001e520
mov dword [rsp + 0x34], edi
lea r9, [rsp + 0x34]
mov r8d, 0x2800
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x180002f98
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
mov esi, eax
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180002f52
lea rax, [rcx + rsi]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180002f39
mov rax, qword [r14]
lea rdi, [rax + rcx]
mov r8, rsi
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.18001de70
mov byte [rdi + rsi], 0
jmp 0x180002f6a
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x80]
movzx r8d, bl
mov rdx, rsi
mov rcx, r14
call fcn.180009390
mov eax, dword [rsp + 0x34]
add dword [r13], eax
lea r9, [rsp + 0x34]
mov r8d, 0x2800
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x180002f10
xor edi, edi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, 1
jmp 0x180002fc5
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebx, edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180002ffe
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002ff9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000303d
call fcn.18001bb98
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov eax, ebx
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.18001c5e0
mov rbx, qword [rsp + 0x28d0]
add rsp, 0x2890
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180022880
int3