Function at 0x180010c14
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xa0
and dword [rax + 8], 0
mov rdi, rcx
mov rcx, qword [rcx + 0x30]
mov esi, edx
mov edx, 0xea60
call fcn.1800105ac
test eax, eax
mov ebx, eax
jne 0x180010ec4
mov ebx, dword [rdi + 0x40]
test ebx, ebx
jne 0x180010ec4
test esi, esi
je 0x180010ce9
and dword [rsp + 0xd8], ebx
and dword [rsp + 0xd0], ebx
mov rcx, qword [rdi + 0x28]
xor r8d, r8d
lea rax, [rsp + 0xd8]
lea r9, [rsp + 0xd0]
lea ebx, [r8 + 0x16]
mov qword [rsp + 0x20], rax
mov edx, ebx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
movsxd r11, dword [rsp + 0xd0]
test r11d, r11d
je 0x180010ce9
mov rcx, qword [0x180029648]
lea r8, [r11 + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov qword [rdi + 8], rax
je 0x180010ce9
lea rcx, [rsp + 0xd8]
lea r9, [rsp + 0xd0]
mov r8, rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi + 0x28]
mov edx, ebx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
movsxd r11, dword [rsp + 0xd0]
mov rax, qword [rdi + 8]
mov byte [r11 + rax], 0
mov ebx, 8
lea r8, [rsp + 0x38]
xor ecx, ecx
lea edx, [rbx - 7]
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x180010ec4
mov rcx, qword [0x180029648]
xor edx, edx
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rsi, rax
je 0x180010eb9
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rdi + 0x28]
lea r9, [rsp + 0xc0]
mov r8d, 0x1000
mov rdx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180010d79
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov ebx, eax
jne 0x180010d9b
mov rcx, qword [rdi + 0x30]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov ebx, eax
jne 0x180010d9b
mov ebx, dword [rdi + 0x40]
test ebx, ebx
jne 0x180010d9b
mov r8d, dword [rsp + 0xc0]
test r8d, r8d
je 0x180010d99
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x180010d27
xor ebx, ebx
mov rcx, qword [0x180029648]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
jne 0x180010eb9
mov rcx, qword [rdi + 0x28]
and dword [rsp + 0x30], ebx
and dword [rsp + 0xd8], ebx
lea rax, [rsp + 0xd8]
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x30]
mov edx, 0x20000013
mov dword [rsp + 0xd0], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x180010eb4
cmp dword [rsp + 0x30], 0xc8
jne 0x180010eb4
mov rcx, qword [rsp + 0x38]
lea r8d, [rbx + 1]
lea rdx, [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov r11d, dword [rsp + 0x60]
test r11d, r11d
mov dword [rsp + 0xc0], r11d
je 0x180010ead
mov rcx, qword [rsp + 0x38]
and dword [rsp + 0x40], ebx
and dword [rsp + 0x44], ebx
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
call qword [rax + 0x28]
movsxd r8, dword [rsp + 0xc0]
mov rcx, qword [0x180029648]
add r8, 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rsi, rax
je 0x180010ea6
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0xc0]
xor r9d, r9d
mov r10, qword [rcx]
mov rdx, rax
call qword [r10 + 0x18]
movsxd r11, dword [rsp + 0xc0]
mov byte [r11 + rsi], bl
mov eax, dword [rsp + 0xc0]
mov qword [rdi], rsi
mov dword [rdi + 0x44], eax
jmp 0x180010eb9
mov ebx, 8
jmp 0x180010eb9
mov ebx, 0x10d2
jmp 0x180010eb9
mov ebx, 0xe8
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret