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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rdx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r14
mov r14, rcx
lea edx, [rbp + 1]
lea rcx, str.TestIE_1.0
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rcx, qword [0x18003be50]
mov r13, rax
call fcn.1800010a0
mov rbx, rax
test rax, rax
jne 0x180005e40
mov rbx, rbp
jmp 0x180005e57
mov rdx, rax
mov ecx, 0x1000
mov dword [rax + 4], ebp
call fcn.180001120
mov qword [rbx + 8], rax
mov byte [rax], bpl
mov rax, qword [rdi + 8]
mov dword [rdi + 4], ebp
lea rdx, str.Connection:_Keep_Alive_r_n
mov r8d, 0x18
mov rcx, rbx
mov qword [rsp + 0x60], rsi
mov byte [rax], bpl
call fcn.180001440
lea rdx, str.User_Agent:Test_r_n
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rbx
call fcn.180001440
lea rdx, str.Accept:_.__r_n
mov r8d, recvfrom
mov rcx, rbx
call fcn.180001440
lea rdx, str.Accept_Encoding:_gzip_deflate_r_n
mov r8d, 0x1f
mov rcx, rbx
call fcn.180001440
lea rdx, [0x18002e56c]
mov r8d, 2
mov rcx, rbx
call fcn.180001440
test r13, r13
je 0x18000605e
mov r9d, 4
lea r8, [rsp + 0x68]
mov rcx, r13
lea edx, [r9 - 2]
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x68], 0x4e20
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rsp + 0x68]
lea edx, [r9 + 2]
mov rcx, r13
mov dword [rsp + 0x68], 0x1388
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rsp + 0x68]
lea edx, [r9 + 8]
mov rcx, r13
mov dword [rsp + 0x68], 0x300000
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, dword [rbx + 4]
mov r8, qword [rbx + 8]
mov rdx, r14
mov rcx, r13
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x4400000
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x180005fdc
mov ecx, 0x19000
call fcn.18001799c
lea r9, [rsp + 0x70]
mov r8d, 0x19000
mov rcx, r12
mov rdx, rax
mov dword [rsp + 0x70], 1
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180005fc6
mov r8d, dword [rsp + 0x70]
test r8d, r8d
je 0x180005fc6
mov rdx, rsi
mov rcx, rdi
call fcn.180001440
lea r9, [rsp + 0x70]
mov r8d, 0x19000
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x180005f96
mov rcx, rsi
mov ebp, 1
call fcn.18001795c
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r12, qword [rsp + 0x78]
test ebp, ebp
je 0x18000605e
cmp dword [rdi + 4], 0
jle 0x18000605e
mov rax, qword [rdi + 8]
cmp byte [rax], 0x1f
jne 0x18000605e
cmp byte [rax + 1], 0x8b
jne 0x18000605e
mov rdx, rbx
mov rcx, rdi
call fcn.18000cf70
test rax, rax
je 0x18000605e
mov r8d, dword [rdi + 4]
mov r9d, dword [rbx + 4]
lea rcx, [0x180032ae0]
movd xmm1, r8d
movd xmm0, r9d
mov rdx, r14
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm1, qword [0x180033dc8]
movsd qword [rsp + 0x20], xmm1
call fcn.180003b60
mov r8d, dword [rbx + 4]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call fcn.180001980
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
test rbx, rbx
je 0x1800060a7
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18000607d
mov edx, dword [rbx]
call fcn.180001240
mov rsi, qword [0x18003be50]
add rbx, 0xfffffffffffffff8
lea rcx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsi + 8]
lea rcx, [rsi + 0x20]
mov qword [rbx], rdx
mov qword [rsi + 8], rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebp
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret