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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x18021d4c0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x34], 1
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Samsung_Smart_Fridge
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov r14d, 0xf
mov qword [rbp - 0x80], r14
mov byte [rsp + 0x68], dil
test rax, rax
je 0x1801656f1
mov rdx, r15
cmp qword [r15 + 0x18], r14
jbe 0x1801654ff
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x1801656f1
movzx ebx, byte [rsp + 0x30]
nop dword [rax + rax]
lea r9, [rsp + 0x34]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rsp + 0x34]
mov rax, r14
sub rax, rdi
cmp rsi, rax
ja 0x180165587
lea rax, [rsi + rdi]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp r14, 0xf
cmova rax, qword [rsp + 0x68]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.1801a3e50
mov byte [rdi + rsi], 0
jmp 0x1801655a1
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x30]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.18005a0a0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call fcn.1801a44f0
cmp dword [rsp + 0x34], 0
je 0x1801655c7
mov r14, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
jmp 0x180165530
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysReAllocString]
movdqu xmmword [rbp - 0x48], xmm1
mov eax, 0xa0d
mov word [rbp - 0x58], ax
mov byte [rbp - 0x56], 0
movups xmmword [rbp - 0x78], xmm0
movdqu xmmword [rbp - 0x68], xmm1
mov eax, 0x6e7c
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.18005a540
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x78]
mov rdx, rax
mov rcx, r13
call fcn.180165860
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x180165671
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016566b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180165846
call fcn.18016eee0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1801656ad
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801656a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016584c
call fcn.18016eee0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180165805
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801657ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180165840
jmp 0x1801657ff
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysReAllocString]
movdqu xmmword [rbp - 0x68], xmm1
mov eax, 0xa0d
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
mov eax, 0x6e7c
mov word [rbp - 0x58], ax
mov byte [rbp - 0x56], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.18005a540
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x58]
mov rdx, rax
mov rcx, r13
call fcn.180165860
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x180165790
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016578a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180165852
call fcn.18016eee0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1801657cc
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801657c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180165858
call fcn.18016eee0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180165805
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801657ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016583a
call fcn.18016eee0
nop
mov rcx, r15
call fcn.18005a950
mov rax, r13
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.18016e8b0
mov rbx, qword [rsp + 0x900]
add rsp, 0x8b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180181a88
nop
call fcn.180181a88
nop
call fcn.180181a88
nop
call fcn.180181a88
nop
call fcn.180181a88
nop
call fcn.180181a88
int3