Function at 0x1400039f0
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x140026008]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r14, rcx
lea rdx, [rsp + 0x50]
xor ebx, ebx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
call fcn.140003840
test eax, eax
je 0x140003bd0
mov edx, dword [r14 + 8]
mov rcx, qword [r14]
call fcn.140001c90
mov edx, dword [r14 + 0x18]
mov rcx, qword [r14 + 0x10]
mov dword [r14 + 8], eax
call fcn.140001c90
lea edx, [rbx + 1]
mov dword [r14 + 0x18], eax
lea ecx, [rbx + 0x20]
call fcn.140009b88
mov rdi, rax
test rax, rax
jne 0x140003a7c
mov edi, ebx
jmp 0x140003b98
mov edx, 1
lea ecx, [rdx + 9]
call fcn.140009b88
mov rbp, rax
test rax, rax
jne 0x140003a99
mov rdi, rbx
jmp 0x140003b98
xor ecx, ecx
mov qword [rsp + 0x1a8], r13
call fcn.14000a074
mov rcx, rax
call fcn.140009bbc
call fcn.140009b90
mov esi, eax
and esi, 0x80000003
jge 0x140003ac6
dec esi
or esi, 0xfffffffc
inc esi
add esi, 5
mov rcx, rbp
mov edx, esi
call section..text
mov r13d, dword [r14 + 8]
mov edx, 1
add r13d, 0xf
add r13d, esi
mov ecx, r13d
mov r15d, r13d
call fcn.140009b88
mov r12, rax
test rax, rax
jne 0x140003afe
mov rdi, rbx
jmp 0x140003b90
lea eax, [rsi + 1]
mov r8, 0xffffffffffffffff
mov dword [rsp + 0x30], eax
lea r9, str.__s_s._d
mov rax, qword [r14]
mov rdx, r15
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], rbp
call fcn.140001ec0
mov rcx, rbp
call fcn.14000a0b4
lea ecx, [r13 + 1]
mov edx, 1
call fcn.140009b88
mov rbp, rax
test rax, rax
jne 0x140003b4e
mov rdi, rbx
jmp 0x140003b90
mov r8, r15
mov rdx, r12
mov rcx, rbp
call fcn.1400096b0
mov ecx, dword [r14 + 0x18]
mov edx, 1
inc ecx
call fcn.140009b88
mov rsi, rax
test rax, rax
jne 0x140003b79
mov rdi, rbx
jmp 0x140003b90
mov r8d, dword [r14 + 0x18]
mov rcx, rsi
mov rdx, qword [r14 + 0x10]
call fcn.1400096b0
mov qword [rdi], rbp
mov qword [rdi + 0x10], rsi
mov r13, qword [rsp + 0x1a8]
mov rcx, qword [r14]
xor edx, edx
call fcn.140001c90
mov rcx, qword [r14 + 0x10]
xor edx, edx
mov dword [r14 + 8], eax
call fcn.140001c90
mov dword [r14 + 0x18], eax
test rdi, rdi
jne 0x140003bfe
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140007e30
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov eax, dword [0x14002a758]
xor r9d, r9d
mov r14, qword [rsp + 0x50]
xor edx, edx
mov r8, qword [rdi]
mov rcx, r14
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rsi, rax
test rax, rax
jne 0x140003c56
mov rcx, qword [rdi]
call fcn.14000a0b4
mov rcx, qword [rdi + 0x10]
call fcn.14000a0b4
mov rcx, rdi
call fcn.14000a0b4
mov rcx, r14
jmp 0x140003bbf
mov rcx, rsi
call fcn.1400054c0
mov rdx, qword [rdi + 0x10]
mov r9d, 0xa0000000
mov r8d, 0xffffffff
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov rcx, qword [rdi]
call fcn.14000a0b4
mov rcx, qword [rdi + 0x10]
call fcn.14000a0b4
mov rcx, rdi
call fcn.14000a0b4
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140003dc7
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, pe_nt_image_headers64
call fcn.140008f40
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], pe_nt_image_headers64
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov edx, 5
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140003dc7
lea rcx, [rsp + 0x60]
call fcn.14000c328
mov r15d, eax
lea ecx, [rax - 1]
cmp ecx, 0x1fffff
ja 0x140003dec
lea ecx, [rax + 2]
mov edx, 1
call fcn.140009b88
mov r12, rax
test rax, rax
jne 0x140003d2e
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
jmp 0x140003bbf
mov edx, 1
mov dword [rsp + 0x40], ebx
mov ecx, 0x1000
mov edi, ebx
call fcn.140009b88
mov rbp, rax
test rax, rax
je 0x140003d1d
test r15d, r15d
je 0x140003da0
xor edx, edx
mov dword [rsp + 0x40], ebx
mov r8d, 0x1000
mov rcx, rbp
call fcn.140008f40
lea r9, [rsp + 0x40]
mov r8d, 0x1000
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140003da0
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140003da0
mov ecx, edi
mov r8d, eax
add rcx, r12
mov rdx, rbp
call fcn.1400096b0
add edi, dword [rsp + 0x40]
cmp edi, r15d
jb 0x140003d50
mov rcx, rbp
call fcn.14000a0b4
mov edx, 1
lea ecx, [rdx + 0xf]
call fcn.140009b88
mov rbx, rax
test rax, rax
je 0x140003d1d
mov qword [rax], r12
mov dword [rax + 8], edi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
jmp 0x140003bd2
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, 1
lea ecx, [rdx + 0xf]
call fcn.140009b88
test rax, rax
je 0x140003bd0
jmp 0x140003bd2